Discussion:
[MPlayer-users] Mplayer doesn't play RTSP stream anymore...
andrea
2011-03-14 19:54:57 UTC
Permalink
Hi,

I've been using mplayer for a long time to listen to or to dump streams
like the following:

rtsp://mm6.rai.it/radiofonia/radio3/napoli/uomini_profeti/2010/uomini_profeti2010_09_19.ra

They are actually Real Audio files that you can only access via RTSP,
not just download.

Recently mplayer started to give the following error after some minutes,
and without playing or downloading anything:

rtsp: read error.
librtsp: buffer overflow in rtsp_get

I really can't figure out what's happening. It cannot be a network
problem because gstreamer and ffmpeg can play those streams without any
problem. Unfortunately, both lack an option like -bandwidth which, set
to a high enough value, allows mplayer to dump a 45 minutes stream in
about one minute.

The only two things that happened recently to my system are: 1) I
changed ISP, now I have TelecomItalia, with a new ADSL router; 2) I
upgraded my Debian system from Lenny to Squeeze.

Any suggestion will be much appreciated.

Best regards.
--
andrea <***@alice.it>
Oliver Seitz
2011-03-14 21:21:21 UTC
Permalink
Post by andrea
rtsp://mm6.rai.it/radiofonia/radio3/napoli/uomini_profeti/2010/uomini_profeti2010_09_19.ra
As I don't speak italian, it was a little boring... so I stopped
listening after 15 minutes. Plays fine here on MPlayer SVN-r32842-4.4.5

Greets,
Kiste
Kevin DeKorte
2011-03-14 21:25:24 UTC
Permalink
Post by Oliver Seitz
Post by andrea
rtsp://mm6.rai.it/radiofonia/radio3/napoli/uomini_profeti/2010/uomini_profeti2010_09_19.ra
As I don't speak italian, it was a little boring... so I stopped
listening after 15 minutes. Plays fine here on MPlayer SVN-r32842-4.4.5
Greets,
Kiste
Seems ok with MPlayer SVN-r33064-4.5.1 as well..

Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
Oliver Seitz
2011-03-14 21:47:33 UTC
Permalink
Post by Kevin DeKorte
Post by Oliver Seitz
Post by andrea
rtsp://mm6.rai.it/radiofonia/radio3/napoli/uomini_profeti/2010/uomini_profeti2010_09_19.ra
As I don't speak italian, it was a little boring... so I stopped
listening after 15 minutes. Plays fine here on MPlayer SVN-r32842-4.4.5
Seems ok with MPlayer SVN-r33064-4.5.1 as well..
And with latest MPlayer SVN-r33081-4.4.5 I dumped the whole stream in
little more than 12 seconds.

Greets,
Kiste
Scott
2011-03-15 12:49:50 UTC
Permalink
This post might be inappropriate. Click to display it.
Oliver Seitz
2011-03-15 13:28:27 UTC
Permalink
Post by Scott
http://ckua.streamon.fm:443/CKUA-44k.ogg
Both wget and mplayer -dumpstream keep happily downloading, but MPlayer
SVN-r33081-4.4.5 does only play a few (~10) seconds.

Greets,
Kiste
JM G
2011-03-15 17:18:30 UTC
Permalink
Hi ,
I am under XP sp3 with Mplayer (Sherpya-SVN-r32848-4.2.5)
===
Post by Scott
http://ckua.streamon.fm:443/CKUA-44k.ogg
Both wget and mplayer -dumpstream keep happily downloading, but MPlayer
SVN-r33081-4.4.5 does only play a few (~10) seconds.
===
===
I agree , 8s only with the below batch file :
---
@echo on
start mplayer.exe -cache 10000 -forceidx -noframedrop -dumpstream
"http://ckua.streamon.fm:443/CKUA-44k.ogg"
:fin
---
I got "stream.dump" file .
(NB : I was obliged to use "CTRL + C" to stop the stream .)
===
===
But with the below batch file :
---
@echo on
start mplayer.exe -cache 10000 -forceidx -noframedrop -dumpstream
"http://ckua.streamon.fm:443/CKUA-44k.ogg" -dumpfile "essai_CKUA.ogg"
:fin
---
I got "essai_CKUA.ogg" file , with no end , as it is a radio .
(NB : I was obliged to use "CTRL + C" to stop the stream .)
===

Regards .

JM G

----- Original Message -----
From: "Oliver Seitz" <***@vtnd.de>
To: "MPlayer usage questions, feature requests,bug reports"
<mplayer-***@mplayerhq.hu>
Sent: Tuesday, March 15, 2011 2:28 PM
Subject: Re: [MPlayer-users] Trouble with ckua stream on rc4
Post by Scott
Post by Scott
http://ckua.streamon.fm:443/CKUA-44k.ogg
Both wget and mplayer -dumpstream keep happily downloading, but MPlayer
SVN-r33081-4.4.5 does only play a few (~10) seconds.
Greets,
Kiste
_______________________________________________
MPlayer-users mailing list
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
Carl Eugen Hoyos
2011-03-15 16:50:43 UTC
Permalink
Post by Scott
$ mplayer -cache 64 http://ckua.streamon.fm:443/CKUA-44k.ogg
Works fine with -demuxer ogg
(It should also work with -demuxer lavf if you press '#' to switch audio
channel, but that seems broken.)

Please do not hijack threads, Carl Eugen
andrea
2011-03-16 07:21:04 UTC
Permalink
First of all many thanks to everyone who answered.

So, it seems that you all can play those streames without any problem.
Since I can, too, but only with totem (gstreamer) and ffmpeg (or
ffplay), the only idea I have is that my ISP, or maybe just my router,
applies some sort of filtering that mplayer run across, while gstreamer
and ffmpeg are not affected.

This should mean that mplayer handles RTSP in a slightly different
manner that the other two.

I should mention that also VLC cannot play those streams. Finally, at
work I have no problems at all, nor I had with my previous ISP.

It seems very hard to solve this issue.

Best regards.
Post by andrea
Hi,
I've been using mplayer for a long time to listen to or to dump streams
rtsp://mm6.rai.it/radiofonia/radio3/napoli/uomini_profeti/2010/uomini_profeti2010_09_19.ra
They are actually Real Audio files that you can only access via RTSP,
not just download.
Recently mplayer started to give the following error after some minutes,
rtsp: read error.
librtsp: buffer overflow in rtsp_get
I really can't figure out what's happening. It cannot be a network
problem because gstreamer and ffmpeg can play those streams without any
problem. Unfortunately, both lack an option like -bandwidth which, set
to a high enough value, allows mplayer to dump a 45 minutes stream in
about one minute.
The only two things that happened recently to my system are: 1) I
changed ISP, now I have TelecomItalia, with a new ADSL router; 2) I
upgraded my Debian system from Lenny to Squeeze.
Any suggestion will be much appreciated.
Best regards.
Oliver Seitz
2011-03-16 07:37:03 UTC
Permalink
Post by andrea
So, it seems that you all can play those streames without any problem.
No. Noone tried with your MPlayer version, as you did not say which
version you are using.

Downloading the stream indeed works, but neither direct streaming nor
the downloaded file plays, using all default settings. -demuxer ogg
seems to help, though.

Greets,
Kiste
Oliver Seitz
2011-03-16 07:58:52 UTC
Permalink
Post by Oliver Seitz
Post by andrea
So, it seems that you all can play those streames without any problem.
No. Noone tried with your MPlayer version, as you did not say which
version you are using.
Sorry. Had the wrong thread in mind, but it's still true that you did
not mention your MPlayer version.

-demuxer ogg is of course nonsense for .rm

Apologies,
Kiste
andrea
2011-03-16 08:12:15 UTC
Permalink
Post by Oliver Seitz
Post by Oliver Seitz
Post by andrea
So, it seems that you all can play those streames without any problem.
No. Noone tried with your MPlayer version, as you did not say which
version you are using.
Sorry. Had the wrong thread in mind, but it's still true that you did
not mention your MPlayer version.
-demuxer ogg is of course nonsense for .rm
I just read your last message after answering the previos one, sorry.
Post by Oliver Seitz
Apologies,
Kiste
_______________________________________________
MPlayer-users mailing list
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
andrea
2011-03-16 08:10:49 UTC
Permalink
Post by Oliver Seitz
Post by andrea
So, it seems that you all can play those streames without any problem.
No. Noone tried with your MPlayer version, as you did not say which
version you are using.
Sorry,

my mplayer is SVN-r31918, currently installed by default on Debian
Squeeze from the Debian Multimedia repository.

But I also compiled the version of March 14, with exactly the same
results.
Post by Oliver Seitz
Downloading the stream indeed works, but neither direct streaming nor
the downloaded file plays, using all default settings. -demuxer ogg
seems to help, though.
This I can't understand: what does it mean -demuxer ogg? I tried with
this option too, with no changes.

Also, someone said that he could listen to the stream, he even said it
was a little boring because he doesn't speak italian.

Best regards.
Post by Oliver Seitz
Greets,
Kiste
_______________________________________________
MPlayer-users mailing list
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
Carl Eugen Hoyos
2011-03-16 13:14:14 UTC
Permalink
This post might be inappropriate. Click to display it.
andrea
2011-03-16 16:38:39 UTC
Permalink
Okay, I'll post the complete output for the latest svn. I'll be back in
a few minutes.

Best regards.
Post by Carl Eugen Hoyos
Post by Oliver Seitz
Post by andrea
So, it seems that you all can play those streames without any problem.
No. Noone tried with your MPlayer version, as you did not say which
version you are using.
That is actually not the main problem.
Complete, uncut output of MPlayer (latest svn) is nearly always required.
(I suspect it would have saved us all from testing ourselves.)
Carl Eugen
_______________________________________________
MPlayer-users mailing list
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
andrea
2011-03-16 17:18:46 UTC
Permalink
Here is the command line and its output. I hope the verbosity is high
enough, otherwise let me know.

Best regards.

./mplayer -nolirc -nojoystick -prefer-ipv4 -v -v -v -msglevel all=9
rtsp://mm6.rai.it/radiofonia/radio3/napoli/uomini_profeti/2010/uomini_profeti2010_09_19.ra

this_opt = option: v
Setting v=-msglevel
this_opt = option: msglevel
Setting msglevel=all=9
Adding file
rtsp://mm6.rai.it/radiofonia/radio3/napoli/uomini_profeti/2010/uomini_profeti2010_09_19.ra
Config pushed level is now 2
Config pushed level is now 3
MPlayer SVN-r33081-4.4.5 (C) 2000-2011 MPlayer Team
CPU vendor name: AuthenticAMD max cpuid level: 5
CPU: AMD Athlon(tm) II X4 620 Processor (Family: 16, Model: 5, Stepping:
2)
extended cpuid-level: 27
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowExt SSE SSE2
CMOV
get_path('codecs.conf') -> '/home/andrea/.mplayer/codecs.conf'
Reading /home/andrea/.mplayer/codecs.conf: Can't open
'/home/andrea/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/andrea/.mplayer/fonts'
Configuration:
CommandLine: '-nolirc' '-nojoystick' '-prefer-ipv4' '-v' '-v' '-v'
'-msglevel' 'all=9'
'rtsp://mm6.rai.it/radiofonia/radio3/napoli/uomini_profeti/2010/uomini_profeti2010_09_19.ra'
Using nanosleep() timing
get_path('input.conf') -> '/home/andrea/.mplayer/input.conf'
Can't open input config file /home/andrea/.mplayer/input.conf: No such
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such
file or directory
Falling back on default (hardcoded) input config
get_path('uomini_profeti2010_09_19.ra.conf') ->
'/home/andrea/.mplayer/uomini_profeti2010_09_19.ra.conf'

[[[init getch2]]]

Playing
rtsp://mm6.rai.it/radiofonia/radio3/napoli/uomini_profeti/2010/uomini_profeti2010_09_19.ra.
get_path('sub/') -> '/home/andrea/.mplayer/sub/'
STREAM_RTSP, URL:
rtsp://mm6.rai.it/radiofonia/radio3/napoli/uomini_profeti/2010/uomini_profeti2010_09_19.ra
Filename for url is now
rtsp://mm6.rai.it/radiofonia/radio3/napoli/uomini_profeti/2010/uomini_profeti2010_09_19.ra
Filename for url is now
rtsp://mm6.rai.it/radiofonia/radio3/napoli/uomini_profeti/2010/uomini_profeti2010_09_19.ra
Resolving mm6.rai.it for AF_INET...
Connecting to server mm6.rai.it[212.162.85.9]: 554...

rtsp: read error.
librtsp: buffer overflow in rtsp_get
Post by Carl Eugen Hoyos
Post by Oliver Seitz
Post by andrea
So, it seems that you all can play those streames without any problem.
No. Noone tried with your MPlayer version, as you did not say which
version you are using.
That is actually not the main problem.
Complete, uncut output of MPlayer (latest svn) is nearly always required.
(I suspect it would have saved us all from testing ourselves.)
Carl Eugen
_______________________________________________
MPlayer-users mailing list
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
Carl Eugen Hoyos
2011-03-17 09:25:47 UTC
Permalink
andrea <sarkiaponius <at> alice.it> writes:

...
Post by andrea
Resolving mm6.rai.it for AF_INET...
Connecting to server mm6.rai.it[212.162.85.9]: 554...
rtsp: read error.
Afaict, this is a problem in your network setup, I get:
...
Resolving mm6.rai.it for AF_INET...
Connecting to server mm6.rai.it[212.162.85.9]: 554...

Cache size set to 640 KBytes
...
(and it continues successfully)

Please do not top-post, it is considered rude, Carl Eugen
andrea
2011-03-17 11:57:04 UTC
Permalink
Post by andrea
...
Post by andrea
Resolving mm6.rai.it for AF_INET...
Connecting to server mm6.rai.it[212.162.85.9]: 554...
rtsp: read error.
...
Resolving mm6.rai.it for AF_INET...
Connecting to server mm6.rai.it[212.162.85.9]: 554...
Cache size set to 640 KBytes
...
(and it continues successfully)
But if it's a network setup problem, why can I listen to the same stream
with totem and ffplay? And download it with gstreamer and ffmpeg? Yes,
the network surely matters, but just for mplayer.

Actually, mplayer works perfectly fine at work, where I have exactly the
same system (Debian Squeeze). At work I dind't check the latest svn, but
there's no need, because the official Debian version works.

I think it could be useful a small part of the strace output for the
command line already used in the previous posts. The last line repeats
about 4000 times!

sendto(3, "SETUP rtsp://mm6.rai.it:554/radi"..., 122, MSG_NOSIGNAL,
NULL, 0) = 122
sendto(3, "CSeq: 3\r\n", 9, MSG_NOSIGNAL, NULL, 0) = 9
sendto(3, "RealChallenge2: f9a4916d3539794a"..., 71, MSG_NOSIGNAL, NULL,
0) = 71
sendto(3, "If-Match: 1547525036-2\r\n", 24, MSG_NOSIGNAL, NULL, 0) = 24
sendto(3, "Transport: x-pn-tng/tcp;mode=pla"..., 65, MSG_NOSIGNAL, NULL,
0) = 65
sendto(3, "\r\n", 2, MSG_NOSIGNAL, NULL, 0) = 2
recvfrom(3, 0x1815af0, 1, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
select(4, [3], NULL, NULL, {30, 0}) = 0 (Timeout)
recvfrom(3, 0x1815af1, 1, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
select(4, [3], NULL, NULL, {30, 0}) = 0 (Timeout)
recvfrom(3, 0x1815af2, 1, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
select(4, [3], NULL, NULL, {30, 0}) = 0 (Timeout)
recvfrom(3, 0x1815af3, 1, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
select(4, [3], NULL, NULL, {30, 0}) = 0 (Timeout)
recvfrom(3, 0x1815af4, 1, 0, 0, 0) = -1 ECONNRESET (Connection
reset by peer)
write(2, "\n", 1
) = 1
write(2, "rtsp: read error.\n", 18rtsp: read error.
) = 18
recvfrom(3, "", 1, 0, NULL, NULL) = 0
[the above line repeat about 4000 times]
write(2, "librtsp: buffer overflow in rtsp"..., 37librtsp: buffer
overflow in rtsp_get
) = 37
exit_group(1) = ?

If you want I can post the whole log, but it's 5899 lines long!
Post by andrea
Please do not top-post, it is considered rude, Carl Eugen
Sorry, I'll follow the rules, I just want to be friendly with everyone.
Thanks to you for making me aware of this.

Best regards.
Post by andrea
_______________________________________________
MPlayer-users mailing list
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
Loading...