[streaming] Current VOD implementation

Gildas Bazin gbazin at altern.org
Fri Oct 1 22:12:44 CEST 2004


Hi everybody,

Just a quick update on the status of the VOD implementation.

Most of the things I mentionned in my implementation propositions have been 
implemented.

1 - "VOD server" plugin
---------------------------
Partially done.
At least a basic RTSP server is already there. Not a lot is supported but I 
tested it with Quicktime player and it is already kinda working... only 
PLAY support for now though (PAUSE might work as well if you are lucky).

Most of the work left is at this level. The RTSP server needs to be made 
more compliant and stuff like pause/seek need to be implemented, etc...

2 - VLM (videolan manager):
--------------------------------
This is done.
You can now start several instances of a previously defined media.
What might be useful though would be to add a kind of callback mechanism so 
that the VoD server is notified when a spawned media instance reaches the 
EOF or such.

3 - Pre-parsing stream output module:
-------------------------------------------
A basic one is already available. It could be improved though to allow 
specifying the pre-parsing duration and gathering the input metadata as 
well...

4 - The RTP (access output) plugin:
----------------------------------------
The current one works fine as long as there isn't more than one audio and 
video stream defined. This limitation should be lifted if possible.
It would also be nice to get rid of the RTSP code in there that's used for 
"live" RTSP support, and use the VoD server directly instead.


To try out the current VoD support:
- Run VLC with VLM support: vlc -I telnet --rtsp-host=0:2345
- Setup the VoD media in VLM:
  * telnet localhost 4212
  * new mymedia vod input yourfile.mpg enabled
  -> preparsing will be done at this stage
- Now you can connect with clients (eg. vlc rtsp://localhost:2345/mymedia)
- You can also specify some stream output options like transcoding if you 
wish, in which case you create your VoD media with something like:
"new mymedia vod input yourfile.mpg output 
#transcode{vcodec=mp4v,acodec=mp4a} enabled"

I wish somebody will be motivated enough to work on improving/finishing the 
VoD support.

Enjoy,

--
Gildas

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the streaming mailing list