Results 1 to 15 of 48

Thread: mpd player within Asus WL-500gP

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    MPD won't play ogg

    Hello together!

    Still on the search for a music streamer/player, I came back to try mpd from opkg.
    Things work fine with MP3s when played with locally attached USB-Soundcard.

    But when it comes to OGG-Files, there is only a once a second short crisp.
    Seems to be a known (and fixed?) problem:
    https://dev.openwrt.org/ticket/9280
    https://forum.openwrt.org/viewtopic.php?id=29475
    https://forum.openwrt.org/viewtopic.php?pid=133669

    However in my case, OGGs are at least indexed. I use the opkg-version (0.16.5), which should have built-in the fix?

    Second problem is the http-streaming. When started (with MP3 ;-) ), CPU load goes up in the sky and I get some milli-seconds of music every minute using VLC on my PC here. This is also documented (http://musicpd.org/mantis/view.php?id=3330 and many more) and reported to be fixed?

    So any ideas, wether the actual wl500g-build may be broken?

    I wanted to compile it on my own, but couldn't find a c-compiler in opkg - any solution to this?

    And last but not least: is there any way, to get the binaries of the older versions to try wether there is some working version?

    Thanks a lot for help,
    pheidrias

  2. #2
    Quote Originally Posted by pheidrias View Post
    I wanted to compile it on my own, but couldn't find a c-compiler in opkg - any solution to this?
    opkg is a small program for managing existing packages, it does not include compiler or something else.

    My mpd Makefile taken from OpenWRT trunk and mpd was built with OGG support. You may try to build your own mpd version, just follow this manual.

  3. #3
    This refers to cross-compiling, then? It's supposed to be done on my linux machine?

    If it could be done on the router, I do miss a svn-package :-(.

    Are there any older mpd-versions from your opkg (remember to have read something on versioning with opkg)?

    Thanks!

  4. #4
    don't compile it on the router - you'll lose many hours/days preparing the system and compiling the openwrt packages
    RT-N66U TomatoUSB 1.28.0000 MIPSR2-135 K26AC USB AIO-64K running Entware-NG
    pyload 0.4.9
    minidlna 1.1.2
    samba 3.6.5
    openvpn 2.3.10
    ̶W̶L̶5̶0̶0̶g̶P̶ ̶1̶.̶9̶.̶2̶.̶7̶-̶r̶t̶n̶-̶r̶4̶7̶5̶0 retired

  5. #5
    Okay...I tried to follow the HowTo (http://code.google.com/p/wl500g-repo.../trunk/INSTALL) by copy/pasting the instructions (took the newest revision instead of r3458).

    Maybe I misunderstood it, but the last step failed
    Code:
    ~/Soft/openwrt/trunk$ make package/compile V=99
    make[1]: Entering directory `/home/guntram/Soft/openwrt/trunk'
    make[2]: Entering directory `/home/guntram/Soft/openwrt/trunk/package/opkg'
    make[2]: Leaving directory `/home/guntram/Soft/openwrt/trunk/package/opkg'
    make[2]: Entering directory `/home/guntram/Soft/openwrt/trunk/package/base-files-network'
    make[2]: Leaving directory `/home/guntram/Soft/openwrt/trunk/package/base-files-network'
    make[2]: Entering directory `/home/guntram/Soft/openwrt/trunk/package/base-files'
    cp -fpR /home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libuClibc-*.so /home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libcrypt-*.so /home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libm-*.so /home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libpthread-*.so /home/guntram/Soft/openwrt/trunk/build_dir/linux-rtn/base-files/
    cp: cannot stat `/home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libuClibc-*.so': No such file or directory
    cp: cannot stat `/home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libcrypt-*.so': No such file or directory
    cp: cannot stat `/home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libm-*.so': No such file or directory
    cp: cannot stat `/home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libpthread-*.so': No such file or directory
    make[2]: *** [/home/guntram/Soft/openwrt/trunk/build_dir/linux-rtn/base-files/.built] Error 1
    make[2]: Leaving directory `/home/guntram/Soft/openwrt/trunk/package/base-files'
    make[1]: *** [package/base-files/compile] Error 2
    make[1]: Leaving directory `/home/guntram/Soft/openwrt/trunk'
    make: *** [package/compile] Fehler 2
    If I try make mpd-full/compile instead, it breaks down immediately (No rule to make target `mpd-full/compile')...
    This will be the point where I have to tell him your posted make-file? How?

    Thanks for further support!

    Although I'm learning some things here - could someone of you guys please test, wether MPD on your routers is able to play OGG-files? Maybe its really a package problem and not just my personal fault...thank you!

  6. #6
    Hello again!

    I figured out, that the problem seems to stem from resampling. This takes too much CPU and therefore makes the playback quite impossible (CPU load > 95% for mpd when playing OGG).

    Maybe there is some misconfiguration for mpd 0.16.5?
    It worked when I was using mpd 0.15...

  7. #7
    Quote Originally Posted by pheidrias View Post
    I figured out, that the problem seems to stem from resampling. This takes too much CPU and therefore makes the playback quite impossible (CPU load > 95% for mpd when playing OGG).
    Unfortunately, our CPU have no FPU, only FPU emulation unit. This is why massive floating point calculations is painfully slow.
    But! You may relink the mpd from libvorbis to libvorbisidec - a library with integer numbers only algorithms. See Makefile for details.

Similar Threads

  1. Asus WL-500gp V1
    By alcalaca in forum Spanish Discussion - Español (ES)
    Replies: 3
    Last Post: 15-02-2011, 16:57
  2. HowTo WL-HDD + USB-Sound-Hub als MP3-Player mit PDA-Fernbedinung
    By WLAN-Fan in forum German Discussion - Deutsch (DE)
    Replies: 58
    Last Post: 17-09-2010, 12:27
  3. îáúåäèíåíèå asus 500gp è asus 520gc
    By shi in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 56
    Last Post: 12-04-2009, 11:17
  4. Streaming Audio -- which Player on Linux?
    By lodp in forum WL-500g Q&A
    Replies: 5
    Last Post: 22-01-2007, 00:38

Tags for this Thread

Posting Permissions

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