[MPlayer-dev-eng] [PATCH] formats.html (again)

Arpi arpi at thot.banki.hu
Fri Mar 29 01:03:11 CET 2002


Hi,

> > in the reality, no video-only file format, which can be played by codec
> > without using some kind of demuxer. but most (not all) audio-only file
> > format is the same as teh raw audio steram of a mxued stream, so they
> > can be played without using any demuxer. in this case we may say: audio
> > format is the same as audio-only file format. btw it's misleading and i
> > doubt we should keep such sentence in the docs.
> 
> btw. what about addind a raw-demuxer or null-demuxer to allow decoding
> of raw streams together with -demuxer <nummofnulldemuxer> -vc
> <somecodec> or we already have such thing?

hmm. the mpeg-es demuxer actually does it... it jjust reads 2048 byte
packets from file and put them unchanegd to the demuxer buffer.

problems
- it puts data to the video queue, not audio
- how to recognize fourcc? maybe -audioformat could do that.. or some hackto
allow selection of any -vc with that demuxer
- many audio codec expects some audio headers in sh_audio_t, to get
channels, samplerate, bitrate. afaik, only ac3 and mp3 can read these from
the raw audio steram, all others use the header from demuxer


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