[MPlayer-users] playing authenticated realmedia streams

rahul blufox at gmail.com
Sat Feb 2 22:14:12 CET 2008


>     I was trying to play a realmedia stream using mplayer,
> This is what I get,
> version: MPlayer-1.0rc2 , OS: win2k
>
> :\>mplayer -dumpfile out.rm -dumpstream "rtsp://<user>:<passwd>@serverpath"
> MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (Family: 15, Model: 1, Stepping: 2)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection.
>
> Playing rtsp://xxxxxxxxx.
> Connecting to server yyyyy[yyyy]: 554...
> librtsp: server responds: 'RTSP/1.0 401 Unauthorized'
> Cache size set to 640 KBytes
> realrtsp: Stream EOF detected
> Core dumped ;)
>

I switched to a bsd box to debug this..

I enabled the LOG in realrtsp/real.c and checked that the username and
password went through fine.
here is the output after defining the LOG

real: Challenge1: 8906c388afcd6deb4a840678003d25b9
librtsp: server responds: 'RTSP/1.0 401 Unauthorized'
real: Stream description size: 564
number of streams: 1
calling asmrp_match with:
TimestampDelivery=TRUE,priority=10;
10485800
asmrp rule match: 0 for stream 0
Title: (null)
Copyright: (null)
Author: (null)
Streams: 1
Cache size set to 640 KBytes
got flags1: 0x80
ignoring bytes:
 hexdump> ff08 0009 0000 0000
ts: 0, size: 1009, flags: 0x41, unknown values: 0x000000 0x00 0x01
ts: 0, size: 233, flags: 0x41, unknown values: 0x000100 0x00 0x02
got flags1: 0x82
realrtsp: Stream EOF detected

could any one please give me a hint on what may be going wrong?



More information about the MPlayer-users mailing list