I would appreciate your help with having the sound work. The mosaic itself is fine: two images on top of each other (called picture in picture, or pip).
The sound should come from the ch1 webcam; in fact it can be heard during recording, but it is not included in the output file:
Code: Select all
new pip broadcast enabled
setup pip input "fake://" option "fake-file=C:\Users\ik\Desktop\Afb0233.jpg" option "fake-width=1280" option "fake-height=960"
setup pip output #transcode{vcodec=mp4v,vb=4096,scale=1,acodec=mpga,ab=192,channels=1,sfilter=mosaic}:bridge-in{offset=100}:duplicate{dst=display,dst=std{access=file,mux=mp4,dst=C:\result.mp4}}
setup pip option mosaic-alpha=255
setup pip option mosaic-height=960
setup pip option mosaic-width=1280
setup pip option mosaic-align=5
setup pip option mosaic-xoffset=0
setup pip option mosaic-yoffset=0
setup pip option mosaic-vborder=0
setup pip option mosaic-hborder=0
setup pip option mosaic-position=1
setup pip option mosaic-rows=3
setup pip option mosaic-order=ch1,ch2
setup pip option mosaic-delay=0
setup pip option mosaic-keep-picture
new ch2 broadcast enabled
setup ch2 input dshow://
setup ch2 option dshow-vdev="Microsoft DV Camera and VCR"
setup ch2 output #duplicate{dst=mosaic-bridge{id=ch2,width=1280,height=960},select=video,dst=bridge-out{id=0},select=audio}
new ch1 broadcast enabled
setup ch1 input dshow://
setup ch1 option dshow-adev="Microphone (Orbit/Sphere AF)"
setup ch1 option dshow-vdev="QuickCam Orbit/Sphere AF"
setup ch1 option dshow-size="320x240"
setup ch1 output #duplicate{dst=mosaic-bridge{id=ch1,width=320,height=240},select=video,dst=bridge-out{id=0},select=audio}
control ch1 play
control ch2 play
control pip play
arnog