Transcoding in VLM
Posted: 06 Feb 2014 11:31
Hi,
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:
Next I successfully started my VLM configuration:
Here the success story ends. Next I tried to place the Logo on the video which did not work in any way I tried and I cannot figure out why.
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/:
Result: the Video plays without Logo, no error output.
I also tried:
Same Result: the Video plays without Logo, no error output.
Then I thought I would have to define the sub-filter while transcoding:
Result: error message, no video:
I though that I would have to add the Output device:
Result: no error, video plays without Logo (I tried with absolut path too.)
Then I thought I maybe have to use the Standard stream Module and tried:
Result: video file was created, logo was missing
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:
Result: error Message:
Last Try I ask on the Forum.
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
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