[BUG] VLC does not play till the end of FLAC files (all platforms Linux, Android, Windows)

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Bujiraso
New Cone
New Cone
Posts: 8
Joined: 01 Jun 2019 11:28

[BUG] VLC does not play till the end of FLAC files (all platforms Linux, Android, Windows)

Postby Bujiraso » 03 Oct 2020 12:58

Hello,
I don't see any spot to put bugs, so please move it if it's in the wrong place.

Bug Description
The final ~250ms of FLAC tracks are skipped during audio playback on Arch Linux x64 VLC 3.0.11.1-3, on Android using VLC 3.2.12 from Google Play (model: SGS7E), and on Windows 10 x64 (HP G3 Laptop).

For those who would like an example, the popular album "To Pimp A Butterfly" makes heavy use of hard cuts at the end of tracks during spoken dialogue and it is very apparent on track 05, "These Walls".
Kendrick does not finish saying the phrase "in a Hotel Room" in FLAC. He instead says "in a Hote". The sounds for [Hote]"l room" are clipped entirely.

This is 100% reproducible per listen and happens on any track I have tried -- however... that being said it's quite difficult to notice if you don't have a good track candidate to show off the problem (many tracks have silence here).

Steps to Demonstrate Bug
- Find a song with important information in the last 200ms of the song
- Rip it using (e.g.) Rhythmbox, default FLAC settings -- nothing fancy
- Play it as FLAC
- Expected: you hear this part of the song
- Actual: You do not hear this part of the song
- Workaround: Use `$ flac -d` to decode it to WAV. The track now terminates playback completely.

Irrelevant Factors
- Audio output device (using reliable hardware or aux out speakers that work with other players, it fails. On Android hardware speaker, wired headphones, bluetooth all fail)
- Platform (Linux, Android, Windows all share this defect)
- Audio import tool (used Rhythmbox, Sound Juicer, cdparanoia through `abcde -o flac`)
- Playlist order or count (having more tracks before or after is irrelevant. playing alone is irrelevant)
- File source (local fails the same as network play, internal disk vs. USB irrelevant)

Didn't Try
- Lossy codecs. Wav works, FLAC doesn't. That was enough for me.

Nearby Topics
* https://forum.videolan.org/viewtopic.ph ... ty#p499193 looks like a similar playback issue but older versions and different formats. WAV works for me
* https://forum.videolan.org/viewtopic.ph ... ck#p500852 mine occurs at the end not the beginning of tracks
* https://forum.videolan.org/viewtopic.ph ... ap#p472672 potentially related?

Thanks for reading, if you have been!
This rabbit hole went way deeper than I thought -- I thought it was an Android-only bug.

Please let me know if this can be fixed. If the devs want an extra hand, I am a software developer by trade, but I'd appreciate some ramp-up documents and first-timer guidance.

Lotesdelere
Cone Master
Cone Master
Posts: 9947
Joined: 08 Sep 2006 04:39
Location: Europe

Re: [BUG] VLC does not play till the end of FLAC files (all platforms Linux, Android, Windows)

Postby Lotesdelere » 04 Oct 2020 11:48

You should create a new ticket on the VLC Trac with the links to some sample files and to this thread:
https://trac.videolan.org/vlc/

Bujiraso
New Cone
New Cone
Posts: 8
Joined: 01 Jun 2019 11:28

Re: [BUG] VLC does not play till the end of FLAC files (all platforms Linux, Android, Windows)

Postby Bujiraso » 07 Oct 2020 00:06

You should create a new ticket on the VLC Trac with the links to some sample files and to this thread:
https://trac.videolan.org/vlc/
Thanks for the reply. Will do!

[edit: Done. https://trac.videolan.org/vlc/ticket/25181]


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 24 guests