You are not logged in.
Pages: 1
Topic closed
I use MOC (mocp) as my audio player and have for years. I just switched over to Arch and can't get it to play MP3 streams. I have the following installed:
moc-svn (from the AUR; debug enabled)
version info:
moc 2.5.0-alpha4 Build: Mar 13 2011 10:55:01
Compiled with: OSS ALSA JACK DEBUG internet streams resample
ffmpeg-git
lame (normal repo)
curl (normal repo)
I can play the same stream using ffplay directly, but it was my thought that moc uses lame to decode MP3 and a combo of curl and lame for MP3 streams? Playing a local MP3 file works fine. However, when I load my playlist and select a stream it just sits at "connecting..." for ever. Debug mode shows no errors on the console. I'm running the same version of moc on my Ubuntu laptop and FreeBSD server, so I know it can play streams.
Thoughts?
Offline
Offline
Thanks. I will poke around with curl.
Offline
Okay, using the Arch GIT repository I pulled in the PKGBUILD file for curl 7.20.0-2 from 2010-04-01 and built the old version of curl. moc now works. I did try 7.21.1 as well, but no dice there. So, something in the 7.20 -> 7.21 branch broke.
Thanks for the heads up.
Offline
#I´m using moc-1:2.5beta1-5 from actual repository with kernel 3.10.12-1-MANJARO and i #can´t play streams like pls or m3u,
#but it´s cause moc can not unpack m3u or pls, .. to it´s playlist. So i can do:
[diamond@diamond ~]$ wget http://somafm.com/secretagent.pls
--2013-09-24 12:06:47-- http://somafm.com/secretagent.pls
Překládám somafm.com (somafm.com)… 74.217.192.202
Navazuje se spojení s somafm.com (somafm.com)|74.217.192.202|:80… spojeno.
HTTP požadavek odeslán, program čeká na odpověď… 200 OK
Délka: 572 [audio/x-scpls]
Ukládám do: „secretagent.pls“
100%[========================================================================================================================================================================================================================================>] 572 --.-K/s za 0s
2013-09-24 12:06:48 (14,0 MB/s) – „secretagent.pls“ uloženo [572/572]
#then
[diamond@diamond ~]$ cat secretagent.pls
[playlist]
numberofentries=3
File1=http://mp3.somafm.com:443
Title1=SomaFM: Secret Agent (#1 128k mp3): The soundtrack for your stylish, mysterious, dangerous life. For Spies and PIs too!
Length1=-1
File2=http://mp2.somafm.com:9016
Title2=SomaFM: Secret Agent (#2 128k mp3): The soundtrack for your stylish, mysterious, dangerous life. For Spies and PIs too!
Length2=-1
File3=http://ice.somafm.com/secretagent
Title3=SomaFM: Secret Agent (Firewall-friendly 128k mp3) The soundtrack for your stylish, mysterious, dangerous life. For Spies and PIs too!
Length3=-1
Version=2
[diamond@diamond ~]$
#And then i can add stream in to the local playlist for example from line starts File1=.. on the #start of wget processing
#It´s in my case: http://mp3.somafm.com:443
#Or do:
[diamond@diamond ~]$ mocp http://mp3.somafm.com:443
#And moc sudenly play nicely :)
_2013_09_24_Synnema.png)
Last edited by Synnema (2013-09-24 11:14:11)
Offline
Thanks Synnema, but pease do not necro-bump. Also, I see you're using Manjaro. We do not provide support for Manjaro or any other Arch-derived distribution. See our policy.
Closing this thread.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Pages: 1
Topic closed