VLM and RTSP control from the client

About encoding, codec settings, muxers and filter usage
saker
New Cone
New Cone
Posts: 5
Joined: 11 May 2005 23:50

VLM and RTSP control from the client

Postby saker » 12 May 2005 00:28

I have been going through the documentation for Chapter 5 "VLM - Multiple streaming and Video on Demand". I have successfully done a VOD session using RTSP as explained.

Working off of Windows XP (server) and a Windows 2000 (client) box I have experimented with the RTSP functionality using 0.81. I can play an RTSP (VOD) stream. However, I have noticed that none of the GUI controls on my client VLC player seem to affect the RTSP stream except PLAY and STOP.

PAUSE, FAST-FORWARD and REWIND have no affect on an RTSP stream. I can however telnet from my client into the server and start, stop, pause, seek etc. When I do this it starts up a player on the Server and I don't believe it is an RTSP session.

I really want to be able to do this with the client player. Does anyone have any insight into this. Are these features incomplete? When will they be implemented?

Thanks.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 12 May 2005 01:33

could you provide the commands you use to start the RTSP server and the client ?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

saker
New Cone
New Cone
Posts: 5
Joined: 11 May 2005 23:50

RTSP Setup

Postby saker » 12 May 2005 19:59

Commands for the RTSP Server on (XP):

vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host 0.0.0.0:5554

Command issued via telnet to the RTSP Server:

new Test vod enabled
setup Test input http/Tanken.mpg

Client command to access the stream

vlc rtsp://server:5554/Test (where server is the IP address of my client)

Using the above commands allow me to play an RTSP stream. However none of the player controls work except Play and Stop. How can I get Pause to work?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 13 May 2005 13:07

hum ... that's weird. could you try a nightly build ? ( http://vthr.videolan.org/~videolan )
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

__mami2

Postby __mami2 » 15 May 2005 07:45

I'm using VLC for VOD. At first I was trying the RTSP protocol however after a while I switched to the telnet solution you mentioned. it worked for me and I'm almost satisfied with it.

rossmac
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2004 18:46

Using VLM to Stream Music on Demand

Postby rossmac » 16 May 2005 08:40

Since you have managed to get VLM to stream video I wanted to ask a question about streaming music on demand from VLM.

I am starting VLM using the following command line on a Windows XP SP2 Server. The version of VLC is 0.8.2-test1.

c:\ vlc --intf telnet rtsp-host 192.168.1.99

The VLM server starts without problem I then load both of the following two configuration files:

new MoodyBlues vod enabled
setup MoodyBlues input MoodyBlues.m3u

new satin vod enabled
setup satin input satin.mp3

both configuration files load successfully, and I get the following result when I type a 'show' command into the telnet interface of the VLM module:

Password:
Welcome, Master
> show
show
media : ( 0 broadcast - 2 vod )
MoodyBlues
type : vod
enabled : yes
instances
satin
type : vod
enabled : yes
instances
schedule


When I attempt to access either of the two VOD objects above from a VLC client on another machine using the wxWindows interface and using the 'open network stream' option with the RTSP option selected and the URL set as:

rtsp://192.168.1.99/satin

I get the following error messages:

livedotcom error: PLAY failed No RTSP session is currently in progress
main error: no suitable access module for `rtsp://192.168.1.99/satin'

What am I missing?

/Ross
Last edited by rossmac on 16 May 2005 20:26, edited 1 time in total.

saker
New Cone
New Cone
Posts: 5
Joined: 11 May 2005 23:50

Postby saker » 16 May 2005 20:26

rossmac,

Looks to me like you have not specified a port for your rtsp session. Port 5554 is the port shown in the example so that is what I used. I believe you need to specify the port in your rtsp commands.

vlc -intf telnet rtsp-host 192.168.1.99:5554

rtsp://192.168.1.99:5554/satin

rossmac
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2004 18:46

Postby rossmac » 17 May 2005 00:03

The default port for RTSP is 554, and I confirmed with a portscan that port 554 is responding.

Just to be on the safe side I modified the URL on the VLC client side to

RTSP://192.168.1.99:554/satin

Same result

The live.com library is unhappy with something regarding the RTSP session.

There is about a 125 msec of delay between client and server, what is the timeout limit on RTSP?

Any suggestions?

/Ross

cqz98

Postby cqz98 » 20 May 2005 06:06

hello!
I have started using vod, but I can't catch what the document says.

in the command line:

new satin vod enabled
setup satin input satin.mp3

where do I place the file satin.mp3?
thanks!

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 20 May 2005 10:24

you put satin.mp3 in the directory where you launched vlc. You can also specify the full file path (ie /home/dionoea/music/aladin.mp3 or c:\music\something.mp3)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

wade.chen

When streaming(RTSP) VLC could't pause, fast forward, rewind

Postby wade.chen » 27 May 2005 08:50

I trid with vlc-0.8.2-svn-20050527 for client in windows XP. It cannot pause, and when fast forward or rewind, seens no send any RTSP request to server.

marksimpkins

the video controls and VOD

Postby marksimpkins » 27 May 2005 12:57

Hi,

we have been trying this and I also noticed that the play, stop and full screen functions work with a VOD video, but not the pause.

Is there any news on this?

Thanks

Mark.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: Dilligaf74, Google [Bot] and 4 guests