[FFmpeg-user] Quicktime IMX encode failing on v2.1
nichot20 at yahoo.com
Fri Nov 22 10:58:24 CET 2013
On 21/11/13 20:04, Steve Kelly wrote:
> Thanks for that, had a look another look at the options list and by adjusting, I've go the video to encode by using:
> /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 -intra_vlc 0 -non_linear_quant 0 -qmin 1 -qmax 3 -top 1 -bufsize 2000000 -rc_init_occupancy 2000000 -an -y "Output.m2v"
> ie -flags2 was removed. I'm not sure if this is correct, but either way it works.
Well since you didn't specify any valid flags to go with it, that sounds
> The audio is then generated with:
> /usr/local/bin/ffmpeg -i "Input.mpg" -vn -ar 48000 -acodec pcm_s16le -y "Output.wav"
> However the mux stage generates a file which is no longer a valid IMX file. The MUX command is:
> /usr/local/bin/ffmpeg -i "Output.m2v" -i "Output.wav" -c:v copy -c:a copy -vtag mx5p -vbsf imxdump -y "Output_IMX.mov"
> Although this command generates an output that can be played, this used to generate a valid IMX D10 Quicktime file and it no longer does. The video codec shows as mpeg2video not mx5p
Why not do the audio and video in one go and set the vtag there?
More information about the ffmpeg-user