I have a script that creates a picture-in-picure of two capture devices.....
new channel1 broadcast enabled\n" );
setup channel1 input dshow://\n" );
setup channel1 option dshow-vdev=\"Osprey-100e Video Device 1\"\n" );
setup channel1 option dshow-video-input=0\n" );
setup channel1 option dshow-adev=\"none\"\n" );
setup channel1 option dshow-size=\"320x240\"\n" );
setup channel1 option disc-caching=\"100\"\n" );
setup channel1 output #duplicate{dst=mosaic-bridge{width=320,height=240},select=video}\n" );
new channel2 broadcast enabled\n" );
setup channel2 input dshow://\n" );
setup channel2 option dshow-vdev=\"Osprey-100e Video Device 2\"\n" );
setup channel2 option dshow-video-input=0\n" );
setup channel2 option dshow-adev=\"none\"\n" );
setup channel2 option dshow-size=\"640x480\"\n" );
setup channel2 option disc-caching=\"100\"\n" );
setup channel2 option sout-keep\n" );
setup channel2 option fullscreen\n" );
setup channel2 option no-audio\n" );
setup channel2 option mosaic-keep-picture\n" );
setup channel2 output #transcode{sfilter=mosaic:logo{file=scripts/images/fortunet.png,position=10},vcodec=mp2v,vb=10000,scale=1,fps=24}:bridge-in{delay=400,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}:rtp{dst=127.0.0.1,port=50004,caching=1000,sdp=rtsp://%s:8080/vlc.sdp}\"}\n", address );
\n" );
control channel2 play\n" );
control channel1 play\n" );
-------------
Right now, I'm writing that to a file and passing --vlm-conf parameter; but that causes libvlc to open a seperate window that is directshow, instead of going through what I set in libvlc_video_set_callbacks. actually looking maybe it's my bug that I'm expecting an input to get a media_t and a mediaplayer_t....
How do I get the vlm from vlc?
do I have to use the vlm interface and somehow port the above script into compatible programmatic steps?