[FFmpeg-devel] Realmedia patch

Luca Abeni lucabe72
Wed Sep 10 16:49:58 CEST 2008


Luca Abeni wrote:
[...]
> I see:
> ...
> tcp_read_packet:
> ret=1 c=24 [$]
> id=0 len=1130
> [rtsp @ 0x87da1f0]84 ff 8 0
[...]

More specifically, after applying the attached patch I see this:
ffmpeg -i rtsp://streamr.hitpops.jp/ngc/mov/m0609.mov
FFmpeg version SVN-r15291, Copyright (c) 2000-2008 Fabrice Bellard, et al.
   configuration:
   libavutil     49.10. 0 / 49.10. 0
   libavcodec    52. 0. 0 / 52. 0. 0
   libavformat   52.22. 1 / 52.22. 1
   libavdevice   52. 1. 0 / 52. 1. 0
   built on Sep 10 2008 16:07:38, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Sending:
OPTIONS rtsp://streamr.hitpops.jp/ngc/mov/m0609.mov RTSP/1.0
CSeq: 1

--
line='RTSP/1.0 200 OK'
line='CSeq: 1'
line='Date: Wed, 10 Sep 2008 14:18:18 GMT'
line='Server: Helix Server Version 9.0.2.881 (linux-2.2-libc6-i586-server)'
line='Public: OPTIONS, DESCRIBE, ANNOUNCE, PLAY, SETUP, GET_PARAMETER, SET_PARAMETER, TEARDOWN'
line='RealChallenge1: 05d0e5dca3aa436b9ab7237678a112e1'
line='StatsMask: 0'
line=''
Sending:
OPTIONS rtsp://streamr.hitpops.jp/ngc/mov/m0609.mov RTSP/1.0
ClientChallenge: 9e26d33f2984236010ef6253fb1887f7
PlayerStarttime: [28/03/2003:22:50:23 00:00]
CompanyID: KnKV4M4I/B2FjJ1TToLycw==
GUID: 00000000-0000-0000-0000-000000000000
CSeq: 2

--
line='RTSP/1.0 200 OK'
line='CSeq: 2'
line='Date: Wed, 10 Sep 2008 14:18:18 GMT'
line='Server: Helix Server Version 9.0.2.881 (linux-2.2-libc6-i586-server)'
line='Public: OPTIONS, DESCRIBE, ANNOUNCE, PLAY, SETUP, GET_PARAMETER, SET_PARAMETER, TEARDOWN'
line='RealChallenge1: 05d0e5dca3aa436b9ab7237678a112e1'
line='StatsMask: 0'
line=''
Sending:
DESCRIBE rtsp://streamr.hitpops.jp/ngc/mov/m0609.mov RTSP/1.0
Accept: application/sdp
Require: com.real.retain-entity-for-setup
CSeq: 3

--
line='RTSP/1.0 200 OK'
line='CSeq: 3'
line='Date: Wed, 10 Sep 2008 14:18:18 GMT'
line='Set-Cookie: cbid=efigimhlhjckhldmeolonukqkrjrktlufkejkielejffclpllnjompoqroonnqrugkegohoi;path=/;expires=Thu,31-Dec-2037 23:59:59 GMT'
line='vsrc: http://streamr.hitpops.jp:80/viewsource/template.html?nuyhtg7p1pz66z4oz699Anz6q6zcE6Eqnv5g37hwEffguBrejdh3ohAt7Bwf1ovoyfE0xjtgomjczgoEfnA9000000'
line='Last-Modified: Fri, 25 Aug 2006 02:33:06 GMT'
line='Content-base: rtsp://streamr.hitpops.jp/ngc/mov/m0609.mov/'
line='ETag: 277057963-3'
line='Content-type: application/sdp'
line='Content-length: 1224'
line=''
sdp: v='0'
sdp: o='- 1156473186 1156473186 IN IP4 218.45.142.21'
sdp: s='<No title>'
sdp: i='<No author> <No copyright>'
sdp: c='IN IP4 0.0.0.0'
sdp: t='0 0'
sdp: a='SdpplinVersion:1610645207'
sdp: a='DefaultLicenseValue:integer;1'
sdp: a='IsRealDataType:integer;0'
sdp: a='StreamCount:integer;2'
sdp: a='FileType:string;"QuickTime"'
sdp: a='LicenseKey:string;"license.Summary.Datatypes.QuickTime.Enabled"'
sdp: a='range:npt=0-62.395000'
sdp: b='AS:440'
sdp: m='audio 0 RTP/AVP 96'
sdp: b='AS:31'
sdp: a='control:streamid=0'
sdp: a='range:npt=0-62.228000'
sdp: a='length:npt=62.228000'
sdp: a='rtpmap:96 X-QDM/44100/2'
sdp: a='mimetype:string;"audio/X-QDM"'
sdp: a='AvgBitRate:integer;30943'
sdp: a='HasOutOfOrderTS:integer;1'
sdp: a='StreamName:string;"?T?E???h ?q???g?g???b?N"'
sdp: a='ASMRuleBook:string;"Marker=0,AverageBandwidth=30943,TimeStampDelivery=TRUE;Marker=1,AverageBandwidth=0,TimeStampDelivery=TRUE;"'
sdp: b='AS:30'
sdp: a='x-bufferdelay:4.60'
sdp: m='video 0 RTP/AVP 97'
sdp: b='AS:416'
sdp: a='control:streamid=1'
sdp: a='range:npt=0-62.395000'
sdp: a='length:npt=62.395000'
sdp: a='rtpmap:97 X-SorensonVideo/90000'
sdp: a='mimetype:string;"video/X-SorensonVideo"'
sdp: a='AvgBitRate:integer;416207'
sdp: a='HasOutOfOrderTS:integer;1'
sdp: a='StreamName:string;"?r?f?I ?q???g?g???b?N"'
sdp: a='ASMRuleBook:string;"Marker=0,AverageBandwidth=416207,TimeStampDelivery=TRUE;Marker=1,AverageBandwidth=0,TimeStampDelivery=TRUE;"'
sdp: b='AS:410'
Sending:
SETUP rtsp://streamr.hitpops.jp/ngc/mov/m0609.mov/streamid=0 RTSP/1.0
Transport: x-pn-tng/UDP;unicast;client_port=5000;mode=play
If-Match:
RealChallenge2: f5067d2cf0a36db69e5cb08b01a49f8501d0a8e3, sd=f7f69b09
CSeq: 4

--
line='RTSP/1.0 461 Unsupported Transport'
line='CSeq: 4'
line='Date: Wed, 10 Sep 2008 14:18:18 GMT'
line=''
Sending:
SETUP rtsp://streamr.hitpops.jp/ngc/mov/m0609.mov/streamid=0 RTSP/1.0
Transport: x-pn-tng/TCP;mode=play
If-Match:
RealChallenge2: f5067d2cf0a36db69e5cb08b01a49f8501d0a8e3, sd=f7f69b09
CSeq: 5

--
line='RTSP/1.0 200 OK'
line='CSeq: 5'
line='Date: Wed, 10 Sep 2008 14:18:19 GMT'
line='Session: 277057964-5'
line='Reconnect: true'
line='RealChallenge3: 076e3674f687addf88bb983c0df2644d4f213d09,sdr=03fa8906'
line='RDTFeatureLevel: 2'
line='Transport: x-pn-tng/tcp;interleaved=0'
line=''
Sending:
SETUP rtsp://streamr.hitpops.jp/ngc/mov/m0609.mov/streamid=1 RTSP/1.0
Transport: x-pn-tng/TCP;mode=play
CSeq: 6
Session: 277057964-5

--
line='RTSP/1.0 200 OK'
line='CSeq: 6'
line='Date: Wed, 10 Sep 2008 14:18:19 GMT'
line='Session: 277057964-5'
line='RDTFeatureLevel: 2'
line='Transport: x-pn-tng/tcp;interleaved=1'
line=''
Sending:
PLAY rtsp://streamr.hitpops.jp/ngc/mov/m0609.mov RTSP/1.0
Range: npt=0.000-
CSeq: 7
Session: 277057964-5

--
line='RTSP/1.0 200 OK'
line='CSeq: 7'
line='Date: Wed, 10 Sep 2008 14:18:19 GMT'
line='RTP-Info: url=rtsp://streamr.hitpops.jp/ngc/mov/m0609.mov/streamid=0;seq=0;rtptime=0, url=rtsp://streamr.hitpops.jp/ngc/mov/m0609.mov/streamid=1;seq=0;rtptime=0'
line=''
tcp_read_packet:
ret=1 c=24 [$]
id=0 len=1130
[rtsp @ 0x87da1f0]84 ff 8 0
Segmentation fault


				Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.diff
Type: text/x-diff
Size: 856 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080910/931b3188/attachment.diff>



More information about the ffmpeg-devel mailing list