Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 687666

Summary: media-video/mpv no longer plays FLAC files - mpv: Got unexpected packet after EOF
Product: Gentoo Linux Reporter: rnddim
Component: Current packagesAssignee: Mikle Kolyada <zlogene>
Status: RESOLVED FIXED    
Severity: normal CC: josef64, media-video, pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 506276    

Description rnddim 2019-06-09 00:36:15 UTC
While testing applications after unsymlink-lib --migrate, I found that playing a FLAC file in mpv causes the following message to constantly be printed, resulting in output like:

[flac @ 0x7f0a1ab8bbc0]Got unexpected packet after EOF
A: 310.9 (05:10.9) of 317.0 (05:17.0)  0.4% 
[flac @ 0x7f0a1ab8bbc0]Got unexpected packet after EOF
A: 311.2 (05:11.2) of 317.0 (05:17.0)  0.4% 
[flac @ 0x7f0a1ab8bbc0]Got unexpected packet after EOF
A: 311.6 (05:11.5) of 317.0 (05:17.0)  0.4% 
[flac @ 0x7f0a1ab8bbc0]Got unexpected packet after EOF
A: 312.1 (05:12.0) of 317.0 (05:17.0)  0.4%

It is worth noting that audio plays as it should, the only change from previous behavior is the flac message being printed. I tested an .ogg file as well, and no messages are printed. I'm assuming this is flac specific. mpv was printing no such messages right before I did the migration, so it's the only thing that could explain this.

I suspect I could fix this by running --finish and then making sure to recompile flac, but I want to double-check that this sort of problem isn't to be expected by the migration process (because if it is something abnormal then I imagine --rollback would be a better solution while figuring out the issue). I've so far not noticed anything else different or broken after --migrate and rebooting.
Comment 1 tastytea 2019-06-09 11:39:28 UTC
I have the same issue, but with media-video/mplayer-1.3.0-r5 and not with media-video/mpv. I'm not sure if it is connected with the migration to 17.1 though.

Output (couldn't find a way to change the language, sorry):

==========================================================================
Öffne Audiodecoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 58.35.100 (external)
[flac @ 0x7fe7e9402500]Got unexpected packet after EOF
AUDIO: 44100 Hz, 2 ch, s16le, 899.5 kbit/63.74% (ratio: 112437->176400)
Ausgewählter Audiocodec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: kein Video
Starte Wiedergabe...
[flac @ 0x7fe7e9402500]Got unexpected packet after EOF
A:   0.0 (00.0) of 200.0 (03:20.0) ??,?% 
[flac @ 0x7fe7e9402500]Got unexpected packet after EOF
A:   0.3 (00.2) of 200.0 (03:20.0)  0.4% 
[flac @ 0x7fe7e9402500]Got unexpected packet after EOF
A:   0.6 (00.5) of 200.0 (03:20.0)  0.4% 
[flac @ 0x7fe7e9402500]Got unexpected packet after EOF
A:   0.8 (00.7) of 200.0 (03:20.0)  0.5% 
[flac @ 0x7fe7e9402500]Got unexpected packet after EOF
A:   0.9 (00.9) of 200.0 (03:20.0)  0.5% 
[flac @ 0x7fe7e9402500]Got unexpected packet after EOF
A:   1.1 (01.1) of 200.0 (03:20.0)  0.5% 
[flac @ 0x7fe7e9402500]Got unexpected packet after EOF
A:   1.3 (01.2) of 200.0 (03:20.0)  0.5%

Recompiling media-video/mplayer, media-video/ffmpeg and media-libs/flac didn't help.
Comment 2 Mikle Kolyada archtester Gentoo Infrastructure gentoo-dev Security 2019-10-27 11:52:44 UTC
well, please test with mpv-0.30.0, this seems ro be fine