Streaming VOD using RTSP - cannot seek
Posted: 17 Nov 2009 12:55
I am trying to stream a file using the VLM interface on a server and VLC on my desktop. I can successfully attach to the stream and play it, but I cannot seek. I get the following errors on the VLC client:
I have followed various guides on this forum and setup my VLM server in this way:
The config file looks like this:
When I launch VLC from the command line (Ubuntu 9.04) I use the following command:
If I use the telnet interface I can run the show command to get a list of the streams that are configured:
However, when a stream is playing, I cannot seek. I've even tried it from the telnet command line. I have tried "control ij seek 50" and many other combinations (50%, seconds, etc) but all I get back is "control: unknown error". In fact, I cannot really seem to use the telnet interface very well at all. I can't get anything to play or stop using it either. So perhaps I am using it wrong.
My main problem is that I cannot get seeking to working in the VLC client. Both the client and the server are running vlc 1.0.3 and are fully up to date. Can anyone please help me? Is there something I am doing wrong here?
Code: Select all
[0xb7500c30] main input error: INPUT_CONTROL_SET_POSITION(_OFFSET) 9.7% failed
[0xb7506560] libmpeg2 decoder error: DpbUnlinkPicture called on an invalid picture
[0xb7506560] libmpeg2 decoder error: DpbUnlinkPicture called on an invalid picture
[0xb7500c30] main input error: ES_OUT_RESET_PCR called
[0xb7500c30] main input error: ES_OUT_RESET_PCR called
Code: Select all
vlc --vlm-conf=/movies/vlc/videos.vlc --ttl 12 --color -I telnet --telnet-password videolan --rtsp-h
ost 0.0.0.0:5554?
Code: Select all
new ij_trailer vod enabled
setup ij_trailer input "/movies/trailers/THE_ITALIAN_JOB_TRLR.mpg"
new ij vod enabled
setup ij input "/movies/movies/italian-job_ft.mpg"
Code: Select all
vlc rtsp://172.18.86.197:5554/ij
Code: Select all
media : ( 0 broadcast - 2 vod )
ij_trailer
type : vod
enabled : yes
mux : (null)
inputs
1 : /movies/trailers/THE_ITALIAN_JOB_TRLR.mpg
output :
options
instances
ij
type : vod
enabled : yes
mux : (null)
inputs
1 : /movies/movies/italian-job_ft.mpg
output :
options
instances
schedule
My main problem is that I cannot get seeking to working in the VLC client. Both the client and the server are running vlc 1.0.3 and are fully up to date. Can anyone please help me? Is there something I am doing wrong here?