VLC mosaic video stops after 3 seconds !
Posted: 29 May 2012 13:08
Hi all
I have several input streaming sources such as{ udp://@10.1.1.217:2000 that I can play them. I want to make a unique mosaic video from them and stream the result to a destination such as 127.0.0.1:5000. I used vlm config file and vlc commands as bellow. Stream is Ok and I can see the result but after 3 seconds it stops.
this is my vlm configuration file:
and this is my command:
this is logs when vlc with mosaic starts:
and when program terminates by ctrl+C:
I use ubuntu 11.10 and vlc 1.1.12
can anyone tell me why!?
I have several input streaming sources such as{ udp://@10.1.1.217:2000 that I can play them. I want to make a unique mosaic video from them and stream the result to a destination such as 127.0.0.1:5000. I used vlm config file and vlc commands as bellow. Stream is Ok and I can see the result but after 3 seconds it stops.
this is my vlm configuration file:
Code: Select all
new channel1 broadcast enabled
setup channel1 input udp://@224.11.11.11:2002
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=244,width=280},select=video,dst=bridge-out{id=1},select=audio}
new channel2 broadcast enabled
setup channel2 input udp://@10.1.1.217:2005
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=244,width=280},select=video,dst=bridge-out{id=2},select=audio}
new channel3 broadcast enabled
setup channel3 input udp://@10.1.1.217:2006
setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=244,width=280},select=video,dst=bridge-out{id=3},select=audio}
new background broadcast enabled
setup background input /home/samim/Desktop/Mozayik/mosaic/mosaic.png
setup background output #transcode{sfilter=mosaic,vcodec=mp2v,vb=10000,scale=1}:bridge-in{delay=400,id-offset=100}:standard{access=udp,mux=ts,dst=127.0.0.1:5000,sap,name="mosaic"}
control background play
control channel1 play
control channel2 play
control channel3 play
Code: Select all
vlc --color -I telnet --vlm-conf mosaic3.vlm --ttl 12 --fake-file mosaic.png --fake-aspect-ratio "4:3" --mosaic-width 640 --mosaic-height 480 --udp-caching 800 --mosaic-keep-picture --mosaic-rows 2 --mosaic-cols 2 --mosaic-position 1 --mosaic-order 1,2,3,4
Code: Select all
VLC media player 1.1.12 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x90601d4] [telnet] lua interface: Listening on host "localhost:4212".
libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 0) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 0) for PID 66
[0x9065264] [Media: channel3] ts demux error: MPEG-4 descriptor not found
[0x906622c] [Media: channel3] packetizer_mpeg4audio decoder: AAC channels: 2 samplerate: 44100
libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 0) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 0) for PID 66
libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for PID 66
[0x9093e14] [Media: background] main filter error: couldn't set priority of non-existent thread
Code: Select all
[0xb6423f04] signals interface error: Caught Interrupt signal, exiting...
[0x9014b5c] [Media: channel1] main stream error: cannot pre fill buffer
can anyone tell me why!?