VLC underflow buffering while with mpv it's no issues.

*nix specific usage questions
shirish
Blank Cone
Blank Cone
Posts: 20
Joined: 10 May 2007 08:17
VLC version: 2.2.0-rc2 Weatherwax
Operating System: Linux

VLC underflow buffering while with mpv it's no issues.

Postby shirish » 16 Mar 2015 14:24

Hi all,
I have been getting no audio with vlc while with mpv the same media file plays fine.

Code: Select all

[$] mpv abc.mp4 --start=02:44:00 --fs [18:20:09] Playing: abc..mp4 [libav/demuxer] srt: Estimating duration from bitrate, this may be inaccurate (+) Video --vid=1 (*) (h264) (+) Audio --aid=1 --alang=eng (*) (aac) (+) Subs --sid=1 'abc.srt' (srt) (external) [vo/opengl/x11] X11 error: GLXBadFBConfig [vo/opengl] Could not create GL3 context. Retrying with legacy context. AO: [pulse] 48000Hz stereo 2ch float VO: [opengl] 1920x1080 yuv420p AV: 02:48:04 / 02:49:04 (99%) A-V: 0.000 Exiting... (Quit)
It does give a warning about OpenGL being not good enough but fallbacks and the audio and the video play without an issue.

However in VLC I get the following playing the same media file, pointing somethings which stand out when running :-

Code: Select all

[$] mpv abc.mp4 --start-time=9420 --f .......... .......... [00000000006d8cf8] xspf demux debug: parsed 0 tracks successfully [00000000006385c8] core input debug: EOF reached [00000000006385c8] core input warning: INPUT_CONTROL_SET_TIME(_OFFSET) 9420000000 failed or not possible [0000000000620908] core playlist debug: creating audio output [00000000006d5b98] core audio output debug: looking for audio output module matching "any": 5 candidates [00000000006d5b98] pulse audio output debug: using library version 6.0.0 [00000000006d5b98] pulse audio output debug: (compiled with version 5.0.0, protocol 29) [00000000006d5b98] pulse audio output debug: connected locally to unix:/run/user/1000/pulse/native as client #14 [00000000006d5b98] pulse audio output debug: using protocol 30, server protocol 30 [00000000006d5b98] pulse audio output debug: adding sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo) [00000000006d5b98] core audio output debug: using audio output module "pulse" [0000000000620908] core playlist debug: keeping audio output ........ .......... [00007ff2f4c01948] core demux debug: looking for demux module matching "mp4": 65 candidates [00007ff2f4c01698] mp4 stream warning: unknown box type btrt (incompletely loaded) ....................... ..................... [00007ff2f4c01948] mp4 demux debug: track[Id 0x1] read 22110 chunk [00007ff2f4c01948] mp4 demux warning: STTS table of 1 entries ................... ................... [00007ff2f4c01948] mp4 demux warning: CTTS table of 236649 entries ................... [00007ff2f5cf16e8] core access debug: using access module "filesystem" [00007ff2f5cf18a8] core stream debug: Using stream method for AStream* [00007ff2f5cf18a8] core stream debug: starting pre-buffering [00007ff2f5cf18a8] core stream debug: received first data after 0 ms [00007ff2f5cf18a8] core stream debug: pre-buffering done 1024 bytes in 0s - 6756 KiB/s [00007ff2f5cf1368] core stream debug: looking for stream_filter module matching "any": 9 candidates [00007ff2f5cf1368] core stream debug: no stream_filter modules matched [00007ff2f5cf1368] core stream debug: looking for stream_filter module matching "record": 9 candidates [00007ff2f5cf1368] core stream debug: using stream_filter module "record" [00007ff3057ef3c8] core input debug: creating demux: access='file' demux='subtitle' location='/home/shirish/Videos/Interstellar%20%282014%29%20%282014%29%20%5B1080p%5D//Interstellar.2014.2014.1080p.BluRay.x264.YIFY.srt' file='/home/shirish/Videos/Interstellar (2014) (2014) [1080p]//Interstellar.2014.2014.1080p.BluRay.x264.YIFY.srt' [00007ff2f5cf1bd8] core demux debug: looking for demux module matching "subtitle": 65 candidates [00007ff2f5cf1bd8] vobsub demux debug: this doesn't seem to be a vobsub file [00007ff2f5cf1bd8] subtitle demux debug: Movie fps: 23.976025 [00007ff2f5cf1bd8] subtitle demux debug: autodetecting subtitle format [00007ff2f5cf1bd8] subtitle demux debug: detected SubRIP format [00007ff2f5cf1bd8] subtitle demux debug: loading all subtitles... [0000000000817178] qt4 interface debug: IM: Setting an input [00007ff2f5cf1bd8] subtitle demux debug: loaded 2096 subtitles [00007ff2f68f3db8] core decoder debug: looking for decoder module matching "any": 41 candidates [00007ff2f68f3db8] avcodec decoder debug: CPU flags: 0x000010db [00007ff2f68f3db8] avcodec decoder debug: trying to use direct rendering [00007ff2f68f3db8] avcodec decoder debug: allowing 3 thread(s) for decoding [00007ff2f68f3db8] avcodec decoder debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started [00007ff2f68f3db8] avcodec decoder debug: using frame thread mode with 3 threads [00007ff2f68f3db8] core decoder debug: using decoder module "avcodec" [00007ff2f68f9ea8] core decoder debug: looking for decoder module matching "any": 41 candidates [00007ff2f68f9ea8] core decoder debug: using decoder module "faad" [00007ff2f68feea8] core decoder debug: looking for decoder module matching "any": 41 candidates [00007ff2f68feea8] avcodec decoder debug: CPU flags: 0x000010db ........................... ............................ [00007ff3057ef3c8] core input debug: `file:///abc.mp4' successfully opened [00007ff2f4c01948] mp4 demux debug: track[Id 0x1] using Sync Sample Box (stss) [00007ff2f4c01948] mp4 demux debug: stss gives 0 --> 0 (sample number) [00007ff2f4c01948] mp4 demux debug: track[Id 0x2] does not provide Sync Sample Box (stss) [00007ff3057ef3c8] core input debug: Buffering 0% [b][00007ff2f68f9ea8] faad decoder warning: decoded zero sample[/b] [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 6% [0000000000620908] core playlist debug: reusing audio output [00000000006d5b98] pulse audio output debug: using stereo channel map [00007ff2f68f3db8] avcodec decoder debug: available hardware decoder output format 53 (vaapi_vld) [00007ff2f68f3db8] avcodec decoder debug: available hardware decoder output format 109 (vdpau) [00007ff2f68f3db8] avcodec decoder debug: available software decoder output format 0 (yuv420p) [00007ff2d8000b98] core generic debug: looking for hw decoder module matching "any": 4 candidates [00000000006d5b98] pulse audio output debug: changed buffer metrics: maxlength=4194304, tlength=46080, prebuf=0, minreq=15360 [00000000006d5b98] pulse audio output debug: connected to sink alsa_output.pci-0000_00_1b.0.analog-stereo [00000000006d5b98] core audio output debug: output 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes [00007ff2f0001968] core volume debug: looking for audio volume module matching "any": 2 candidates [00007ff2f0001968] core volume debug: using audio volume module "float_mixer" [00000000006d5b98] core audio output debug: input 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes [00007ff2f0008bd8] core audio filter debug: looking for audio filter module matching "scaletempo": 14 candidates [00007ff2f0008bd8] scaletempo audio filter debug: format: 48000 rate, 2 nch, 4 bps, fl32 [00007ff2f0008bd8] scaletempo audio filter debug: params: 30 stride, 0.200 overlap, 14 search [00007ff2f0008bd8] scaletempo audio filter debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode [00007ff2f0008bd8] core audio filter debug: using audio filter module "scaletempo" [00000000006d5b98] core audio output debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo [00000000006d5b98] core audio output debug: conversion pipeline complete [00000000006d5b98] core audio output debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo [00000000006d5b98] core audio output debug: conversion pipeline complete [00007ff2f00107f8] core audio resampler debug: looking for audio resampler module matching "any": 3 candidates [00007ff2f00107f8] core audio resampler debug: using audio resampler module "samplerate" [00007ff2f68f9ea8] core decoder debug: End of audio preroll Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory [00007ff2d8000b98] core generic debug: no hw decoder modules matched [00007ff3057ef3c8] core input debug: Buffering 13% [00007ff2d80c9bd8] core spu text debug: looking for text renderer module matching "any": 2 candidates [00007ff2d80c9bd8] freetype spu text debug: Building font databases. [00007ff2d80c9bd8] freetype spu text debug: Took 0 microseconds [00007ff3057ef3c8] core input debug: Buffering 13% [00007ff3057ef3c8] core input debug: Buffering 21% [00007ff3057ef3c8] core input debug: Buffering 27% [00007ff3057ef3c8] core input debug: Buffering 28% [00007ff3057ef3c8] core input debug: Buffering 35% [00007ff3057ef3c8] core input debug: Buffering 41% [00007ff3057ef3c8] core input debug: Buffering 42% [00007ff3057ef3c8] core input debug: Buffering 49% [00007ff3057ef3c8] core input debug: Buffering 55% [00007ff3057ef3c8] core input debug: Buffering 56% [00007ff3057ef3c8] core input debug: Buffering 63% [00007ff3057ef3c8] core input debug: Buffering 69% [00007ff3057ef3c8] core input debug: Buffering 70% [00007ff3057ef3c8] core input debug: Buffering 77% [00007ff3057ef3c8] core input debug: Buffering 83% [00007ff3057ef3c8] core input debug: Buffering 85% [00007ff3057ef3c8] core input debug: Buffering 92% [00007ff3057ef3c8] core input debug: Buffering 97% [00007ff3057ef3c8] core input debug: Buffering 99% [00007ff3057ef3c8] core input debug: Stream buffering done (320 ms in 21 ms) [00007ff2d80c9bd8] freetype spu text error: Breaking unbreakable line [00007ff2cc00d0a8] core blend debug: looking for video blending module matching "any": 1 candidates [00007ff2cc00d0a8] core blend debug: using video blending module "blend" [00007ff3057ef3c8] core input debug: Decoder wait done in 233 ms [00007ff2f68f3db8] core decoder warning: early picture skipped [00000000006d5b98] pulse audio output debug: cannot synchronize start [00000000006d5b98] pulse audio output debug: deferring start (30751 us) [00000000006d5b98] pulse audio output debug: deferring start (7999 us) [00000000006d5b98] pulse audio output warning: starting late (-14222 us) [00000000006d5b98] pulse audio output debug: started [00000000006d5b98] pulse audio output debug: changing sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo) [00007ff2f68f9ea8] core decoder debug: discarded audio buffer [00007ff2f4c01948] mp4 demux debug: track[Id 0x1] using Sync Sample Box (stss) [00007ff2f4c01948] mp4 demux debug: stss gives 225853 --> 225790 (sample number) [00007ff2f4c01948] mp4 demux debug: track[Id 0x2] does not provide Sync Sample Box (stss) [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff2f68f3db8] avcodec decoder debug: available hardware decoder output format 53 (vaapi_vld) [00007ff2f68f3db8] avcodec decoder debug: available hardware decoder output format 109 (vdpau) [00007ff2f68f3db8] avcodec decoder debug: available software decoder output format 0 (yuv420p) [00007ff2d820ccf8] core generic debug: looking for hw decoder module matching "any": 4 candidates [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff2d820ccf8] core generic debug: no hw decoder modules matched [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% [00000000006d5b98] pulse audio output debug: underflow [00007ff3057ef3c8] core input debug: Buffering 0% [00007ff3057ef3c8] core input debug: Buffering 0% ----------- ---------- [00007ff2f68f9ea8] core decoder debug: End of audio preroll [00000000006d5b98] pulse audio output debug: underflow
Can anybody help in diagonalizing what the issue might be ?
--
Shirish Agarwal
This post is licensed under http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
VLC player 2.2.rc2-Weathermax, Intel Dual-Core CPU E5400 (soc 775) @ 2.70GHz, onboard Intel G33, Asus MB P5KPL-AM IN (Intel G31), Debian Jessie
GNUPG 065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC underflow buffering while with mpv it's no issues.

Postby Jean-Baptiste Kempf » 16 Mar 2015 16:25

Can you share this file?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

shirish
Blank Cone
Blank Cone
Posts: 20
Joined: 10 May 2007 08:17
VLC version: 2.2.0-rc2 Weatherwax
Operating System: Linux

Re: VLC underflow buffering while with mpv it's no issues.

Postby shirish » 16 Mar 2015 16:30

@Jean-Baptiste Kempf, the file in question is 2.3 GiB. I would need to know how to cut the file in a smaller peice or chunk maybe of 10-15 MB and then get an email-address where I could send you the file.
--
Shirish Agarwal
This post is licensed under http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
VLC player 2.2.rc2-Weathermax, Intel Dual-Core CPU E5400 (soc 775) @ 2.70GHz, onboard Intel G33, Asus MB P5KPL-AM IN (Intel G31), Debian Jessie
GNUPG 065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC underflow buffering while with mpv it's no issues.

Postby Jean-Baptiste Kempf » 16 Mar 2015 16:54

Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

shirish
Blank Cone
Blank Cone
Posts: 20
Joined: 10 May 2007 08:17
VLC version: 2.2.0-rc2 Weatherwax
Operating System: Linux

Re: VLC underflow buffering while with mpv it's no issues.

Postby shirish » 16 Mar 2015 17:01

@Jean-Baptise Kempf but first can you share how can I make a small clipping from the media file ? Maybe a link to where this is told/shared ?
--
Shirish Agarwal
This post is licensed under http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
VLC player 2.2.rc2-Weathermax, Intel Dual-Core CPU E5400 (soc 775) @ 2.70GHz, onboard Intel G33, Asus MB P5KPL-AM IN (Intel G31), Debian Jessie
GNUPG 065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC underflow buffering while with mpv it's no issues.

Postby Jean-Baptiste Kempf » 16 Mar 2015 17:59

virtualdub ? avidemux?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

shirish
Blank Cone
Blank Cone
Posts: 20
Joined: 10 May 2007 08:17
VLC version: 2.2.0-rc2 Weatherwax
Operating System: Linux

Re: VLC underflow buffering while with mpv it's no issues.

Postby shirish » 16 Mar 2015 22:28

umm... I think I will sleep on this a bit. I did two changes by which I was again able to get audio working flawlessly again.

a. Update pulseaudio to pulseaudio 6.0 - in experimental
b. Update the whole shebang of libav and its brothers and sisters to the ones in experimental - 6:11.3-1

After doing that and a reboot was able to play the video and audio without an issue.
--
Shirish Agarwal
This post is licensed under http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
VLC player 2.2.rc2-Weathermax, Intel Dual-Core CPU E5400 (soc 775) @ 2.70GHz, onboard Intel G33, Asus MB P5KPL-AM IN (Intel G31), Debian Jessie
GNUPG 065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC underflow buffering while with mpv it's no issues.

Postby Jean-Baptiste Kempf » 17 Mar 2015 00:03

Aha :)
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

shirish
Blank Cone
Blank Cone
Posts: 20
Joined: 10 May 2007 08:17
VLC version: 2.2.0-rc2 Weatherwax
Operating System: Linux

Re: VLC underflow buffering while with mpv it's no issues.

Postby shirish » 17 Mar 2015 01:37

although I have to say that there are issues at times with .mp4 files. .mkv files 99% of the time play flawlessly, can't say the same though for .mp4 files.
--
Shirish Agarwal
This post is licensed under http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
VLC player 2.2.rc2-Weathermax, Intel Dual-Core CPU E5400 (soc 775) @ 2.70GHz, onboard Intel G33, Asus MB P5KPL-AM IN (Intel G31), Debian Jessie
GNUPG 065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests