[mythtv-users] Icecast stream and Mythmusic

Paul Harrison mythtv at sky.com
Sun Sep 22 22:52:49 UTC 2013


On 22/09/13 18:30, Paul Harrison wrote:
> On 22/09/13 17:10, Rajil Saraswat wrote:
>>> I think currently if you need to pass a user and password you will 
>>> need to
>>> create either a pls or m3u file since while the player supports 
>>> playback
>>> direct from http urls only the ice/shoutcast decoder handler knows 
>>> what to
>>> do with the user and password.
>>>
>>> Paul H.
>>> _______________________________________________
>> I created an m3u file with the username and password,
>>
>> #cat /var/www/localhost/htdocs/high.ogg.m3u
>> http://user:pass@192.168.1.111:8000/high.ogg
>>
>> Mythfrontend failed to play the stream with error
>>
>> 2013-09-22 21:34:14.873667 E  Failed to mount /dev/sr0.
>> 2013-09-22 21:34:25.781942 I  AOBase: Opening audio device
>> 'surround71:CARD=NVidia,DEV=0' ch 6(2) sr 44100 sf signed 32 bit reenc
>> 0
>> 2013-09-22 21:34:25.783609 E  ALSA: Requested 500000us got 61678 
>> buffer time
>> 2013-09-22 21:34:25.794688 E  ALSA: Try to manually increase audio
>> buffer with: echo 576 | sudo tee
>> /proc/asound/card0/pcm0p/sub0/prealloc
>> 2013-09-22 21:34:26.859457 N  Suspending idle timer
>> 2013-09-22 21:34:27.765932 E  Could not open file (stream)
>> 2013-09-22 21:34:27.765945 E  AV decoder. Error: -541478725
>> 2013-09-22 21:34:27.766042 E  Decoder Error: Could not open file  
>> (stream)
>> AV decoder. Error: -541478725
>>
>> Mplayer plays the stream fine using
>> #mplayer -playlist http://localhost:8015/high.ogg.m3u
>>
>> The webserver is running on port 8015. Are ogg streams supported?
>>
>> Thanks
>>
>
> I just tried another ogg stream and it looks like ogg playback got 
> broken probably by one of the ffmpeg resyncs :( That error 
> (-541478725) is AVERROR_EOF which means the decoder thinks we reached 
> the end of file so basically it run out of data while trying to open 
> the stream which is odd.
>
> Paul H.


I've just pushed a fix that fixes the ogg playback problem I was seeing. 
Hopefully you should be able to playback your ogg stream now.

Paul H.


More information about the mythtv-users mailing list