[MPlayer-users] Strange timecode behavior with FLAC files

Ilja Sekler ilja_sekler_ at gmx.de
Sat Dec 11 15:31:10 CET 2010


On 08.12.2010 23:57, Reimar Döffinger wrote:

> On Wed, Dec 08, 2010 at 10:32:27PM +0100, Ilja Sekler wrote:
> 
>> On 08.12.2010 20:46, Reimar Döffinger wrote:
>> 
>>> You would also have had to set needs_parsing in demux_audio. But 
>>> since the parser is now in FFmpeg I applied a working fix just
>>> now, I forgot to note the exact revision though.
>> 
>> Thank you, it was r32677. MPlayer doesn't crash, but, as feared,
>> it floods stderr permanently with messages like
>> 
>> [NULL @ 0x8a1d3c0]sample/frame number mismatch in adjacent frames
>> 
>> when playing flac audio.
> 
> I think that is something wrong in FFmpeg, I asked them about it.

This is fixed in r32679 now, thanks.

Unfortunately, MPlayer is still not fully usable for FLAC audio as
searching in FLAC files is broken now. Pressing e.g. the arrow right key
results in playback advancing in very big steps (30 seconds and more) or
going straight to the end of the file. When hitting the arrow left key,
MPlayer still jumps forward, but in rather small, erratic steps. Any
attempt to search prints

[flac @ 0x8a1d480]invalid sync code
[flac @ 0x8a1d480]invalid frame header

to console.

Is it thinkable to backout the FLAC parser and take another approach
when a solution matures? Would using the system libFLAC help in any way?

-- 
Regards

Ilja


More information about the MPlayer-users mailing list