You are not logged in.

#1 2011-03-13 19:49:28

rhavenn
Member
Registered: 2011-03-13
Posts: 5

moc won't play mp3 streams?

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

#2 2011-03-13 20:42:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: moc won't play mp3 streams?

Offline

#3 2011-03-14 02:38:06

rhavenn
Member
Registered: 2011-03-13
Posts: 5

Re: moc won't play mp3 streams?

Thanks. I will poke around with curl.

Offline

#4 2011-03-14 03:04:26

rhavenn
Member
Registered: 2011-03-13
Posts: 5

Re: moc won't play mp3 streams?

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

#5 2013-09-24 11:12:18

Synnema
Member
From: Czech Republic
Registered: 2013-09-24
Posts: 1
Website

Re: moc won't play mp3 streams?

#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 :)

moc_can_play_streams(no_playlists)_2013_09_24_Synnema.png

Last edited by Synnema (2013-09-24 11:14:11)

Offline

#6 2013-09-24 12:37:51

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: moc won't play mp3 streams?

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

Board footer

Powered by FluxBB