[FFmpeg-devel] [PATCH] libmodplug wrapper

Jai Menon jmenon86
Fri Jul 10 05:30:52 CEST 2009


On Fri, Jul 10, 2009 at 2:18 AM, Michael Niedermayer<michaelni at gmx.at> wrote:
> On Thu, Jul 09, 2009 at 03:07:44PM +0000, Jai Menon wrote:
>> Hi,
>>
>> I found $attached useful, and maybe some sceners might also ;)
>> If someone feels it should be in FFmpeg, I can provide relevant doc patches.
>
> this definitly is a nice to have feature but demuxer?

The reason for doing it as a demuxer is that I have a few patches for
libmodplug which improve the seeking behavior (done through a single
api call) there (seeking in tracked music is still iffy though, there
might be loops etc and due to the nature of some effects, we can't
seek precisely). As and when that is included upstream, I assumed
adding seeking would be simplified. Or can this be achieved
differently?

> ive not reviewd this yet but cant it be split in a demuxer and a
> decoder cleanly?

That would have been awesome, and so would probing for filetype
(probing can be easily added to libmodplug), getting metadata etc, but
the modplug.h api is very limited and has like 3 functions for
playback control. That said, It does allow one to finely control
rendering and is readily available as a package on most distros.


-- 
Regards,

Jai



More information about the ffmpeg-devel mailing list