[FFmpeg-devel] fate-ffprobe tests

Michael Niedermayer michaelni at gmx.at
Sun Oct 7 00:46:27 CEST 2012

On Sat, Oct 06, 2012 at 07:05:29PM -0300, jamal wrote:
> I noticed that all the mingw32 FATE slots (Debian and Ubuntu machines
> using wine) are failing the ffprobe tests and not reporting them as
> such, showing the following error when trying to generate the
> ffprobe-test.nut file (Which means the tests in question are not
> actually run):
> GEN	tests/data/ffprobe-test.nut
> make: *** [tests/data/ffprobe-test.nut] Error 2
> The tests for me succeed with no errors in a Windows environment, and
> when i tried to reproduce this problem in a Linux one (Not Debian based,
> though) the ffprobe-test.nut file was generated without issues, so i
> can't say what's causing this.

These errors are because ffmpeg is compiled for the target but
executed on the host, you can for example reproduce it with qemu
and compile for something like arm:

make fate-ffprobe V=2
./ffmpeg \
        -f lavfi -i "aevalsrc=sin(400*PI*2*t)::d=0.125[out0]; testsrc=d=0.125[out1]; testsrc=s=100x100:d=0.125[out2]" \
        -f ffmetadata -i /home/michael/ffmpeg/tests/test.ffmeta \
        -flags +bitexact -map 0:0 -map 0:1 -map 0:2 -map_metadata 1 \
        -vcodec rawvideo -acodec pcm_s16le \
        -y tests/data/ffprobe-test.nut 2>/dev/null
make: *** [tests/data/ffprobe-test.nut] Error 255

/lib/ld-linux.so.3: No such file or directory

file ./ffmpeg
./ffmpeg: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.31, BuildID[sha1]=0x958a7f37f328d9ea66f3b52e7986ed7e245815c4, stripped

a make fate-vsynth1-ffv1 V=2
executes ffmpeg like this:
/home/michael/qemu/arm-linux-user/qemu-arm -R 128M -L /usr/arm-linux-gnueabi/ /home/michael/ffmpeg/arm/ffmpeg ...

the extra stuff to execute it comes from --target-exec

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121007/eedcab69/attachment.asc>

More information about the ffmpeg-devel mailing list