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

Phil Turmel philip at turmel.org
Tue Jun 21 01:00:36 CEST 2016


Hi Juan,

On 06/20/2016 06:15 PM, juan carlos Rebate wrote:

>> ffmpeg -y -i rtp://239.0.0.107:8208 -map 0 -f mp4 -c:v mpeg4 -listen 1
> http://localhost:80 -multiple_requests 1 -seekable 1 -bufsize 200k -r 299
> -re -b:v 982k

[trim /]

> Trailing options were found on the commandline.

You seem to have missed this.  The order of options matters.  The
general requirement is:

ffmpeg in-options -i inputfile out-options outputfile

{ I know nothing about the rest of your problem, but this is documented. }

Phil



More information about the ffmpeg-user mailing list