Streaming on Nokia N95

About encoding, codec settings, muxers and filter usage
mar1r
New Cone
New Cone
Posts: 4
Joined: 05 Jun 2008 16:47

Streaming on Nokia N95

Postby mar1r » 05 Jun 2008 17:40

I'm trying to stream a video to a Nokia N95.
I've set up VLC as a VOD server using:

Code: Select all

vlc -vvv -I telnet --rtsp-host 0.0.0.0:5554 telnet 192.168.2.23 4212 > new 10011212592200 vod enabled > setup 10011212592200 input /test.mpg > setup 10011212592200 output #transcode{vcodec=mp4v,vb=250,scale=1,width=320,height=240}
on the N95, i launch rtsp://192.168.2.23:5554/10011212592200
and only get the following. When I launch it using vlc on another PC, it works perfectly.

Code: Select all

OPTIONS rtsp://192.168.2.23:5554 RTSP/1.0 ClientID: RealOnePlayer_s60.30.45.01_09-Nov-2007_10:14:23_epoc_av30_armv5 ClientChallenge: 1b8a4ecdf36e381379cf4362a4a128a9 PlayerStarttime: [05/04/2007:18:07:12 00:00] GUID: 00000000-0000-0000-0000-000000000000 CompanyID: 6fFjMyj+HCnwBgDBT7XHCQ== User-Agent: RealMedia Player/mc.30.45.01 (s60; epoc_av30_armv5) CSeq: 1 RTSP/1.0 200 Ok Cseq: 1 Server: VLC Server Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE Content-Length: 0 DESCRIBE rtsp://192.168.2.23:5554/10011212592200 RTSP/1.0 x-wap-profile: "http://nds1.nds.nokia.com/uaprof/NN95-1r100.xml" ClientID: RealOnePlayer_s60.30.45.01_09-Nov-2007_10:14:23_epoc_av30_armv5 Accept: application/sdp Bandwidth: 3339324 GUID: 00000000-0000-0000-0000-000000000000 User-Agent: RealMedia Player/mc.30.45.01 (s60; epoc_av30_armv5) CSeq: 2 RTSP/1.0 200 OK Content-type: application/sdp Server: VLC Server Content-Length: 305 Cseq: 2 Cache-Control: no-cache v=0 o=- 1212678446351312 3 IN IP4 192.168.2.23 c=IN IP4 0.0.0.0 t=0 0 a=tool:vlc 0.8.6e m=audio 0 RTP/AVP 14 a=rtpmap:14 MPA/90000 a=control:rtsp://192.168.2.23:5554/10011212592200/trackID=0 m=video 0 RTP/AVP 32 a=rtpmap:32 MPV/90000 a=control:rtsp://192.168.2.23:5554/10011212592200/trackID=1 SETUP rtsp://192.168.2.23:5554/10011212592200/trackID=0 RTSP/1.0 x-wap-profile: "http://nds1.nds.nokia.com/uaprof/NN95-1r100.xml" Transport: RTP/AVP;unicast;client_port=22552-22553;mode=play User-Agent: RealMedia Player/mc.30.45.01 (s60; epoc_av30_armv5) CSeq: 3 RTSP/1.0 200 OK Transport: RTP/AVP/UDP;client_port=22552-22553 Server: VLC Server Content-Length: 0 Cseq: 3 Cache-Control: no-cache Session: 983476188
The communication stops here. The Nokia doesn't send a second SETUP request for the video track and just reports an error.

Can anyone help?

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

Re: Streaming on Nokia N95

Postby Rémi Denis-Courmont » 05 Jun 2008 19:54

Does the server start sending any RTP, and to the right destination?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mar1r
New Cone
New Cone
Posts: 4
Joined: 05 Jun 2008 16:47

Re: Streaming on Nokia N95

Postby mar1r » 06 Jun 2008 10:08

No, the server just waits for the other setup request for trackID 1. No RTP is sent. Actually, the client shuts down the TCP connection.

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

Re: Streaming on Nokia N95

Postby Rémi Denis-Courmont » 06 Jun 2008 15:52

Well that's actually right. The server should not send anything until the client sends a PLAY. So stalling comes from the client.

As far as I can tell, the client fails because the Transport field in the response is incomplete. At least the unicast and server_port values are missing.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mar1r
New Cone
New Cone
Posts: 4
Joined: 05 Jun 2008 16:47

Re: Streaming on Nokia N95

Postby mar1r » 06 Jun 2008 15:59

But the exact same stream works perfectly on another computer running VLC as the client.

Am I doing anything wrong setting up the VOD server?

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

Re: Streaming on Nokia N95

Postby Rémi Denis-Courmont » 06 Jun 2008 16:19

The N95 RTSP client is less tolerant.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

yohann.martineau
Blank Cone
Blank Cone
Posts: 84
Joined: 27 Aug 2007 15:22

Re: Streaming on Nokia N95

Postby yohann.martineau » 12 Jun 2008 17:30

i think this has already been discussed here:

viewtopic.php?f=4&t=32290&p=143442&hilit=n95#p143839


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 15 guests