[SOLVED] can not stream still image using vlm

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

[SOLVED] can not stream still image using vlm

Postby zozizozu » 14 Dec 2011 08:49

Hi.
I'm trying to setup a vlm conf using still image :

Code: Select all

new test broadcast enabled setup test input /home/zozi/Documents/test/vlm/tst2_lw.jpg setup test option fake-duration=10000 setup test output #standard{access=http,mux=ts,dst=192.168.1.11:8888/test} control test play
but i got this main decoder error: cannot create packetizer output (fake) :

Code: Select all

[0x82024bc] [Média : test] main input debug: `/home/zozi/Documents/test/vlm/tst2_lw.jpg' gives access `' demux `' path `/home/zozi/Documents/test/vlm/tst2_lw.jpg' [0x82024bc] [Média : test] main input debug: creating demux: access='' demux='' path='/home/zozi/Documents/test/vlm/tst2_lw.jpg' [0x820be9c] [Média : test] main demux debug: looking for access_demux module: 8 candidates Blocked: call to setlocale(6, "") [0x820be9c] [Média : test] access_fake demux debug: still image detected with codec format jpeg [0x82024bc] [Média : test] main input debug: selecting program id=0 [0x820be9c] [Média : test] main demux debug: using access_demux module "access_fake" [0x820be9c] [Média : test] main demux debug: TIMER module_need() : 74.169 ms - Total 74.169 ms / 1 intvls (Avg 74.169 ms) [0x825ac04] [Média : test] main decoder debug: looking for packetizer module: 21 candidates [0x825ac04] [Média : test] main decoder debug: using packetizer module "packetizer_copy" [0x825ac04] [Média : test] main decoder debug: TIMER module_need() : 226.293 ms - Total 226.293 ms / 1 intvls (Avg 226.293 ms) [0x825ac04] [Média : test] main decoder debug: thread (decoder) created at priority 0 (input/decoder.c:301) [0x825ac04] [Média : test] main decoder debug: thread started [0x82024bc] [Média : test] main input debug: starting in async mode [0x8270964] [Média : test] main demux meta debug: looking for meta reader module: 2 candidates [0x8270964] [Média : test] lua demux meta debug: Trying Lua scripts in /home/zozi/.local/share/vlc/lua/meta/reader [0x8270964] [Média : test] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x8270964] [Média : test] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x8270964] [Média : test] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x8270964] [Média : test] main demux meta debug: no meta reader module matching "any" could be loaded [0x8270964] [Média : test] main demux meta debug: TIMER module_need() : 1.772 ms - Total 1.772 ms / 1 intvls (Avg 1.772 ms) [0x82024bc] [Média : test] main input debug: `/home/zozi/Documents/test/vlm/tst2_lw.jpg' successfully opened [0x82024bc] [Média : test] main input debug: Buffering 0% [0x82024bc] [Média : test] main input debug: switching to sync mode [0x82024bc] [Média : test] main input debug: Buffering 13% [0x820b144] [Média : test] main stream output debug: adding a new sout input (sout_input:0x827c6e8) [0x821413c] [Média : test] main mux debug: adding a new input [0x821413c] [Média : test] mux_ts mux debug: adding input codec=fake pid=68 [0x821413c] [Média : test] main mux error: cannot add this stream [0x825ac04] [Média : test] main decoder error: cannot create packetizer output (fake) Warning: call to srand(1324193558) Warning: call to rand() [0x82024bc] [Média : test] main input debug: Buffering 26% [0x82024bc] [Média : test] main input debug: Buffering 40% Blocked: call to setlocale(6, "") (process:5470): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. [0x82024bc] [Média : test] main input debug: Buffering 53% [0x82024bc] [Média : test] main input debug: Buffering 66% [0x82024bc] [Média : test] main input debug: Buffering 80% [0x82024bc] [Média : test] main input debug: Buffering 93% [0x82024bc] [Média : test] main input debug: Stream buffering done (320 ms in 320 ms) [0x82024bc] [Média : test] main input debug: Decoder buffering done in 0 ms [0x837d34c] main generic debug: looking for extension module: 1 candidate [0x837d34c] lua generic debug: Opening EXPERIMENTAL Lua Extension module [0x837d34c] lua generic debug: Trying Lua scripts in /home/zozi/.local/share/vlc/lua/extensions [0x837d34c] lua generic debug: Trying Lua scripts in /usr/lib/vlc/lua/extensions [0x837d34c] lua generic debug: Trying Lua playlist script /usr/lib/vlc/lua/extensions/allocine-fr.luac [0x837d34c] lua generic debug: Scanning Lua script /usr/lib/vlc/lua/extensions/allocine-fr.luac [0x837d34c] lua generic debug: Script /usr/lib/vlc/lua/extensions/allocine-fr.luac has the following capability flags: 0xc [0x837d34c] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extension/home/zozi/Documents/test/vlm/tst2_lw.jpgs [0x837d34c] main generic debug: using extension module "lua" [0x837d34c] main generic debug: TIMER module_need() : 0.971 ms - Total 0.971 ms / 1 intvls (Avg 0.971 ms) [0x820f334] main interface debug: using interface module "qt4" [0x820f334] main interface debug: TIMER module_need() : 819.487 ms - Total 819.487 ms / 1 intvls (Avg 819.487 ms) Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() [0x812915c] main libvlc debug: deactivating the playlist [0x8201604] main playlist debug: Deactivate [0x84c33d4] main playlist export debug: saving Bibliothèque to file /home/zozi/.local/share/vlc/ml.xspf [0x820f334] qt4 interface debug: Exec finished() [0x820f334] qt4 interface debug: Video is not needed anymore [0x84c33d4] main playlist export debug: looking for playlist export module: 1 candidate [0x820f334] qt4 interface debug: Killing extension dialog provider [0x820f334] qt4 interface debug: ExtensionsDialogProvider is quitting... [0x837d34c] lua generic debug: Deactivating all loaded extensions [0x837d34c] lua generic debug: All extensions are now deactivated [0x837d34c] main generic debug: removing module "lua" [0x84c33d4] main playlist export debug: using playlist export module "export" [0x84c33d4] main playlist export debug: TIMER module_need() : 21.587 ms - Total 21.587 ms / 1 intvls (Avg 21.587 ms) [0x84c33d4] main playlist export debug: removing module "export" [0x8201604] main playlist debug: Deactivated [0x812915c] main libvlc debug: removing all services discovery tasks [0x812915c] main libvlc debug: removing all interfaces [0x820f334] qt4 interface debug: requesting exit... [0x820f334] qt4 interface debug: waiting for UI thread... [0x820f334] main interface debug: removing module "qt4" [0x821278c] main interface debug: removing module "globalhotkeys" [0x820dde4] main interface debug: removing module "signals" [0x820bad4] main interface debug: removing module "inhibit" [0xb7300624] main interface debug: removing module "hotkeys" [0x82024bc] [Média : test] main input debug: control type=0 [0x82024bc] [Média : test] main input debug: control: stopping input [0x825ac04] [Média : test] main decoder debug: removing module "packetizer_copy" [0x825ac04] [Média : test] main decoder debug: killing decoder fourcc `fake', 0 PES in FIFO [0x820be9c] [Média : test] main demux debug: removing module "access_fake" [0x82024bc] [Média : test] main input debug: Program doesn't contain anymore ES [0x82024bc] [Média : test] main input debug: thread ended [0x820b394] main stream out debug: destroying chain... (name=standard) [0x821413c] main mux debug: removing module "mux_ts" [0xb7301994] main http server debug: waitpipe: object killed [0xb7301994] main http server debug: HTTP host removed [0xb73018f4] main http server debug: no hosts left, stopping httpd [0xb730265c] access_output_http access out debug: Close [0xb730265c] main access out debug: removing module "access_output_http" [0x820b394] main stream out debug: removing module "stream_out_standard" [0x820b394] main stream out debug: destroying chain done [0x82024bc] [Média : test] main input debug: TIMER input launching for 'tst2_lw.jpg' : 346.345 ms - Total 346.345 ms / 1 intvls (Avg 346.345 ms) [0x8201604] main playlist debug: destroying [0x812915c] main libvlc debug: TIMER ML Load : Total 38.623 ms / 1 intvls (Avg 38.623 ms) [0x812915c] main libvlc debug: TIMER Items array build : Total 0.041 ms / 1 intvls (Avg 0.041 ms) [0x812915c] main libvlc debug: TIMER ML Dump : Total 21.817 ms / 1 intvls (Avg 21.817 ms) [0x812915c] main libvlc debug: removing stats [0x812915c] main libvlc debug: removing module "memcpymmxext"
Of course vlc fake:// --fake-file=/home/zozi/Documents/test/vlm/tst2_lw.jpg --fake-duration=10000 --sout '#standard{access=http,mux=asf,dst=192.168.1.11:8888/test}' works perfectly. I also try with other format (png, ...)

Am i doing something wrong ?

Thanks.
Last edited by zozizozu on 29 Dec 2011 14:43, edited 1 time in total.

zozizozu
Blank Cone
Blank Cone
Posts: 62
Joined: 26 Jul 2009 18:18

Re: can not stream still image using vlm

Postby zozizozu » 29 Dec 2011 14:43

Hi, it looks it works perfectly with vlc 1.2 , great, thanks team.

ps: it seam to works only while transcoding :

setup test output #transcode{...}:standard{...} is working
setup test output #standard{...} is not working

Thanks again, happy new year.


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 2 guests