[FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?)

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Jul 25 17:21:31 CEST 2015

MrNice <wxcvbn2006 <at> iol.ie> writes:

> Input #0, pulse, from 'alsa_input.pci-0000_00_14.2.analog-stereo':
>   Duration: N/A, start: 1437724175.042321

> Input #1, video4linux2,v4l2, from '/dev/video0':
>   Duration: N/A, start: 1349.084272

This is a major issue, you may try options like 
the following that may fix it:
-ts abs
-ts mono2abs

-wallclock 0

(And it is of course possible that this issue 
disappears with alsa, I don't know...)

Carl Eugen

More information about the ffmpeg-user mailing list