[FFmpeg-devel] [PATCH] avcodec/wmadec: fix WMA gapless playback

Banana M. bananaman255 at gmail.com
Sat Oct 6 18:00:13 EEST 2018


> This will/would require several fate tests to be updated
> at least these apparently:
> make: *** [fate-wmav1-encode] Error 1
> make: *** [fate-wmav2-encode] Error 1
> make: *** [fate-flcl1905] Error 1

I'm not sure if I can and how to modify those, somebody could lend a hand?
I can run the tests but not sure of how to interpret them.

***

Note that FFmpeg's encoder doesn't produce files equivalent to Microsoft's
encoder.

FFmpeg encoder creates ASF files with 1 frame of skip samples/encoder delay
(instead of ASF's 2 frames), and ASF packets/timestamps may be incorrect.

Some players using MS's codecs (ex.- foobar2000) still skip 2 frames, while
others that validate ASF timestamps (ex.- wma2wav) complain and not skip
encoder delay all.

XWMA (that don't have timestamps) do use 2 frames too, so I think that for
standard Microsoft's WMA it decodes correctly now.

I wanted to explain all that in a trac issue, since I don't know how to fix
encoders.


More information about the ffmpeg-devel mailing list