I use now:
@ player side: VLC mediaplayer 1.1.0-RC4 The Luggage
@ encoder side:
Code: Select all
commandline@ks30683:~$ vlc clap.mp4 --sout-mux-caching=3000 --ttl 12 -vvv --sout-keep --sout '#transcode{vcodec=VP80,vb=300,acodec=vorb,ab=96}:std{access=http,mux=ffmpeg{mux=webm},url=:8080}'
VLC media player 1.1.0-rc4 The Luggage (revision exported)
[0x91e1928] main libvlc debug: VLC media player - 1.1.0-rc4 The Luggage
[0x91e1928] main libvlc debug: Copyright © 1996-2010 the VideoLAN team
[0x91e1928] main libvlc debug: revision exported
[0x91e1928] main libvlc debug: configured with ./configure '--prefix=/usr' '--enable-x11' '--enable-xvideo' '--disable-gtk' '--enable-sdl' '--enable-avcodec' '--enable-avformat' '--enable-swscale' '--enable-mad' '--enable-a52' '--enable-libmpeg2' '--enable-dvdnav' '--enable-faad' '--enable-vorbis' '--enable-ogg' '--enable-theora' '--enable-faac' '--enable-mkv' '--enable-freetype' '--enable-fribidi' '--enable-speex' '--enable-flac' '--enable-caca' '--enable-alsa' '--disable-kde' '--enable-ncurses' '--enable-release' '--enable-debug' '--disable-mozilla' '--disable-nls' '--disable-glx' '--disable-skins2' '--enable-ffmpeg' '--enable-libdvbpsi' '--disable-mad' '--enable-httpd' '--disable-swscale'
[0x91e1928] main libvlc debug: translation test: code is "C"
[0x91e1928] main libvlc debug: checking plugin modules
[0x91e1928] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins-04041e-e8.dat
[0x91e1928] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0x91e1928] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins-04041e-e8.dat
[0x91e1928] main libvlc debug: module bank initialized (350 modules)
[0x91e1928] main libvlc debug: opening config file (/home/menno/.config/vlc/vlcrc)
[0x91e1928] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 FPU
[0x91e1928] main libvlc debug: looking for memcpy module: 3 candidates
[0x91e1928] main libvlc debug: using memcpy module "memcpymmxext"
[0x9279d30] main input debug: Creating an input for 'Media Library'
[0x9279d30] main input debug: Input is a meta file: disabling unneeded options
[0x9279d30] main input debug: using timeshift granularity of 50 MiB
[0x9279d30] main input debug: using timeshift path '/tmp'
[0x9279d30] main input debug: `file/xspf-open:///home/menno/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/menno/.local/share/vlc/ml.xspf'
[0x9279d30] main input debug: creating demux: access='file' demux='xspf-open' path='/home/menno/.local/share/vlc/ml.xspf'
[0x92786c8] main demux debug: looking for access_demux module: 1 candidate
[0x92786c8] main demux debug: no access_demux module matching "file" could be loaded
[0x92786c8] main demux debug: TIMER module_need() : 1.054 ms - Total 1.054 ms / 1 intvls (Avg 1.054 ms)
[0x9279d30] main input debug: creating access 'file' path='/home/menno/.local/share/vlc/ml.xspf'
[0x9278c48] main access debug: looking for access module: 2 candidates
[0x9278c48] filesystem access debug: opening file `/home/menno/.local/share/vlc/ml.xspf'
[0x9278c48] main access debug: using access module "filesystem"
[0x9278c48] main access debug: TIMER module_need() : 1.723 ms - Total 1.723 ms / 1 intvls (Avg 1.723 ms)
[0x92795f8] main stream debug: Using AStream*Stream
[0x92795f8] main stream debug: pre buffering
[0x92795f8] main stream debug: received first data after 0 ms
[0x92795f8] main stream debug: pre-buffering done 296 bytes in 0s - 565 KiB/s
[0x9261d40] main stream debug: looking for stream_filter module: 5 candidates
[0x9261d40] main stream debug: no stream_filter module matching "any" could be loaded
[0x9261d40] main stream debug: TIMER module_need() : 2.424 ms - Total 2.424 ms / 1 intvls (Avg 2.424 ms)
[0x9261d08] main stream debug: looking for stream_filter module: 1 candidate
[0x9261d08] main stream debug: using stream_filter module "stream_filter_record"
[0x9261d08] main stream debug: TIMER module_need() : 1.345 ms - Total 1.345 ms / 1 intvls (Avg 1.345 ms)
[0x9279d30] main input debug: creating demux: access='file' demux='xspf-open' path='/home/menno/.local/share/vlc/ml.xspf'
[0x9262410] main demux debug: looking for demux module: 1 candidate
[0x9262410] playlist demux debug: using XSPF playlist reader
[0x9262410] main demux debug: using demux module "playlist"
[0x9262410] main demux debug: TIMER module_need() : 1.246 ms - Total 1.246 ms / 1 intvls (Avg 1.246 ms)
[0x92629b8] main demux meta debug: looking for meta reader module: 1 candidate
[0x92629b8] lua demux meta debug: Trying Lua scripts in /home/menno/.local/share/vlc/lua/meta/reader
[0x92629b8] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0x92629b8] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0x92629b8] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0x92629b8] main demux meta debug: no meta reader module matching "any" could be loaded
[0x92629b8] main demux meta debug: TIMER module_need() : 4.947 ms - Total 4.947 ms / 1 intvls (Avg 4.947 ms)
[0x9279d30] main input debug: `file/xspf-open:///home/menno/.local/share/vlc/ml.xspf' successfully opened
[0x92629b8] main xml debug: looking for xml module: 2 candidates
[0x92629b8] main xml debug: using xml module "xml"
[0x92629b8] main xml debug: TIMER module_need() : 2.428 ms - Total 2.428 ms / 1 intvls (Avg 2.428 ms)
[0x9262410] playlist demux debug: parsed 0 tracks successfully
[0x92629b8] main xml debug: removing module "xml"
[0x9279d30] main input debug: EOF reached
[0x9262410] main demux debug: removing module "playlist"
[0x9261d08] main stream debug: removing module "stream_filter_record"
[0x9278c48] main access debug: removing module "filesystem"
[0x9279d30] main input debug: Destroying the input for 'Media Library'
[0x9279d30] main input debug: TIMER input launching for 'Media Library' : 16.285 ms - Total 16.285 ms / 1 intvls (Avg 16.285 ms)
[0x9265078] main interface debug: looking for interface module: 1 candidate
[0x9265078] main interface debug: using interface module "hotkeys"
[0x9265078] main interface debug: TIMER module_need() : 1.485 ms - Total 1.485 ms / 1 intvls (Avg 1.485 ms)
[0x9265570] main interface debug: looking for interface module: 1 candidate
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
vlc(unsetenv+0x5b)[0x80499fb]
/lib/libdbus-1.so.3(+0x2be48)[0xbb5e48]
/lib/libdbus-1.so.3(+0x9f06)[0xb93f06]
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
vlc(unsetenv+0x5b)[0x80499fb]
/lib/libdbus-1.so.3(+0x2be48)[0xbb5e48]
/lib/libdbus-1.so.3(+0xa056)[0xb94056]
[0x9265570] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
[0x9265570] main interface debug: no interface module matching "inhibit,none" could be loaded
[0x9265570] main interface debug: TIMER module_need() : 8.651 ms - Total 8.651 ms / 1 intvls (Avg 8.651 ms)
[0x9265570] main interface error: no suitable interface module
[0x9279790] main playlist debug: Activated
[0x9279790] main playlist debug: adding item `clap.mp4' ( file:///home/menno/clap.mp4 )
[0x9267a78] main interface debug: looking for interface module: 1 candidate
[0x9267a78] main interface debug: using interface module "signals"
[0x9267a78] main interface debug: TIMER module_need() : 1.866 ms - Total 1.866 ms / 1 intvls (Avg 1.866 ms)
[0x9266698] main interface debug: looking for interface module: 0 candidates
[0x9266698] main interface debug: no interface module matched "globalhotkeys,none"
[0x9266698] main interface debug: TIMER module_need() : 0.521 ms - Total 0.521 ms / 1 intvls (Avg 0.521 ms)
[0x9266698] main interface error: no suitable interface module
[0x91e1928] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x91e1928] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x9266698] main interface debug: looking for interface module: 4 candidates
[0x92628f0] main input debug: Creating an input for 'clap.mp4'
[0x9279790] main playlist debug: rebuilding array of current - root Playlist
[0x9279790] main playlist debug: rebuild done - 1 items, index -1
[0x9266698] qt4 interface error: Could not connect to X server
[0x9266698] lua interface debug: Found lua interface script: /usr/lib/vlc/lua/intf/rc.luac
[0x9266698] [rc] main interface debug: using interface module "lua"
[0x9266698] [rc] main interface debug: TIMER module_need() : 52.141 ms - Total 52.141 ms / 1 intvls (Avg 52.141 ms)
[0x9279790] main playlist debug: processing request item null node Playlist skip 0
[0x9279790] main playlist debug: starting new item
[0x9279790] main playlist debug: creating new input thread
[0x92706b8] main input debug: Creating an input for 'clap.mp4'
[0x92706b8] main input debug: thread (input) created at priority 10 (input/input.c:214)
[0x9279790] main playlist debug: no fetch required for (null) (art currently (null))
[0x92706b8] main input debug: thread started
[0x927ab90] main stream output debug: using sout chain=`transcode{vcodec=VP80,vb=300,acodec=vorb,ab=96}:std{access=http,mux=ffmpeg{mux=webm},url=:8080}'
[0x927ab90] main stream output debug: stream=`std'
[0x9267190] main stream out debug: looking for sout stream module: 1 candidate
[0x9267190] main stream out debug: set config option: sout-standard-access to http
[0x9267190] main stream out debug: set config option: sout-standard-mux to ffmpeg{mux=webm}
[0x9267190] main stream out debug: set config option: sout-standard-url to :8080
[0x9267190] stream_out_standard stream out debug: creating `http/ffmpeg{mux=webm}://(null)'
[0x9267190] stream_out_standard stream out debug: using `http/ffmpeg{mux=webm}://(null)'
[0x9272440] main access out debug: looking for sout access module: 1 candidate
[0x9266698] [rc] lua interface: Listening on host "*console".
[0x9272440] main access out: creating httpd
[0x9272440] main access out debug: net: listening to port 8080
[0x9272440] main access out debug: using sout access module "access_output_http"
[0x9272440] main access out debug: TIMER module_need() : 6.779 ms - Total 6.779 ms / 1 intvls (Avg 6.779 ms)
[0x9267190] stream_out_standard stream out debug: access opened
[0x92946a0] main mux debug: looking for sout mux module: 1 candidate
VLC media player 1.1.0-rc4 The Luggage
Remote control interface initialized. Type `help' for help.
> [0x92946a0] main mux debug: set config option: ffmpeg-mux to webm
[0x92946a0] main mux debug: using sout mux module "avformat"
[0x92946a0] main mux debug: TIMER module_need() : 39.574 ms - Total 39.574 ms / 1 intvls (Avg 39.574 ms)
[0x9267190] stream_out_standard stream out debug: mux opened
[0x9267190] main stream out debug: using sout stream module "stream_out_standard"
[0x9267190] main stream out debug: TIMER module_need() : 48.396 ms - Total 48.396 ms / 1 intvls (Avg 48.396 ms)
[0x927ab90] main stream output debug: stream=`transcode'
[0x9298cb8] main stream out debug: looking for sout stream module: 1 candidate
[0x9298cb8] main stream out debug: set config option: sout-transcode-vcodec to VP80
[0x9298cb8] main stream out debug: set config option: sout-transcode-vb to 300
[0x9298cb8] main stream out debug: set config option: sout-transcode-acodec to vorb
[0x9298cb8] main stream out debug: set config option: sout-transcode-ab to 96
[0x9298cb8] stream_out_transcode stream out debug: codec audio=vorb 0Hz 0 channels 96Kb/s
[0x9298cb8] stream_out_transcode stream out debug: codec video=VP80 0x0 scaling: 0.000000 300kb/s
[0x9298cb8] main stream out debug: using sout stream module "stream_out_transcode"
[0x9298cb8] main stream out debug: TIMER module_need() : 2.568 ms - Total 2.568 ms / 1 intvls (Avg 2.568 ms)
[0x92706b8] main input debug: using timeshift granularity of 50 MiB
[0x92706b8] main input debug: using timeshift path '/tmp'
[0x92706b8] main input debug: `file:///home/menno/clap.mp4' gives access `file' demux `' path `/home/menno/clap.mp4'
[0x92706b8] main input debug: creating demux: access='file' demux='' path='/home/menno/clap.mp4'
[0x92951f8] main demux debug: looking for access_demux module: 1 candidate
[0x92951f8] main demux debug: no access_demux module matching "file" could be loaded
[0x92951f8] main demux debug: TIMER module_need() : 0.562 ms - Total 0.562 ms / 1 intvls (Avg 0.562 ms)
[0x92706b8] main input debug: creating access 'file' path='/home/menno/clap.mp4'
[0x92952e8] main access debug: looking for access module: 2 candidates
[0x92952e8] filesystem access debug: opening file `/home/menno/clap.mp4'
[0x92952e8] main access debug: using access module "filesystem"
[0x92952e8] main access debug: TIMER module_need() : 0.721 ms - Total 0.721 ms / 1 intvls (Avg 0.721 ms)
[0x9295498] main stream debug: Using AStream*Stream
[0x9295498] main stream debug: pre buffering
[0x9295498] main stream debug: received first data after 0 ms
[0x9295498] main stream debug: pre-buffering done 1024 bytes in 0s - 10000 KiB/s
[0x9295748] main stream debug: looking for stream_filter module: 5 candidates
[0x9295748] main stream debug: no stream_filter module matching "any" could be loaded
[0x9295748] main stream debug: TIMER module_need() : 0.529 ms - Total 0.529 ms / 1 intvls (Avg 0.529 ms)
[0x9295748] main stream debug: looking for stream_filter module: 1 candidate
[0x9295748] main stream debug: using stream_filter module "stream_filter_record"
[0x9295748] main stream debug: TIMER module_need() : 0.986 ms - Total 0.986 ms / 1 intvls (Avg 0.986 ms)
[0x92706b8] main input debug: creating demux: access='file' demux='' path='/home/menno/clap.mp4'
[0x92958e8] main demux debug: looking for demux module: 49 candidates
[0x9295748] mp4 stream debug: found Box: ftyp size 28
[0x9295748] mp4 stream debug: found Box: moov size 81480
[0x9295748] mp4 stream debug: found Box: mvhd size 108
[0x9295748] mp4 stream debug: read box: "mvhd" creation 733801d-45h:43m:29s modification 733801d-45h:43m:29s time scale 600 duration 694977d-48h:00m:02s rate 1.000000 volume 1.000000 next track id 3
[0x9295748] mp4 stream debug: found Box: iods size 21
[0x9295748] mp4 stream warning: unknown box type iods (incompletely loaded)
[0x9295748] mp4 stream debug: found Box: trak size 44641
[0x9295748] mp4 stream debug: found Box: tkhd size 92
[0x9295748] mp4 stream debug: read box: "tkhd" creation 733801d-45h:43m:29s modification 733801d-45h:43m:29s duration -1273727206d-36h:07m:28s track ID 1 layer 0 volume 1.000000 width 0.000000 height 0.000000
[0x9295748] mp4 stream debug: found Box: mdia size 44541
[0x9295748] mp4 stream debug: found Box: mdhd size 32
[0x9295748] mp4 stream debug: read box: "mdhd" creation 733801d-45h:43m:29s modification 733801d-45h:43m:29s time scale 44100 duration 695102d-52h:35m:12s language und
[0x9295748] mp4 stream debug: found Box: hdlr size 66
[0x9295748] mp4 stream debug: read box: "hdlr" handler type soun name (C) 2007 Google Inc. v08.13.2007.
[0x9295748] mp4 stream debug: found Box: minf size 44435
[0x9295748] mp4 stream debug: found Box: smhd size 16
[0x9295748] mp4 stream debug: read box: "smhd" balance 0.000000
[0x9295748] mp4 stream debug: found Box: dinf size 36
[0x9295748] mp4 stream debug: found Box: dref size 28
[0x9295748] mp4 stream debug: found Box: url size 12
[0x9295748] mp4 stream debug: read box: "url" url: (null)
[0x9295748] mp4 stream debug: read box: "dref" entry-count 1
[0x9295748] mp4 stream debug: found Box: stbl size 44375
[0x9295748] mp4 stream debug: found Box: stsd size 91
[0x9295748] mp4 stream debug: found Box: mp4a size 75
[0x9295748] mp4 stream debug: read box: "soun" mp4 or qt1/2 (rest=39)
[0x9295748] mp4 stream debug: found Box: esds size 39
[0x9295748] mp4 stream debug: found esds MPEG4ESDescr (25Bytes)
[0x9295748] mp4 stream debug: found esds MP4DecConfigDescr (17Bytes)
[0x9295748] mp4 stream debug: found esds MP4DecSpecificDescr (2Bytes)
[0x9295748] mp4 stream debug: read box: "soun" in stsd channel 2 sample size 16 sample rate 44100.000000
[0x9295748] mp4 stream debug: read box: "stsd" entry-count 1
[0x9295748] mp4 stream debug: found Box: stts size 24
[0x9295748] mp4 stream debug: read box: "stts" entry-count 1
[0x9295748] mp4 stream debug: found Box: stsc size 40
[0x9295748] mp4 stream debug: read box: "stsc" entry-count 2
[0x9295748] mp4 stream debug: found Box: stsz size 42272
[0x9295748] mp4 stream debug: read box: "stsz" sample-size 0 sample-count 10563
[0x9295748] mp4 stream debug: found Box: stco size 1940
[0x9295748] mp4 stream debug: read box: "co64" entry-count 481
[0x9295748] mp4 stream debug: found Box: trak size 35946
[0x9295748] mp4 stream debug: found Box: tkhd size 92
[0x9295748] mp4 stream debug: read box: "tkhd" creation 733801d-45h:43m:29s modification 733801d-45h:43m:29s duration -1273528365d-02h:00m:32s track ID 2 layer 0 volume 0.000000 width 480.000000 height 360.000000
[0x9295748] mp4 stream debug: found Box: mdia size 35846
[0x9295748] mp4 stream debug: found Box: mdhd size 32
[0x9295748] mp4 stream debug: read box: "mdhd" creation 733801d-45h:43m:29s modification 733801d-45h:43m:29s time scale 30000 duration 695062d-51h:59m:11s language und
[0x9295748] mp4 stream debug: found Box: hdlr size 66
[0x9295748] mp4 stream debug: read box: "hdlr" handler type vide name (C) 2007 Google Inc. v08.13.2007.
[0x9295748] mp4 stream debug: found Box: minf size 35740
[0x9295748] mp4 stream debug: found Box: vmhd size 20
[0x9295748] mp4 stream debug: read box: "vmhd" graphics-mode 0 opcolor (0, 0, 0)
[0x9295748] mp4 stream debug: found Box: dinf size 36
[0x9295748] mp4 stream debug: found Box: dref size 28
[0x9295748] mp4 stream debug: found Box: url size 12
[0x9295748] mp4 stream debug: read box: "url" url: (null)
[0x9295748] mp4 stream debug: read box: "dref" entry-count 1
[0x9295748] mp4 stream debug: found Box: stbl size 35676
[0x9295748] mp4 stream debug: found Box: stsd size 168
[0x9295748] mp4 stream debug: found Box: avc1 size 152
[0x9295748] mp4 stream debug: found Box: avcC size 46
[0x9295748] mp4 stream debug: read box: "avcC" version=1 profile=0x42 level=0x1e length size=2 sps=1 pps=1
[0x9295748] mp4 stream debug: - sps[0] length=23
[0x9295748] mp4 stream debug: - pps[0] length=4
[0x9295748] mp4 stream debug: found Box: btrt size 20
[0x9295748] mp4 stream warning: unknown box type btrt (incompletely loaded)
[0x9295748] mp4 stream debug: read box: "vide" in stsd 480x360 depth 24
[0x9295748] mp4 stream debug: read box: "stsd" entry-count 1
[0x9295748] mp4 stream debug: found Box: stts size 24
[0x9295748] mp4 stream debug: read box: "stts" entry-count 1
[0x9295748] mp4 stream debug: found Box: stss size 508
[0x9295748] mp4 stream debug: read box: "stss" entry-count 123
[0x9295748] mp4 stream debug: found Box: stsc size 3604
[0x9295748] mp4 stream debug: read box: "stsc" entry-count 299
[0x9295748] mp4 stream debug: found Box: stsz size 29424
[0x9295748] mp4 stream debug: read box: "stsz" sample-size 0 sample-count 7351
[0x9295748] mp4 stream debug: found Box: stco size 1940
[0x9295748] mp4 stream debug: read box: "co64" entry-count 481
[0x9295748] mp4 stream debug: found Box: udta size 756
[0x9295748] mp4 stream debug: found Box: meta size 748
[0x9295748] mp4 stream debug: found Box: hdlr size 33
[0x9295748] mp4 stream debug: read box: "hdlr" handler type mdir name
[0x9295748] mp4 stream debug: found Box: ilst size 703
[0x9295748] mp4 stream debug: found Box: gsst size 25
[0x9295748] mp4 stream warning: unknown box type gsst (incompletely loaded)
[0x9295748] mp4 stream debug: found Box: gstd size 30
[0x9295748] mp4 stream warning: unknown box type gstd (incompletely loaded)
[0x9295748] mp4 stream debug: found Box: gssd size 56
[0x9295748] mp4 stream warning: unknown box type gssd (incompletely loaded)
[0x9295748] mp4 stream debug: found Box: gspu size 152
[0x9295748] mp4 stream warning: unknown box type gspu (incompletely loaded)
[0x9295748] mp4 stream debug: found Box: gspm size 152
[0x9295748] mp4 stream warning: unknown box type gspm (incompletely loaded)
[0x9295748] mp4 stream debug: found Box: gshh size 280
[0x9295748] mp4 stream warning: unknown box type gshh (incompletely loaded)
[0x9295748] mp4 stream debug: found Box: mdat size 16553284
[0x9295748] mp4 stream debug: skip box: "mdat"
[0x9295748] mp4 stream debug: dumping root Box "root"
[0x9295748] mp4 stream debug: | + ftyp size 28
[0x9295748] mp4 stream debug: | + moov size 81480
[0x9295748] mp4 stream debug: | | + mvhd size 108
[0x9295748] mp4 stream debug: | | + iods size 21
[0x9295748] mp4 stream debug: | | + trak size 44641
[0x9295748] mp4 stream debug: | | | + tkhd size 92
[0x9295748] mp4 stream debug: | | | + mdia size 44541
[0x9295748] mp4 stream debug: | | | | + mdhd size 32
[0x9295748] mp4 stream debug: | | | | + hdlr size 66
[0x9295748] mp4 stream debug: | | | | + minf size 44435
[0x9295748] mp4 stream debug: | | | | | + smhd size 16
[0x9295748] mp4 stream debug: | | | | | + dinf size 36
[0x9295748] mp4 stream debug: | | | | | | + dref size 28
[0x9295748] mp4 stream debug: | | | | | | | + url size 12
[0x9295748] mp4 stream debug: | | | | | + stbl size 44375
[0x9295748] mp4 stream debug: | | | | | | + stsd size 91
[0x9295748] mp4 stream debug: | | | | | | | + mp4a size 75
[0x9295748] mp4 stream debug: | | | | | | | | + esds size 39
[0x9295748] mp4 stream debug: | | | | | | + stts size 24
[0x9295748] mp4 stream debug: | | | | | | + stsc size 40
[0x9295748] mp4 stream debug: | | | | | | + stsz size 42272
[0x9295748] mp4 stream debug: | | | | | | + stco size 1940
[0x9295748] mp4 stream debug: | | + trak size 35946
[0x9295748] mp4 stream debug: | | | + tkhd size 92
[0x9295748] mp4 stream debug: | | | + mdia size 35846
[0x9295748] mp4 stream debug: | | | | + mdhd size 32
[0x9295748] mp4 stream debug: | | | | + hdlr size 66
[0x9295748] mp4 stream debug: | | | | + minf size 35740
[0x9295748] mp4 stream debug: | | | | | + vmhd size 20
[0x9295748] mp4 stream debug: | | | | | + dinf size 36
[0x9295748] mp4 stream debug: | | | | | | + dref size 28
[0x9295748] mp4 stream debug: | | | | | | | + url size 12
[0x9295748] mp4 stream debug: | | | | | + stbl size 35676
[0x9295748] mp4 stream debug: | | | | | | + stsd size 168
[0x9295748] mp4 stream debug: | | | | | | | + avc1 size 152
[0x9295748] mp4 stream debug: | | | | | | | | + avcC size 46
[0x9295748] mp4 stream debug: | | | | | | | | + btrt size 20
[0x9295748] mp4 stream debug: | | | | | | + stts size 24
[0x9295748] mp4 stream debug: | | | | | | + stss size 508
[0x9295748] mp4 stream debug: | | | | | | + stsc size 3604
[0x9295748] mp4 stream debug: | | | | | | + stsz size 29424
[0x9295748] mp4 stream debug: | | | | | | + stco size 1940
[0x9295748] mp4 stream debug: | | + udta size 756
[0x9295748] mp4 stream debug: | | | + meta size 748
[0x9295748] mp4 stream debug: | | | | + hdlr size 33
[0x9295748] mp4 stream debug: | | | | + ilst size 703
[0x9295748] mp4 stream debug: | | | | | + gsst size 25
[0x9295748] mp4 stream debug: | | | | | + gstd size 30
[0x9295748] mp4 stream debug: | | | | | + gssd size 56
[0x9295748] mp4 stream debug: | | | | | + gspu size 152
[0x9295748] mp4 stream debug: | | | | | + gspm size 152
[0x9295748] mp4 stream debug: | | | | | + gshh size 280
[0x9295748] mp4 stream debug: | + mdat size 16553284
[0x92958e8] mp4 demux debug: unrecognized major file specification (mp42).
[0x92958e8] mp4 demux debug: found 2 tracks
[0x92958e8] mp4 demux debug: track[Id 0x1] read 481 chunk
[0x92958e8] mp4 demux debug: track[Id 0x1] read 10563 samples length:245s
[0x92706b8] main input debug: selecting program id=0
[0x92958e8] mp4 demux debug: adding track[Id 0x1] audio (enable) language undef
[0x92958e8] mp4 demux debug: track[Id 0x2] read 481 chunk
[0x92958e8] mp4 demux debug: track[Id 0x2] read 7351 samples length:245s
[0x92958e8] mp4 demux debug: adding track[Id 0x2] video (enable) language undef
[0x92958e8] main demux debug: using demux module "mp4"
[0x92958e8] main demux debug: TIMER module_need() : 16.296 ms - Total 16.296 ms / 1 intvls (Avg 16.296 ms)
[0x92958e8] mp4 demux warning: control query 14 unimplemented
[0x92706b8] main input debug: looking for a subtitle file in /home/menno/
[0x92a3038] main decoder debug: looking for packetizer module: 21 candidates
[0x92a3038] packetizer_mpeg4audio decoder debug: running MPEG4 audio packetizer
[0x92a3038] packetizer_mpeg4audio decoder debug: AAC 44100Hz 1024 samples/frame
[0x92a3038] main decoder debug: using packetizer module "packetizer_mpeg4audio"
[0x92a3038] main decoder debug: TIMER module_need() : 10.201 ms - Total 10.201 ms / 1 intvls (Avg 10.201 ms)
[0x92a3038] main decoder debug: thread (decoder) created at priority 5 (input/decoder.c:301)
[0x92a3038] main decoder debug: thread started
[0x92f21d8] main decoder debug: looking for packetizer module: 21 candidates
[0x92f21d8] packetizer_h264 decoder debug: found NAL_SPS (sps_id=0)
[0x92f21d8] packetizer_h264 decoder debug: found NAL_PPS (pps_id=0 sps_id=0)
[0x92f21d8] packetizer_h264 decoder debug: avcC length size=2, sps=1, pps=1
[0x92f21d8] main decoder debug: using packetizer module "packetizer_h264"
[0x92f21d8] main decoder debug: TIMER module_need() : 2.254 ms - Total 2.254 ms / 1 intvls (Avg 2.254 ms)
[0x92f21d8] main decoder debug: thread (decoder) created at priority 0 (input/decoder.c:301)
[0x92f21d8] main decoder debug: thread started
[0x92706b8] main input debug: starting in async mode
[0x92f99c0] main demux meta debug: looking for meta reader module: 1 candidate
[0x92f99c0] lua demux meta debug: Trying Lua scripts in /home/menno/.local/share/vlc/lua/meta/reader
[0x92f99c0] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0x92f99c0] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0x92f99c0] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0x92f99c0] main demux meta debug: no meta reader module matching "any" could be loaded
[0x92f99c0] main demux meta debug: TIMER module_need() : 2.439 ms - Total 2.439 ms / 1 intvls (Avg 2.439 ms)
[0x92706b8] main input debug: `file:///home/menno/clap.mp4' successfully opened
[0x92958e8] mp4 demux debug: track[Id 0x1] does not provide Sync Sample Box (stss)
[0x92958e8] mp4 demux debug: track[Id 0x2] using Sync Sample Box (stss)
[0x92958e8] mp4 demux debug: stts gives 0 --> 0 (sample number)
[0x92706b8] main input debug: Buffering 0%
[0x92706b8] main input debug: switching to sync mode
[0x927ab90] main stream output debug: adding a new sout input (sout_input:0x92f9940)
[0x9298cb8] stream_out_transcode stream out debug: creating audio transcoding from fcc=`mp4a' to fcc=`vorb'
[0x92f9b30] main generic debug: looking for decoder module: 27 candidates
[0x92706b8] main input debug: Buffering 0%
[0x927ab90] main stream output debug: adding a new sout input (sout_input:0x92fa180)
[0x92706b8] main input debug: Buffering 33%
[0x92706b8] main input debug: Buffering 66%
[0x92706b8] main input debug: Buffering 100%
[0x92706b8] main input debug: Stream buffering done (400 ms in 6 ms)
[0x92f9b30] main generic debug: using decoder module "faad"
[0x92f9b30] main generic debug: TIMER module_need() : 7.201 ms - Total 7.201 ms / 1 intvls (Avg 7.201 ms)
[0x92f9e98] main encoder debug: looking for encoder module: 9 candidates
[0x92f9e98] main encoder debug: using encoder module "vorbis"
[0x92f9e98] main encoder debug: TIMER module_need() : 34.143 ms - Total 34.143 ms / 1 intvls (Avg 34.143 ms)
[0x92946a0] main mux debug: adding a new input
[0x92946a0] avformat mux debug: adding input
[0x9298cb8] stream_out_transcode stream out debug: creating video transcoding from fcc=`h264' to fcc=`VP80'
[0x935d9a0] main generic debug: looking for decoder module: 27 candidates
[0x935d9a0] avcodec generic debug: libavcodec initialized (interface 0x344c00)
[0x935d9a0] avcodec generic debug: trying to use direct rendering
[0x935d9a0] avcodec generic debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started
[0x935d9a0] main generic debug: using decoder module "avcodec"
[0x935d9a0] main generic debug: TIMER module_need() : 8.338 ms - Total 8.338 ms / 1 intvls (Avg 8.338 ms)
[0x935dd08] main encoder debug: looking for encoder module: 9 candidates
[0x935dd08] avcodec encoder debug: libavcodec already initialized
[0x935dd08] avcodec encoder debug: found encoder Google/On2's VP8 Video
[0x935dd08] main encoder debug: using encoder module "avcodec"
[0x935dd08] main encoder debug: TIMER module_need() : 18.506 ms - Total 18.506 ms / 1 intvls (Avg 18.506 ms)
[0x935dd08] main encoder debug: removing module "avcodec"
[0x92706b8] main input debug: Decoder buffering done in 65 ms
[0x92f9b30] faad generic warning: decoded zero sample
[0x935d9a0] avcodec generic debug: using direct rendering
[0x9298cb8] stream_out_transcode stream out debug: late picture skipped (51895)
[0x9298cb8] stream_out_transcode stream out debug: late picture skipped (21954)
[0x9298cb8] stream_out_transcode stream out debug: decoder aspect is 1.333333:1
[0x9298cb8] stream_out_transcode stream out debug: source pixel aspect is 1.000000:1
[0x9298cb8] stream_out_transcode stream out debug: scaled pixel aspect is 1.000000:1
[0x9298cb8] stream_out_transcode stream out debug: source 480x360, destination 480x360
[0x9298cb8] stream_out_transcode stream out debug: encoder aspect is 480:360
[0x9298cb8] stream_out_transcode stream out debug: destination (after video filters) 480x360
[0x935dd08] main encoder debug: looking for encoder module: 9 candidates
[0x935dd08] avcodec encoder debug: libavcodec already initialized
[0x935dd08] avcodec encoder debug: found encoder Google/On2's VP8 Video
[0x935dd08] main encoder debug: using encoder module "avcodec"
[0x935dd08] main encoder debug: TIMER module_need() : 16.083 ms - Total 16.083 ms / 1 intvls (Avg 16.083 ms)
[0x92946a0] main mux debug: adding a new input
[0x92946a0] avformat mux debug: adding input
[0x92946a0] main mux warning: late buffer for mux input (203455)
[0x92946a0] main mux warning: late buffer for mux input (189196)
I get the same error @ player side:
Geen bruikbare decodermodule:
VLC ondersteunt het "undf" audio- of videoformaat niet. Helaas kunt u dit niet oplossen.
What do i wrong? I think this is a VLC bug or the encoding on my linux machine is to slow.
Update:
When i use the following code:
vlc clap.mp4 -vvvvv --sout="#transcode{vcodec=VP80,vb=800,scale=1,deinterlace=0,acodec=vorb,ab=128,channels=2, samplerate=44100}:standard{access=file,mux=ffmpeg{mux=webm},dst='clap.webm'}"
and play the encoded webm file this works (but the encoding is very slow)!
Realtime encoding is very slow, is it possible to transcode all the mp4 files to a webm coding format and stream them without slow encoding issues? Or is encoding to an other format better (to use them for realtime webm streaming) ?