Transcoding in VLM

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
naish
New Cone
New Cone
Posts: 5
Joined: 04 Feb 2014 11:06
VLC version: 2.0.8
Operating System: Linux
Location: Vienna / Austria

Transcoding in VLM

Postby naish » 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:

Code: Select all

vlc --sub-filter "logo{file='logo.png,0,128'}" vvideo.mp4
Next I successfully started my VLM configuration:

Code: Select all

new xxx broadcast enabled setup xxx input vvideo.mp4 control xxx play
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/:

Code: Select all

setup xxx option logo-file="logo.png"
Result: the Video plays without Logo, no error output.

I also tried:

Code: Select all

setup xxx option sub-filter="logo{file='logo.png'}"
Same Result: the Video plays without Logo, no error output.

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'}}
Result: error message, no video:

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
I though that I would have to add the Output device:

Code: Select all

setup xxx output #transcode{sfilter=logo{file='logo.png,0,128'}}:display
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:

Code: Select all

setup xxx output #transcode{sfilter=logo{file='logo.png,0,128'}}:standard{access=file,dst=xxx.mp4}
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:

Code: Select all

setup xxx output #duplicate{dst=transcode{sfilter=logo{file='logo.png,0,128'}}:standard{access=file,dst=xxx.mp4},select=video}
Result: error Message:

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
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

Return to “VLM”

Who is online

Users browsing this forum: No registered users and 6 guests