Hello all,
The sound is lagging on VLC (it is working perfectly on gnome, or if I use any other video player). Here is the VLC log, if I try to use the PulseAudio output (audio device is /dev/dsp4):
If I try to use the OSS (device is set to /dev/dsp4) audio output, then the VLC simply quits if I try to play any media:
Do you have any idea what's going on?
Thanks!
The sound is lagging on VLC (it is working perfectly on gnome, or if I use any other video player). Here is the VLC log, if I try to use the PulseAudio output (audio device is /dev/dsp4):
Code:
[0x8021a2d18] main input debug: Buffering 12%
[0x8021a2d18] main input debug: Buffering 15%
[0x8021a2d18] main input debug: Buffering 17%
[0x8021a2d18] main input debug: Buffering 20%
[0x8021a2d18] main input debug: Buffering 22%
[0x8021a2d18] main input debug: Buffering 25%
[0x8021a2d18] main input debug: Buffering 27%
[0x8021a2d18] main input debug: Buffering 30%
[0x8021a2d18] main input debug: Buffering 32%
[0x8184c5458] pulse audio output debug: nothing to play
[0x8021a2d18] main input debug: Buffering 35%
[0x8021a2d18] main input debug: Buffering 37%
[0x8021a2d18] main input debug: Buffering 40%
[0x8021a2d18] main input debug: Buffering 42%
[0x8021a2d18] main input debug: Buffering 45%
[0x8021a2d18] main input debug: Buffering 47%
[0x8021a2d18] main input debug: Buffering 50%
[0x8021a2d18] main input debug: Buffering 52%
[0x8021a2d18] main input debug: Buffering 55%
[0x8021a2d18] main input debug: Buffering 57%
[0x8021a2d18] main input debug: Buffering 60%
[0x8021a2d18] main input debug: Buffering 62%
[0x8021a2d18] main input debug: Buffering 65%
[0x8021a2d18] main input debug: Buffering 67%
[0x8021a2d18] main input debug: Buffering 70%
[0x8184c5458] pulse audio output debug: nothing to play
[0x8021a2d18] main input debug: Buffering 72%
[0x8021a2d18] main input debug: Buffering 75%
[0x8021a2d18] main input debug: Buffering 77%
[0x8021a2d18] main input debug: Buffering 80%
[0x8021a2d18] main input debug: Buffering 82%
[0x8021a2d18] main input debug: Buffering 85%
[0x8021a2d18] main input debug: Buffering 87%
[0x8021a2d18] main input debug: Buffering 90%
[0x8021a2d18] main input debug: Buffering 92%
[0x8021a2d18] main input debug: Buffering 95%
[0x8021a2d18] main input debug: Buffering 97%
[0x8021a2d18] main input debug: Buffering 100%
[0x8021a2d18] main input debug: Stream buffering done (1025 ms in 57 ms)
[0x8021a2d18] main input debug: Decoder buffering done in 0 ms
[0x8184c5458] pulse audio output debug: cannot synchronize start
[0x8184c5458] pulse audio output debug: deferring start (48867 us)
[0x8184c5458] pulse audio output debug: cannot synchronize start
[0x8184c5458] pulse audio output debug: deferring start (46880 us)
[0x8184c5458] pulse audio output debug: deferring start (27378 us)
[0x8184c5458] pulse audio output warning: starting late (-6406 us)
[0x8184c5458] pulse audio output warning: too early by 54646 us
[0x8184c5458] pulse audio output debug: changed sample rate to 47954 Hz
[0x8184c5458] pulse audio output warning: too early by 54538 us
[0x8184c5458] pulse audio output debug: changed sample rate to 47915 Hz
[0x8184c5458] pulse audio output debug: listing sink oss_output.dsp4 (4): /dev/dsp4
[0x8184c5458] pulse audio output warning: too early by 42765 us
[0x8184c5458] pulse audio output debug: changed sample rate to 48007 Hz
[0x8184c5458] pulse audio output debug: started
[0x8184c5458] pulse audio output warning: too early by 65845 us
[0x8184c5458] pulse audio output debug: changed sample rate to 47915 Hz
[0x8184c5458] pulse audio output warning: too early by 65768 us
[0x8184c5458] pulse audio output debug: changed sample rate to 47869 Hz
[0x8184c5458] pulse audio output warning: too early by 52295 us
[0x8184c5458] pulse audio output debug: changed sample rate to 47961 Hz
[0x8184c5458] pulse audio output debug: changed sample rate to 48000 Hz
[0x8184c5458] pulse audio output warning: too early by 49293 us
[0x8184c5458] pulse audio output debug: changed sample rate to 47954 Hz
[0x8184c5458] pulse audio output debug: changed sample rate to 48000 Hz
[0x829cb43d8] main vout display debug: auto hiding mouse cursor
If I try to use the OSS (device is set to /dev/dsp4) audio output, then the VLC simply quits if I try to play any media:
Code:
[0x8184c5458] main audio output debug: filter(s) 'f32l'->'f32l' 48000 Hz->48000 Hz 3F2R/LFE->3F2R/LFE
[0x8184c5458] main audio output debug: conversion pipeline completed
[0x8184c5458] main audio output debug: filter(s) 'f32l'->'f32l' 48000 Hz->48000 Hz 3F2R/LFE->3F2R/LFE
[0x8184c5458] main audio output debug: conversion pipeline completed
[0x8184c5458] main audio output debug: filter(s) 'f32l'->'f32l' 52800 Hz->48000 Hz 3F2R/LFE->3F2R/LFE
[0x8184f0c58] main audio filter debug: looking for audio filter module: 13 candidates
[0x8184f0c58] main audio filter debug: using audio filter module "samplerate"
[0x8184f0c58] main audio filter debug: TIMER module_need() : 0.327 ms - Total 0.327 ms / 1 intvls (Avg 0.327 ms)
[0x8184c5458] main audio output debug: conversion pipeline completed
[0x8184dfc58] main decoder debug: End of audio preroll
[0x8021a2d18] main input debug: Buffering 52%
[0x8021a2d18] main input debug: Buffering 55%
[0x8021a2d18] main input debug: Buffering 57%
[0x8021a2d18] main input debug: Buffering 60%
[0x8021a2d18] main input debug: Buffering 62%
[0x821974858] freetype spu text debug: Using Serif Bold as font from file /usr/local/lib/X11/fonts/bitstream-vera/Vera.ttf
[0x821974858] freetype spu text debug: using fontsize: 2
[0x821974858] main spu text debug: using text renderer module "freetype"
[0x821974858] main spu text debug: TIMER module_need() : 7.551 ms - Total 7.551 ms / 1 intvls (Avg 7.551 ms)
[0x821974c58] main scale debug: looking for video filter2 module: 12 candidates
[0x821974c58] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality)
[0x821974c58] main scale debug: using video filter2 module "swscale"
[0x821974c58] main scale debug: TIMER module_need() : 0.655 ms - Total 0.655 ms / 1 intvls (Avg 0.655 ms)
[0x821975058] main scale debug: looking for video filter2 module: 12 candidates
[0x821975058] yuvp scale debug: YUVP to YUVA converter
[0x821975058] main scale debug: using video filter2 module "yuvp"
[0x821975058] main scale debug: TIMER module_need() : 0.584 ms - Total 0.584 ms / 1 intvls (Avg 0.584 ms)
[0x821973c58] main video output debug: Deinterlacing available
[0x821973c58] main video output debug: deinterlace 0, mode blend, is_needed 0
[0x821973c58] main video output debug: Opening vout display wrapper
[0x826cb43d8] main vout display debug: looking for vout display module: 1 candidate
[0x8021a2d18] main input debug: Buffering 65%
[0x8021a2d18] main input debug: Buffering 67%
[0x8021a2d18] main input debug: Buffering 70%
[0x826c41418] main window debug: looking for vout window xid module: 4 candidates
[0x826c41418] qt4 window debug: requesting video...
[0x8021aee98] qt4 interface debug: Video was requested 0, 0
[0x8021a2d18] main input debug: Buffering 72%
[0x8021a2d18] main input debug: Buffering 75%
[0x826c41418] main window debug: using vout window xid module "qt4"
[0x826c41418] main window debug: TIMER module_need() : 1.201 ms - Total 1.201 ms / 1 intvls (Avg 1.201 ms)
[0x826c41598] main inhibit debug: looking for inhibit module: 2 candidates
[0x826c41598] main inhibit debug: using inhibit module "xdg_screensaver"
[0x826c41598] main inhibit debug: TIMER module_need() : 0.223 ms - Total 0.223 ms / 1 intvls (Avg 0.223 ms)
[0x826c41598] xdg_screensaver inhibit debug: started xdg-screensaver (PID = 39815)
[0x8021a2d18] main input debug: Buffering 77%
[0x8021a2d18] main input debug: Buffering 80%
[0x8021a2d18] main input debug: Buffering 82%
[0x8021a2d18] main input debug: Buffering 85%
[0x8021a2d18] main input debug: Buffering 87%
[0x826cb43d8] xcb_glx vout display debug: using GLX extension version 1.4
[0x826cb43d8] xcb_glx vout display debug: using screen 0x291 (number: 0)
[0x826cb43d8] xcb_glx vout display debug: using X11 window 03c00000
[0x8021a2d18] main input debug: Buffering 90%
[0x8021a2d18] main input debug: Buffering 92%
[0x8021a2d18] main input debug: Buffering 95%
[0x8021a2d18] main input debug: Buffering 97%
[0x8021a2d18] main input debug: Buffering 100%
[0x8021a2d18] main input debug: Stream buffering done (1025 ms in 36 ms)
[0x826cb43d8] main vout display debug: VoutDisplayEvent 'fullscreen' 0
[0x826cb43d8] main vout display debug: VoutDisplayEvent 'resize' 656x272 window
[0x826cb43d8] main vout display debug: using vout display module "xcb_glx"
[0x826cb43d8] main vout display debug: TIMER module_need() : 120.796 ms - Total 120.796 ms / 1 intvls (Avg 120.796 ms)
[0x821973c58] main video output debug: original format sz 656x272, of (0,0), vsz 656x272, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
[0x821974858] main spu text debug: removing module "freetype"
[0x821974858] main spu text debug: looking for text renderer module: 2 candidates
[0x821974858] freetype spu text debug: Building font databases.
[0x821974858] freetype spu text debug: Took 1 microseconds
[0x821974858] freetype spu text debug: Using Serif Bold as font from file /usr/local/lib/X11/fonts/bitstream-vera/Vera.ttf
[0x821974858] freetype spu text debug: using fontsize: 2
[0x821974858] main spu text debug: using text renderer module "freetype"
[0x821974858] main spu text debug: TIMER module_need() : 5.819 ms - Total 5.819 ms / 1 intvls (Avg 5.819 ms)
[0x8184df458] avcodec decoder debug: using direct rendering
[0x8184df458] main decoder debug: End of video preroll
[0x8184df458] main decoder debug: Received first picture
[0x821973c58] main video output debug: Post-processing available
[0x826cb43d8] xcb_glx vout display debug: display is visible
[0x8021a2d18] main input debug: Decoder buffering done in 113 ms
[0x8184c5458] main audio output warning: PTS is out of range (-9972), dropping buffer
[0x8184c5458] main audio output warning: PTS is out of range (-34942), dropping buffer
Do you have any idea what's going on?
Thanks!