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

Michael Niedermayer michael at niedermayer.cc
Sat Oct 6 22:57:21 EEST 2018


On Sat, Oct 06, 2018 at 05:00:13PM +0200, Banana M. wrote:
> > 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.

see wma.mak, the lines controling the tests
you can try adjusting these parameters:

fate-wmav1-encode: CMD = enc_dec_pcm asf wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c:a wmav1 -b:a 128k
fate-wmav1-encode: CMP_SHIFT = -8192
fate-wmav1-encode: CMP_TARGET = 291.06
fate-wmav1-encode: SIZE_TOLERANCE = 4632

FATE_WMA_ENCODE-$(call ENCDEC, WMAV2, ASF) += fate-wmav2-encode
fate-wmav2-encode: CMD = enc_dec_pcm asf wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c:a wmav2 -b:a 128k
fate-wmav2-encode: CMP_SHIFT = -8192
fate-wmav2-encode: CMP_TARGET = 258.32
fate-wmav2-encode: SIZE_TOLERANCE = 4632


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181006/4d0c3625/attachment.sig>


More information about the ffmpeg-devel mailing list