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

Dan Oscarsson Dan.Oscarsson at tieto.com
Thu Mar 10 13:06:35 CET 2011


tor 2011-03-10 klockan 12:56 +0100 skrev Tobias Diedrich:
> Dan Oscarsson wrote:
> > 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.
> 
> Well, the patch is for encoding, not for playing video.
> While you can encode videos with video-audio offset to account for
> the streams not starting at the same time, sometimes it is
> preferrable to have both streams start at the same time and have the
> same length (as far as possible anyway, length-granularity for audio
> codecs will probably make an exact match impossible most of the
> time).

Yes, for encoding it is nice to be able to pad audio stream. Even more
when you want to adjust when audio starts in relation to video.

   Dan



More information about the MPlayer-dev-eng mailing list