[FFmpeg-devel] FFMpeg on SH4 (STi7109)

Jean-Michel Hautbois jhautbois
Thu Nov 27 18:47:43 CET 2008


2008/11/27 M?ns Rullg?rd <mans at mansr.com>

>
> Jean-Michel Hautbois wrote:
>
> > OK, I tried to run "make codectest"
> >
> > I have the following:
> > /home/dev/mplayer/ffmpeg/libavcodec/mpegvideo_enc.c:3040: undefined
> > reference to `ff_inv_aanscales'
> >
> > Before launching any test, I will have to repair this.
>
> Rerunning configure should take care of it.
>

Exact.
I now have a problem when running on the target:

"/home/dev/ffmpeg"/tests/regression.sh regtest-mpeg vsynth   tests/vsynth1 a
"ssh root at 192.168.6.15" "/root/applications"
ssh root at 192.168.6.15 /root/applications/ffmpeg_g -y -flags +bitexact -dct
fastint -idct simple -sws_flags +accurate_rnd+bitexact -qscale 10 -f image2
-vcodec pgmyuv -i /root/applications/tests/vsynth1/%02d.pgm -f mpeg1video
/root/applications/./tests/data/a-mpeg1.mpg
FFmpeg version SVN-r15936, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-cross-compile --cross-prefix=sh4-linux- --arch=sh4
--extra-cflags=-fno-strict-aliasing --enable-swscale --enable-gpl
--target-exec=ssh root at 192.168.6.15 --target-path=/root/applications/
  libavutil     49.12. 0 / 49.12. 0
  libavcodec    52. 3. 0 / 52. 3. 0
  libavformat   52.23. 1 / 52.23. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  built on Nov 27 2008 09:07:42, gcc: 4.1.1 (STMicroelectronics/Linux Base
4.1.1-21)
    Stream #0.0: Video: pgmyuv, yuv420p, 352x288, 25.00 tb(r)
    Stream #0.0: Video: mpeg1video, yuv420p, 352x288, q=2-31, 200 kb/s,
25.00 tb(c)
md5sum: ./tests/data/a-mpeg1.mpg: No such file or directory
make: *** [regtest-mpeg] Erreur 1

>From what I can understand, it seems that the files compiled (ffmpeg,
ffmpeg_g etc.) are not copied automatically on the target before launching
the benchmark. This should be done, I think ?

I know this is not the point of the error, but I had to tell :).

JM.




More information about the ffmpeg-devel mailing list