I am trying to create a Mosaic with a VLM Configuration. Therefor I am currently playing around to unserstand how to configure streams with VLM files.
Currently I am using:
VLC media player 2.0.9 Twoflower (revision 2.0.8+git20131210+r49167+13+8~ubuntu13.10.1)
First I successfully tired:
Code: Select all
vlc --sub-filter "logo{file='logo.png,0,128'}" vvideo.mp4
Code: Select all
new xxx broadcast enabled
setup xxx input vvideo.mp4
control xxx play
All the following lines have been Placed between "setup input" and "control play".
First I tried I could set the Option the same way as on the commandline, like it was done here https://wiki.videolan.org/MosaicExampleSetup/:
Code: Select all
setup xxx option logo-file="logo.png"
I also tried:
Code: Select all
setup xxx option sub-filter="logo{file='logo.png'}"
Then I thought I would have to define the sub-filter while transcoding:
Code: Select all
setup xxx output #transcode{sfilter=logo{file='logo.png,0,128'}}
Code: Select all
stream_out_transcode stream out error: cannot create chain
main stream output error: stream chain failed for `transcode{sfilter=logo{file='logo.png,0,128'}}'
[Medium: xxx] main input error: cannot start stream output instance, aborting
Code: Select all
setup xxx output #transcode{sfilter=logo{file='logo.png,0,128'}}:display
Then I thought I maybe have to use the Standard stream Module and tried:
Code: Select all
setup xxx output #transcode{sfilter=logo{file='logo.png,0,128'}}:standard{access=file,dst=xxx.mp4}
Next try, I thought that I cannot apply the sfilter on a Stream that is a combined Audio and Video stream, therefor I split them up like this:
Code: Select all
setup xxx output #duplicate{dst=transcode{sfilter=logo{file='logo.png,0,128'}}:standard{access=file,dst=xxx.mp4},select=video}
Code: Select all
stream_out_transcode stream out error: cannot create chain
stream_out_duplicate stream out error: * ignore unknown option `standard'
stream_out_duplicate stream out error: no destination given
main stream output error: stream chain failed for `duplicate{dst=transcode{sfilter=logo{file='logo.png,0,128'}}:standard{access=file,dst=xxx.mp4},select=video}'
[Medium: xxx] main input error: cannot start stream output instance, aborting
What am I doing wrong?
Have my tests all been unnecessary and nonsense?
I thought that I understood how this should work, Where is the knot?
I hope someone familiar with VLM configuration can help me getting started.
I know for transcoding just one file it is not necessary to use VLM, but as I am on the way to a more complex task I wanted to start with the easy stuff first.
Regards,
Hannes