[MPlayer-users] [WISH] playing .mp2 and .mpv synchronously with seeking ability

Guillaume POIRIER poirierg at gmail.com
Sun Apr 16 17:43:40 CEST 2006


Hi,

On 4/16/06, Fabian Förg <fabian.foerg at gmx.de> wrote:
> Hello,
>
> With the command "gmplayer -audiofile xyz.mp2 xyz.mpv" it is possible to
> play an mp2 and an mpv (i.e. two fitting demuxed streams: a pure audio
> and a pure video stream. Demuxed from an mpeg file.) concurrently.
> But if you start seeking in the video, the audiofile will start playing
> from the very beginning, thus the audio/video streams are not played
> synchronously anymore.
>
> Does anyone know why this is the case and what is needed?

I'd suggest muxing both files with mencoder before playing.
Smth along the lines of:

mencoder -audiofile xyz.mp2 xyz.mpv -of lavf -ovc copy -oac copy -o out.mpg

Guillaume
--
I am disillusioned enough to know that no man's opinion on any subject
is worth a damn unless backed up with enough genuine information to
make him really know what he's talking about.

-- H. P. Lovecraft (about the flamewars on FFmpeg and MPlayer-dev mailing lists)
http://www.brainyquote.com/quotes/quotes/h/hplovecr278144.html




More information about the MPlayer-users mailing list