[FFmpeg-devel] rtsp/rdt streaming from bbc (was: ask for advie of doing Qualification task -- M95 Playback System)
Steven Woolley
woobert
Wed Apr 1 11:45:18 CEST 2009
Hi Ronald,
>
> I just tested, and it works fine for me with ffplay (please confirm
> any bug with ffplay, it's my primary testing tool).
Thanks for taking a look into it! I tested on a local machine, turns out it
was probably just waiting for the "accept incoming connections" dialog in os
x, but since I was logged in headless, I didn't see it (it works on my local
machine).
Lest you think I'm a total idiot, I also was having (and continue to have)
problems with it working on the iPhone (the end goal of my tinkering).
It appears to do exactly what I was seeing before... starts talking to the
server, gets the list of streams subscribes to a stream then... hangs...
Here's the end part of the log (no, this isn't ffplay, this is my own
function basically trying to decode to pcm)..
*--*
*line='RTSP/1.0 200 OK'*
*line='CSeq: 4'*
*line='Date: Wed, 01 Apr 2009 09:11:46 GMT'*
*line='Session: 1879800934-3;timeout=80'*
*line='Reconnect: true'*
*line='RDTFeatureLevel: 0'*
*line='StatsMask: 3'*
*line='RealChallenge3:
fcbf3d8626ff7ed76be4eaa9883ed68b4f213d09,sdr=f3276e8d'*
*line='Transport: x-pn-tng/udp;client_port=5004;server_port=17164'*
*line=''*
*Sending:*
*SET_PARAMETER rtsp://
rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio4/live/r4_dsat_g2.raRTSP/1.0
*
*Subscribe:
stream=0;rule=0,stream=0;rule=1,stream=0;rule=2,stream=0;rule=3,stream=0;rule=4,stream=0;rule=5,stream=0;rule=6,stream=0;rule=7,stream=0;rule=8,stream=0;rule=9,stream=0;rule=10,stream=0;rule=11,stream=0;rule=12,stream=0;rule=13,stream=0;rule=14,stream=0;rule=15
*
*CSeq: 5*
*Session: 1879800934-3*
**
*--*
*line='RTSP/1.0 200 OK'*
*line='CSeq: 5'*
*line='Date: Wed, 01 Apr 2009 09:11:47 GMT'*
*line='Session: 1879800934-3;timeout=80'*
*line=''*
*Sending:*
*PLAY rtsp://
rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio4/live/r4_dsat_g2.raRTSP/1.0
*
*Range: npt=0.000-*
*CSeq: 6*
*Session: 1879800934-3*
**
*--*
*line='RTSP/1.0 200 OK'*
*line='CSeq: 6'*
*line='Date: Wed, 01 Apr 2009 09:11:47 GMT'*
*line='Session: 1879800934-3;timeout=80'*
*line='RTP-Info: url=rtsp://
rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio4/live/r4_dsat_g2.ra/streamid=0;seq=0;rtptime=0
'*
*line=''*
*line='OPTIONS * RTSP/1.0'*
*line='CSeq: 1'*
*line='Session: 1879800899-3'*
*line=''*
*line='OPTIONS * RTSP/1.0'*
*line='CSeq: 1'*
*line='Session: 1879800934-3'*
*line=''*
*______________________________________ STOPS HERE*
*
*
The relevant code is:
dumpFile = "rtsp://
rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio4/live/r4_dsat_g2.ra";
err = av_open_input_file(&avfContext, dumpFile, NULL, 0, NULL);
if (err)
return err;
err = av_find_stream_info(avfContext); //<---- STOPS HERE (same code works
on a regular file instead of the "rtsp" input.)
Thoughts???
Steve
More information about the ffmpeg-devel
mailing list