On Fri, Mar 6, 2015 at 11:47 AM, Michael Niedermayer <michae...@gmx.at> wrote:
>> 2- How to run that, make check dies at dct1d-4
>
> make check should pass, if it does not please try without local
> changes, with make distclean or if (unlikely) these still fail a
> fresh git checkout

I did use a clean checkout.

Just in case,

$ make disclean
$ ./confiigure & ./configure --enable-gpl --enable-version3
--enable-shared --disable-static --enable-x11grab
--extra-cflags='-mtune=native -march=native' --enable-libmp3lame
--enable-libvorbis --enable-libtheora --enable-libspeex
--enable-libxvid --enable-libx264 --enable-libschroedinger
--enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-postproc --enable-libdc1394 --enable-librtmp --enable-libfaac
--enable-nonfree --enable-libfreetype --enable-pthreads --enable-debug
&& make -j3 && make -j3 testprogs
...
$ make check
warning: only a subset of the fate tests will be run because SAMPLES
is not specified
HOSTCC  tests/base64.o
HOSTLD  tests/base64
HOSTCC  tests/tiny_psnr.o
HOSTLD  tests/tiny_psnr
HOSTCC  tests/tiny_ssim.o
HOSTLD  tests/tiny_ssim
TEST    dct1d-4
Test dct1d-4 failed. Look at tests/data/fate/dct1d-4.err for details.
$ cat tests/data/fate/dct1d-4.err
/home/claudiofreire/src/ffmpeg.aacupstreamref.git/libavcodec/fft-test:
error while loading shared libraries: libavutil.so.54: cannot open
shared object file: No such file or directory

So it seems the test doesn't set up the LD_LIBRARY_PATH correctly.
That's fixable, I'll see about getting a patch for that when I
understand the makefile layout.

In the meantime, I'm *guessing* a test would look like the patch
attached, but I still cannot run it. It says it won't, because:
warning: only a subset of the fate tests will be run because SAMPLES
is not specified

Any idea where to get the samples? It's not just any samples, it wants
a specific set of samples.
diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak
index 34823be..8ca513d 100644
--- a/tests/fate/aac.mak
+++ b/tests/fate/aac.mak
@@ -95,6 +95,16 @@ fate-aac-aref-encode: CMP_TARGET = 434
 fate-aac-aref-encode: SIZE_TOLERANCE = 2464
 fate-aac-aref-encode: FUZZ = 5
 
+FATE_AAC_ENCODE += fate-aac-s7350-encode
+fate-aac-aref-encode: ./tests/data/asynth-7350-2.wav
+fate-aac-aref-encode: CMD = enc_dec_pcm adts wav s16le $(REF) -strict -2 -c:a aac -b:a 256k
+fate-aac-aref-encode: CMP = stddev
+fate-aac-aref-encode: REF = ./tests/data/asynth-7350-2.wav
+fate-aac-aref-encode: CMP_SHIFT = -4096
+fate-aac-aref-encode: CMP_TARGET = 434
+fate-aac-aref-encode: SIZE_TOLERANCE = 2464
+fate-aac-aref-encode: FUZZ = 5
+
 FATE_AAC_ENCODE += fate-aac-ln-encode
 fate-aac-ln-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -strict -2 -c:a aac -b:a 512k
 fate-aac-ln-encode: CMP = stddev
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to