[FFmpeg-user] flv error

Young Kim shadowing71 at gmail.com
Fri Oct 4 11:19:14 CEST 2013


Hello,

I'm currently attempt to stream to a rtmp server using bmdcapture as the
input. However, after a few minutes (or hours), the ffmpeg command I'm
using eventually spits out this error:

[flv @ 0x2279ba0] Failed to update header with correct duration
[flv @ 0x2279ba0] Failed to update header with correct filesize.

Here's the command I'm using:

bmdcapture -C 1 -A 2 -p 8 -c 2 -V 4 -m 1 -s 16 -F nut -f pipe:1 | ffmpeg
-rtbufsize 2147483647 -threads 8 -re -copyts -i - -pix_fmt yuv420p -profile
high -ab 256k -vf yadif -vcodec libx264 -maxrate:v 1024k -minrate:v 1024k
-bufsize:v 1024k -tune zerolatency -ar 44100 -preset veryfast -acodec
libfaac -f flv "rtmp://localhost:1935/live/test live=1"

Does anyone have suggestions on where I can start to fix this?

Thanks,
Young Kim


More information about the ffmpeg-user mailing list