Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Some MP3 Files Not Playing

Help
Matt
2013-01-21
2013-06-03
  • Matt
    Matt
    2013-01-21

    Having an odd issue here… I have a LOT of MP3 files that seem to not want to play in IDJC. Many will play, but then a lot won't.  The files that play have the same encoding as the files that won't, and the really odd part is that all the files play in RhythmBox without a hitch.

    IDJC seems to think it has reached the end of the MP3 file as soon as the file starts.

    Anyone have any ideas? Does IDJC use different libraries than RhythmBox? Any way to debug what is really happening so I can get these files to play in IDJC?

    Thanks!

     
  • I think this was fixed. Can you make a problem mp3 file available for download and post a link?

     
  • Matt
    Matt
    2013-01-21

  • This plays in version 0.8.8 and the latest development version both of which use a different mp3 library (libmad is old and no longer being developed and doesn't sound nearly as good on low bitrate stuff so it got dropped).

    In madplay and I am getting CRC check failed for (almost?) every single frame. The file was probably made using a crap encoder.

     
  • Matt
    Matt
    2013-01-22

    Thought I was on the latest version, but I'm on 0.8.7 (using Fedora 18 yum). I'll try to compile the 0.8.8 and see if that does the trick.

     
  • Matt
    Matt
    2013-01-22

    Well, trying to compile 0.8.8 but running into the issues described here:

    https://sourceforge.net/projects/idjc/forums/forum/458835/topic/5409193/index/page/2

    Running Fedora 18 x64… Launching IDJC gives the error "IDJC Failed to open /usr/lib/idjc.so.0 Cannot continue"

    If you load from terminal you get:
    jack client ID: idjc_default
    something bad happened

    Doesn't seem to be an RPM or yum for 0.8.8 and all the tricks they have listed in the above URL don't seem to help.

     
  • Matt
    Matt
    2013-01-22

    BTW, if I try to install 0.8.8 with the instructions, everything looks good until I try to make idjc-0.8.8:

    $ make
    make  all-recursive
    make: Entering directory `/home/lugar/Downloads/idjc-0.8.8'
    Making all in po
    make: Entering directory `/home/lugar/Downloads/idjc-0.8.8/po'
    make: Leaving directory `/home/lugar/Downloads/idjc-0.8.8/po'
    Making all in c
    make: Entering directory `/home/lugar/Downloads/idjc-0.8.8/c'
    /bin/sh ../libtool  -tag=CC   -mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/include/ffmpeg -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/FLAC      -I/usr/local/include      -O2 -Wall -std=gnu99 -O2 -MT idjc_la-avcodecdecode.lo -MD -MP -MF .deps/idjc_la-avcodecdecode.Tpo -c -o idjc_la-avcodecdecode.lo `test -f 'avcodecdecode.c' || echo './'`avcodecdecode.c
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ffmpeg -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/FLAC -I/usr/local/include -O2 -Wall -std=gnu99 -O2 -MT idjc_la-avcodecdecode.lo -MD -MP -MF .deps/idjc_la-avcodecdecode.Tpo -c avcodecdecode.c  -fPIC -DPIC -o .libs/idjc_la-avcodecdecode.o
    avcodecdecode.c: In function 'avformatinfo':
    avcodecdecode.c:340:23: error: 'AV_METADATA_DONT_STRDUP_KEY' undeclared (first use in this function)
    avcodecdecode.c:340:23: note: each undeclared identifier is reported only once for each function it appears in
    avcodecdecode.c:340:53: error: 'AV_METADATA_DONT_STRDUP_VAL' undeclared (first use in this function)
    make: ***  Error 1

     
  • Matt
    Matt
    2013-01-22

    Another followup, using 0.8.9_development yields:

    Traceback (most recent call last):
      File "/usr/bin/idjc", line 29, in <module>
        exit(idjc.main())
      File "/usr/lib/python2.7/site-packages/idjc/__init__.py", line 120, in main
        from . import maingui  # pylint: disable=W0404
      File "/usr/lib/python2.7/site-packages/idjc/maingui.py", line 48, in <module>
        from .preferences import *
      File "/usr/lib/python2.7/site-packages/idjc/preferences.py", line 30, in <module>
        from . import songdb
    ImportError: cannot import name songdb

     
  • Matt
    Matt
    2013-01-22

    ok, out of ideas on my own… Cleaned and re-installed the 0.8.9_development build (per instructions for option 2 on http://idjc.sourceforge.net/install_build.html)

    Back to the "IDJC Failed to open /usr/lib/idjc.so.0 Cannot continue" and jack client ID: idjc_default, something bad happened errors.

    And before you ask, yes, I am sure I remembered to do the sudo ldconfig step… Didn't notice any errors through the process either…

    Is there another step that Fedora users need to take? All the searching I've done seems to tie to our distro.

     
  • Just fix your mp3 files: mp3check -fix-crc /path/to/file.mp3

     
  • Matt
    Matt
    2013-01-30

    Awesome, that did the trick on a few of the files I tried.

    Hopefully someone can find a way to get the latest version to run on Fedora, it'd be nice to upgrade at some point :)

    Thanks!!!