Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Hi, I installed MOC and am trying to play mp3 files. It does not even list them. It just shows my main music directory and all the subdirectories. On the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User saivin's Avatar
    Join Date
    Dec 2008
    Location
    Bengaluru, India
    Posts
    305

    [SOLVED] MOC (Music On Console) does not list .mp3s. Oggs play fine.


    Hi,
    I installed MOC and am trying to play mp3 files. It does not even list them. It just shows my main music directory and all the subdirectories. On the otherhand .ogg files play fine.

    I presume its not related to any USE flag or libraries coz, I have mp3, mpeg, ogg, vorbis, ffmpeg, etc in USE flag and have also installed xine-lib, win32codecs etc. Please note that the mp3 files play fine in Xfmedia. Only MOC has problem.

    On MOC forum, somebody had similar problem (with opensuse system) and he himself solved the problem by installing 'libmad-devel' package. I installed 'libmad' but still the problem is present. I did not find 'libmad-devel' or 'libmad-dev'. What is the -devel or -dev equivalent in gentoo?
    A candle looses nothing by lighting other candles. - Khalil Zibran.
    Registered Linux User #490076

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    what does
    Code:
    emerge -pv moc
    report?

  3. #3
    Linux User saivin's Avatar
    Join Date
    Dec 2008
    Location
    Bengaluru, India
    Posts
    305
    The following...
    Code:
    These are the packages that would be merged, in order:
    
    Calculating dependencies  ... done!
    [ebuild   R   ] media-sound/moc-2.5.0_alpha3-r2  USE="aac alsa curl ffmpeg flac speex vorbis -debug -jack -libsamplerate -mad -modplug -musepack -sid -sndfile -timidity -wavpack" 0 kB
    
    Total: 1 package (1 reinstall), Size of downloads: 0 kB
    A candle looses nothing by lighting other candles. - Khalil Zibran.
    Registered Linux User #490076

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    Does using mad flag help?

  6. #5
    Linux User saivin's Avatar
    Join Date
    Dec 2008
    Location
    Bengaluru, India
    Posts
    305
    what 'mad'ness is this?

    Yes, its related to 'mad' but has not solved the problem yet. Put 'mad' in use flag and re-emerged moc. Now, moc lists .mp3 files. But when I play a file, it says: can't get decoder... What else am I missing? Is there anything I need to execute once I re-emerge a package?

    Also, why installing 'libmad' did not help?
    A candle looses nothing by lighting other candles. - Khalil Zibran.
    Registered Linux User #490076

  7. #6
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    I don't use moc I use mp3blaster as a console based player ... I'll have a go at setting up moc later on.

  8. #7
    Linux User saivin's Avatar
    Join Date
    Dec 2008
    Location
    Bengaluru, India
    Posts
    305
    If you can do that for me and make out what worked for you, I will be grateful.

    Just keep these points in the back of your mind:
    a) now moc can see mp3 files but says it can't find decoder (before it could not even see an mp3.
    b) mp3 is playing fine with Xfmedia all this time. So, its something moc related.
    c) current system is x86 gentoo.
    d) MOC works fine in my laptop with x86_64 gentoo.
    A candle looses nothing by lighting other candles. - Khalil Zibran.
    Registered Linux User #490076

  9. #8
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    I got similar results to you initially so I added to /etc/portage/package.use the following line ...
    Code:
    media-sound/moc aac alsa ffmpeg flac mad vorbis curl -debug jack libsamplerate modplug musepack sid sndfile -speex timidity wavpack
    this worked for me ... not sure minimum combination actually required - I guess you can optimise this yourself. Let us know if it works for you.

    I tried this on my desktop system which is 32 bit.

  10. #9
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    The "mad" flag is all you should need for mp3, I am not sure what the problem could be.

    Re-emerge libmad and try to use "revdep-rebuild", maybe libmad is broken or something...

  11. #10
    Linux User saivin's Avatar
    Join Date
    Dec 2008
    Location
    Bengaluru, India
    Posts
    305

    solved


    Mad at mad... I did nothing and its working now...

    Did rebooting do the trick(shutdown system yesterday night and switched on now. )? I had compiled Xfmedia after moc and it worked like charm without rebooting or even logout-login...!

    Anyway, thanks for the 'mad' suggestion Jonathan.

    i92guboj, 'revdep-rebuild' is not working. It says command not found. What package I need to install?
    A candle looses nothing by lighting other candles. - Khalil Zibran.
    Registered Linux User #490076

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •