[FFmpeg-user] image Overlay

Lorenz Martens lorenz.martens at sogidia.com
Wed Jan 4 13:03:39 CET 2012


Thanks for the quick resopnse guys,

@Alex: Could you please give a -vf syntax I'm not sure how to convert your liberal syntax to get it to work.
thanks 
Lorenz

> A possible alternative to these extensions:
> 
>   - allow frames to have a transparent color, or a mask bitmap, usable for padding.
> 
>   - create a "sequence" video source that would internally concatenate the decoded sources
> 
> Then, the example becomes:
> 
>   - Assume S is the original source, OV1 and OV2 the two short sequences
> 
>   - let t1, t2, t3 be the durations of the holes outside OV1+OV2
> 
> Result is then (liberal syntax, not that of vf, for readability)
> 
>  Overlay(
>    S,
>    Seq(
>      Color(transp,t1),
>      OffPad(OV1,..,transp),
>      Color(transp,t2),
>      OffPad(OV2,..,transp),
>      Color(transp,t3)
>    )
>  )
> 
> Of course that's not the way current vfs are designed, but it is more modular. Please comment/destroy.
> 
> -Alex
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list