Page 1 of 1

VLC 4.0 Nightly, not playing audio

Posted: 02 Oct 2023 16:18
by bananasgomoo
I'm posting this specifically in the Windows forums as I am using Windows, however I'm not sure if it's only a Windows issue.
I tried posting this on gitlab as an issue, but my account wasn't approved yet. I'm not sure if it's only for contributors or something, but since it's been a few days, I decided to post here.

OS: Windows 11 x64 Version 10.0.22621.2361
VLC version: VLC 4.0 nightly

The most recent functioning version of the nightly is vlc-4.0.0-dev-win64-d3026b16 (https://artifacts.videolan.org/vlc/nigh ... 0902-0430/). All builds after this have the following issue:

Audio, specifically AAC audio does not play. I believe the issue is related to libfaad, however I'm not sure. Most recently tested on build vlc-4.0.0-dev-win64-d5ad9d6a (https://artifacts.videolan.org/vlc/nigh ... 1002-0430/).

Media data from an example file that is currently not working:

Code: Select all

Format : MPEG-4 Codec ID : M4V (isom/avc1/mp42) File size : 1.55 GiB Duration : 35 min 56 s Overall bit rate mode : Variable Overall bit rate : 6 168 kb/s Frame rate : 23.976 FPS Encoded date : 2022-08-11 18:06:35 UTC Tagged date : 2022-08-11 18:06:35 UTC Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4 Format settings : CABAC / 3 Ref Frames Format settings, CABAC : Yes Format settings, Reference : 3 frames Format settings, GOP : M=2, N=48 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 35 min 56 s Bit rate mode : Constant Bit rate : 6 000 kb/s Maximum bit rate : 10.1 Mb/s Width : 1 080 pixels Height : 1 920 pixels Display aspect ratio : 0.563 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.121 Stream size : 1.51 GiB (97%) Encoded date : 2022-08-11 18:06:35 UTC Tagged date : 2022-08-11 18:06:35 UTC Codec configuration box : avcC Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 35 min 56 s Bit rate mode : Variable Bit rate : 160 kb/s Maximum bit rate : 166 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Stream size : 41.1 MiB (3%) Encoded date : 2022-08-11 18:06:35 UTC Tagged date : 2022-08-11 18:06:35 UTC
Errors and Warnings from the messages log:

Code: Select all

mp4 warning: STTS table of 1 entries mp4 warning: CTTS table of 50623 entries mp4 warning: elst box found mp4 warning: STTS table of 1 entries d3d11va info: Using D3D11VA (AMD Radeon(TM) Graphics, vendor 1002(ATI), device 1638, revision c5) main warning: window size missing main error: buffer deadlock prevented qt warning: qml message qrc:/main/MainDisplay.qml:558 TypeError: Property 'showPlayer' of object MainDisplay_QMLTYPE_169(0x226a1335c70) is not a function main warning: picture is too late to be displayed (missing 48 ms) main warning: picture is too late to be displayed (missing 45 ms) main warning: picture is too late to be displayed (missing 53 ms) main warning: picture is too late to be displayed (missing 49 ms) main warning: picture is too late to be displayed (missing 103 ms) main warning: picture is too late to be displayed (missing 62 ms) main warning: picture is too late to be displayed (missing 20 ms) main warning: picture is too late to be displayed (missing 46 ms) main warning: picture is too late to be displayed (missing 50 ms) main warning: picture is too late to be displayed (missing 43 ms) main warning: picture is too late to be displayed (missing 39 ms) main warning: picture is too late to be displayed (missing 33 ms) main warning: picture is too late to be displayed (missing 32 ms) main warning: picture is too late to be displayed (missing 30 ms) main warning: picture is too late to be displayed (missing 28 ms) main warning: picture is too late to be displayed (missing 25 ms) main warning: picture is too late to be displayed (missing 21 ms) main warning: picture is too late to be displayed (missing 20 ms) main warning: picture is too late to be displayed (missing 247 ms) main warning: picture is too late to be displayed (missing 205 ms) main warning: picture is too late to be displayed (missing 163 ms) main warning: picture is too late to be displayed (missing 122 ms) main warning: picture is too late to be displayed (missing 80 ms) main warning: picture is too late to be displayed (missing 38 ms) main warning: original picture size is undefined qt warning: qml message qrc:/widgets/ButtonExt.qml:61 ReferenceError: model is not defined
The working builds of VLC do not produce the deadlock error:

Code: Select all

mp4 warning: STTS table of 1 entries mp4 warning: CTTS table of 50623 entries mp4 warning: elst box found mp4 warning: STTS table of 1 entries faad warning: decoded zero sample d3d11va info: Using D3D11VA (AMD Radeon(TM) Graphics, vendor 1002(ATI), device 1638, revision c5) main warning: original picture size is undefined qt warning: qml message qrc:/widgets/ButtonExt.qml:61 ReferenceError: model is not defined main warning: picture is too late to be displayed (missing 279 ms) main warning: picture is too late to be displayed (missing 237 ms) main warning: picture is too late to be displayed (missing 195 ms) main warning: picture is too late to be displayed (missing 154 ms) main warning: picture is too late to be displayed (missing 112 ms) main warning: picture is too late to be displayed (missing 70 ms) main warning: picture is too late to be displayed (missing 29 ms) main warning: picture is too late to be displayed (missing 82 ms) main warning: picture is too late to be displayed (missing 41 ms) main warning: picture is too late to be displayed (missing 34 ms) main warning: picture is too late to be displayed (missing 20 ms) main warning: picture is too late to be displayed (missing 37 ms) main warning: picture is too late to be displayed (missing 28 ms) main warning: picture is too late to be displayed (missing 21 ms) main warning: picture is too late to be displayed (missing 130 ms) main warning: picture is too late to be displayed (missing 89 ms) main warning: picture is too late to be displayed (missing 47 ms) main warning: picture is too late to be displayed (missing 38 ms) main warning: picture is too late to be displayed (missing 28 ms) main warning: picture is too late to be displayed (missing 24 ms) main warning: picture is too late to be displayed (missing 21 ms) main warning: original picture size is undefined
In both cases, all I did was open VLC, open the video, have it play a few seconds (fullscreen) and then pause.

Additionally, if I open the video through the menu (rather than through windows explorer), the UI is broken and displays the library screen over the video.

No settings have been changed between updating, so the player should still function. Downgrading causes the audio to return as normal.

Re: VLC 4.0 Nightly, not playing audio

Posted: 03 Oct 2023 14:01
by Lotesdelere
There is another similar report like yours:
https://forum.videolan.org/viewtopic.php?f=14&t=163228

You should create a new report ticket on the VLC issues tracker with your above report, the link to your sample file and the link to this thread:
https://code.videolan.org/videolan/vlc/-/issues

If possible, because of this:
https://forum.videolan.org/viewtopic.ph ... 27#p538427

Re: VLC 4.0 Nightly, not playing audio

Posted: 03 Oct 2023 14:17
by bananasgomoo
As mentioned in my OP, I am unable to sign into gitlab because my account has not been approved:
"Your account is pending approval from your GitLab administrator and hence blocked. Please contact your GitLab administrator if you think this is an error. "

Should I email the account mentioned in that thread you linked?

Side note: I just tried disabling hardware encoding, and that did not solve the issue, so while it may be related, it seems to be a slightly different issue.

Thanks for the quick reply.

Re: VLC 4.0 Nightly, not playing audio

Posted: 04 Oct 2023 14:30
by Lotesdelere
As mentioned in my OP, I am unable to sign into gitlab because my account has not been approved:
"Your account is pending approval from your GitLab administrator and hence blocked. Please contact your GitLab administrator if you think this is an error. "
Should I email the account mentioned in that thread you linked?

Maybe you can send an email to videolan (at) videolan.org about the issue.

Or join the IRC channel:

Server: irc.libera.chat
Channel: #videolan

Re: VLC 4.0 Nightly, not playing audio

Posted: 07 Oct 2023 14:16
by bananasgomoo
As mentioned in my OP, I am unable to sign into gitlab because my account has not been approved:
"Your account is pending approval from your GitLab administrator and hence blocked. Please contact your GitLab administrator if you think this is an error. "
Should I email the account mentioned in that thread you linked?

Maybe you can send an email to videolan (at) videolan.org about the issue.

Or join the IRC channel:

Server: irc.libera.chat
Channel: #videolan

Ok, I've sent an email now.

Re: VLC 4.0 Nightly, not playing audio

Posted: 24 Oct 2023 15:41
by Mihai Miculescu
This is an old(ish) bug already reported
https://code.videolan.org/videolan/vlc/-/issues/28298