Catching RTP-Stream invoked by video server

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
enoritz
New Cone
New Cone
Posts: 5
Joined: 12 Jun 2010 00:32

Catching RTP-Stream invoked by video server

Postby enoritz » 12 Jun 2010 00:53

Hi!
I just got a Sony Videoserver (SNT-EP104) and am currently trying to view the provided h.264 stream with vlc. I first tried some of the sony-typical addresses rtsp://ipaddress/media/video0 and so on. The problem is they just didn't work.

So I started capturing the traffic caused by the ActiveX plugin supplied on a CD and found out, that it initiates the transfer with the http request "GET /image1?UdpMode=unicast&UdpPort=50000"
Opening the address "http://ipaddress/image1?UdpMode=unicast&UdpPort=50000" in a browser I was able to invoke the stream manually. So now I get a whole bunch of RTP packets (for now just logged using wireshark) plus icmp responses from my pc that the destination (socket with port 50000 on my pc) is unreachable. Seems to be right so far.

Now may question:
What would be an adequate way to make vlc start listening on udp-port 50000 to grab the rtp-stream?

Rémi Denis-Courmont
Developer
Developer
Posts: 15327
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Catching RTP-Stream invoked by video server

Postby Rémi Denis-Courmont » 16 Jun 2010 03:05

Write a valid SDP and open it.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

enoritz
New Cone
New Cone
Posts: 5
Joined: 12 Jun 2010 00:32

Re: Catching RTP-Stream invoked by video server

Postby enoritz » 18 Jun 2010 22:36

Hi, I tried that and it worked in parts:
The stream I sniffed with wireshark I can play with vlc (file:///dump.h264). However using the sdp-file I generated I can play the stream directly from the network stream but there seems to be an error in my file... or at least something is missing :(
The stream plays like this:
Image
But it should look like this:
Image

And here is my SDP-File:

Code: Select all

v=0 o=device0 2890844526 2890842807 IN IP4 192.168.2.73 s=Video c=IN IP4 192.168.2.73 t=0 0 a=recvonl m=video 50000/2 RTP/AVP 105 a=rtpmap:105 H264/90000 a=fmtp:105 packetization-mode=1 a=framesize:105 720x576 a=framerate:105 25
Any suggestions what I could be missing?

Greetings :D

enoritz
New Cone
New Cone
Posts: 5
Joined: 12 Jun 2010 00:32

Re: Catching RTP-Stream invoked by video server

Postby enoritz » 22 Jun 2010 22:14

Problem solved...
Sony provides a pdf with a guidline on how to use their network cameras with vlc over rtsp.
Here is the URI for most models (X is the stream index):
rtsp://addr/media/videoX

pma66p
New Cone
New Cone
Posts: 2
Joined: 28 Jul 2010 17:57

Re: Catching RTP-Stream invoked by video server

Postby pma66p » 28 Jul 2010 18:01

I have a Sony snc-rz25n and also want to capture a stream using vlc. I am a newbie at vlc. I read the above posts, and tried to open the following stream, but vlc gave me an error:

rtsp://10.3.5.72/media/video0

Any ideas? Also, can you post a url to the pdf you are referring to?

pma66p
New Cone
New Cone
Posts: 2
Joined: 28 Jul 2010 17:57

Re: Catching RTP-Stream invoked by video server

Postby pma66p » 28 Jul 2010 20:46

Here's a little more info:

When I do curl http://10.3.5.72/mpeg4, I get an m4v data. It doesn't, however, seem to contain any audio. Vlc chokes on this as a url. It will, however, convert the saved m4v file. However, it contains no audio, as far as I can tell.

There is another url which I discovered: http://10.3.5.72/audio. Curl will get and save data from this URL. However, I can't make heads or tails of its format. Logically, it should be an m4a file. But neither vlc nor audacity can make any sense of it.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 39 guests