Using mosaic to sout file

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
zozizozu
Blank Cone
Blank Cone
Posts: 62
Joined: 26 Jul 2009 18:18

Using mosaic to sout file

Postby zozizozu » 11 May 2012 09:38

Hi.
I'm using a 1*1 mosaic to convert differents files so they have exactly the same size ( the size of the background image ) .
Here's my vlm conf :

Code: Select all

new channel broadcast enabled setup channel input "MyInputFile" setup channel output #duplicate{dst=mosaic-bridge{id=1},select=video,dst=bridge-out{id=1},select=audio} new background broadcast enabled setup background input BLANK-HD.jpg setup background output #transcode{sfilter=mosaic,vcodec=h264,vb=8192,fps=25,acodec=mpga,ab=512,channels=2,sample­rate=44100}:bridge-in{delay=0,id-offset=0}:std{access=file,mux=ts,dst=/tmp/MyOutputFile.ts}
Then i have this command line : vlc --reset-config -I dummy --extraintf=telnet --sout-keep --vlm-conf=/tmp/mozaic.vlm --sout-mosaic-bridge-width=1920 --sout-mosaic-bridge-height=1080 --mosaic-rows 1 --mosaic-cols 1 --mosaic-position=1 --mosaic-order=0 --mosaic-yoffset=0 --mosaic-xoffset=0 --mosaic-keep-picture

and finally i append the "image-duration" to the command line according to the file type :
If it's audio or video, then --image-duration=-1
if it's a still image, then --image-duration=5

The matter is that it works perfect for audio and image, but while on a video, i get this main mux error after a few seconds :

0x93fa118] x264 encoder: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[0x93fa118] x264 encoder: profile High, level 4.0
[0x93fa118] x264 encoder: final ratefactor: 13.70
[0x93fa118] x264 encoder: using SAR=1/1
[0x93fa118] x264 encoder: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[0x93fa118] x264 encoder: profile High, level 4.0
[0x935fc30] main mux error: cannot add this stream


At this step, "channel" is not playing anymore.
Of course i've tried to convert video only without mosaic, and it works perfect, no error ...

Do someone have a clue about why it "cannot add this stream" using the mosaic module, but no problems without it ?

Thanks for your time

( VLC media player - 2.1.0-git Rincewind + Ubuntu )

Return to “VLM”

Who is online

Users browsing this forum: No registered users and 3 guests