[FFmpeg-devel] [PATCH] Compile with --enable-mlib
Henry Jen
henryjen
Thu Jan 21 20:35:38 CET 2010
2010/1/21 Ramiro Polla <ramiro.polla at gmail.com>:
> On Thu, Jan 21, 2010 at 5:22 AM, Henry Jen <henryjen at ztune.net> wrote:
>> A quick newbie question, after build, what can I do to test? make test
>> simply throw me errors,
>>
>> $ make test
>> "/home/henryjen/git/ffmpeg"/tests/codec-regression.sh regtest-ref
>> vsynth1 tests/vsynth1 a "" "."
>> make: *** [regtest-ref] Killed
>
> Try again with "V=1 make test", and if that doesn't give enough
> information, try "V=2 make test"
A-ha, it's missing libraries as I built with --disable-static. Would
it be better to build with -R in LDFLAGS?
After set LD_LIBRARY_PATH before make test, I got error on alac codec.
Suggestions?
Cheers,
Henry
TEST CODEC alac
./ffmpeg_g -v 0 -y -flags +bitexact -dct fastint -idct simple
-sws_flags +accurate_rnd+bitexact -ab 128k -ac 2 -f s16le -i
././tests/data/asynth1.sw -acodec alac -compression_level 1
././tests/data/a-alac.m4a
FFmpeg version git-6f354ca, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Jan 20 2010 22:41:51 with gcc 3.4.3 (csl-sol210-3_4-20050802)
configuration: --enable-pthreads --enable-shared --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-mlib --disable-static
libavutil 50. 7. 0 / 50. 7. 0
libavcodec 52.48. 0 / 52.48. 0
libavformat 52.47. 0 / 52.47. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 8. 0 / 0. 8. 0
[s16le @ 8082cc0]Estimating duration from bitrate, this may be inaccurate
Input #0, s16le, from '././tests/data/asynth1.sw':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
[ipod @ 808c480]Codec for stream 0 does not use global headers but
container format requires global headers
Output #0, ipod, to '././tests/data/a-alac.m4a':
Stream #0.0: Audio: alac, 44100 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
size= 380kB time=6.04 bitrate= 516.1kbits/s
video:0kB audio:379kB global headers:0kB muxing overhead 0.302079%
./ffmpeg_g -v 0 -y -flags +bitexact -dct fastint -idct simple
-sws_flags +accurate_rnd+bitexact -i ././tests/data/a-alac.m4a
-sample_fmt s16 -f wav ././tests/data/alac.vsynth1.out.wav
FFmpeg version git-6f354ca, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Jan 20 2010 22:41:51 with gcc 3.4.3 (csl-sol210-3_4-20050802)
configuration: --enable-pthreads --enable-shared --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-mlib --disable-static
libavutil 50. 7. 0 / 50. 7. 0
libavcodec 52.48. 0 / 52.48. 0
libavformat 52.47. 0 / 52.47. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 8. 0 / 0. 8. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '././tests/data/a-alac.m4a':
Metadata:
major_brand : M4A
minor_version : 512
compatible_brands: isomiso2
encoder : Lavf52.47.0
Duration: 00:00:06.00, start: 0.000000, bitrate: 519 kb/s
Stream #0.0(und): Audio: alac, 44100 Hz, 2 channels, s16, 517 kb/s
Output #0, wav, to '././tests/data/alac.vsynth1.out.wav':
Stream #0.0(und): Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
size= 1034kB time=6.00 bitrate=1411.3kbits/s
video:0kB audio:1034kB global headers:0kB muxing overhead 0.004157%
./ffmpeg_g -v 0 -y -flags +bitexact -dct fastint -idct simple
-sws_flags +accurate_rnd+bitexact -ab 128k -ac 2 -f s16le -i
././tests/data/asynth1.sw -acodec alac -compression_level 1
././tests/data/a-alac.m4a
FFmpeg version git-6f354ca, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Jan 20 2010 22:41:51 with gcc 3.4.3 (csl-sol210-3_4-20050802)
configuration: --enable-pthreads --enable-shared --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-mlib --disable-static
libavutil 50. 7. 0 / 50. 7. 0
libavcodec 52.48. 0 / 52.48. 0
libavformat 52.47. 0 / 52.47. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 8. 0 / 0. 8. 0
[s16le @ 8082cc0]Estimating duration from bitrate, this may be inaccurate
Input #0, s16le, from '././tests/data/asynth1.sw':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
[ipod @ 808c480]Codec for stream 0 does not use global headers but
container format requires global headers
Output #0, ipod, to '././tests/data/a-alac.m4a':
Stream #0.0: Audio: alac, 44100 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
size= 380kB time=6.04 bitrate= 516.1kbits/s
video:0kB audio:379kB global headers:0kB muxing overhead 0.302079%
./ffmpeg_g -v 0 -y -flags +bitexact -dct fastint -idct simple
-sws_flags +accurate_rnd+bitexact -i ././tests/data/a-alac.m4a
-sample_fmt s16 -f wav ././tests/data/alac.vsynth2.out.wav
FFmpeg version git-6f354ca, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Jan 20 2010 22:41:51 with gcc 3.4.3 (csl-sol210-3_4-20050802)
configuration: --enable-pthreads --enable-shared --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-mlib --disable-static
libavutil 50. 7. 0 / 50. 7. 0
libavcodec 52.48. 0 / 52.48. 0
libavformat 52.47. 0 / 52.47. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 8. 0 / 0. 8. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '././tests/data/a-alac.m4a':
Metadata:
major_brand : M4A
minor_version : 512
compatible_brands: isomiso2
encoder : Lavf52.47.0
Duration: 00:00:06.00, start: 0.000000, bitrate: 519 kb/s
Stream #0.0(und): Audio: alac, 44100 Hz, 2 channels, s16, 517 kb/s
Output #0, wav, to '././tests/data/alac.vsynth2.out.wav':
Stream #0.0(und): Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
size= 1034kB time=6.00 bitrate=1411.3kbits/s
video:0kB audio:1034kB global headers:0kB muxing overhead 0.004157%
--- /home/henryjen/git/ffmpeg/tests/ref/vsynth1/alac 2010-01-18
19:44:27.197189987 -0800
+++ tests/data/alac.vsynth1.regression 2010-01-21 11:31:13.500208685 -0800
@@ -1,4 +1,4 @@
-c68f649777ab8e7c9a0f1f221451d3ad *./tests/data/a-alac.m4a
-389386 ./tests/data/a-alac.m4a
+9b21c02ae852a039645195b563d5ce16 *./tests/data/a-alac.m4a
+389482 ./tests/data/a-alac.m4a
95e54b261530a1bcf6de6fe3b21dc5f6 *./tests/data/alac.vsynth1.out.wav
stddev: 0.00 PSNR:999.99 bytes: 1058444/ 1058444
make: *** [regtest-alac] Error 1
=== Missing libraries
$ V=2 make test
"/home/henryjen/git/ffmpeg"/tests/codec-regression.sh regtest-ref
vsynth1 tests/vsynth1 a "" "."
./ffmpeg_g -v 0 -y -flags +bitexact -dct fastint -idct simple
-sws_flags +accurate_rnd+bitexact -f image2 -vcodec pgmyuv -i
./tests/vsynth1/%02d.pgm -an -f rawvideo
././tests/data/vsynth1.ref.yuv
ld.so.1: ffmpeg_g: fatal: libavdevice.so.52: open failed: No such file
or directory
/home/henryjen/git/ffmpeg/tests/codec-regression.sh: line 104: 626: Killed
make: *** [regtest-ref] Killed
More information about the ffmpeg-devel
mailing list