[FFmpeg-devel] [PATCH] libgme support

wm4 nfxjfg at googlemail.com
Sat Jun 29 17:52:08 CEST 2013

On Sat, 29 Jun 2013 13:30:04 +0200
Stefano Sabatini <stefasab at gmail.com> wrote:

> You might add some documentation in ffmpeg-formats.texi with a few
> examples, so people can get a clue about how to use it.

I'm not sure where. libmodplug isn't documented anywhere either.

How to use it? Well, duh, enable it at compilation and just play a file?
Here's a test file:

> > +/*
> > + * This file is part of FFmpeg.
> Missing copyright?

libmodplug.c served as template. I didn't change the copyright header,
and I'm not sure whether I really should put my name on there, if
that's what you want.

I changed the probing scores a little. Clément Bœsch's suggestions are
included as well. Also changed the n_samples calculation, which fixes
distorted sound (oops). If there are multiple tracks, add the track
count as metadata. 

I would prefer to add the tracks as streams, but since you can play
only one track at a time, this is perhaps not possible. I wonder if
there is some way to change the current track at runtime? The GME API
allows it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-add-support-for-libgme.patch
Type: text/x-patch
Size: 9429 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130629/a6366ed8/attachment.bin>

More information about the ffmpeg-devel mailing list