thunderhawk
Posts: 4
Joined: Fri Sep 30, 2016 2:43 pm

Re: how to compile ffmpeg for Pi2 (iterating to a working bu

Thu Oct 27, 2016 7:33 am

I found the problem and SOLVED: when you build the xvid it put links to library into /usr/local/lib/ so you have to remove libxvidcore.so and libxvidcore.so.4.

Then it works!

mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Re: how to compile ffmpeg for Pi2 (iterating to a working bu

Sat Jan 14, 2017 5:07 pm

I tried the script in post report.php?f=67&p=702809 but I get

Code: Select all

pi@raspberrypi:~$ sh extra.sh
#
# Start building some external libraries for ffmpeg on Raspberry Pi 2
#
# This is a COMPLETE source download and rebuild of some ffmpeg external libraries on Raspberry Pi 2
#
# Once day, ask someone about which if these works and is *the best* for the Pi2
# sudo ./configure --host=arm-unknown-linux-gnueabi
#   versus
# sudo ./configure --host=armv71-unknown-linux-gnueabihf
#   versus
# sudo ./configure --host=arm-unknown-linux-gnueabihf
#
#
Do you wish to re-download every Source library as we go ? [y/n,default=n]Y
Do you wish to press Enter between each library build ? [y/n,default=n]n
extra.sh: 75: extra.sh: Syntax error: "(" unexpected (expecting "}")
Any hints?

Return to “Graphics programming”