On Thu, Jan 15, 2015 at 10:27:02 +0100, Moritz Barsnick wrote:
> On Thu, Jan 15, 2015 at 16:35:20 +0800, xiaoyao...@163.com wrote:
> > ./ffmpeg -i input.mp4 -i logo.png -filter_complex 
> > "yadif=deint=1,subtitles=subtitle.ass,delogo=x=60:y=60:w=100:h=77:band=10,overlay=10:10,split=2[a][b]"
> >  -map "[a]" -map 0:a -filter_complex scale=640:-1 -pass 1 -vcodec libx264 
> > -r 25 -b:v 230k -profile:v high -c:a libfdk_aac -b:a 64k -ar 44100 
> > -profile:a aac_he output1.mp4 -map "[b]" -map 0:a -filter_complex 
> > scale=960:-1 -pass 1 -vcodec libx264 -r 25 -b:v 550k -profile:v high -c:a 
> > libfdk_aac -b:a 64k -ar 44100 -profile:a aac_he output2.mp4

Here, I have tried to combine those three filters for you properly.
Just guessing, but this should work:

$   ./ffmpeg -i input.mp4 -i logo.png -filter_complex 
"yadif=deint=1,subtitles=subtitle.ass,delogo=x=60:y=60:w=100:h=77:band=10,overlay=10:10,split=2[a][b];
 [a]scale=640:-1[a2]; [b]scale=960:-1[b2]" -map "[a2]" -map "[0:a]" -pass 1 
-vcodec libx264 -r 25 -b:v 230k -profile:v high -c:a libfdk_aac -b:a 64k -ar 
44100 -profile:a aac_he output1.mp4 -map "[b2]" -map "0:a" -pass 1 -vcodec 
libx264 -r 25 -b:v 550k -profile:v high -c:a libfdk_aac -b:a 64k -ar 44100 
-profile:a aac_he output2.mp4

Moritz
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to