2008-02-28 12:44:38     ffmpeg: not found

Document created by Aaronwu Employee on Aug 5, 2013
Version 1Show Document
  • View in full screen mode

2008-02-28 12:44:38     ffmpeg: not found

Frank Van Hooft (CANADA)

Message: 51817    For some reason I don't seem to be able to build ffmpeg. I'm building 2008R1 on Ubuntu 7.1. I have FDPIC selected. The build ("make clean" followed by "make") goes to completion, creates a "linux" file, which I download to the BF537-STAMP and boot. Then when I try to run ffmpeg I get:

 

BusyBox v1.4.1 (2008-02-28 09:07:07 PST) Built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/> ffmpeg

ffmpeg: not found

root:/> find -name ffmpeg*

root:/>

 

ffmpeg doesn't appear to be part of my image. Am I missing something really basic here? (Like, am I supposed to download ffmpeg to the board separately or something?)

 

Looking at the build output, I don't see anything obvious that's killing the ffmpeg build. I do see:

 

/home/frank/blackfin-sources/branch-2008R1/uclinux-dist/lib/ffmpeg/build/../ffmpeg-svn-11114/vhook/drawtext.c:61:10: error: #include expects "FILENAME" or <FILENAME>

/home/frank/blackfin-sources/branch-2008R1/uclinux-dist/lib/ffmpeg/build/../ffmpeg-svn-11114/vhook/drawtext.c:62:10: error: #include expects "FILENAME" or <FILENAME>

 

however this appears (to me) to be one of the vhook examples, and doesn't appear to affect the rest of the build. I've attached the build output (gzip'd) to this post.

 

Any thoughts?

 

Thanks!

 

 

 

makelog.txt.gz

QuoteReplyEditDelete

 

 

2008-02-28 13:32:03     Re: ffmpeg: not found

Mike Frysinger (UNITED STATES)

Message: 51820    enabling the library does not install the applications ... you have to also turn on the ffmpeg application options

QuoteReplyEditDelete

 

 

2008-02-28 14:59:38     Re: ffmpeg: not found

Frank Van Hooft (CANADA)

Message: 51831    Thanks very much Mike - now ffmpeg is appearing in my image.

 

But, as murphy would have it, this leads to a new problem. When I try to run it on the BF537-STAMP, I get:

 

BusyBox v1.4.1 (2008-02-28 11:40:31 PST) Built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/> ffmpeg

ffmpeg: can't load library 'libavdevice.so.52'

 

If I do a "find" on the BF537, it appears that libavdevice is not present on the STAMP:

 

root:/> find -name libav*

./usr/lib/libavutil.so.49

./usr/lib/libavcodec.so.51

./usr/lib/libavformat.so.52

root:/>

 

However, libavdevice is indeed present on the host (Ubuntu 7.1) PC:

 

frank@DownstairsLinux:~/blackfin-sources/branch-2008R1/uclinux-dist$ find -name libavdevice*

./lib/ffmpeg/build/libavdevice-uninstalled.pc

./lib/ffmpeg/build/libavdevice

./lib/ffmpeg/build/libavdevice/libavdevice.so

./lib/ffmpeg/build/libavdevice/libavdevice.a

./lib/ffmpeg/build/libavdevice/libavdevice.so.52

./lib/ffmpeg/build/libavdevice.pc

./lib/ffmpeg/ffmpeg-svn-11114/libavdevice

./staging/usr/lib/libavdevice.so

./staging/usr/lib/libavdevice.a

./staging/usr/lib/libavdevice.so.52

./staging/usr/lib/libavdevice.so.52.0.0

./staging/usr/lib/pkgconfig/libavdevice.pc

 

So it appears that libavdevice is being built, but is not being incorporated into the final linux image. Would this be a correct interpretation? Is this normal?

 

Thanks again!

 

 

 

QuoteReplyEditDelete

 

 

2008-02-28 15:25:22     Re: ffmpeg: not found

Mike Frysinger (UNITED STATES)

Message: 51834    odd, libavdevice.so wasnt being generated before

 

the Makefile has been fixed in svn

QuoteReplyEditDelete

 

 

2008-02-28 16:45:50     Re: ffmpeg: not found

Frank Van Hooft (CANADA)

Message: 51847    Typing "ffmpeg" now produces the longest help screen the world's ever seen. Looks like you've fixed it Mike - thanks very much!

Attachments

Outcomes