[streaming] streaming in flv/h264

Nicolas VANHAUTE nicolas.vanhaute at ac-clermont.fr
Mon Jan 4 16:40:00 CET 2010


hi all and happy new year,

I'm trying to use VLC with : mosaic, vlm, h264 and flv to get the stream 
available in a browser.

my vlm file is :
new channel1 broadcast enabled
setup channel1 input udp://@:1234
setup channel1 output 
#duplicate{dst=mosaic-bridge{id=1},select=video,dst=bridge-out{id=1},select=audio}

new background broadcast enabled
setup background input fake://
setup background option fake-fps=25.0
setup background option sout-x264-keyint=150
setup background option sout-x264-min-keyint=5
setup background option sout-x264-subme=1
setup background option mosaic-keep-picture
setup background output 
#transcode{sfilter=mosaic,vcodec=h264,vb=768}:bridge-in{delay=0,id-offset=100}:gather:standard{access=http,mux=ffmpeg{mux=flv},dst=:8081/stream.flv,name="mosaic"}

control background play
control channel1 play
------------------------------------

I start vlc like that :
vlc -I telnet --vlm-conf /home/moi/vlm.conf --ttl 50 
--fake-file=/home/moi/mire.jpg --udp-caching 3000 --mosaic-keep-picture 
--mosaic-rows 1 --mosaic-cols 1 --mosaic-position 1 --mosaic-order 1 
--loop --sout-keep --mosaic-align=0

I created a web page with a flash player on it.
Stream is well received (more often a bit long to get the first image)
BUT my problem is that I have no audio when there is a video stream :-(
I tried to re-encode audio in mp3 but no more success.

if you have an idea, please ping me.

best regards

Nicolas


More information about the streaming mailing list