Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问主动推流怎么推? #2

Open
StartZYP opened this issue Jan 17, 2021 · 3 comments
Open

请问主动推流怎么推? #2

StartZYP opened this issue Jan 17, 2021 · 3 comments

Comments

@StartZYP
Copy link

请问主动推流怎么推?推文件流

@cnotch
Copy link
Owner

cnotch commented Jan 18, 2021

和普通 rtsp 服务器一样,可以用 ffmpeg

ffmpeg -re -i test.mp4 -rtsp_transport tcp -c:v copy -c:a copy -f rtsp rtsp://localhost:1554/test/live

@StartZYP
Copy link
Author

和普通 rtsp 服务器一样,可以用 ffmpeg

ffmpeg -re -i test.mp4 -rtsp_transport tcp -c:v copy -c:a copy -f rtsp rtsp://localhost:1554/test/live

请问项目里没有用到go去调用ffmpeg推流吗?

@cnotch
Copy link
Owner

cnotch commented Jan 18, 2021

没有。项目起因还是连接摄像头。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants