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

我不知道怎样通过httpflv播放视频ffplay,mpv,vlc播放器都不可用 #161

Open
rockjl opened this issue Dec 13, 2024 · 1 comment

Comments

@rockjl
Copy link

rockjl commented Dec 13, 2024

我通过如下命令推送视频流到到xiu
ffmpeg -re -stream_loop -1 -i test.mp4 -c:a copy -c:v copy -f flv -flvflags no_duration_filesize rtmp://:1935/live/stream

并通过如下命令播放。但是不知道什么原因,无法播放成功
ffplay -i http://localhost:8081/live/stream.flv
mpv http://localhost:8081/live/stream.flv

@rockjl
Copy link
Author

rockjl commented Dec 13, 2024

ffmpeg -i rtsp://usr:[email protected]:5544/Streaming/Channels/601 -c:v copy -c:a copy -f flv -flvflags no_duration_filesize rtmp://127.0.0.1:1935/live/stream
请问通过这种方式推送海康威视的视频流到xiu正确吗?

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

1 participant