Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to decode packet #14

Open
StoneCut opened this issue May 21, 2019 · 10 comments
Open

Unable to decode packet #14

StoneCut opened this issue May 21, 2019 · 10 comments

Comments

@StoneCut
Copy link

I can succesfully compile libKeyfinder and keyfinder-cli on Ubuntu Bash (Windows Subsytem for Linux - WSL). It uses Ubuntu 18.04.2 LTS.
In the past I was able to successfully analyze files. Since reinstalling Windows, however I have issues when running keyfinder-cli:

$ keyfinder-cli test.mp3
Unable to decode packet

What can I do to fix it? Many thanks!

@StoneCut
Copy link
Author

StoneCut commented May 22, 2019

I was able to pin down the issue. The error "unable to decode packet" comes up when trying to analyse an MP3 file that also has an APEv2 tag attached to it (beside the usual IDv3 Tag).

Many tagging tools add it, the popular Windows tool MP3tag (https://www.mp3tag.de/) does so by default, for example. Analysis works fine as soon as I remove the APEv2 tag.

Any idea if I might be missing some package? I'm pretty sure this used to work just fine in the past.

Let me know if you need a sample file, cheers!

@evanpurkhiser
Copy link
Owner

Hmm interesting. Could you send over one of the broken mp3s if possible?

@StoneCut
Copy link
Author

StoneCut commented Jun 6, 2019

@StoneCut
Copy link
Author

I've been able to determine the origin of that APEv2 tag: MP3gain (http://mp3gain.sourceforge.net/)
MP3gain writes undo information into an APEv2 tag. It'd be great if keyfinder-cli could just ignore that tag. The old windows version of Keyfinder can handle them fwiw.

@evanpurkhiser
Copy link
Owner

Hmm. I can't seem to reproduce. Do you know what version of keyfinder-cli and libkeyfinder you're using?

@StoneCut
Copy link
Author

Hhhm, I compiled them from source a few days prior to posting. I'm unsure how to determine the version since I deleted the source directory and there's -v switch or anything.

@StoneCut
Copy link
Author

Ok, so I recompiled both libkeyfinder and keyfinder-cli from the latest source available in GIT just now and still have the same result.
user@ThinkPad:~$ keyfinder-cli test.mp3
Unable to decode packet

@evanpurkhiser
Copy link
Owner

One more version question actually :) What version of ffmpeg do you have installed on your system?

@StoneCut
Copy link
Author

user@ThinkPad:~$ ffmpeg -version

ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared

@khannurien
Copy link

I've encountered the same error message for FLAC or mp3 files.

I tried removing APE tags using apetag:

apetag -i "file.mp3" -m overwrite

But apetag did not find any APE tag to remove.

I'm using the same Ubuntu and ffmpeg versions as @StoneCut.

Any clue? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants