[MPlayer-users] rtmp audio only
Karoly Horvath
rhswdev at gmail.com
Wed Aug 8 11:59:12 CEST 2012
Thank you,
-novideo solved the issue :)
I found another workaround, feeding mplayer with rtmpdump, and that
works too. I don't know much about the rtmp protocol, but this looks a
bug to me, I think it would be possible to auto-detect this in
mplayer.
Cheers,
--
Karoly Horvath
On Tue, Aug 7, 2012 at 6:55 PM, Reimar Döffinger
<Reimar.Doeffinger at gmx.de> wrote:
> On Tue, Aug 07, 2012 at 12:32:02PM +0100, Karoly Horvath wrote:
>> Hi,
>>
>> I tried to play an rtmp audio only (radio) stream, but it hangs for
>> more than 90 seconds:
>> With a flash player it starts almost instantly.
>>
>> mplayer -vo null -ao pcm:fast:file=test.wav ....
>>
>> Tue Aug 7 11:50:14 BST 2012
>> -rw-r--r-- 1 root root 65580 2012-08-07 11:49 test.wav
>> ..... (nothing happening)
>> Tue Aug 7 11:51:57 BST 2012
>> -rw-r--r-- 1 root root 65580 2012-08-07 11:49 test.wav
>> Tue Aug 7 11:51:58 BST 2012
>> -rw-r--r-- 1 root root 34340864 2012-08-07 11:51 test.wav
>>
>> I see that mplayer reads the stream, because the cache is filled quite fast.
>> I also created a simple audio filter, basically whenever af->play is
>> called, it will dump some data to the console.
>> I don't see any output for 90 seconds, then suddenly I see a big
>> burst, and lots of samples (from the previous 90 seconds) being
>> processed.
>>
>> mplayers works perfectly for all the other streams I tested http,
>> rtsp, ... A+V streams and A(udio) only streams. It even works fine
>> with rtmp A+V streams.
>>
>> It all looks like a buffering issue, but I have no idea why it only
>> happens with this specific protocol and audio only streams.
>>
>> Any idea how to fix this?
>>
>>
>> Output can be seen here: http://pastebin.com/5rDepBZH (note: I
>> changed the stream url in the output)
>
> Looks like MPlayer is expecting/waiting for a video stream.
> Try with with an explicit -novideo.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
More information about the MPlayer-users
mailing list