Mosaic in 0.8.5 (win32)

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
KillaB

Mosaic in 0.8.5 (win32)

Postby KillaB » 07 May 2006 22:34

Can anyone confirm it's working in the win32 build?

I used the new Wizard to generate my config file, but had to add channel inputs manually as the Wizard only added the background file automatically.

I can also see the background image on startup, but none of my streams are playing and the process goes to 0% CPU usage shortly thereafter.

Here's my current config:

Code: Select all

################################## ## HTTP interface mosaic wizard ## ################################## # Comment the following line if you don't want to reset your VLM configuration del all # Background options new bg broadcast enabled setup bg input "fake:" option "fake-file=C:\\Program Files\\VideoLAN\\VLC\\background.jpg" option "fake-width=640" option "fake-height=400" option "fake-ar=4:3" setup bg output #transcode{vcodec=mp2v,vb=4096,scale=1,sfilter=mosaic}:bridge-in{offset=100}:std{access=udp,mux=ts,dst=localhost} # Mosaic options setup bg option mosaic-alpha=255 setup bg option mosaic-height=400 setup bg option mosaic-width=640 setup bg option mosaic-align=5 setup bg option mosaic-xoffset=10 setup bg option mosaic-yoffset=10 setup bg option mosaic-vborder=5 setup bg option mosaic-hborder=10 setup bg option mosaic-position=1 setup bg option mosaic-rows=2 setup bg option mosaic-cols=2 setup bg option mosaic-order=1,2,3 setup bg option mosaic-delay=0 setup bg option mosaic-keep-picture new channel1 broadcast enabled setup channel1 input "C:\Program Files\VideoLAN\VLC\test.mpg" setup channel1 output #duplicate{dst=mosaic-bridge{id=1,width=320,height=200},select=video,dst=bridge-out{id=1},select=audio} new channel2 broadcast enabled setup channel2 input "C:\Program Files\VideoLAN\VLC\test2.mpg" setup channel2 output #duplicate{dst=mosaic-bridge{id=2,width=320,height=200},select=video,dst=bridge-out{id=2},select=audio} new channel3 broadcast enabled setup channel3 input "C:\Program Files\VideoLAN\VLC\test3.mpg" setup channel3 output #duplicate{dst=mosaic-bridge{id=3,width=320,height=200},select=video,dst=bridge-out{id=3},select=audio} # Input options # Launch everything control bg play control channel1 play control channel2 play control channel3 play # end of mosaic batch
And the launch code:

Code: Select all

vlc --color -I telnet --vlm-conf mosaic.conf --ttl 12 --fake-file background.jpg --fake-aspect-ratio "4:3" --mosaic-width 640 --mosaic-height 400 --udp-caching 800 --mosaic-keep-picture --mosaic-rows 2 --mosaic-cols 2 --mosaic-position 1 --mosaic-order 1,2,3
I see with the new version most of the launch commands are included in the config file, so most of my lauch code "shouldn't" be needed. I had things working great with 0.8.4. Is there something I'm missing? I'm willing to update the Mosaic wiki once I have things working again.

Thanks,
Jason

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 07 May 2006 23:15

hum, crap. I forgot to double the backslashes in the input paths. (they're doubled for the background only it seems)
... looking at the source code it seems fine. I'll fix that when i'm running windows.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 07 May 2006 23:17

By the way. Please don't use mosaics option on you command line when using the http interface to configure it. Just use -I http (and other options not relative to setting up the mosaic) to make sure that it doesn't interfere.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

KillaB

Postby KillaB » 07 May 2006 23:54

hum, crap. I forgot to double the backslashes in the input paths. (they're doubled for the background only it seems)
... looking at the source code it seems fine. I'll fix that when i'm running windows.
Acutally, none of my inputs are being added using the mosaic wizard. Only the bg input shows in the resultant code.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 08 May 2006 00:07

oh ...what browser are you using ? IE ? Firefox ?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Guest

Postby Guest » 08 May 2006 00:30

I've tried both IE6 and the latest Firefox and it's the same.

I add a channel name, browse for the file then add to input list. They all show up in the inputs list. Just not in the VLM code at the bottom. Only bg and output work.

PaSurf
New Cone
New Cone
Posts: 1
Joined: 14 Nov 2006 19:00
Location: Paris, France

MosaIc issue

Postby PaSurf » 15 Nov 2006 11:19

I've got the same problem to produce a mosaic with a still background image and record the result in a file.
I succeeded to do something with a video background and a display on the screen but the #transcode settings doesn't seems to work when I want to save a TS file.

aougruti
New Cone
New Cone
Posts: 3
Joined: 15 May 2007 18:22

Postby aougruti » 15 May 2007 18:32

Same problem with windows, vlc 0.86b.

Creating vlm code with mosaic plugin, only works when the background is a video stream. Don't works with a picture for background.



http debug: executing vlm command: ##################################
http debug: executing vlm command: ## HTTP interface mosaic wizard ##
http debug: executing vlm command:
http debug: executing vlm command: ##################################
http debug: executing vlm command: del all
http debug: executing vlm command: # Comment the following line if you don't want to reset your VLM configuration
http debug: executing vlm command:
http debug: executing vlm command: # Background options
http debug: executing vlm command: setup bg input "c:\temp\dibujo.png"
http debug: executing vlm command: new bg broadcast enabled
http debug: executing vlm command: setup bg output #transcode{vcodec=mp2v,vb=4096,scale=1,acodec=mpga,ab=128,sfilter=mosaic}:bridge-in{offset=100}:display
http debug: executing vlm command:
http debug: executing vlm command: setup bg option mosaic-alpha=255
http debug: executing vlm command: # Mosaic options
http debug: executing vlm command: setup bg option mosaic-height=200
http debug: executing vlm command: setup bg option mosaic-width=200
http debug: executing vlm command: setup bg option mosaic-align=5
http debug: executing vlm command: setup bg option mosaic-xoffset=10
http debug: executing vlm command: setup bg option mosaic-yoffset=10
http debug: executing vlm command: setup bg option mosaic-vborder=5
http debug: executing vlm command: setup bg option mosaic-position=1
http debug: executing vlm command: setup bg option mosaic-hborder=10
http debug: executing vlm command: setup bg option mosaic-cols=1
http debug: executing vlm command: setup bg option mosaic-rows=1
http debug: executing vlm command: setup bg option mosaic-delay=0
http debug: executing vlm command: setup bg option mosaic-order=uno
http debug: executing vlm command: setup bg option mosaic-keep-picture
http debug: executing vlm command:
http debug: executing vlm command: # Input options
http debug: executing vlm command: new uno broadcast enabled
http debug: executing vlm command: setup uno input "D:\download\test.avi"
http debug: executing vlm command: setup uno output #duplicate{dst=mosaic-bridge{id=uno,width=200,height=200},select=video,dst=bridge-out{id=0},select=audio}
http debug: executing vlm command: # Launch everything
http debug: executing vlm command:
http debug: executing vlm command: control bg play
http debug: executing vlm command: control uno play
main debug: waiting for thread completion
main debug: thread 5724 (input) created at priority 1 (input/input.c:265)
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `mosaic-bridge{id=uno,width=200,height=200}'
main debug: stream=`mosaic-bridge'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-mosaic-bridge-id to uno
main debug: set sout option: sout-mosaic-bridge-width to 200
main debug: set sout option: sout-mosaic-bridge-height to 200
main debug: using sout stream module "stream_out_mosaic_bridge"
stream_out_duplicate debug: * apply selection video
stream_out_duplicate debug: * adding `bridge-out{id=0}'
main debug: stream=`bridge-out'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-bridge-out-id to 0
main debug: using sout stream module "stream_out_bridge"
stream_out_duplicate debug: * apply selection audio
main debug: using sout stream module "stream_out_duplicate"
main debug: drive letter D: found in source
main debug: `D:\download\test.avi' gives access `' demux `' path `D:\download\test.avi'
main debug: creating demux: access='' demux='' path='D:\download\test.avi'
main debug: looking for access_demux module: 1 candidate
main debug: creating access '' path='D:\download\test.avi'
main debug: looking for access2 module: 5 candidates
vcd debug: trying .cue file: D:\download\test.cue
vcd debug: could not find .cue file
access_file debug: opening file `D:\download\test.avi'
main debug: using access2 module "access_file"
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: pre-buffering done 1408981 bytes in 0s - 91724 kbytes/s
main debug: creating demux: access='' demux='' path='D:\download\test.avi'
main debug: looking for demux2 module: 45 candidates
avi debug: found Chunk fourcc:46464952 (RIFF) size:731376248 pos:0
avi debug: found LIST chunk: 'AVI '
avi debug: <list 'AVI '>
avi debug: found Chunk fourcc:5453494c (LIST) size:8830 pos:12
avi debug: found LIST chunk: 'hdrl'
avi debug: <list 'hdrl'>
avi debug: found Chunk fourcc:68697661 (avih) size:56 pos:24
avi debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 560x320
avi debug: found Chunk fourcc:5453494c (LIST) size:4244 pos:88
avi debug: found LIST chunk: 'strl'
avi debug: <list 'strl'>
avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:100
avi debug: strh: type:vids handler:0x64697678 samplesize:0 25.00fps
avi debug: found Chunk fourcc:66727473 (strf) size:40 pos:164
avi debug: strf: video:XVID 560x320 planes:1 12bpp
avi debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:212
avi debug: </list 'strl'>
avi debug: found Chunk fourcc:5453494c (LIST) size:4234 pos:4340
avi debug: found LIST chunk: 'strl'
avi debug: <list 'strl'>
avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:4352
avi debug: strh: type:auds handler:0x00000000 samplesize:384 41.67fps
avi debug: found Chunk fourcc:66727473 (strf) size:30 pos:4416
avi debug: strf: audio:0x0055 channels:2 48000Hz 0bits/sample 125kb/s
avi debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:4454
avi debug: </list 'strl'>
avi debug: found Chunk fourcc:5453494c (LIST) size:260 pos:8582
avi debug: found LIST chunk: 'odml'
avi debug: <list 'odml'>
avi debug: found Chunk fourcc:686c6d64 (dmlh) size:248 pos:8594
avi warning: unknown chunk (not loaded)
avi debug: </list 'odml'>
avi debug: </list 'hdrl'>
avi debug: found Chunk fourcc:5453494c (LIST) size:56 pos:8850
avi debug: found LIST chunk: 'INFO'
avi debug: <list 'INFO'>
avi debug: found Chunk fourcc:54465349 (ISFT) size:44 pos:8862
avi debug: ISFT: software : VirtualDubMod 1.5.10.2 (build 2540/release)
avi debug: </list 'INFO'>
avi debug: found Chunk fourcc:4b4e554a (JUNK) size:1318 pos:8914
avi debug: found Chunk fourcc:5453494c (LIST) size:726920448 pos:10240
avi debug: skipping movi chunk
avi debug: found Chunk fourcc:31786469 (idx1) size:4445552 pos:726930696
avi debug: idx1: index entry:277847
avi debug: </list 'AVI '>
avi debug: found Chunk fourcc:4b4e554a (JUNK) size:1400 pos:731376256
avi debug: * LIST-root size:731377664 pos:0
avi debug: + RIFF-AVI size:731376248 pos:0
avi debug: | + LIST-hdrl size:8830 pos:12
avi debug: | | + avih size:56 pos:24
avi debug: | | + LIST-strl size:4244 pos:88
avi debug: | | | + strh size:56 pos:100
avi debug: | | | + strf size:40 pos:164
avi debug: | | | + JUNK size:4120 pos:212
avi debug: | | + LIST-strl size:4234 pos:4340
avi debug: | | | + strh size:56 pos:4352
avi debug: | | | + strf size:30 pos:4416
avi debug: | | | + JUNK size:4120 pos:4454
avi debug: | | + LIST-odml size:260 pos:8582
avi debug: | | | + dmlh size:248 pos:8594
avi debug: | + LIST-INFO size:56 pos:8850
avi debug: | | + ISFT size:44 pos:8862
avi debug: | + JUNK size:1318 pos:8914
avi debug: | + LIST-movi size:726920448 pos:10240
avi debug: | + idx1 size:4445552 pos:726930696
avi debug: + JUNK size:1400 pos:731376256
avi debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED
avi debug: stream[0] rate:25 scale:1 samplesize:0
avi debug: stream[0] video(XVID) 560x320 12bpp 25.000000fps
main debug: selecting program id=0
avi debug: stream[1] rate:16000 scale:384 samplesize:384
avi debug: stream[1] audio(0x55) 2 channels 48000Hz 0bits
avi debug: stream[0] created 138941 index entries
avi debug: stream[1] created 138906 index entries
avi debug: stream[0] length:5557 (based on index)
avi debug: stream[1] length:5556 (based on index)
main debug: using demux2 module "avi"
main debug: looking for a subtitle file in D:\download\
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "packetizer_mpeg4video"
main debug: stream out mode -> no decoder thread
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "mpeg_audio"
main debug: stream out mode -> no decoder thread
main debug: starting in sync mode
main debug: meta information:
main debug: - 'Opción' = ' HAS_INDEX IS_INTERLEAVED'
main debug: `D:\download\test.avi' successfully opened
avi debug: old:0 < new 0
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:128
main debug: adding a new input
stream_out_duplicate debug: duplicated a new stream codec=mpga (es=1 group=0)
stream_out_duplicate debug: - ignored for output 0
stream_out_bridge debug: bridging out input codec=mpga id=0 pos=1
stream_out_duplicate debug: - added for output 1
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
main debug: adding a new input
stream_out_duplicate debug: duplicated a new stream codec=mp4v (es=0 group=0)
main debug: looking for decoder module: 28 candidates
ffmpeg debug: libavcodec already initialized
http debug: executing vlm command: # end of mosaic batch
http debug: executing vlm command:
ffmpeg debug: postprocessing disabled
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "ffmpeg"
stream_out_mosaic_bridge debug: mosaic bridge id=uno pos=0
stream_out_duplicate debug: - added for output 0
stream_out_duplicate debug: - ignored for output 1
main debug: looking for video filter2 module: 3 candidates
ffmpeg debug: input: 200x200 -> 560x320
ffmpeg debug: input: 560x320 I420 -> 200x200 YUVA
ffmpeg debug: libavcodec already initialized
main debug: using video filter2 module "ffmpeg"
http debug: executing vlm command:


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 12 guests