[FFmpeg-devel] [PATCH] PCM_S16LE_PLANAR decoder

Aurelien Jacobs aurel
Thu Nov 8 00:39:41 CET 2007


Mike Melanson wrote:

> Aurelien Jacobs wrote:
> > Jonathan Wilson wrote:
> > 
> >> Attached patch adds support for PCM_S16LE_PLANAR decoder
> >> It's based on the patch from Peter Ross.
> > 
> > Here is an improved patch adding support for planar PCM decoding.
> > I intend to apply it in a few days.
> 
> Neat. Are we just adding planar formats as we find them in the wild?
> FILM/CPK files store stereo data as planar. Here are 2 sample files:
> 
> http://samples.mplayerhq.hu/game-formats/film-cpk/corelogo-stereo.cpk
> http://samples.mplayerhq.hu/game-formats/film-cpk/logonq-stereo.cpk
> 
> Audio can either be PCM_S16BE_PLANAR or PCM_S8_PLANAR. Right now, the
> demuxer handles the interleaving.

Here is a patch which add decoders for those 2 formats (untested, and
depends on the initial planar support patch).
Feel free to modify the FILM/CPK to use them.

Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: planar.diff
Type: text/x-patch
Size: 3498 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071108/837e1c3c/attachment.bin>



More information about the ffmpeg-devel mailing list