Streaming VOD using RTSP - cannot seek

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
durzagott
Blank Cone
Blank Cone
Posts: 15
Joined: 16 Jun 2009 11:22

Streaming VOD using RTSP - cannot seek

Postby durzagott » 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:

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
I have followed various guides on this forum and setup my VLM server in this way:

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?
The config file looks like this:

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"
When I launch VLC from the command line (Ubuntu 9.04) I use the following command:

Code: Select all

vlc rtsp://172.18.86.197:5554/ij
If I use the telnet interface I can run the show command to get a list of the streams that are configured:

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
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?

durzagott
Blank Cone
Blank Cone
Posts: 15
Joined: 16 Jun 2009 11:22

Re: Streaming VOD using RTSP - cannot seek

Postby durzagott » 17 Nov 2009 12:58

Just to add a bit more info. When a stream is being received by the client, the telnet show command looks like this:

Code: Select all

show 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 instance name : 846930886 state : playing position : 0.000342 time : 0 length : 0 rate : 1000 title : 0 chapter : 0 can-seek : 1 playlistindex : 1 schedule


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 1 guest