Format recognizing with the avcodec plugin

Discuss about plugins that don't have a dedicated forum
Post Reply
User avatar
jPV
Posts: 600
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Format recognizing with the avcodec plugin

Post by jPV »

I found a small format detection issue with the avcodec plugin. It recognizes a protracker module as "MPEG audio layer 2/3" and fails to play it. Is there something that could be fixed or is this stuff hidden deep in the FFmpeg?

Most mods seem to be recognized just fine, but found the issue with this module:
242.mod

Code: Select all

ism, fmt$ = IsMusic("242.mod", {Loader = "avcodec"})
DebugPrint(fmt$)
That outputs:
MPEG audio layer 2/3
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Format recognizing with the avcodec plugin

Post by airsoftsoftwair »

Yes, that's FFmpeg's fault. Keep in mind that the FFmpeg build used by the AVCodec plugin is almost 10 years old now. I remember lots of spurious false MP3 identifications when developing the plugin. It's probably much better with the latest FFmpeg but porting this to 68k and WarpOS is overkill and probably will also make it much, much bigger. I like the AVCodec plugin as compact as it is. FFmpeg has become really bloated lately.
Post Reply