[Live-devel] RTSP H263+ streaming oddities.

Cristiano Belloni belloni at imavis.com
Thu Dec 6 10:09:17 PST 2007


Ross Finlayson wrote:

>/     char const* inputFileName = "video-H263-1998-1.3pg";
/
> What is the format of this file?  Our 'H.263+ parsing' code assumes 
> that the input file contains raw H.263+ video elementary stream data 
> *only*.  If (judging by the ".3gp" filename suffix) your file is 
> instead a MPEG-4-format file, then our code will definitely *not* 
> work, as we currently do not have a parser for such files.


Actually, I'm quite sure it's H.263-1998 (I added the misleading 
extension). I downloaded the file with openRTSP from 
rtsp://rtsp.youtube.com/youtube/videos/57hSqLLfOv4/video.3gp (which i 
found on http://m.youtube.com/).

Here's the output of openRTSP:

$openRTSP rtsp://rtsp.youtube.com/youtube/videos/57hSqLLfOv4/video.3gp


Opened URL 
"rtsp://rtsp.youtube.com/youtube/videos/57hSqLLfOv4/video.3gp", 
returning a SDP description:
v=0
o=StreamingServer 3405952677 1196730790000 IN IP4 208.65.153.241
s=/youtube/videos/57hSqLLfOv4/video.3gp
u=http:///
e=admin@
c=IN IP4 0.0.0.0
b=AS:86
t=0 0
a=control:*
a=range:npt=0-  35.53300
m=video 0 RTP/AVP 96
b=AS:81
a=rtpmap:96 H263-1998/90000
a=control:trackID=65536
a=cliprect:0,0,144,176
a=framesize:96 176-144
m=audio 0 RTP/AVP 97
b=AS:5
a=rtpmap:97 AMR/8000/1
a=control:trackID=65537
a=fmtp:97 octet-align

Created receiver for "video/H263-1998" subsession (client ports 32996-32997)
Created receiver for "audio/AMR" subsession (client ports 32998-32999)
Setup "video/H263-1998" subsession (client ports 32996-32997)
Setup "audio/AMR" subsession (client ports 32998-32999)
Created output file: "video-H263-1998-1"
Created output file: "audio-AMR-2"
Started playing session
Receiving streamed data (for up to 40.533001 seconds)...

I discarded the samr audio file, and i'm only using the video file.

Regards,

Cristiano.


More information about the live-devel mailing list