当前位置:网站首页>ffmpeg推流报错Failed to update header with correct duration.
ffmpeg推流报错Failed to update header with correct duration.
2022-06-28 08:28:00 【、、、、南山小雨、、、、】
[flv @ 0x21d6a00] Failed to update header with correct duration.
[flv @ 0x21d6a00] Failed to update header with correct filesize.
推流命令如下:
ffmpeg -i test_video.mp4 -c copy -f flv rtmp://127.0.0.1/live/livestream
需要加上-re
fmpeg -re -i test_video.mp4 -c copy -f flv rtmp://127.0.0.1/live/livestream
使得ffmpeg推流时根据原来视频的帧率进行,如果不设置的话就会报以上错误,因为它会以全速推流。
边栏推荐
- The maximum number of Rac open file descriptors, and the processing of hard check failure
- Eslint syntax monitoring off
- 图像翻译/Transformer:ITTR: Unpaired Image-to-Image Translation with Transformers用Transfor进行非配对图像对图像的转换
- Cloudcompare & PCL point cloud SVD decomposition
- Infinite penetration test
- FatMouse and Cheese
- How to choose an account opening broker? Is it safe to open an account online?
- Hidden scroll bar on PC
- Why MySQL cannot insert Chinese data in CMD
- Resolution of Rac grid failure to start after server restart
猜你喜欢
Login common test case
2022第六季完美童模 佛山赛区 初赛圆满落幕
抖音服務器帶寬有多大,才能供上億人同時刷?
AI chief architect 8-aica-gao Xiang, in-depth understanding and practice of propeller 2.0
Trigonometric transformation formula
B_ QuRT_ User_ Guide(28)
Do you know TCP protocol (1)?
In flood fighting and disaster relief, the city donated 100000 yuan of love materials to help Yingde
The maximum number of Rac open file descriptors, and the processing of hard check failure
ROS notes (09) - query and setting of parameters
随机推荐
为什么函数模板没有偏特化?
Dell r730 server startup error: [xxx] USB 1-1-port4: disabled by hub (EMI?), re-enabling...
Set the icon for the title section of the page
Why are function templates not partial specialization?
Anniversary party
Case tool
The RAC cannot connect to the database normally after modifying the scan IP. The ora-12514 problem is handled
Kali Notes(1)
In flood fighting and disaster relief, the city donated 100000 yuan of love materials to help Yingde
Ffmpeg (I) AV_ register_ all()
Unity - Pico开发 输入系统等相关API的使用---C#篇
FFMpeg (一) av_register_all()
The micro kernel zephyr is supported by many manufacturers!
Uvcgan: unt vision transformer cycle-consistent Gan for unpropared image-to-image translation
Sword finger offer 30 Stack containing min function
Solve NPM err! Unexpected end of JSON input while parsing near
Quelle est la largeur de bande du serveur de bavardage sonore pour des centaines de millions de personnes en même temps?
40多岁的人如何配置年金险?哪款产品比较合适?
Prometheus monitoring (I)
Why MySQL cannot insert Chinese data in CMD