libvlc and audio-filter passed as argument.

This forum is about all development around libVLC.
BackOrder
New Cone
New Cone
Posts: 3
Joined: 07 Mar 2018 15:25

libvlc and audio-filter passed as argument.

Postby BackOrder » 07 Mar 2018 22:24

When I initialize the libvlc library with libvlc_new () API, I pass my arguments but the --audio-filter=compressor has no effect. No error in the debug log, nothing. He just does not seem to be treated. Have I missed a step? Here is a copy of the contents of the log file:

-- logger module started --
main debug: VLC media player - 3.0.1 Vetinari
main debug: Copyright © 1996-2018 the VideoLAN team
main debug: revision 3.0.1-0-gec0f700fcc
main debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--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' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=x86_64-w64-mingw32' '--with-breakpad=https://win.crashes.videolan.org' 'host_alias=x86_64-w64-mingw32' 'PKG_CONFIG_LIBDIR=/home/jenkins/workspace/vlc-release/windows/vlc-release-win32-x64/contrib/x86_64-w64-mingw32/lib/pkgconfig'
main debug: using multimedia timers as clock source
main debug: min period: 1 ms, max period: 1000000 ms
main debug: searching plug-in modules
main debug: loading plugins cache file C:\Users\franc\Documents\Sygnu\Sophocle\Sophocle\Sophocle\bin\x64\Debug\plugins\plugins.dat
main debug: recursively browsing `C:\Users\franc\Documents\Sygnu\Sophocle\Sophocle\Sophocle\bin\x64\Debug\plugins'
main debug: plug-ins loaded: 488 modules
main debug: looking for logger module matching "any": 2 candidates
file debug: opening logfile `C:\Users\franc\AppData\Roaming\Sygnu Community\Sophocle\LibVlc.log'
main debug: using logger module "file"
main debug: translation test: code is "C"
main debug: looking for keystore module matching "memory": 3 candidates
main debug: using keystore module "memory"
main debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
main debug: creating audio output
main debug: looking for audio output module matching "any": 6 candidates
mmdevice error: cannot initialize COM (error 0x80010106)
directsound debug: found 4 devices
main debug: using audio output module "directsound"
main debug: keeping audio output
main debug: Creating an input for '[ Torrent9.tv ] NCIS.New.Orleans.S03E18.FRENCH.HDTV.XviD-ZT.avi'
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path: C:\Users\franc\AppData\Local\Temp
main debug: `file:///H:/Sophocle/Series/Ncis%20New%20Orleans/Saison%203/%5B%20Torrent9.tv%20%5D%20NCIS.New.Orleans.S03E18.FRENCH.HDTV.XviD-ZT.avi' gives access `file' demux `any' path `/H:/Sophocle/Series/Ncis%20New%20Orleans/Saison%203/%5B%20Torrent9.tv%20%5D%20NCIS.New.Orleans.S03E18.FRENCH.HDTV.XviD-ZT.avi'
main debug: creating demux: access='file' demux='any' location='/H:/Sophocle/Series/Ncis%20New%20Orleans/Saison%203/%5B%20Torrent9.tv%20%5D%20NCIS.New.Orleans.S03E18.FRENCH.HDTV.XviD-ZT.avi' file='H:\Sophocle\Series\Ncis New Orleans\Saison 3\[ Torrent9.tv ] NCIS.New.Orleans.S03E18.FRENCH.HDTV.XviD-ZT.avi'
main debug: looking for access_demux module matching "file": 15 candidates
main debug: no access_demux modules matched
main debug: creating access: file:///H:/Sophocle/Series/Ncis%20New%20Orleans/Saison%203/%5B%20Torrent9.tv%20%5D%20NCIS.New.Orleans.S03E18.FRENCH.HDTV.XviD-ZT.avi
main debug: (path: H:\Sophocle\Series\Ncis New Orleans\Saison 3\[ Torrent9.tv ] NCIS.New.Orleans.S03E18.FRENCH.HDTV.XviD-ZT.avi)
main debug: looking for access module matching "file": 25 candidates
main debug: using access module "filesystem"
main debug: looking for stream_filter module matching "prefetch,cache_read": 24 candidates
cache_read debug: Using stream method for AStream*
cache_read debug: starting pre-buffering
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s
main debug: using stream_filter module "cache_read"
main debug: looking for stream_filter module matching "any": 24 candidates
lua debug: Trying Lua scripts in C:\Users\franc\AppData\Roaming\vlc\lua\playlist
lua debug: Trying Lua scripts in C:\Users\franc\Documents\Sygnu\Sophocle\Sophocle\Sophocle\bin\x64\Debug\lua\playlist
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for file:///H:/Sophocle/Series/Ncis%20New%20Orleans/Saison%203/%5B%20Torrent9.tv%20%5D%20NCIS.New.Orleans.S03E18.FRENCH.HDTV.XviD-ZT.avi
main debug: looking for stream_filter module matching "record": 24 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='any' location='/H:/Sophocle/Series/Ncis%20New%20Orleans/Saison%203/%5B%20Torrent9.tv%20%5D%20NCIS.New.Orleans.S03E18.FRENCH.HDTV.XviD-ZT.avi' file='H:\Sophocle\Series\Ncis New Orleans\Saison 3\[ Torrent9.tv ] NCIS.New.Orleans.S03E18.FRENCH.HDTV.XviD-ZT.avi'
main debug: looking for demux module matching "avi": 55 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: no more data at 366301828
avi debug: * LIST-root size:366301828 pos:0
avi debug: + RIFF-AVI size:366301820 pos:0
avi debug: | + LIST-hdrl size:8880 pos:12
avi debug: | | + avih size:56 pos:24
avi debug: | | + LIST-strl size:4298 pos:88
avi debug: | | | + strh size:56 pos:100
avi debug: | | | + strf size:98 pos:164
avi debug: | | | + JUNK size:4116 pos:270
avi debug: | | + LIST-strl size:4230 pos:4394
avi debug: | | | + strh size:56 pos:4406
avi debug: | | | + strf size:30 pos:4470
avi debug: | | | + JUNK size:4116 pos:4508
avi debug: | | + JUNK size:260 pos:8632
avi debug: | + LIST-INFO size:112 pos:8900
avi debug: | | + INAM size:78 pos:8912
avi debug: | | + ISFT size:13 pos:8998
avi debug: | + JUNK size:1016 pos:9020
avi debug: | + LIST-movi size:363692824 pos:10044
avi debug: | + idx1 size:2598944 pos:363702876
avi debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
avi debug: stream[0] rate:25 scale:1 samplesize:0
avi debug: stream[0] video(XVID) 720x404 24bpp 25.000000fps
main debug: selecting program id=0
avi debug: stream[1] rate:16000 scale:1 samplesize:1
avi debug: stream[1] audio(0x55 - MPEG Audio layer 3) 2 channels 48000Hz 0bits
avi debug: selected standard index for stream[0]
avi debug: selected standard index for stream[1]
avi debug: stream[0] created 60914 index entries
avi debug: stream[1] created 101520 index entries
avi debug: stream[0] length:2436 (based on index)
avi debug: stream[1] length:2436 (based on index)
main debug: using demux module "avi"
main debug: looking for a subtitle file in H:\Sophocle\Series\Ncis New Orleans\Saison 3\
main debug: looking for video decoder module matching "any": 17 candidates
avcodec debug: using ffmpeg Lavc58.6.103
avcodec debug: CPU flags: 0x000853db
avcodec debug: allowing 5 thread(s) for decoding
avcodec debug: codec (mpeg4) started
main debug: using video decoder module "avcodec"
main debug: looking for packetizer module matching "any": 24 candidates
main debug: using packetizer module "mpegaudio"
main debug: looking for audio decoder module matching "any": 23 candidates
mpg123 debug: mpga->f32l, bits per sample: 32
main debug: using audio decoder module "mpg123"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\franc\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Users\franc\Documents\Sygnu\Sophocle\Sophocle\Sophocle\bin\x64\Debug\lua\meta\reader
main debug: no meta reader modules matched
main debug: `file:///H:/Sophocle/Series/Ncis%20New%20Orleans/Saison%203/%5B%20Torrent9.tv%20%5D%20NCIS.New.Orleans.S03E18.FRENCH.HDTV.XviD-ZT.avi' successfully opened
main debug: Buffering 0%
mpegaudio debug: MPGA channels:2 samplerate:48000 bitrate:128
main debug: restarting module due to input format change
main debug: Buffering 8%
main debug: removing module "mpg123"
main debug: looking for audio decoder module matching "any": 23 candidates
mpg123 debug: mpga->f32l, bits per sample: 32
main debug: using audio decoder module "mpg123"
main debug: Buffering 16%
avcodec debug: available hardware decoder output format 119 (cuda)
avcodec debug: available software decoder output format 0 (yuv420p)
main debug: Buffering 25%
main debug: Buffering 33%
main debug: Buffering 41%
main debug: reusing audio output
directsound debug: Opening DirectSound Audio Output
main debug: Buffering 50%
main debug: Buffering 58%
main debug: Buffering 66%
main debug: Buffering 75%
main debug: Buffering 83%
main debug: Buffering 91%
main debug: Buffering 100%
main debug: looking for text renderer module matching "any": 3 candidates
main debug: Stream buffering done (325 ms in 5 ms)
freetype debug: Using DWrite backend
freetype debug: DWrite_GetFamily(): family name: Segoe UI
main debug: using text renderer module "freetype"
main debug: looking for video converter module matching "any": 24 candidates
swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
main debug: using video converter module "swscale"
main debug: looking for video converter module matching "any": 24 candidates
directsound debug: Windows speaker config: Stereo and stream has 2 channels, using 2 channels
main debug: output 'f32l' 48000 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 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio filter module matching "scaletempo": 16 candidates
scaletempo debug: format: 48000 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: conversion pipeline complete
main debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 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"
yuvp debug: YUVP to YUVA converter
main debug: using video converter module "yuvp"
main debug: Deinterlacing available
main debug: deinterlace -1, mode auto, is_needed 0
main debug: looking for vout window module matching "embed-hwnd,any": 3 candidates
main debug: using vout window module "drawable"
main debug: looking for inhibit module matching "any": 1 candidates
main debug: using inhibit module "inhibit"
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "any": 12 candidates
direct3d11 debug: creating Vout EventThread
direct3d11 debug: Win32VoutCreateWindow
main debug: VoutDisplayEvent 'resize' 720x404
direct3d11 debug: inclinometer not found. (hr=0x80070490)
direct3d11 debug: created video sub-window
direct3d11 debug: Vout EventThread running
main debug: Creating an input for preparsing 'ncis.new.orleans.s03e18.french.720p.hdtv.x264-sh0w.WwW.Zone-Telechargement.Ws'
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\franc\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Users\franc\Documents\Sygnu\Sophocle\Sophocle\Sophocle\bin\x64\Debug\lua\meta\fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\franc\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Users\franc\Documents\Sygnu\Sophocle\Sophocle\Sophocle\bin\x64\Debug\lua\meta\art
main debug: no art finder modules matched
direct3d11 debug: supports colorspace RGB Rec.709 gamma:22 range:FULL
direct3d11 debug: supports colorspace RGB Rec.709 gamma:22 range:STUDIO
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:22 range:STUDIO
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:22 range:FULL
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:2084 range:FULL
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:2084 range:STUDIO
direct3d11 debug: Output max luminance: 270.0, colorspace RGB Rec.709 gamma:22 range:FULL, bits per pixel 8
direct3d11 debug: using colorspace RGB Rec.709 gamma:22 range:FULL
direct3d11 debug: Using pixel format I420 for chroma I420
main debug: VoutDisplayEvent 'resize' 736x443
direct3d11 debug: Direct3D11 resources created
direct3d11 debug: Direct3D11 device adapter successfully initialized
direct3d11 debug: Direct3D11 Open Succeeded
main debug: using vout display module "direct3d11"
direct3d11 debug: D3D11 pool succeed with 22 surfaces (720x416) context 0x0000025aa301e068
main debug: original format sz 720x416, of (0,0), vsz 720x404, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: Adding 'postproc' as static
main debug: looking for video filter module matching "postproc,chain": 46 candidates
postproc warning: Quantification table was not set by video decoder. Postprocessing won't look good.
main debug: using video filter module "postproc"
main debug: Filter 'postproc' (0000025a9f64ee00) appended to chain
main debug: Adding 'sharpen' as interactive
main debug: looking for video filter module matching "sharpen,chain": 46 candidates
main debug: using video filter module "sharpen"
main debug: Filter 'sharpen' (0000025a9f64f4e0) appended to chain
main debug: Adding 'gradfun' as interactive
main debug: looking for video filter module matching "gradfun,chain": 46 candidates
main debug: using video filter module "gradfun"
main debug: Filter 'gradfun' (0000025a9f64f850) appended to chain
main debug: removing module "postproc"
main debug: Filter 0000025a9f64ee00 removed from chain
main debug: Adding 'postproc' as static
main debug: looking for video filter module matching "postproc,chain": 46 candidates
postproc warning: Quantification table was not set by video decoder. Postprocessing won't look good.
main debug: using video filter module "postproc"
main debug: Filter 'postproc' (0000025a9f64ff30) appended to chain
main debug: removing module "sharpen"
main debug: Filter 0000025a9f64f4e0 removed from chain
main debug: removing module "gradfun"
main debug: Filter 0000025a9f64f850 removed from chain
main debug: Adding 'sharpen' as interactive
main debug: looking for video filter module matching "sharpen,chain": 46 candidates
main debug: using video filter module "sharpen"
main debug: Filter 'sharpen' (0000025a9f64ee00) appended to chain
main debug: Adding 'gradfun' as interactive
main debug: looking for video filter module matching "gradfun,chain": 46 candidates
main debug: using video filter module "gradfun"
main debug: Filter 'gradfun' (0000025a9f64f4e0) appended to chain
main debug: removing module "freetype"
main debug: looking for text renderer module matching "any": 3 candidates
freetype debug: Using DWrite backend
main debug: VoutDisplayEvent 'resize' 1920x1080
freetype debug: DWrite_GetFamily(): family name: Segoe UI
main debug: using text renderer module "freetype"
avcodec warning: plane 1: pitch not aligned (368%32): disabling direct rendering
direct3d11 debug: Detected size change 1920x1077
main debug: Received first picture
main debug: Decoder wait done in 270 ms
avi debug: seek requested: 399 seconds 16%
avi debug: old:320000 < new 399753000
main debug: Buffering 0%
avi debug: seek: 399 seconds
main debug: Buffering 2%
main debug: Buffering 4%
main debug: Buffering 7%
main debug: Buffering 9%
main debug: Buffering 12%
main debug: Buffering 14%
main debug: Buffering 17%
main debug: Buffering 19%
main debug: Buffering 22%
main debug: Buffering 24%
main debug: Buffering 27%
main debug: Buffering 29%
main debug: Buffering 32%
main debug: Buffering 34%
main debug: Buffering 37%
main debug: Buffering 39%
main debug: Buffering 41%
main debug: Buffering 44%
main debug: Buffering 46%
main debug:

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: libvlc and audio-filter passed as argument.

Postby Rémi Denis-Courmont » 09 Mar 2018 20:44

This is explicitly not supported by the libvlc_new() documentation. LibVLC controls audio filterss (and many other things) internally.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

BackOrder
New Cone
New Cone
Posts: 3
Joined: 07 Mar 2018 15:25

Re: libvlc and audio-filter passed as argument.

Postby BackOrder » 09 Mar 2018 23:34

Thank you for the answer. There is no way to activate the filter as for video filters ?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: libvlc and audio-filter passed as argument.

Postby Rémi Denis-Courmont » 10 Mar 2018 19:06

Some audio filters have an API, some don't. Like video filters.

This is a known issue, that we are trying to fix in 4.0.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

BackOrder
New Cone
New Cone
Posts: 3
Joined: 07 Mar 2018 15:25

Re: libvlc and audio-filter passed as argument.

Postby BackOrder » 11 Mar 2018 05:13

Ok, thank you for your answer :-)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 5 guests