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

Tobias Diedrich ranma at tdiedrich.de
Thu Mar 10 12:56:56 CET 2011


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).

-- 
Tobias						PGP: http://8ef7ddba.uguu.de


More information about the MPlayer-dev-eng mailing list