[FFmpeg-devel] [PATCH] lavf/ogg: OggPCM demuxing

James Almer jamrial at gmail.com
Sun Jul 7 10:45:43 CEST 2013


On 07/07/13 5:23 AM, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  Changelog                 |   1 +
>  libavformat/Makefile      |   1 +
>  libavformat/oggdec.c      |   1 +
>  libavformat/oggdec.h      |   1 +
>  libavformat/oggparsepcm.c | 119 ++++++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 123 insertions(+)
>  create mode 100644 libavformat/oggparsepcm.c

Just FYI, this is basically untested.
I couldn't find any samples in the wild, nor any program that could mux an OGG file
with a PCM stream.
liboggz supposedly supports OggPCM, but i couldn't find how (As far as i could see 
it only parses existing files for remuxing and validation purposes, but wont create 
new streams and the corresponding header out of raw PCM streams).

OggPCM is defined here: https://wiki.xiph.org/OggPCM and it's what i used to write
this parser.
If anyone has access to an OggPCM file, or can find a way to easily create one, i
could use it.

Regards.


More information about the ffmpeg-devel mailing list