[FFmpeg-devel] [PATCH] PCM_S16LE_PLANAR decoder

Mike Melanson mike
Thu Nov 8 00:16:47 CET 2007


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.

-- 
	-Mike Melanson




More information about the ffmpeg-devel mailing list