[FFmpeg-devel] Error joining multicast group

Julian Lamberty julian.lamberty
Fri May 11 16:15:49 CEST 2007


I'm trying to open a RTSP/RTP session provided by liveMedia vobStreamer 
(Linux):

ffmpeg -i rtsp//192.168.2.46/vobStream -an -vcodec mpeg4 ../test.mp4

Before the error occurs, ffmpeg sends/receives DESCRIBE and the SETUP 
message:

DESCRIBE rtsp://192.168.2.46/vobStream RTSP/1.0
Accept: application/sdp
CSeq: 1

--
line='RTSP/1.0 200 OK'
line='CSeq: 1'
line='Date: Fri, May 11 2007 15:51:43 GMT'
line='Content-Base: rtsp://192.168.2.46/vobStream/'
line='Content-Type: application/sdp'
line='Content-Length: 453'
line=''
sdp: v='0'
sdp: o='- 1178896053206270 1 IN IP4 192.168.2.46'
sdp: s='Session streamed by "vobStreamer"'
sdp: i='/mnt/VIDEO_TS/VTS_01_1.VOB'
sdp: t='0 0'
sdp: a='tool:LIVE555 Streaming Media v2007.02.20'
sdp: a='type:broadcast'
sdp: a='control:*'
sdp: a='source-filter: incl IN IP4 * 192.168.2.46'
sdp: a='rtcp-unicast: reflection'
sdp: a='range:npt=0-'
sdp: a='x-qt-text-nam:Session streamed by "vobStreamer"'
sdp: a='x-qt-text-inf:/mnt/VIDEO_TS/VTS_01_1.VOB'
sdp: m='video 8888 RTP/AVP 32'
sdp: c='IN IP4 232.254.81.26/255'
sdp: a='control:track1'
Sending:
SETUP rtsp://192.168.2.46/vobStream/track1 RTSP/1.0
Transport: RTP/AVP/UDP;multicast
CSeq: 2

--
line='RTSP/1.0 200 OK'
line='CSeq: 2'
line='Date: Fri, May 11 2007 15:51:43 GMT'
line='Transport: 
RTP/AVP;multicast;destination=232.254.81.26;port=8888-8889;ttl=255'
line='Session: 1'
line=''

Now ffmpeg exits with:

rtp: IP_ADD_MEMBERSHIP: Invalid argument
rtsp://192.168.2.46/vobStream: Error while parsing header

What's the problem? Is it my system config or an ffmpeg problem? Or a 
liveMedia problem?
I can open the stream with VLC without problems...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5198 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070511/a6470700/attachment.bin>



More information about the ffmpeg-devel mailing list