play sound in mosaic and synchronized video

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

play sound in mosaic and synchronized video

Postby Kmer » 20 Jan 2006 09:29

hello,
I have a ts file in which there are 4 videos including one with sound.
When I makes a mosaic(with a file vlm.conf), I have the 4 well videos which is posted with the screen,
but I do not have the sound.
This is my vlm configuration file :

Code: Select all

new channel1 broadcast enabled setup channel1 input "../videoMix5.ts" setup channel1 option program=1 setup channel1 loop setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=144,width=180},select=video,dst=bridge-out{id=1},select=audio} new channel2 broadcast enabled setup channel2 input "../videoMix5.ts" setup channel2 option program=2 setup channel2 loop setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=144,width=180},select=video,dst=bridge-out{id=2},select=noaudio} new channel3 broadcast enabled setup channel3 input "../videoMix5.ts" setup channel3 option program=3 setup channel3 loop setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=144,width=180},select=video,dst=bridge-out{id=4},select=noaudio} new channel4 broadcast enabled setup channel4 input "../videoMix5.ts" setup channel4 option program=4 setup channel4 loop setup channel4 output #duplicate{dst=mosaic-bridge{id=4,height=144,width=180},select=video,dst=bridge-out{id=4},select=noaudio} new background broadcast enabled setup background input fake: setup background option #transcode{sfilter=mosaic}:bridge-in{delay=100,id-offset=100} control background play control channel1 play control channel2 play control channel3 play control channel4 play

Could somebody say to me how to have the sound?


Then, I have another problem:
I would like that my 4 videos( ande the sound) are synchronized.
How to make to control the 4 videos at the same time ? (one button play/pause and stop for all videos)

thank you

tonsofpcs
Cone that earned his stripes
Cone that earned his stripes
Posts: 363
Joined: 04 Jan 2006 10:03
Location: Binghamton, NY, USA
Contact:

Postby tonsofpcs » 20 Jan 2006 10:13

I *believe* (I'm not positive) that you need to remove the ",select=video" portion of the line for the one that you want the audio from.
By the way, there's more information on mosaicing on the wiki at: http://wiki.videolan.org/index.php/Mosaic

Kmer

vlc crash

Postby Kmer » 20 Jan 2006 12:16

Thank you for the answer but when I remove "select=video". VLC starts the mosaic with the 3 other videos then is crasht.

Another idea?

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

Postby dionoea » 20 Jan 2006 16:55

do you have a list of audio tracks (in the audio menu) when trying to play the mosaic ?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Kmer

Postby Kmer » 20 Jan 2006 17:40

no, I have nothing in the audio menu .
I am sure that there is audio because when I play the file (no in mosaic) I have audio and video in the program 1.

For information, I use XP Pro and the 0.8.5-svn-20051224-0008 VLC version.

Are you an idea ?

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

Postby dionoea » 20 Jan 2006 17:59

Could post the full debug messages here ?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Kmer

Postby Kmer » 21 Jan 2006 09:06

Excuse me,
I was mistaken, there is well something in the menu Audio, VLC see that there is audio, the piste1 is selected, but there is still no sound.

I made tests, I realized that if I puts:

Code: Select all

new channel1 broadcast enabled setup channel1 input "../videoMix5.ts" setup channel1 option program=1 setup channel1 [b]option[/b] #duplicate{dst=mosaic-bridge{id=1,height=144,width=180},select=video,dst=bridge-out{id=1},select=audio}
instead of

Code: Select all

new channel1 broadcast enabled setup channel1 input "../videoMix5.ts" setup channel1 option program=1 setup channel1 [b]output [/b]#duplicate{dst=mosaic-bridge{id=1,height=144,width=180},select=video,dst=bridge-out{id=1},select=audio}
I have sound well, but it is the video channel1 which passed in background mosaic.

If not here are the messages which I have when there is no sound:

Code: Select all

main debug: waiting for thread completion main debug: `fake:' gives access `fake' demux `' path `' main debug: creating demux: access='fake' demux='' path='' main debug: looking for access_demux module: 1 candidate main debug: thread 8260 (input) created at priority 1 (src/input/input.c:250) main debug: selecting program id=0 main debug: using access_demux module "access_fake" main debug: looking for decoder module: 26 candidates main debug: looking for decoder module: 26 candidates main debug: using decoder module "png" main debug: looking for video filter2 module: 3 candidates ffmpeg debug: input: 388x268 RV24 -> 388x268 I420 ffmpeg debug: libavcodec already initialized main debug: using video filter2 module "ffmpeg" main debug: removing module "png" main debug: removing module "ffmpeg" fake debug: file C:\image.png loaded successfully main debug: using decoder module "fake" main debug: thread 7176 (decoder) created at priority 0 (src/input/decoder.c:159) main debug: `fake:' successfully opened main debug: no usable vout present, spawning one main debug: set input option: sout to #duplicate{dst=mosaic-bridge{id=1,height=144,width=180},select=video,dst=bridge-out{id=1},select=audio} main debug: set input option: program to 1 main debug: looking for sub filter module: 2 candidates main debug: using sub filter module "mosaic" main debug: Registering subpicture channel, ID: 2 main debug: window size: 388x291 main debug: looking for video output module: 5 candidates vout_directx debug: creating DirectXEventThread main debug: waiting for thread completion vout_directx debug: DirectXCreateWindow vout_directx debug: Created video sub-window main debug: thread 7656 (DirectX Events Thread) created at priority 0 (directx.c:263) vout_directx debug: DirectXEventThread running vout_directx debug: DirectXInitDDraw vout_directx debug: directx-device: vout_directx debug: DirectXEnumCallback: Pilote d'affichage principal, display vout_directx debug: screen dimensions (0x0,1024x768) vout_directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1 can_deinterlace_overlay=1 colorkey=1 stretch=1 bltfourcc=1 vout_directx debug: align_boundary_src=0,0 align_boundary_dest=1,1 align_size_src=0,0 align_size_dest=0,0 vout_directx debug: End DirectXInitDDraw vout_directx debug: DirectXCreateDisplay main debug: Registering subpicture channel, ID: 3 main debug: Registering subpicture channel, ID: 4 main debug: Registering subpicture channel, ID: 5 main debug: Registering subpicture channel, ID: 6 vout_directx debug: DirectXCreateClipper vout_directx debug: disabling screen saver main debug: using video output module "vout_directx" main debug: waiting for thread completion vout_directx debug: NewPictureVec overlay:yes chroma:YV12 vout_directx debug: YUV overlay created successfully vout_directx debug: End NewPictureVec (succeeded) main debug: got 1 direct buffer(s) main debug: picture in 388x268 (0,0,388x268), chroma I420, ar 4:3, sar 268:291 main debug: picture user 388x268 (0,0,388x268), chroma I420, ar 4:3, sar 268:291 main debug: picture out 388x268 (0,0,388x268), chroma I420, ar 4:3, sar 268:291 main debug: direct render, mapping render pictures 0-6 to system pictures 1-7 main debug: thread 7632 (video output) created at priority 1 (src/video_output/video_output.c:416) main debug: waiting for thread completion main debug: stream=`duplicate' main debug: looking for sout stream module: 1 candidate main debug: thread 7200 (input) created at priority 1 (src/input/input.c:250) stream_out_duplicate debug: creating 'duplicate' stream_out_duplicate debug: * adding `mosaic-bridge{id=1,height=144,width=180}' main debug: stream=`mosaic-bridge' main debug: looking for sout stream module: 1 candidate main debug: set sout option: sout-mosaic-bridge-id to 1 main debug: set sout option: sout-mosaic-bridge-height to 144 main debug: set sout option: sout-mosaic-bridge-width to 180 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=1}' main debug: stream=`bridge-out' main debug: looking for sout stream module: 1 candidate main debug: set sout option: sout-bridge-out-id to 1 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: `../videoMix5.ts' gives access `' demux `' path `../videoMix5.ts' main debug: creating demux: access='' demux='' path='../videoMix5.ts' main debug: looking for access_demux module: 1 candidate main debug: creating access '' path='../videoMix5.ts' main debug: looking for access2 module: 5 candidates vcd debug: trying .cue file: ../videoMix5.cue access_file debug: opening file `../videoMix5.ts' main debug: using access2 module "access_file" main debug: pre buffering main debug: received first data for our buffer main debug: prebuffering done 1408981 bytes in 0s - 259028 kbytes/s main debug: creating demux: access='' demux='' path='../videoMix5.ts' main debug: looking for demux2 module: 42 candidates main debug: using demux2 module "ts" ts debug: DEMUX_SET_GROUP 1 00000000 main debug: starting in synch mode main debug: `../videoMix5.ts' successfully opened ts debug: PATCallBack called ts debug: new PAT ts_id=1 version=31 current_next=1 ts debug: * number=1 pid=16 ts debug: * number=2 pid=32 ts debug: * number=3 pid=48 ts debug: * number=4 pid=64 ts debug: PMTCallBack called ts debug: new PMT program number=1 version=31 pid_pcr=68 ts debug: * es pid=68 type=2 fcc=mpgv main debug: selecting program id=1 main debug: looking for packetizer module: 17 candidates main debug: using packetizer module "packetizer_mpegvideo" main debug: stream out mode -> no decoder thread ts debug: * es pid=69 type=3 fcc=mpga main debug: looking for packetizer module: 17 candidates [b]main debug: using packetizer module "mpeg_audio" main debug: stream out mode -> no decoder thread[/b] ts debug: PMTCallBack called ts debug: new PMT program number=2 version=31 pid_pcr=33 ts debug: * es pid=33 type=2 fcc=mpgv ts debug: PMTCallBack called ts debug: new PMT program number=3 version=31 pid_pcr=49 ts debug: * es pid=49 type=2 fcc=mpgv ts debug: PMTCallBack called ts debug: new PMT program number=4 version=31 pid_pcr=65 ts debug: * es pid=65 type=2 fcc=mpgv packetizer_mpegvideo debug: Size 320x240 fps=24.000 main debug: set input option: sout to #duplicate{dst=mosaic-bridge{id=2,height=144,width=180},select=video,dst=bridge-out{id=2},select=noaudio} main debug: set input option: program to 2 main debug: waiting for thread completion main debug: stream=`duplicate' main debug: looking for sout stream module: 1 candidate main debug: thread 7680 (input) created at priority 1 (src/input/input.c:250) stream_out_duplicate debug: creating 'duplicate' stream_out_duplicate debug: * adding `mosaic-bridge{id=2,height=144,width=180}' main debug: stream=`mosaic-bridge' main debug: looking for sout stream module: 1 candidate main debug: set sout option: sout-mosaic-bridge-id to 2 main debug: set sout option: sout-mosaic-bridge-height to 144 main debug: set sout option: sout-mosaic-bridge-width to 180 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=2}' main debug: stream=`bridge-out' main debug: looking for sout stream module: 1 candidate main debug: set sout option: sout-bridge-out-id to 2 main debug: using sout stream module "stream_out_bridge" stream_out_duplicate debug: * apply selection noaudio main debug: using sout stream module "stream_out_duplicate" main debug: `../videoMix5.ts' gives access `' demux `' path `../videoMix5.ts' main debug: creating demux: access='' demux='' path='../videoMix5.ts' main debug: looking for access_demux module: 1 candidate main debug: creating access '' path='../videoMix5.ts' main debug: looking for access2 module: 5 candidates vcd debug: trying .cue file: ../videoMix5.cue access_file debug: opening file `../videoMix5.ts' main debug: using access2 module "access_file" main debug: pre buffering main debug: received first data for our buffer main debug: prebuffering done 1408981 bytes in 0s - 279382 kbytes/s main debug: creating demux: access='' demux='' path='../videoMix5.ts' main debug: looking for demux2 module: 42 candidates main debug: using demux2 module "ts" mpeg_audio debug: MPGA channels:1 samplerate:44100 bitrate:192 main debug: adding a new input stream_out_duplicate debug: duplicated a new stream codec=mpga (es=69 group=1) stream_out_duplicate debug: - ignored for output 0 stream_out_bridge debug: bridging out input codec=mpga id=1 pos=10 stream_out_duplicate debug: - added for output 1 main debug: adding a new input stream_out_duplicate debug: duplicated a new stream codec=mpgv (es=68 group=1) main debug: looking for decoder module: 26 candidates ts debug: DEMUX_SET_GROUP 2 00000000 main debug: starting in synch mode main debug: `../videoMix5.ts' successfully opened ts debug: PATCallBack called ts debug: new PAT ts_id=1 version=31 current_next=1 ts debug: * number=1 pid=16 ts debug: * number=2 pid=32 ts debug: * number=3 pid=48 ts debug: * number=4 pid=64 ts debug: PMTCallBack called ts debug: new PMT program number=1 version=31 pid_pcr=68 ts debug: * es pid=68 type=2 fcc=mpgv ts debug: * es pid=69 type=3 fcc=mpga ts debug: PMTCallBack called ts debug: new PMT program number=2 version=31 pid_pcr=33 ts debug: * es pid=33 type=2 fcc=mpgv main debug: selecting program id=2 main debug: using decoder module "libmpeg2" stream_out_mosaic_bridge debug: mosaic bridge id=1 pos=0 stream_out_duplicate debug: - added for output 0 stream_out_duplicate debug: - ignored for output 1 libmpeg2 debug: 320x240 (display 320,240), aspect 576000, sar 1:1, 24.000 fps main debug: looking for packetizer module: 17 candidates main warning: dts != current_pts (-314693) main debug: using packetizer module "packetizer_mpegvideo" main debug: stream out mode -> no decoder thread ts debug: PMTCallBack called ts debug: new PMT program number=3 version=31 pid_pcr=49 ts debug: * es pid=49 type=2 fcc=mpgv ts debug: PMTCallBack called ts debug: new PMT program number=4 version=31 pid_pcr=65 ts debug: * es pid=65 type=2 fcc=mpgv packetizer_mpegvideo debug: waiting for sequence start main debug: set input option: sout to #duplicate{dst=mosaic-bridge{id=3,height=144,width=180},select=video,dst=bridge-out{id=3},select=noaudio} main debug: set input option: program to 3 main debug: waiting for thread completion main debug: stream=`duplicate' main debug: looking for sout stream module: 1 candidate main debug: thread 7676 (input) created at priority 1 (src/input/input.c:250) stream_out_duplicate debug: creating 'duplicate' stream_out_duplicate debug: * adding `mosaic-bridge{id=3,height=144,width=180}' main debug: stream=`mosaic-bridge' main debug: looking for sout stream module: 1 candidate main debug: set sout option: sout-mosaic-bridge-id to 3 main debug: set sout option: sout-mosaic-bridge-height to 144 main debug: set sout option: sout-mosaic-bridge-width to 180 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=3}' main debug: stream=`bridge-out' main debug: looking for sout stream module: 1 candidate main debug: set sout option: sout-bridge-out-id to 3 main debug: using sout stream module "stream_out_bridge" stream_out_duplicate debug: * apply selection noaudio main debug: using sout stream module "stream_out_duplicate" main debug: `../videoMix5.ts' gives access `' demux `' path `../videoMix5.ts' main debug: creating demux: access='' demux='' path='../videoMix5.ts' main debug: looking for access_demux module: 1 candidate main debug: creating access '' path='../videoMix5.ts' main debug: looking for access2 module: 5 candidates vcd debug: trying .cue file: ../videoMix5.cue access_file debug: opening file `../videoMix5.ts' main debug: using access2 module "access_file" main debug: pre buffering main debug: received first data for our buffer main warning: backward_pts != dts (41666) main debug: prebuffering done 1408981 bytes in 0s - 222143 kbytes/s main debug: creating demux: access='' demux='' path='../videoMix5.ts' main debug: looking for demux2 module: 42 candidates main debug: looking for video filter2 module: 3 candidates ffmpeg debug: input: 320x240 I420 -> 180x144 YUVA ffmpeg debug: libavcodec already initialized main debug: using video filter2 module "ffmpeg" main warning: backward_pts != dts (41667) main warning: backward_pts != dts (41667) packetizer_mpegvideo debug: waiting for sequence start main debug: looking for video filter2 module: 3 candidates scale debug: 180x144 -> 200x150 main debug: using video filter2 module "scale" main debug: looking for video blending module: 1 candidate blend debug: chroma: YUVP -> I420 main debug: using video blending module "blend" main debug: looking for text renderer module: 2 candidates main debug: using demux2 module "ts" ts debug: DEMUX_SET_GROUP 3 00000000 main debug: starting in synch mode message warning: message queue overflowed main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (41667) main warning: backward_pts != dts (41667) main warning: backward_pts != dts (41666) main warning: backward_pts != dts (41667) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: dts != current_pts (-40000) main warning: backward_pts != dts (41667) main warning: backward_pts != dts (41666) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: vout synchro warning: pts != current_date (40000) main warning: backward_pts != dts (41667) main warning: backward_pts != dts (41667) main warning: backward_pts != dts (40000) main debug: control type=0 main debug: control: stopping input main debug: closing input ts debug: pid list: ts debug: - pid[0] seen ts debug: - pid[16] seen ts debug: - pid[32] seen main debug: Program doesn't contain anymore ES ts debug: - pid[33] seen ts debug: - pid[48] seen main debug: Program doesn't contain anymore ES ts debug: - pid[49] seen ts debug: - pid[64] seen main debug: Program doesn't contain anymore ES ts debug: - pid[65] seen main debug: removing module "packetizer_mpegvideo" main debug: killing decoder fourcc `mpgv', 0 PES in FIFO main debug: removing an input main debug: removing module "libmpeg2" main debug: removing module "ffmpeg" ts debug: - pid[68] seen main debug: removing module "mpeg_audio" main debug: killing decoder fourcc `mpga', 0 PES in FIFO main debug: removing an input main debug: Program doesn't contain anymore ES ts debug: - pid[69] seen ts debug: - pid[8191] seen main debug: removing module "ts" main debug: removing module "access_file" main debug: destroying sout main debug: destroying chain... (name=duplicate) stream_out_duplicate debug: closing a duplication main debug: destroying chain... (name=mosaic-bridge) main debug: removing module "stream_out_mosaic_bridge" main debug: destroying chain done main debug: destroying chain... (name=bridge-out) main debug: removing module "stream_out_bridge" main debug: destroying chain done main debug: removing module "stream_out_duplicate" main debug: destroying chain done main debug: thread times: real 0m6.750000s, kernel 0m0.109375s, user 0m0.375000s main debug: thread 7200 joined (src/input/input.c:390) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main debug: control type=0 main debug: control: stopping input main debug: closing input ts debug: pid list: ts debug: - pid[0] seen ts debug: - pid[16] seen ts debug: - pid[32] seen main debug: removing module "packetizer_mpegvideo" main debug: killing decoder fourcc `mpgv', 0 PES in FIFO main debug: removing an input main debug: removing module "libmpeg2" main debug: removing module "ffmpeg" main debug: Program doesn't contain anymore ES ts debug: - pid[33] seen ts debug: - pid[48] seen main debug: Program doesn't contain anymore ES ts debug: - pid[49] seen ts debug: - pid[64] seen main debug: Program doesn't contain anymore ES ts debug: - pid[65] seen ts debug: - pid[68] seen main debug: Program doesn't contain anymore ES ts debug: - pid[69] seen ts debug: - pid[8191] seen main debug: removing module "ts" main debug: removing module "access_file" main debug: destroying sout main debug: destroying chain... (name=duplicate) stream_out_duplicate debug: closing a duplication main debug: destroying chain... (name=mosaic-bridge) main debug: removing module "stream_out_mosaic_bridge" main debug: destroying chain done main debug: destroying chain... (name=bridge-out) main warning: backward_pts != dts (40000) main debug: removing module "stream_out_bridge" main debug: destroying chain done main debug: removing module "stream_out_duplicate" main debug: destroying chain done main debug: thread times: real 0m7.906250s, kernel 0m0.078125s, user 0m0.703125s main debug: thread 7680 joined (src/input/input.c:390) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: dts != current_pts (-40000) main warning: vout synchro warning: pts != current_date (40000) main warning: backward_pts != dts (40000) main debug: control type=0 main debug: control: stopping input main debug: closing input ts debug: pid list: ts debug: - pid[0] seen ts debug: - pid[16] seen ts debug: - pid[32] seen main debug: Program doesn't contain anymore ES ts debug: - pid[33] seen ts debug: - pid[48] seen main debug: removing module "packetizer_mpegvideo" main debug: killing decoder fourcc `mpgv', 0 PES in FIFO main debug: removing an input main debug: removing module "libmpeg2" main debug: removing module "ffmpeg" main debug: Program doesn't contain anymore ES ts debug: - pid[49] seen ts debug: - pid[64] seen main debug: Program doesn't contain anymore ES ts debug: - pid[65] seen ts debug: - pid[68] seen main debug: Program doesn't contain anymore ES ts debug: - pid[69] seen ts debug: - pid[8191] seen main debug: removing module "ts" main debug: removing module "access_file" main debug: destroying sout main debug: destroying chain... (name=duplicate) stream_out_duplicate debug: closing a duplication main debug: destroying chain... (name=mosaic-bridge) main debug: removing module "stream_out_mosaic_bridge" main debug: destroying chain done main debug: destroying chain... (name=bridge-out) main debug: removing module "stream_out_bridge" main debug: destroying chain done main debug: removing module "stream_out_duplicate" main debug: destroying chain done main debug: thread times: real 0m8.578125s, kernel 0m0.109375s, user 0m0.703125s main debug: thread 7676 joined (src/input/input.c:390) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main warning: backward_pts != dts (40000) main debug: control type=0 main debug: control: stopping input main debug: closing input ts debug: pid list: ts debug: - pid[0] seen ts debug: - pid[16] seen ts debug: - pid[32] seen main debug: Program doesn't contain anymore ES ts debug: - pid[33] seen ts debug: - pid[48] seen main debug: Program doesn't contain anymore ES ts debug: - pid[49] seen ts debug: - pid[64] seen main debug: removing module "packetizer_mpegvideo" main debug: killing decoder fourcc `mpgv', 0 PES in FIFO main debug: removing an input main debug: removing module "libmpeg2" main debug: removing module "ffmpeg" main debug: Program doesn't contain anymore ES ts debug: - pid[65] seen ts debug: - pid[68] seen main debug: Program doesn't contain anymore ES ts debug: - pid[69] seen ts debug: - pid[8191] seen main debug: removing module "ts" main debug: removing module "access_file" main debug: destroying sout main debug: destroying chain... (name=duplicate) stream_out_duplicate debug: closing a duplication main debug: destroying chain... (name=mosaic-bridge) main debug: removing module "stream_out_mosaic_bridge" main debug: destroying chain done main debug: destroying chain... (name=bridge-out) main debug: removing module "stream_out_bridge" main debug: destroying chain done main debug: removing module "stream_out_duplicate" main debug: destroying chain done main debug: thread times: real 0m9.406250s, kernel 0m0.078125s, user 0m0.875000s main debug: thread 7568 joined (src/input/input.c:390) main debug: control type=0 main debug: control: stopping input main debug: closing input main debug: removing module "access_fake" main debug: removing module "fake" main debug: thread times: real 0m10.718750s, kernel 0m0.015625s, user 0m0.093750s main debug: thread 7176 joined (src/input/decoder.c:191) main debug: killing decoder fourcc `fake', 0 PES in FIFO main debug: thread times: real 0m10.734375s, kernel 0m0.000000s, user 0m0.015625s main debug: thread 8260 joined (src/input/input.c:390) main debug: garbage collector destroying 1 vout main debug: removing module "blend" main debug: removing module "freetype" main debug: removing module "scale" main debug: removing module "mosaic" vout_directx debug: DirectXCloseSurface vout_directx debug: DirectXCloseDisplay vout_directx debug: DirectXCloseDisplay clipper vout_directx debug: DirectXCloseDisplay display vout_directx debug: DirectXCloseDDraw vout_directx debug: CloseVideo vout_directx debug: DirectXEventThread terminating vout_directx debug: DirectXCloseWindow vout_directx debug: WinProc WM_DESTROY main debug: thread times: real 0m10.765625s, kernel 0m0.015625s, user 0m0.031250s main debug: thread 7656 joined (directx.c:494) main debug: removing module "vout_directx" main debug: thread times: real 0m10.734375s, kernel 0m0.234375s, user 0m2.828125s main debug: thread 7632 joined (src/video_output/video_output.c:456)
[/code]

Kmer

Postby Kmer » 21 Jan 2006 09:42

OK,
I think that I solved the problem, here my new VLM configuration file:

Code: Select all

new channel1 broadcast enabled setup channel1 input "../videoMix5.ts" setup channel1 option program=1 setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=144,width=180},select=video,dst=bridge-out{id=1},select=audio} new sound broadcast enabled setup sound input "../videoMix5.ts" setup sound option program=1 setup sound option novideo setup sound option aout=esd new channel2 broadcast enabled setup channel2 input "../videoMix5.ts" setup channel2 option program=2 setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=144,width=180},select=video,dst=bridge-out{id=2},select=noaudio} new channel3 broadcast enabled setup channel3 input "../videoMix5.ts" setup channel3 option program=3 setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=144,width=180},select=video,dst=bridge-out{id=3},select=noaudio} new channel4 broadcast enabled setup channel4 input "../videoMix5.ts" setup channel4 option program=4 setup channel4 output #duplicate{dst=mosaic-bridge{id=4,height=144,width=180},select=video,dst=bridge-out{id=4},select=noaudio} new background broadcast enabled setup background input fake: setup background option #transcode{sfilter=mosaic}:bridge-in{delay=100,id-offset=100} control background play control channel1 play control channel2 play control channel3 play control channel4 play control sound play

I added a new entry sound by indicating that I do not want the video one but that I want the audio.
If I the line does not put:

Code: Select all

setup sound option novideo
VLC creates a new window which is the same that mosaic but with the video channel1 in background.

I can activate or not the audio track, it is good.

On the other hand, I always have the problem of synchronization.
I cannot stop or put in pause all the ways at the same time.
The buttons of the principal window do not have any effect.
Separately to modify the sources to synchronize all the entries, I do not see how to make.

Somebody can help me.

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

Postby dionoea » 21 Jan 2006 20:36

err ... your new configuration will only playback sound localy, which isn't really what your want to do.
the "dst=bridge-out{id=...},select=audio" part in duplicate is supposed to pass sound to the "bridge-in" part in the background stream output chain. From what you said it looks like it didn't work beforehand but i don't really understand why.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Kmer

Postby Kmer » 23 Jan 2006 10:40

I tested with another ts file in which there are four videos, all with sound associates and I have always the same result with "select=audio": I have not sound.
On the other hand for my synchronization problem, I succeeded by modifying the files "vlm_stream.cpp" and "vlm_streampanel.cpp".


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 23 guests