Page 1 of 1

Why VLC Can't play Cisco RTP Session Stream!?

Posted: 19 Feb 2009 04:33
by dlyyang
Hi,

According to the specification, VLC can support Cisco IP/TV Streams. However, I can't play Cisco IP/TV RTP Session properly in my university with VLC. There're two sessions(video and audio sessions), but only audio session can be played. Video session can not be played.

Does anyone encounter similar situation?
Please do me a favor! Thanks in advance!

Re: Why VLC Can't play Cisco RTP Session Stream!?

Posted: 19 Feb 2009 11:18
by Jean-Baptiste Kempf
Can you give access to those streams?

Re: Why VLC Can't play Cisco RTP Session Stream!?

Posted: 19 Feb 2009 13:48
by dlyyang
Can you give access to those streams?
Thanks for your reply!

It's an on-campus service, and I'm not sure whether it could be access outside the school.

Here is a session description for a specific channel:

v=0
o=- 28517 5 IN IP4 162.105.129.230
s=CCTV-2
i=CCTV-2
e=n/a <n/a>
p=n/a <n/a>
b=AS:3150
t=0 0
a=tool:IP/TV Content Manager 3.5.7.1
a=type:broadcast
a=x-iptv-local:IP/TV Content Manager 3.5.7.1
a=x-iptv-type:scheduled
m=video 63864/1 RTP/AVP 96 31 32 97
c=IN IP4 239.251.0.12/15
a=fmtp:96 MP42
a=x-iptv-svr:video 162.105.129.234 live
a=rtpmap:96 WBIH/90000
a=rtpmap:97 MP4V-ES/90000
a=framerate:30.0
a=quality:8
m=audio 22300/1 RTP/AVP 0 96 14 3 5 97 98 99 100 101 102 103 104 105 10 11 106 107 108 109
c=IN IP4 239.251.0.13/15
a=x-iptv-svr:audio 162.105.129.234 live
a=rtpmap:96 X-WAVE/8000
a=rtpmap:97 mpeg4-generic/44100/2
a=rtpmap:98 mpeg4-generic/32000/2
a=rtpmap:99 mpeg4-generic/22050/2
a=rtpmap:100 L8/8000/2
a=rtpmap:101 L8/8000
a=rtpmap:102 L8/22050/2
a=rtpmap:103 L8/22050
a=rtpmap:104 L8/11025/2
a=rtpmap:105 L8/11025
a=rtpmap:106 L16/22050/2
a=rtpmap:107 L16/22050
a=rtpmap:108 L16/11025/2
a=rtpmap:109 L16/11025

The audio part works well in VLC, but the video doesn't. I guess it might be caused by the unusual encoding a=rtpmap:96 WBIH/90000 which can't be recognized by VLC. But I'm not sure about it. So anyone can give me some clues?

Thanks in advance!

Re: Why VLC Can't play Cisco RTP Session Stream!?

Posted: 19 Feb 2009 14:21
by Jean-Baptiste Kempf
ask on the vlc mailing list

Re: Why VLC Can't play Cisco RTP Session Stream!?

Posted: 20 Feb 2009 01:56
by dlyyang
ask on the vlc mailing list
OK, thanks~

Re: Why VLC Can't play Cisco RTP Session Stream!?

Posted: 20 Feb 2009 03:13
by jpcaraujo
Can you give access to those streams?
Thanks for your reply!

It's an on-campus service, and I'm not sure whether it could be access outside the school.

Here is a session description for a specific channel:

v=0
o=- 28517 5 IN IP4 162.105.129.230
s=CCTV-2
i=CCTV-2
e=n/a <n/a>
p=n/a <n/a>
b=AS:3150
t=0 0
a=tool:IP/TV Content Manager 3.5.7.1
a=type:broadcast
a=x-iptv-local:IP/TV Content Manager 3.5.7.1
a=x-iptv-type:scheduled
m=video 63864/1 RTP/AVP 96 31 32 97
c=IN IP4 239.251.0.12/15
a=fmtp:96 MP42
a=x-iptv-svr:video 162.105.129.234 live
a=rtpmap:96 WBIH/90000
a=rtpmap:97 MP4V-ES/90000
a=framerate:30.0
a=quality:8
m=audio 22300/1 RTP/AVP 0 96 14 3 5 97 98 99 100 101 102 103 104 105 10 11 106 107 108 109
c=IN IP4 239.251.0.13/15
a=x-iptv-svr:audio 162.105.129.234 live
a=rtpmap:96 X-WAVE/8000
a=rtpmap:97 mpeg4-generic/44100/2
a=rtpmap:98 mpeg4-generic/32000/2
a=rtpmap:99 mpeg4-generic/22050/2
a=rtpmap:100 L8/8000/2
a=rtpmap:101 L8/8000
a=rtpmap:102 L8/22050/2
a=rtpmap:103 L8/22050
a=rtpmap:104 L8/11025/2
a=rtpmap:105 L8/11025
a=rtpmap:106 L16/22050/2
a=rtpmap:107 L16/22050
a=rtpmap:108 L16/11025/2
a=rtpmap:109 L16/11025

The audio part works well in VLC, but the video doesn't. I guess it might be caused by the unusual encoding a=rtpmap:96 WBIH/90000 which can't be recognized by VLC. But I'm not sure about it. So anyone can give me some clues?

Thanks in advance!
try to change de sdp manually

like this

v=0
o=- 28517 5 IN IP4 162.105.129.230
s=CCTV-2
i=CCTV-2
e=n/a <n/a>
p=n/a <n/a>
b=AS:3150
t=0 0
a=tool:IP/TV Content Manager 3.5.7.1
a=type:broadcast
a=x-iptv-local:IP/TV Content Manager 3.5.7.1
a=x-iptv-type:scheduled
m=video 63864/1 RTP/AVP 97
c=IN IP4 239.251.0.12/15
a=rtpmap:97 MP4V-ES/90000
a=framerate:30.0
a=quality:8
m=audio 22300/1 RTP/AVP 97
c=IN IP4 239.251.0.13/15
a=rtpmap:97 mpeg4-generic/44100/2

save this file and try to open with vlc.

Re: Why VLC Can't play Cisco RTP Session Stream!?

Posted: 22 Feb 2009 04:18
by dlyyang
Can you give access to those streams?
Thanks for your reply!

It's an on-campus service, and I'm not sure whether it could be access outside the school.

Here is a session description for a specific channel:

v=0
o=- 28517 5 IN IP4 162.105.129.230
s=CCTV-2
i=CCTV-2
e=n/a <n/a>
p=n/a <n/a>
b=AS:3150
t=0 0
a=tool:IP/TV Content Manager 3.5.7.1
a=type:broadcast
a=x-iptv-local:IP/TV Content Manager 3.5.7.1
a=x-iptv-type:scheduled
m=video 63864/1 RTP/AVP 96 31 32 97
c=IN IP4 239.251.0.12/15
a=fmtp:96 MP42
a=x-iptv-svr:video 162.105.129.234 live
a=rtpmap:96 WBIH/90000
a=rtpmap:97 MP4V-ES/90000
a=framerate:30.0
a=quality:8
m=audio 22300/1 RTP/AVP 0 96 14 3 5 97 98 99 100 101 102 103 104 105 10 11 106 107 108 109
c=IN IP4 239.251.0.13/15
a=x-iptv-svr:audio 162.105.129.234 live
a=rtpmap:96 X-WAVE/8000
a=rtpmap:97 mpeg4-generic/44100/2
a=rtpmap:98 mpeg4-generic/32000/2
a=rtpmap:99 mpeg4-generic/22050/2
a=rtpmap:100 L8/8000/2
a=rtpmap:101 L8/8000
a=rtpmap:102 L8/22050/2
a=rtpmap:103 L8/22050
a=rtpmap:104 L8/11025/2
a=rtpmap:105 L8/11025
a=rtpmap:106 L16/22050/2
a=rtpmap:107 L16/22050
a=rtpmap:108 L16/11025/2
a=rtpmap:109 L16/11025

The audio part works well in VLC, but the video doesn't. I guess it might be caused by the unusual encoding a=rtpmap:96 WBIH/90000 which can't be recognized by VLC. But I'm not sure about it. So anyone can give me some clues?

Thanks in advance!
try to change de sdp manually

like this

v=0
o=- 28517 5 IN IP4 162.105.129.230
s=CCTV-2
i=CCTV-2
e=n/a <n/a>
p=n/a <n/a>
b=AS:3150
t=0 0
a=tool:IP/TV Content Manager 3.5.7.1
a=type:broadcast
a=x-iptv-local:IP/TV Content Manager 3.5.7.1
a=x-iptv-type:scheduled
m=video 63864/1 RTP/AVP 97
c=IN IP4 239.251.0.12/15
a=rtpmap:97 MP4V-ES/90000
a=framerate:30.0
a=quality:8
m=audio 22300/1 RTP/AVP 97
c=IN IP4 239.251.0.13/15
a=rtpmap:97 mpeg4-generic/44100/2

save this file and try to open with vlc.
I've tried your advice, but it still doesn't work. I guess the VLC's own codec can't recognize the streams, and the real encoding seems to be WBIH/90000 MP42.
ffdshow's codec can support the encoding, so any idea that I can import ffdshow's codec into VLC?

Thanks in advance!

Re: Why VLC Can't play Cisco RTP Session Stream!?

Posted: 22 Feb 2009 12:00
by Jean-Baptiste Kempf
Cisco is doing non-standard things, here, that is why.

Re: Why VLC Can't play Cisco RTP Session Stream!?

Posted: 22 Feb 2009 16:00
by dlyyang
Cisco is doing non-standard things, here, that is why.
Cisco really does non-standard staff. But I've just tried to force the Cisco IP/TV to use ffdshow (the core codec is libavcodec and the encoding is msmpeg4v2) as its decoder and the decoding succeeded , which means the media content received could be probably recognized, I guess.

So is there any possibility that I could get the received media via ffdshow? Could I add a DirectShow Filter and get it?
Any clue would be great!

Thanks in advance!

Yang Yang

Re: Why VLC Can't play Cisco RTP Session Stream!?

Posted: 23 Feb 2009 13:45
by VLC_help
So is there any possibility that I could get the received media via ffdshow? Could I add a DirectShow Filter and get it?
VLC doesn't support DirectShow or VfW decoding. So no.