Reputation: 233
Can i generate output as mp4 video for the following ffmpeg code ?
echo exec('ffmpeg -vcodec qtrle -i z.mov -vcodec qtrle -i Gillette_Alpha_Sample2.mov -filter_complex "[0:0][1:0]overlay=format=rgb[out]" -shortest -map [out] -vcodec qtrle -y output.mov');
Upvotes: 0
Views: 957
Reputation: 233
exec('ffmpeg -i z.mov -i Gillette_Alpha_Sample2.mov -filter_complex "[0:0][1:0]overlay[out]" -s 480x640 -b:v 768k -b:a 64k -map [out] -y output.mp4');
This will output mp4 video for mov inputs.
Upvotes: 1
Reputation: 93329
No. QT RLE isn't supported in MP4 container, not by FFmpeg muxer at least. You will have to use libx264rgb
if you want to keep RGB, or libx264
if you are OK with YUV pixel formats.
Upvotes: 0