Hi Again,
I think I may have found what I was looking for however I do not seem to be able to get it to work either.
I am investigating the use of creating an image-mosaic that is 1x1.
My understanding of the image-mosaic is that it should provide me with a background image that will always be showing with the video over the top. when the video stream stops the background image will show, hence I get my "Offline-image"
My new problem is I do not seem to be able to get my image-mosaic to work.
I am using VLC 2.0.4
This is my mosaic.vlm.conf file
Code: Select all
# Feed
new feed broadcast enabled
setup feed input udp://@224.1.1.1:1234
setup feed option network-caching=600
setup feed output #mosaic-bridge{id=1.width=640,height=480}
# Background
new bg broadcast enabled
setup bg input "file:///C:/desert.jpg"
setup bg option image-duration=-1
setup bg option image-fps=0
setup bg output #transcode{sfilter=mosaic,vcodec=h264,vb=8500,scale=1}:display
# VLM Control
control feed play
control bg play
I start VLC with the following command
Code: Select all
vlc --mosaic-width=640 --mosaic-height=480 --mosaic-keep-picture --vlm-conf=mosaic.vlm.conf --udp-caching=1024
I have based these 2 things off of the following 2 links
http://wiki.videolan.org/Mosaic
and
viewtopic.php?f=11&t=100423
When I run vlc all I get is my background image and not the video feed
I have tested the video feed just by it self and it works
I can also see VLC connect to the multicast group and pull the multicast traffic with windump
log output that i am constently getting is
Code: Select all
main warning: original picture size is undefined
main warning: picture is too late to be displayed (missing 6251ms) - lots of different numbers there
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
main error: ES_OUT_Set_(Group_)PCR is called too late (pts_delay increased to 600 ms)
main error: ES_OUT_RESET_PCR_called
Interestingly enough when I change my mosaic.vlm.conf to the following
Note the changes in the bg section
Code: Select all
# Feed
new feed broadcast enabled
setup feed input udp://@224.1.1.1:1234
setup feed option network-caching=600
setup feed output #mosaic-bridge{id=1.width=640,height=480}
# Background
new bg broadcast loop enabled
setup bg input "file:///C:/desert.jpg"
setup bg output #transcode{sfilter=mosaic,vcodec=h264,vb=8500,scale=1}:display
# VLM Control
control feed play
control bg play
The background image flicks on for about 5 seconds then flicks off, I then get my feed stream, but only 1 frame for about 5 seconds and then it flips off and vlc will then continue to show 1 frame of my feed every 5 seconds then disappears.
So from this I am fairly confident that VLC is receiving the feed but is not displaying it correctly either because of a bug or something I am doing wrong.
I am currently doing this on a windows 7 box however I will be moving to a Linux(Red hat) box to try this out now as well
Help with this would be much appreciated.
Also I note that this might be a VLM issue now and might be in the wrong forum
Thanks in advance
Frosty