当前位置:网站首页>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推流时根据原来视频的帧率进行,如果不设置的话就会报以上错误,因为它会以全速推流。
边栏推荐
- Usage record of Xintang nuc980: self made development board (based on nuc980dk61yc)
- Idea related issues
- 第六届智能家居亚洲峰会暨精品展(Smart Home Asia 2022)将于10月在沪召开
- 小艺人黄鑫洋受邀参加巴黎时装周儿童单元武汉站
- B_ QuRT_ User_ Guide(28)
- 关于在cmd中MySQL不能插中文数据的原因
- Super Jumping! Jumping! Jumping!
- Priority of JS operator
- PC端隐藏滚动条
- Robot Rapping Results Report
猜你喜欢

Prometheus service discovery

Do you know TCP protocol (1)?

Uvcgan: unt vision transformer cycle-consistent Gan for unpropared image-to-image translation

Introduction, compilation, installation and deployment of Doris learning notes

Jenkins' common build trigger and hook services (V)

Kubernetes notes and the latest k3s installation introduction

抖音服务器带宽有多大,才能供上亿人同时刷?

DB

ROS notes (09) - query and setting of parameters

B_ QuRT_ User_ Guide(27)
随机推荐
第六届智能家居亚洲峰会暨精品展(Smart Home Asia 2022)将于10月在沪召开
【Go ~ 0到1 】 第三天 6月27 slice,map 与 函数
Loss损失函数
Leetcode swing series
DB
Image translation /transformer:ittr: unpaired image to image translation with transformers
PC端隐藏滚动条
Eslint syntax monitoring off
抖音服务器带宽有多大,才能供上亿人同时刷?
Understanding of CUDA, cudnn and tensorrt
Set<String>
How to choose an account opening broker? Is it safe to open an account online?
Almost Union-Find(带权并查集)
Oracle view tablespace usage
Map. ToCharArray( ),Map. getOrDefault(). Map. charAt()
Children's unit of 2022 Paris fashion week ended successfully at Wuhan station on June 19
[learning notes] search
[learning notes] matroid
AWS saves data on the cloud (3)
Solve NPM err! Unexpected end of JSON input while parsing near