Page 1 of 1

Format recognizing with the avcodec plugin

Posted: Sun Oct 03, 2021 5:21 pm
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

Re: Format recognizing with the avcodec plugin

Posted: Sun Oct 03, 2021 9:40 pm
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.