带有ffmpeg的流式文件将在以-ss的特定时间开始
嗨,我正在尝试将文件流式传输到Facebook,但我想启动视频命令的00:01:21中的流媒体,
ffmpeg -ss 00:01:20 \
-re -i 'My_Video.mp4' -f pulse -ac 2 \
-i default -pix_fmt yuv420p -c:v libx264 -s 1280x720 \
-preset veryfast -c:a aac -b:a 160k -ar 44100 \
-threads 0 -bufsize 1000k -vb 500k -maxrate 500k -deinterlace -g 30 -r 30\
-f flv -flvflags no_duration_filesize "rtmps://live-api-s.facebook.com:443/rtmp/MY_FACEBOOK_KEY"
但流在00:01:20中不启动,只需在00上定期启动:00:00.00,可能出了什么问题?谢谢大家的宝贵时间!
我的FFMPEG版本4.4.1版权所有(C)2000-2021 FFMPEG开发人员
Hi I'm trying to stream a file to Facebook but I would like to start the streaming in 00:01:21 of the video whit the command
ffmpeg -ss 00:01:20 \
-re -i 'My_Video.mp4' -f pulse -ac 2 \
-i default -pix_fmt yuv420p -c:v libx264 -s 1280x720 \
-preset veryfast -c:a aac -b:a 160k -ar 44100 \
-threads 0 -bufsize 1000k -vb 500k -maxrate 500k -deinterlace -g 30 -r 30\
-f flv -flvflags no_duration_filesize "rtmps://live-api-s.facebook.com:443/rtmp/MY_FACEBOOK_KEY"
but the stream do not start in the 00:01:20 just start regularly in the 00:00:00.00, what could be wrong ? thank you all for your time !
my ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论