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

compn tempn at twmi.rr.com
Mon Jun 23 07:49:29 CEST 2008


On Wed, 11 Jun 2008 15:47:36 -0600, "Daniel Hilton" <dunghopper at gmail.com> wrote:
>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

it sounds like a good idea. even tho i am against censorship :)

another way would be to drop those frames , but this would probably be very difficult to code. i think there is a rectangle filter too...

-compn



More information about the MPlayer-dev-eng mailing list