v4l not working in VLM

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
Guest

v4l not working in VLM

Postby Guest » 06 Apr 2006 23:05

Hi.

When I use my BT848 with VLC on command line, everything works. I get picture.
I start VLC like this:

Code: Select all

vlc -I telnet v4l:/dev/video:norm=pal:channel=1:0 --sout '#transcode{vcodec=mp2v,vb=1024,scale=0.75}:duplicate{dst=std{amux=ts,url=:1235}}'
When I try to do the same using VLM and mosaic, I get this error:
[00000674] [Media: camera] main private debug: looking for video filter2 module: 3 candidates
[00000311] [Media: camera] stream_out_mosaic_bridge decoder error: decoder/filter is leaking pictures, resetting its ring buffer
[00000355] [Media: camera] ffmpeg private error: img_resample_init only deals with I420
[00000674] [Media: camera] main private debug: no video filter found
[00000279] [Media: camera] stream_out_mosaic_bridge private error: image conversion failed
I start VLC with this command:

Code: Select all

vlc --color -I telnet --vlm-conf /home/vlc/vlm_green.conf --ttl 12 --fake-file /home/vlc/tvbakgrund_320x240.png --mosaic-width 320 --mosaic-height 240 --udp-caching 800 --mosaic-keep-picture --mosaic-rows 1 --mosaic-position 1 --mosaic-order 1,2
My VLM configuration file looks like this:

Code: Select all

new green broadcast enabled setup green input file:///home/vlc/movies/chris_isaak-wicked_game.mpg setup green loop setup green output #duplicate{dst=mosaic-bridge{id=1,width=320,height=220},select=video,dst=bridge-out{id=1},select=audio} of Kran$ new camera broadcast enabled setup camera input v4l:/dev/video:norm=PAL:channel=1:size=320x240 setup camera option v4l-chroma="I420" setup camera output #duplicate{dst=mosaic-bridge{id=2,width=320,height=220},select=video,dst=bridge-out{id=2},select=audio,name="Comhem"} setup camera loop new background broadcast enabled setup background input fake: setup background option rss-urls=http://tv4.se/nyheter/rss/,http://tv4.se/sport/rss/ setup background option freetype-font=/home/vlc/folks-normal.ttf setup background option rss-size=14 setup background option rss-color=16777215 setup background option rss-position=9 setup background option rss-speed=300000 setup background option rss-length=100 setup background option rss-opacity=150 setup background option logo-file=/home/vlc/tvlogo1.png setup background option sub-filter=rss setup background option freetype-effect=1 setup background output #transcode{sfilter=mosaic:rss:logo,vcodec=mp2v,vb=1024,scale=1}:bridge-in{delay=400,id-offset=100}:standard{access=http,mux=ts,url=:1235,sap,name="mosaic"} control background play control green play control camera play
I am using VLC 0.8.5-test2
Any suggestions?

tajson

Postby tajson » 07 Apr 2006 15:52

I added a transcode-rule to the v4l device, that made it work.


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 7 guests