[MPlayer-dev-eng] Video filter chain question. (New EDL action)

Daniel Hilton dunghopper at gmail.com
Wed Jun 11 23:47:36 CEST 2008


I'm a long-time user of mplayer, but this is the first time I've dug into
the code.
First, a general description of what I am trying to accomplish:

For those familiar with the EDL (Edit Decision List) stuff, we currently
have two options: SKIP or MUTE.  I propose adding a third option: BLANK.

This would allow blanking out the video, but keeping the audio, which may be
preferable to just skipping in some cases (i.e. Sweeney Todd?  What if I
want to get rid of the throat-slitting, but I still want to hear the song
he's singing in the meantime?  This is impossible with the current
implementation of EDL). It seems like this should be a pretty simple hack.

My current plans are to just append a new filter to the filter chain to
blank the video (eq2=0:0:0:0:0:0:0:0 works great, maybe there's an even
better "null" filter I'm not familiar with?), and then remove it at the end
of the EDL block.
I'm not really sure if that's possible or recommended, though, to add and
remove filters during playback.  If it can be done, can someone suggest the
proper method for doing so?  If not, can anyone suggest a different way of
blanking out the video for a specified time period?  I'm sure someone
familiar with the code could give me a nudge in the right direction.

Thanks,

Dan



More information about the MPlayer-dev-eng mailing list