[vlc-devel] LibVLC PIP

J Decker d3ck0r at gmail.com
Thu Sep 6 22:42:23 CEST 2012


I have an interface wrapper that I use to load libvlc.dll.
I have some .conf files which configure a mosaic output.

The example player creates a vlc instance, and uses
libvlc_media_player_new[_from_media]

and then calls libvlc_media_player_play on that media player to play.

How do I get the media player to fill from the .conf file?


----------- The conf file ------------
new channel1 broadcast enabled
setup channel1 input dshow://
setup channel1 option dshow-vdev="Osprey-100 Video Device 1"
setup channel1 option dshow-video-input=0
setup channel1 option dshow-norm="ntsc"
setup channel1 option dshow-adev="none"
setup channel1 option dshow-size="320x240"
setup channel1 option dshow-caching="100"
setup channel1 option no-audio
setup channel1 output
#duplicate{dst=mosaic-bridge{chroma=YUVA,vfilter=alphamask{mask=../images/mask.png},width=320,height=240},select=video}
#vfilter=bluescreen

new channel2 broadcast enabled
setup channel2 input dshow://
setup channel2 option dshow-vdev="Osprey-100 Video Device 2"
setup channel2 option dshow-video-input=0
setup channel2 option dshow-norm="ntsc"
setup channel2 option dshow-adev="none"
setup channel2 option dshow-size="640x480"
setup channel2 option dshow-caching="100"
setup channel2 option sout-keep
setup channel2 option fullscreen
setup channel2 option no-audio
setup channel2 option mosaic-keep-picture
setup channel2 output
#transcode{sfilter=mosaic:logo{file=../images/fortunet.png,position=10},vcodec=mp2v,vb=10000,scale=1,fps=24}:ridge-in{delay=300,id-offset=100}:duplicate{dst=display,dst="transcode{venc=x264{keyint=60,idrint=2},vcodec=h264,vb=300,acodec=mp4a,ab=32,channels=2,samplerate=22050}:rt{dst=127.0.0.1,port=50004,caching=2000,sdp=file:///../vlc.sdp}"}

#:sharpen{sigma=1.5}
#:deinterlace

control channel2 play
control channel1 play



More information about the vlc-devel mailing list