stream http with mosaic => background problem / fake-file
hi,
I use mosaic like that :
- I wait a stream on udp port 1234
- I reencode it and put it available in http
- if no stream is received on udp, I send background image => so with this technic, client is never disconnect when video stream has problem
that works well with 0.8.6i
since I'm on 1.0, it doesn't work well : when video stream stops, background image is not refreshed in the mosaic result from client => vlc stream stops... and even in trying to reconnect, it is dead
after several tests, when I use rtp/rtsp instead of http that works like a charm
my command line is : vlc --color -I telnet --vlm-conf /home/nvanhaute/vlmHD.conf --ttl 40 --fake-file /home/nvanhaute/mireHD.jpg --fake-aspect-ratio "16:9" --mosaic-width 1280 --mosaic-height 720 --udp-caching 2000 --mosaic-keep-picture --mosaic-rows 1 --mosaic-cols 1 --mosaic-position 1 --mosaic-order 1 --ipv4 -vvv
and my vlmHD.conf :
new channel1 broadcast enabled
setup channel1 input udp://@:1234
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=720,width=1280},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 output #transcode{sfilter=mosaic,vcodec=h264,venc=x264{keyint=150,min-keyint=5,subme=1},vb=1536,scale=1,fps=25.0}:bridge-in{delay=0,id-offset=100}:standard{access=http,mux=ts,dst=172.30.92.72:8081}
control background play
control channel1 play
If you need more info or some logs, tell me how to and I will add them.
regards
Nicolas I use an Ubuntu Server with VLC 1.0.0 Goldeneye