[FFmpeg-devel] FFMpeg on SH4 (STi7109)

Måns Rullgård mans
Wed Dec 3 18:31:24 CET 2008


Jean-Michel Hautbois wrote:
> 2008/11/27 Jean-Michel Hautbois <jhautbois at gmail.com>
>
>>
>>
>> > -----Original Message-----
>> > From: ffmpeg-devel-bounces at mplayerhq.hu [mailto:ffmpeg-devel-
>> > bounces at mplayerhq.hu] On Behalf Of M?ns Rullg?rd
>> > Sent: jeudi 27 novembre 2008 20:13
>> > To: FFmpeg development discussions and patches
>> > Subject: Re: [FFmpeg-devel] FFMpeg on SH4 (STi7109)
>> >
>> > "Jean-Michel Hautbois" <jhautbois at gmail.com> writes:
>> >
>> > >> Jean-Michel Hautbois wrote:
>> > >>
>> > >> > 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 ?
>> > >>
>> > >> Is /home/dev/ffmpeg on your workstation mounted (over NFS) as
>> > >> /root/applications on the target?  Does the target have write
>> > >> permission there?
>> > >>
>> > >
>> > > Do you mean that the target needs to write the file on the host ?
>> >
>> > Yes.
>> >
>> > > Where does md5sum: ./tests/data/a-mpeg1.mpg: is looking ?
>> > > On the host or on the target ?
>> >
>> > All files are stored on the host.  That way the target doesn't need
>> > 200MB or so of free space.
>> >
>>
>> Ok, so the target needs to be able to write into host. I will do that ;).
>> Thanks again.
>
>
> OK, it works. There is only one thing that is problematic, from my point of
> view...
> All the objects are build in the directory where it has been launched (say,
> for example, /home/my_home/ffmpeg) instead of the target_path directory
> specified in the configure line.
>
> When looking at the Makefile, it doesn't take into account the TARGET_PATH
> variable in the CFLAGS.
> I think this should be done ?

I think you misunderstand.  TARGET_PATH is the name *on the target* pointing
to the build directory *on the host*.  It need not even exist on the host.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list