[MPlayer-dev-eng] demuxer question

Arpi arpi at thot.banki.hu
Fri May 17 13:57:46 CEST 2002


Hi,

> > > I'm currently writing a raw dv (as played by playdv and produced by
> > > dvgrab --format raw)  demuxer and decoder using libdv for mplayer.
> > > Video is already working :-)
> > >
> > > Now I don't know exactly how to do the audio part.
> > > The decoding functions for audio and video of libdv both operate on the
> > > same buffer. Since a dv stream is quite big, it wouldn't be optimal to
> > > handle the stream twice through mplayer (ok, didn't test yet).
> >
> > yep... i kno wthe problem, i also starte dto work on type-2 dv .avi suppor
> t
> > (when the avi file has one stream, having audio-video multiplexed).
> 
> Isn't mplayer already able to play those using the w32codecs ?

no
there are 2 types of dv avi files: one with audio and video streams, audio
is usually pcm, video is DV, it's supported (by 2 win32 dll codec).
the other format is non-standard avi, it has only 1 'generic' type stream,
and it has a raw dv stream splitted to packet. this later type is not
supported by mplayer yet. anywya, if you implement raw dv demuxer, it can
work, by joining avi demuxer's output to your demuxer.
(same way as for ogg/vorbis stream in avi files)


> Well, for now I will try to get it working at all, optimizing can come later

ok. then just duplicate the packets...
and implement ad_libdv or similar to decode audio


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list