Page 1 of 1

Failed to create sub filter audiobargraph_v

Posted: 03 Mar 2015 09:56
by ppcat
I try to show audiobargraph.
Here is my command line:

Code: Select all

vlc -I oldrc --rc-host=localhost:1201 --audio-filter=audiobargraph_a --audiobargraph_a-address=localhost --audiobargraph_a-port=1201 --audiobargraph_a-connection_reset=10 --audiobargraph_a-bargraph=1 --sub-filter=audiobargraph_v --audiobargraph_v-x=0 --audiobargraph_v-y=0 d:\share\mov\click.avi
Output:

Code: Select all

[00000000009a0980] oldrc interface: ULC media player — 2.1.5 Rincewind [00000000009a0980] oldrc interface: Copyright c 1996-2014 the UideoLAN team [00000000009a0980] oldrc interface: Внимание! Если вы не видите графического интерфейса VLC, запустите командную строку, перейдите в каталог с VLC и выполните <vlc -I qt> ИнтерФейс удаленного управления запущен. Введите 'help' для справки. status change: ( audio volume: 256 ) [00000000009d97d0] main vout display error: Failed to resize display [0000000002504020] main subpicture error: Failed to create sub filter 'audiobargraph_v" [0000000002504020] main subpicture error: Failed while trying to append 'audiobargraph_v" to filter chain [00000000009a0980] main interface error: read error: Connection reset by peer [00000000009a0980] main interface error: read error: Connection reset by peer [00000000009a0980] main interface error: read error: Connection reset by peer [00000000009a0980] main interface error: read error: Connection reset by peer [00000000009d97d0] main vout display error: Failed to resize display status change: ( play state: 4 ): End
I tried to change the port (12345, 20000). Windows Firewall is turned off.
OS Windows 7 x64

Re: Failed to create sub filter audiobargraph_v

Posted: 03 Mar 2015 11:31
by Jean-Baptiste Kempf
We need more logs. -vvvv

Re: Failed to create sub filter audiobargraph_v

Posted: 03 Mar 2015 12:00
by ppcat

Code: Select all

-- logger module started -- main debug: VLC media player - 2.1.5 Rincewind main debug: Copyright © 1996-2014 the VideoLAN team main debug: revision 2.1.5-15-g4e4a233 main debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--disable-dirac' '--host=x86_64-w64-mingw32' 'host_alias=x86_64-w64-mingw32' main debug: using interface module "logger" main debug: Creating an input for 'Медиатека' main debug: Input is a meta file: disabling unneeded options main debug: using timeshift granularity of 50 MiB, in path 'c:\tmp' main debug: `file/xspf-open:///C:/Users/romashev.s/AppData/Roaming/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/C:/Users/romashev.s/AppData/Roaming/vlc/ml.xspf' main debug: creating demux: access='file' demux='xspf-open' location='/C:/Users/romashev.s/AppData/Roaming/vlc/ml.xspf' file='C:\Users\romashev.s\AppData\Roaming\vlc\ml.xspf' main debug: looking for access_demux module matching "file": 12 candidates main debug: no access_demux modules matched main debug: creating access 'file' location='/C:/Users/romashev.s/AppData/Roaming/vlc/ml.xspf', path='C:\Users\romashev.s\AppData\Roaming\vlc\ml.xspf' main debug: looking for access module matching "file": 20 candidates filesystem debug: opening file `C:\Users\romashev.s\AppData\Roaming\vlc\ml.xspf' main debug: using access module "filesystem" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 309 bytes in 0s - 301757 KiB/s main debug: looking for stream_filter module matching "any": 6 candidates main debug: no stream_filter modules matched main debug: looking for stream_filter module matching "record": 6 candidates main debug: using stream_filter module "record" main debug: creating demux: access='file' demux='xspf-open' location='/C:/Users/romashev.s/AppData/Roaming/vlc/ml.xspf' file='C:\Users\romashev.s\AppData\Roaming\vlc\ml.xspf' main debug: looking for demux module matching "xspf-open": 63 candidates playlist debug: using XSPF playlist reader main debug: using demux module "playlist" main debug: looking for meta reader module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\romashev.s\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Progs\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Progs\VideoLAN\VLC\lua\meta\reader\filename.luac main debug: no meta reader modules matched main debug: `file/xspf-open:///C:/Users/romashev.s/AppData/Roaming/vlc/ml.xspf' successfully opened main debug: looking for xml reader module matching "any": 1 candidates main debug: using xml reader module "xml" playlist debug: parsed 0 tracks successfully main debug: EOF reached main debug: removing module "playlist" main debug: removing module "record" main debug: removing module "filesystem" main debug: creating audio output main debug: looking for audio output module matching "any": 6 candidates directsound debug: found 4 devices main debug: using audio output module "directsound" main debug: keeping audio output main debug: adding item `click.avi' ( file:///d:/share/mov/click.avi ) mainm adienb udge:b uCgr:e altoionkgi nagn fionrp uitn tfor 'click.avi' erface module matching "hotkeys,none": 15 candidates main debug: using interface module "hotkeys" main debug: looking for interface module matching "globalhotkeys,none": 15 candidates main debug: using interface module "globalhotkeys" main debug: looking for interface module matching "oldrc": 15 candidates maionl ddrecb udge:b umge:t a boaks ef:o rl o(cnaullhlo)s,t ,n epeodr tt:o 1f2e0t1c h art main debug: net: listening to localhost port 1201 main debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\romashev.s\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Progs\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Progs\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac main debug: using meta fetcher module "lua" main debug: removing module "lua" main debug: searching art for click.avi main debug: looking for art finder module matching "any": 2 candidates oldrc: VLC media player - 2.1.5 Rincewind oldrc: Copyright © 1996-2014 the VideolLuAaN dteebaumg : Trying Lua scorlidprtcs: i n??C??\??s??r?°\??o??a?µh!e v??sМ?A?»p??a t??\В?o a??i?µg \??l??\??u??\Э?e?µa \??rд? афическ??u?? ??e b??g?? Д?r?µiЮ?g??Lеu?? г?c?°i pVtLsC ,i n?·C?°\??rЯ?gг?\Ж?i??eЯ?L?µN \??L??\??u?°\??e??a??aв?t? ? строку, перейдит?µu a??d e??u?°:??T?°y?»n?? ??u a??p lVaLyCl i??t ??cв?i??t??C?»\??r??gг?\?µi d_«ovLlAcN \-VIL Cq\tl_»a \ meta\art\00_musicbrainz.luac main debug: using interface module "oldrc" main debug: processing request item: null, nolduea: d?b?u?»:?µT??y?»n?? Ќ?uС? ,p lasylkiispt: s0c ript C:\Pmraoigns \dVeibduego:L ArNe\bVuLiCl\dliunag\ maertraa\ya rotf\ 0c1u_rgroeongtl e-i mraogoet. l??a?» ейлист main debug: rebuild done - 1 items, index -1 main debug: starting playback of the new playlist iteml ua debmuagi:n Tdreyibnugg :L urae spylnacyilnigs to ns ccrliipctk .Ca:v\iP rogs\VimdaeionL AdNe\bVuLgC:\ lculai\cmke.taav\ia rits\ 0a2t_ f0r enchtvm.aliuna cd ebug: creating new input thread main debug: Creating an input for 'click.avi' lua debug: Trying Lua playlist script C:\Progs\VideoLAN\VLC\lua\meta\art\03_lastfm.luac main debug: using timeshift granularity of 50 MiB, in path 'c:\tmp' main debug: `file:///d:/share/mov/click.maaviin' dgeibvuegs: ancoc easrst `ffiinldee'r dmeomduuxl e`s' mpaattchh e`d/ d:/sharem/amionv /dcelbiucgk:. aavrit' not found fmoari ncl idcekb.uagv:i creating demux: access='file' demux='' location='/d:/share/mov/click.avi' file='d:\share\mov\click.avi' main debug: looking for access_demux module matching "file": 12 candidates main debug: no access_demux modules matched main debug: creating access 'file' location='/d:/share/mov/click.avi', path='d:\share\mov\click.avi' main debug: looking for access module matching "file": 20 candidates filesystem debug: opening file `d:\share\mov\click.avi' main debug: using access module "filesystem" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s main debug: looking for stream_filter module matching "any": 6 candidates main debug: no stream_filter modules matched main debug: looking for stream_filter module matching "record": 6 candidates main debug: using stream_filter module "record" main debug: creating demux: access='file' demux='' location='/d:/share/mov/click.avi' file='d:\share\mov\click.avi' main debug: looking for demux module matching "avi": 63 candidates avi debug: <list 'AVI '> avi debug: <list 'hdrl'> avi debug: <list 'strl'> avi debug: </list 'strl'> avi debug: <list 'strl'> avi debug: </list 'strl'> avi debug: </list 'hdrl'> avi debug: <list 'INFO'> avi debug: </list 'INFO'> avi debug: skipping movi chunk avi debug: </list 'AVI '> avi debug: * LIST-root size:629874 pos:0 avi debug: + RIFF-AVI size:629866 pos:0 avi debug: | + LIST-hdrl size:8822 pos:12 avi debug: | | + avih size:56 pos:24 avi debug: | | + LIST-strl size:4240 pos:88 avi debug: | | | + strh size:56 pos:100 avi debug: | | | + strf size:40 pos:164 avi debug: | | | + JUNK size:4116 pos:212 avi debug: | | + LIST-strl size:4230 pos:4336 avi debug: | | | + strh size:56 pos:4348 avi debug: | | | + strf size:30 pos:4412 avi debug: | | | + JUNK size:4116 pos:4450 avi debug: | | + JUNK size:260 pos:8574 avi debug: | + LIST-INFO size:26 pos:8842 avi debug: | | + ISFT size:14 pos:8854 avi debug: | + JUNK size:1016 pos:8876 avi debug: | + LIST-movi size:584678 pos:9900 avi debug: | + idx1 size:35280 pos:594586 avi debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE avi debug: stream[0] rate:2997 scale:100 samplesize:0 avi debug: stream[0] video(XVID) 320x240 24bpp 29.969999fps main debug: selecting program id=0 avi debug: stream[1] rate:1225 scale:32 samplesize:0 avi debug: stream[1] audio(0x55 - MPEG Audio layer 1/2/3) 2 channels 44100Hz 0bits avi debug: selected standard index for stream[0] avi debug: selected standard index for stream[1] avi debug: stream[0] created 960 index entries avi debug: stream[1] created 1245 index entries avi debug: stream[0] length:32 (based on index) avi debug: stream[1] length:32 (based on index) main debug: using demux module "avi" main debug: looking for a subtitle file in d:\share\mov\ main debug: looking for decoder module matching "any": 39 candidates avcodec debug: trying to use direct rendering avcodec debug: allowing 4 thread(s) for decoding avcodec debug: avcodec codec (MPEG-4 Video) started main debug: using decoder module "avcodec" main debug: looking for decoder module matching "any": 39 candidates main debug: using decoder module "mpeg_audio" main debug: looking for meta reader module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\romashev.s\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Progs\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Progs\VideoLAN\VLC\lua\meta\reader\filename.luac main debug: no meta reader modules matched main debug: `file:///d:/share/mov/click.avi' successfully opened main debug: Buffering 0% main debug: Buffering 8% main debug: Buffering 16% main dempbeugg_:a uBmufafienrdi ngd e2i5b%o u gd:em abilno odkeibnugg :f oBuurf fteerxigntg r3e3:%n d erMePmraGi nm oddeAbuulge: Bcuhfafnemraitncgn e4l1h%s :i2n gs a"maanimny pd"elbeurga:t eB:u4f4f:e r2i1n gc a5n00%0 dbiidmtaairnt edse buagt:e :128 Buffering 58% main debug: Buffering 66% mfariene tdyepbeu gd:e buBgu:f fUesriinngg A7r5i%a l as font from fimlaei nC :d\Weibnudogw:s \FBounftfs\aerriialn.tgt f8 3% main debug: Buffering 91% main debug: Bfurffeeertiynpg e1 0d0e%b ug: usmiainng dfeobnutgs:i zSet:r e2a m buffering donmea i(n3 2d5e bmusg i:n 5u smisn)g text renderer module "freetype" main debug: looking for video filter2 module matching "any": 55 candidates swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality) main debug: using video filter2 module "swscale" main debug: looking for video filter2 module matching "any": 55 candidates yuvp debug: YUVP to YUVA converter main debug: using video filter2 module "yuvp" main debug: Deinterlacing available main debug: deinterlace 0, mode blend, is_needed 0 main debug: Opening vout display wrapper main debug: looking for vout display module matching "any": 10 candidates direct3d debug: creating Vout EventThread direct3d debug: DirectXCreateWindow main debug: looking for vout window hwnd module matching "any": 3 candidates main debug: no vout window hwnd modules matched direct3d debug: created video sub-window direct3d debug: Vout EventThread running direct3d debug: disabling screen saver direct3d debug: Direct3d Device: Intel(R) HD Graphics 32902 66 18 direct3d warning: trying surface pixel format: YV12 direct3d debug: selected surface pixel format is YV12 direct3d debug: Using D3DTEXF_LINEAR for minification direct3d debug: Using D3DTEXF_LINEAR for magnification direct3d debug: Direct3D scene created successfully direct3d debug: Direct3D device adapter successfully initialized main debug: using vout display module "direct3d" main debug: original format sz 320x240, of (0,0), vsz 320x240, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 main debug: removing module "freetype" main debug: looking for text renderer module matching "any": 2 candidates main error: Failed to resize display freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf freetype debug: using fontsize: 2 main debug: using text renderer module "freetype" avcmoadienc ddeembauigb:n uugs:i nrge ddierbeucsti urnegn daeurgi:n gl doiook ionugt pfuotr sub filter dmiordeucltes omuantdc hdienbgu g":a uOdpieonbianmrain debgu gD:g rEanpdh io_fr evcitdSeoou npvr"e:rdo lAl u1d icoa nOduitdpautte s main debug: no sub filter modules matched main error: Failed to create sub filter 'audiobargraph_v' main error: Failed while trying to append 'audiobargraph_v' to filter chain main debug: Received first picture main debug: looking for sub source module matching "audiobargraph_v": 6 candidates main debug: using sub source module "audiobargraph_v" main debug: Filter 'audiobargraph_v' (0000000002630b20) appended to chain main warning: original picture size is undefined direct3d debug: Created 40x430 texture for OSD direct3d debug: Created 52x14 texture for OSD directsound debug: Windows speaker config: Stereo and stream has 2 channels, using 2 channels main debug: output 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes main debug: looking for audio volume module matching "any": 2 candidates main debug: using audio volume module "float_mixer" main debug: input 'mpga' 44100 Hz Stereo frame=1152 samples/1053 bytes main debug: looking for audio filter module matching "scaletempo": 14 candidates scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode main debug: using audio filter module "scaletempo" main debug: conversion: 'mpga'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo main debug: looking for audio converter module matching "any": 12 candidates main debug: no audio converter modules matched main debug: looking for audio converter module matching "any": 12 candidates mpgatofixed32 debug: mpga->f32l, bits per sample: 32 main debug: using audio converter module "mpgatofixed32" main debug: conversion pipeline complete main debug: looking for audio filter module matching "audiobargraph_a": 14 candidates main debug: net: connecting to localhost port 1201 mmaaiinn ddeebbuugg:: caocncneepctteido ns oscukcecte e1d2e0d0 ((sforcokme ts o=c k1e1t7 66)4 8) main debug: using audio filter module "audiobargraph_a" main debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo main debug: conversion pipeline complete main debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo main debug: conversion pipeline complete main debug: looking for audio resampler module matching "any": 3 candidates main debug: using audio resampler module "samplerate" main debug: End of audio preroll main debug: Decoder buffering done in 105 ms audiobargraph_a debug: message values : @audiobargraph_v audiobargraph_v-i_values 0.000000:0.000000 main debug: inserting 441 zeroes main warning: original picture size is undefined audiobargraph_a debug: message values : @audiobargraph_v audiobargraph_v-i_values 0.717129:0.717079 audiobargraph_a debug: message values : @audiobargraph_v audiobargraph_v-i_values 0.000115:0.000143 audiobargraph_a debug: message values : @audiobargraph_v audiobargraph_v-i_values 0.000167:0.000122 audiobargraph_a debug: message values : @audiobargraph_v audiobargraph_v-i_values 0.000130:0.000082 audiobargraph_a debug: message values : @audiobargraph_v audiobargraph_v-i_values 0.481523:0.481517 main warning: original picture size is undefined main warning: original picture size is undefined audiobargraph_a debug: message values : @audiobargraph_v audiobargraph_v-i_values 0.001321:0.001389 main warning: original picture size is undefined main warning: original picture size is undefined audiobargraph_a debug: message values : @audiobargraph_v audiobargraph_v-i_values 0.000145:0.000104 main warning: original picture size is undefined main warning: original picture size is undefined audiobargraph_a debug: message values : @audiobargraph_v audiobargraph_v-i_values 0.000162:0.000160 main warning: original picture size is undefined main warning: original picture size is undefined audiobargraph_a debug: message values : @audiobargraph_v audiobargraph_v-i_values 0.000149:0.000132 main warning: original picture size is undefined main warning: original picture size is undefined audiobargraph_a debug: message values : @audiobargraph_v audiobargraph_v-i_values 0.475419:0.475443

Re: Failed to create sub filter audiobargraph_v

Posted: 04 Mar 2015 10:42
by Jean-Baptiste Kempf
main debug: no sub filter modules matched
main error: Failed to create sub filter 'audiobargraph_v'

Are you sure it is a sub filter?

Re: Failed to create sub filter audiobargraph_v

Posted: 05 Mar 2015 14:06
by ppcat

Re: Failed to create sub filter audiobargraph_v

Posted: 06 Mar 2015 09:33
by ppcat
I compiled vlc 3.0 x32 and tried the same thing. It works.
Before i tried this with vlc 2.1.5 x64.
Thank you for your great work!

Re: Failed to create sub filter audiobargraph_v

Posted: 08 Mar 2015 16:52
by Jean-Baptiste Kempf
You should not compile. It's not normal.

Re: Failed to create sub filter audiobargraph_v

Posted: 10 Mar 2015 09:36
by ppcat
It works on x86 vlc. On x64 don't.
I tried vlc 2.1.5 x64 and 3.0.0, 2.2.0.

I have vlc integrated into application interface using libvlc with C-code.
Could You please say how can i start up modules audiobargraph_a and audiobargraph_v?

This didn't works with parameters:

Code: Select all

char* params[1] = { "--audio-filter=audiobargraph_a --audiobargraph_a-address=localhost --audiobargraph_a-port=1201 --sub-filter=audiobargraph_v" }; libvlc_instance_t *inst = libvlc_new(1, params); libvlc_media_t *m = libvlc_media_new_path(inst, "..."); libvlc_media_player_t *mp = libvlc_media_player_new_from_media(m); libvlc_media_release(m); libvlc_media_player_play(mp);

Re: Failed to create sub filter audiobargraph_v

Posted: 10 Mar 2015 11:50
by Jean-Baptiste Kempf
Is the module correctly compiled and loaded?

Re: Failed to create sub filter audiobargraph_v

Posted: 10 Mar 2015 12:10
by ppcat
Here i have used http://get.videolan.org/vlc/2.2.0/win32 ... -win32.exe
In command line (Windows 7)

Code: Select all

vlc --audio-filter=audiobargraph_a --sub-filter=audiobargraph_v d:\...
All is ok. I see vu meter and there are no errors.
In C-code

Code: Select all

... char* params[] = { "--verbose=2", "--audio-filter=audiobargraph_a", "--sub-filter=audiobargraph_v" }; ...
I see:

Code: Select all

main audio output error: cannot add user audio filter "audiobargraph_a"
And i see no indicator.

Here are screenshots.
http://ppcat.hotbox.ru/00/1.png
http://ppcat.hotbox.ru/00/2.png
http://ppcat.hotbox.ru/00/3.png
http://ppcat.hotbox.ru/00/4.png

Sorry, i don't now how create log (this don't work

Code: Select all

--file-logging --logfile=d:\vlc.log
)

Re: Failed to create sub filter audiobargraph_v

Posted: 10 Mar 2015 15:58
by Jean-Baptiste Kempf
I have no idea, sorry.

Re: Failed to create sub filter audiobargraph_v

Posted: 11 Mar 2015 20:39
by fatos.peci
You might try the following:

char* params[] = {
"--verbose=2",
"--sub-source=audiobargraph_v"
};

Re: Failed to create sub filter audiobargraph_v

Posted: 13 Mar 2015 15:27
by ppcat
Yes! It works!
I see the ruler.
But there are no volumes.
May be you know a witchcraft to start audiobargraph_a module?

I tried add option "--audio-filter=audiobargraph_a". This had no efect. There is no mention about audiobargraph_a in the log.