2007-06-07

video streaming on demand

video-on-demand (vod) with vlm :
start the server :
vlc --ttl 12 -vvv --color -I telnet --rtsp-host 0.0.0.0:5554 --vlm-conf confVLM.txt

you have to use the telnet interface else vlm will not be started.

confVLM.txt looks like this (3 lines):
new Test vod enabled
setup Test input myVideo.mpg


access stream via
vlc rtsp://0.0.0.0:8082/Test

transcoding still not working, trying something like that in confVLM.txt :
setup Test output #transcode{vcodec=mp4v,vb=3072,scale=1,acodec=mpga,ab=64}

2007-06-03

faire un film avec des images

png2yuv -b 201 -n 30 -f 25 -I p -j camera%03d.png | mpeg2enc -o mpegfile.m1v

le -b c'est pour le numéro de la première image le -n c'est pour le nombre, le %03d c'est pour dire que les numéros d'images ont 3 digits.