#1 2009-04-18 16:32:10
[問題]如何撥放線上廣播電台(mms://)
請問一下有人知道該如何撥放mms:// 協定的音樂嗎?
目前用USB音效卡+MPG123 可以撥放很多線上音樂
可是像HiNet的網路廣播
http://hichannel.hinet.net/radio.html
是用mms://的通訊協定 因此mpg123 無法撥放
請問有人知道mms://該怎麼撥放嗎?
mplayer似乎可以撥放mms://
不過ipkg 找不到mplayer 囧
離線
#2 2009-04-19 00:01:42
Re: [問題]如何撥放線上廣播電台(mms://)
mms 應該可以用 vlc 播放才對,只是 vlc 除了不能用 root 權限之外,還帶了一堆錯誤訊息...
[aven@WL-500GP2 /] $ vlc mms://bcr.media.hinet.net/RA000018
VLC media player 0.9.9a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--build=i386-pc-linux-gnu' '--host=mipsel-linux' '--target=mipsel-linux' '--prefix=/opt' '--enable-v4l' '--disable-v4l2' '--enable-bonjour' '--enable-x264' '--enable-dvbpsi' '--enable-a52' '--enable-dvdnav' '--with-dvdnav-config-path=/home/slug/optware/oleg/staging/opt/bin' '--enable-faad' '--enable-flac' '--disable-gnutls' '--enable-mpc' '--enable-ncurses' '--enable-ogg' '--enable-png' '--disable-remoteosd' '--enable-shout' '--enable-speex' '--enable-vorbis' '--disable-alsa' '--disable-dca' '--disable-glx' '--disable-gnomevfs' '--disable-libcdio' '--disable-libcddb' '--disable-screen' '--disable-sdl' '--disable-wxwidgets' '--disable-skins2' '--disable-x11' '--disable-nls' '--disable-static' 'build_alias=i386-pc-linux-gnu' 'host_alias=mipsel-linux' 'target_alias=mipsel-linux' 'CC=/home/slug/optware/oleg/toolchain/mipsel-linux-uclibc/gcc-4.1.1-uclibc-0.9.28/bin/mipsel-linux-uclibc-gcc' 'LDFLAGS= -L/home/slug/optware/oleg/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link,/home/slug/optware/oleg/staging/opt/lib ' 'CPPFLAGS=-O2 -pipe -I/home/slug/optware/oleg/staging/opt/include -I/home/slug/optware/oleg/staging/opt/include/ncurses' 'CPP=/home/slug/optware/oleg/toolchain/mipsel-linux-uclibc/gcc-4.1.1-uclibc-0.9.28/bin/mipsel-linux-uclibc-gcc -E' 'CXX=/home/slug/optware/oleg/toolchain/mipsel-linux-uclibc/gcc-4.1.1-uclibc-0.9.28/bin/mipsel-linux-uclibc-g++' 'PKG_CONFIG_PATH=/home/slug/optware/oleg/staging/opt/lib/pkgconfig'
[00000001] main libvlc debug: translation test: code is "C"
process 29808: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/opt/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
D-Bus not compiled with backtrace support so unable to print a backtrace
Aborted
[aven@WL-500GP2 /]$
技術問題請於論壇上集眾人之力公開討論,感恩
離線
#4 2009-04-19 00:46:52
Re: [問題]如何撥放線上廣播電台(mms://)
安裝不難,就和一般套件安裝方法一樣
$ ipkg install vlc
要另外建一個帳號,請搜尋 adduser
我的做法是直接編輯 /etc/passwd
$ nano /etc/passwd
把 admin 那一行複製,貼到新的一行
把帳號及預設路徑改一下
aven:$1$jYT6DQyF$jCYx/d1eMSipvm1temLWw.:1:1:root:/opt/share:/bin/sh
最後記得寫入 flashfs
$ flashfs save
$ flashfs commit
$ flashfs enable
下次即可用指定帳號登入
技術問題請於論壇上集眾人之力公開討論,感恩
離線