[MPlayer-dev-eng] [PATCH] Optionally pad with silence

Dan Oscarsson Dan.Oscarsson at tieto.com
Thu Mar 10 08:33:01 CET 2011


ons 2011-03-09 klockan 22:08 +0100 skrev Reimar Döffinger:
> On Wed, Mar 09, 2011 at 07:52:13PM +0100, Tobias Diedrich wrote:
> > Optionally pad with silence.
> > 
> > Allow silence padding for audiostreams that begin after or end before the
> > video stream.
> 
> I don't see how this patch would add padding for the "begin after" case.
> In addition I think it might/will actually pad more than the length of
> the video, so I expect that if you play two videos directly one after the
> other where audio and video are exactly the same length this patch will
> actually introduce a short pause in-between them.
> However I can imagine that it will be useful so I'm ok with it if the
> description is fixed.

Does mplayer stop playing the video if audio ends before the video?
I thought it was not so - will check when I get home and can test.

You do not need to pad audio stream to get mplayer to play video with
silence until audio starts, if audio stream starts after video stream. I
have had that working in my patches for a long time.

   Dan



More information about the MPlayer-dev-eng mailing list