[FFmpeg-user] Complex filtering

Mitja Pirih mitja at alternet.si
Sat Jan 9 13:32:31 CET 2016


On 08. 01. 2016 15:04, Moritz Barsnick wrote:
> On Fri, Jan 08, 2016 at 14:45:19 +0100, Mitja Pirih wrote:
>> I am experimenting with: -filter_complex
>> "yadif=0:-1:0;[0:0][0:5]overlay[v]" -map "[v]" -map 0:1  ...and the
>> result is that I loose subtitles but the picture looks deinterlaced. Any
>> ideas why my subtitles are gone?
> You are not connecting the filters to each other correctly. (I actually
> thought that you would lose the yadif, but still get the overlay.
> That's why you need to provide us with the complete, uncut console
> output!)
>
> You need to connect the output of yadif to one of the inputs of
> overlay:
>
>   -filter_complex "[0:0]yadif=0:-1:0[base]; [base][0:5]overlay[v]" -map "[v]"
>

Thank you, this actually work.


Br,
Mitja


More information about the ffmpeg-user mailing list