[MPlayer-users] Early EoF for MP3

Benoît Thébaudeau benoit.thebaudeau at advansee.com
Mon Oct 15 23:12:03 CEST 2012


Hi all,

With the latest MPlayer, MP3 files sometimes stop playing a little bit before
the end, especially with libmad, but also with some other decoders:
---
FRAMESIZE: 18432000, layer: 3, bitrate: 128, mult: 144000
libmad: 418 bytes processed
A:   7.6 (07.5) of 8.0 (08.0) 28.0%
FRAMESIZE: 18432000, layer: 3, bitrate: 128, mult: 144000
libmad: 418 bytes processed
A:   7.6 (07.5) of 8.0 (08.0) 28.0%
FRAMESIZE: 18432000, layer: 3, bitrate: 128, mult: 144000
libmad: 417 bytes processed
A:   7.6 (07.6) of 8.0 (08.0) 28.0%
FRAMESIZE: 18432000, layer: 3, bitrate: 128, mult: 144000
libmad: 418 bytes processed
A:   7.7 (07.6) of 8.0 (08.0) 28.1%
FRAMESIZE: 18432000, layer: 3, bitrate: 128, mult: 144000
libmad: 418 bytes processed
A:   7.7 (07.6) of 8.0 (08.0) 28.0%
ds_fill_buffer: EOF reached (stream: audio)
libmad: 418 bytes processed
A:   7.7 (07.7) of 8.0 (08.0) 28.0%
ds_fill_buffer: EOF reached (stream: audio)
Cannot sync MAD frame
A:   7.8 (07.7) of 8.0 (08.0) 28.0%
ds_fill_buffer: EOF reached (stream: audio)
Cannot sync MAD frame
A:   7.8 (07.7) of 8.0 (08.0) 28.0%
EOF code: 1
---

ds_fill_buffer() seems to be causing this issue.

Has anyone already experienced this issue? Any idea how to solve this?

Note that for the same MP3 file, the actual stop position depends on the
platform, the worst case being Windows and the best case being Ubuntu.

Best regards,
Benoît


More information about the MPlayer-users mailing list