VLC debug messages is causing playback to skip

This forum is about all development around libVLC.
dreadLocks
Blank Cone
Blank Cone
Posts: 18
Joined: 31 May 2016 23:39

VLC debug messages is causing playback to skip

Postby dreadLocks » 16 Jun 2016 00:10

Hello,

I got VLC working in Visual C++ (VC++), the music plays fine, however every few seconds it dumps out a bunch of debugging messages to the VC++ output message window.

While its dumping the debug messages it takes several milliseconds to be outputted to the VC++window, during that time the music payback stops, then resumes afterwards.

Other than that, the music plays perfectly, its just stopping every few seconds to display all the junk messages, then picking up right where it left off.

I'm using the nightly debug build for vlc "3.0.0" how can I turn off the debug messages???

Im playing an MP3 file

Im using the new media call back function "libvlc_media_new_callbacks" in vlc "3.0.0" to stream MP3 from memory

I tried the following command line parameters with no success

char *arg[20];
int ix = 0;

arg[ix++] = "--reset-config";
arg[ix++] = "--ignore-config";
arg[ix++] = "--audio-visual=visual";
arg[ix++] = "--effect-list=spectrum";

arg[ix++] = "--log-verbose=0";
arg[ix++] = "-q";
arg[ix++] = "--no-stats";
arg[ix++] = "--no-file-logging";
arg[ix++] = "--verbose=0";
arg[ix++] = "--quiet-synchro";
arg[ix++] = "--avcodec-debug=0";

Anybody knows how to turn all the debug messages off????

Here is a sample of the debug messages being printed below
While its outputting the "buffering" messages toward the end below, is when the music playback pauses.....



core generic debug: creating audio output
core audio output debug: looking for audio output module matching "any": 6 candidates
mmdevice audio output debug: display name changed: VLC media player (LibVLC 3.0.0-git-20160603-0002)
mmdevice audio output debug: version 2 session control unavailable
mmdevice audio output debug: volume from -64.000000 dB to +0.000000 dB with 0.031250 dB increments
core audio output debug: using audio output module "mmdevice"
core generic debug: keeping audio output
core input debug: Creating an input for 'imem://'
core input debug: using timeshift granularity of 50 MiB
core input debug: using timeshift path: C:\Users\NS\AppData\Local\Temp
core input debug: `imem://' gives access `imem' demux `' path `'
core input source debug: specified demux: any
core input source debug: creating demux: access='imem' demux='any' location='' file='(null)'
core demux debug: looking for access_demux module matching "imem": 13 candidates
lua demux meta debug: Trying Lua scripts in C:\Users\NS\AppData\Roaming\vlc\lua\meta\reader
lua demux meta debug: Trying Lua scripts in D:\Player\Debug\lua\meta\reader
core demux meta debug: no meta reader modules matched
core input debug: `imem://' successfully opened
core input debug: Buffering 0%
core input debug: Buffering 8%
core input debug: Buffering 17%
mpeg_audio decoder debug: MPGA channels:2 samplerate:44100 bitrate:64
core input debug: Buffering 26%
core generic debug: reusing audio output
core input debug: Buffering 34%
core input debug: Buffering 43%
core input debug: Buffering 52%
core input debug: Buffering 60%
core generic debug: looking for aout stream module matching "any": 2 candidates

wasapi generic debug: modified format
core input debug: Buffering 69%
core input debug: Buffering 78%
core input debug: Buffering 87%
core input debug: Buffering 95%
core input debug: Stream buffering done (313 ms in 30 ms)
wasapi generic debug: buffer size : 96000 frames
wasapi generic debug: maximum latency: 15999800 ns
wasapi generic debug: default period : 10000000 ns
wasapi generic debug: minimum period : 3000000 ns
core generic debug: using aout stream module "wasapi"
core audio output debug: output 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
core volume debug: looking for audio volume module matching "any": 2 candidates

core volume debug: using audio volume module "float_mixer"
core audio output debug: input 'mpga' 44100 Hz Stereo frame=1152 samples/1053 bytes
core audio filter debug: looking for audio filter module matching "scaletempo": 14 candidates

scaletempo audio filter debug: format: 44100 rate, 2 nch, 4 bps, fl32
scaletempo audio filter debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo audio filter debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode
core audio filter debug: using audio filter module "scaletempo"
core audio output debug: conversion: 'mpga'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
core audio converter debug: looking for audio converter module matching "any": 12 candidates
.....
core audio converter debug: no audio converter modules matched
core audio converter debug: looking for audio converter module matching "any": 12 candidates
mad audio converter debug: mpga->f32l, bits per sample: 32
core audio converter debug: using audio converter module "mad"
core audio output debug: conversion pipeline complete
core visualization debug: looking for visualization module matching "visual": 4 candidates
.....
yuvp scale debug: YUVP to YUVA converter
core scale debug: using video filter2 module "yuvp"
core video output debug: Deinterlacing available
core video output debug: deinterlace 0, mode blend, is_needed 0
core window debug: looking for vout window module matching "embed-hwnd,any": 3 candidates

core window debug: using vout window module "drawable"
core video output debug: Opening vout display wrapper
core vout display debug: looking for vout display module matching "any": 12 candidates
'Player.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d9.dll'. Cannot find or open the PDB file.
'Player.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Cannot find or open the PDB file.
'Player.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nvd3dum.dll'. Cannot find or open the PDB file.
'Player.exe' (Win32): Loaded 'C:\Windows\SysWOW64\psapi.dll'. Cannot find or open the PDB file.
The thread 0x2f9c has exited with code 0 (0x0).
'Player.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nvspcap.dll'. Cannot find or open the PDB file.
'Player.exe' (Win32): Loaded 'C:\Windows\SysWOW64\setupapi.dll'. Cannot find or open the PDB file.
'Player.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winhttp.dll'. Cannot find or open the PDB file.
'Player.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nvapi.dll'. Cannot find or open the PDB file.
direct3d9 vout display debug: Using Direct3D9 Extended API!
'Player.exe' (Win32): Loaded 'C:\Windows\SysWOW64\D3DX9_43.dll'. Cannot find or open the PDB file.
direct3d9 vout display debug: creating Vout EventThread
direct3d9 vout display debug: Win32VoutCreateWindow
core vout display debug: VoutDisplayEvent 'resize' 800x800
direct3d9 vout display debug: created video sub-window
direct3d9 vout display debug: Vout EventThread running
direct3d9 vout display debug: disabling screen saver
direct3d9 vout display debug: Direct3d9 Device: NVIDIA GeForce GTX 980M 4318 5079 161
'Player.exe' (Win32): Loaded 'C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI.dll'. Cannot find or open the PDB file.
core vout display debug: VoutDisplayEvent 'resize' 816x839
direct3d9 vout display debug: DirectXUpdateRects souce offset: 0,0 visible: 800x800
direct3d9 vout display debug: DirectXUpdateRects image_src coords: 0,0,800,800
direct3d9 vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,800,800
direct3d9 vout display debug: DirectXUpdateRects image_dst coords: 0,0,816,816
direct3d9 vout display debug: DirectXUpdateRects image_dst_clipped coords: 0,0,816,816

direct3d9 vout display warning: trying surface pixel format: YV12
direct3d9 vout display debug: selected surface pixel format is YV12
direct3d9 vout display debug: Direct3D created offscreen surface: 800x800
direct3d9 vout display debug: Direct3D created texture: 800x800
direct3d9 vout display debug: Direct3D9 scene created successfully
direct3d9 vout display debug: Direct3D9 device adapter successfully initialized
core vout display debug: using vout display module "direct3d9"
core video output warning: Not enough display buffers in the pool, requested 3 got 1
core video output debug: original format sz 800x800, of (0,0), vsz 800x800, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
core spu text debug: removing module "freetype"
core spu text debug: looking for text renderer module matching "any": 2 candidates
core vout display debug: VoutDisplayEvent 'resize' 590x419
direct3d9 vout display debug: DirectXUpdateRects souce offset: 0,0 visible: 800x800
direct3d9 vout display debug: DirectXUpdateRects image_src coords: 0,0,800,800
direct3d9 vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,800,800
direct3d9 vout display debug: DirectXUpdateRects image_dst coords: 0,0,419,419
direct3d9 vout display debug: DirectXUpdateRects image_dst_clipped coords: 0,0,419,419
direct3d9 vout display debug: DirectXUpdateRects souce offset: 0,0 visible: 800x800
direct3d9 vout display debug: DirectXUpdateRects image_src coords: 0,0,800,800
direct3d9 vout display debug: DirectXUpdateRects image_src_clipped coords: 0,0,800,800
direct3d9 vout display debug: DirectXUpdateRects image_dst coords: 0,0,419,419
direct3d9 vout display debug: DirectXUpdateRects image_dst_clipped coords: 0,0,419,419
core spu text debug: using text renderer module "freetype"
core visualization debug: using visualization module "visual"
core audio output debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
core audio output debug: conversion pipeline complete
core audio output debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
core audio output debug: conversion pipeline complete
core audio resampler debug: looking for audio resampler module matching "any": 3 candidates
core audio resampler debug: using audio resampler module "samplerate"
core input debug: Decoder wait done in 145 ms
window visualization warning: No matching window preset found; using rectangular window (i.e. no window)
core audio output debug: inserting 480 zeroes
mmdevice audio output debug: state changed: 1
core video output debug: Detected interlaced video
core video output debug: deinterlace 0, mode blend, is_needed 1
core video output debug: picture might be displayed late (missing 9 ms)
core vout display debug: auto hiding mouse cursor
core vout display debug: auto hiding mouse cursor
core video output debug: picture might be displayed late (missing 4 ms)
core input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms)
core input debug: ES_OUT_RESET_PCR called
mmdevice audio output debug: state changed: 0
wasapi generic debug: reset
core input debug: Buffering 0%
core input debug: Buffering 8%
core input debug: Buffering 17%
core input debug: Buffering 26%
core input debug: Buffering 34%
core input debug: Buffering 43%
core input debug: Buffering 52%
core input debug: Buffering 60%
core input debug: Buffering 69%
core input debug: Buffering 78%
core input debug: Buffering 87%
core input debug: Buffering 95%
core input debug: Stream buffering done (313 ms in 300 ms)
core input debug: Decoder wait done in 0 ms
core audio output debug: playback too late (16120): flushing buffers
wasapi generic debug: reset
mmdevice audio output debug: state changed: 1
core video output debug: picture might be displayed late (missing 3 ms)
core input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 306 ms)
core input debug: ES_OUT_RESET_PCR called
core input debug: Buffering 0%
mmdevice audio output debug: state changed: 0
wasapi generic debug: reset
core input debug: Buffering 8%
core input debug: Buffering 17%
core input debug: Buffering 25%
core input debug: Buffering 34%
core input debug: Buffering 42%
core input debug: Buffering 51%
core input debug: Buffering 59%
core input debug: Buffering 68%
core input debug: Buffering 76%
core input debug: Buffering 85%
core input debug: Buffering 93%
core input debug: Stream buffering done (313 ms in 375 ms)
core input debug: Decoder wait done in 0 ms
core video output debug: picture might be displayed late (missing 3 ms)
core audio output debug: playback too late (16120): flushing buffers
wasapi generic debug: reset
mmdevice audio output debug: state changed: 1
core input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 322 ms)
core input debug: ES_OUT_RESET_PCR called
mmdevice audio output debug: state changed: 0
wasapi generic debug: reset
core input debug: Buffering 0%
core input debug: Buffering 8%
core input debug: Buffering 16%
core input debug: Buffering 24%
core input debug: Buffering 32%
core input debug: Buffering 40%
core input debug: Buffering 48%
core input debug: Buffering 56%
core input debug: Buffering 64%
core input debug: Buffering 72%
core input debug: Buffering 80%
core input debug: Buffering 88%
core input debug: Buffering 97%
core input debug: Stream buffering done (339 ms in 385 ms)
core input debug: Decoder wait done in 0 ms
core audio output debug: playback too late (16118): flushing buffers
core video output debug: picture might be displayed late (missing 3 ms)
wasapi generic debug: reset
mmdevice audio output debug: state changed: 1
core vout display debug: auto hiding mouse cursor

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests