[FFmpeg-user] Quicktime IMX encode failing on v2.1

Tim Nicholson nichot20 at yahoo.com
Thu Nov 21 17:44:25 CET 2013


On 20/11/13 20:40, Steve Kelly wrote:
> We're migrating from 0.7 to 2.1 (2.1 built from fully updated ports tree on FreeBSD 9.1) and experiencing some issues converting to Quicktime PAL IMX 50Mb/s.
> 
> [...]
> 
> I found one suggestion that "flags 2 +ivlc+non_linear_q" should become "-flags2 -intra_vlc -non_linear_quant", so the command is now:
> 
> /usr/local/bin/ffmpeg -i "Input.mpg" -vf "scale=720:576:1,pad=720:608:0:32" -vcodec mpeg2video -r 25 -pix_fmt yuv422p -minrate 50000k -maxrate 50000k -b:v 50000k -intra -flags +ildct+low_delay -dc 10 -flags2 -intra_vlc -non_linear_quant -ps 1 -qmin 1 -qmax 3 -top 1 -bufsize 2000000 -rc_init_occupancy 2000000 -rc_buf_aggressivity 0.25 -an -y "Output.m2v"
> 
> This fails with: 
> 
> Input #0, mpeg, from 'Input.mpg':
>   Duration: 00:05:26.12, start: 0.957178, bitrate: 52933 kb/s
>     Stream #0:0[0x1e0]: Video: mpeg2video (4:2:2), yuv422p(tv), 720x576 [SAR 16:15 DAR 4:3], max. 50000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
>     Stream #0:1[0xa0]: Audio: pcm_dvd, 48000 Hz, stereo, s16, 1536 kb/s
> [NULL @ 0x8088dba20] Unable to find a suitable output format for '1'
> 1: Invalid argument
> 

So the "1" is being interpreted as an output file name, possibly because
you say "-flags2 -intra_vlc -non_linear_quant..." so that -intra_vlc is
interpreted as removing flag intra_vlc from flags2, but his is not a
valid flag according to my list (on a slightly different build). Is this
what you meant?


> 
> I can't find any info on the latest error with search, any suggestions appreciated.
> 
> [..]


-- 
Tim


More information about the ffmpeg-user mailing list