Jump to content

Getting ffmpeg compiled


Swixxy

Recommended Posts

Posted

Hey, has anybody compiled ffmpeg to a binary file that could give me some pointers?

 

I've tried using the slackware pkg ( http://connie.slackware.com/~alien/slackbuilds/ffmpeg/pkg/13.37/ffmpeg-0.8.6-i486-1alien.tgz )

 

the pkg seems to install fine using installpkg however i'm at a bit of a loss to the whereabouts of the ffmpeg binary file?

 

The reason I'm after doing this is because the latest subsonic build uses a newer ffmpeg, however my ffmpeg is out dated and i cant find a prebuild file to replace it with anywhere. I'm pretty good with linux knowledge in general, i just haven't had much practice at compiling things & dealing with things of this nature, and as its running on my unraid box i don't want to risk running into problems by mistake!

 

Many thanks :)

Posted

Hey, has anybody compiled ffmpeg to a binary file that could give me some pointers?

 

I've tried using the slackware pkg ( http://connie.slackware.com/~alien/slackbuilds/ffmpeg/pkg/13.37/ffmpeg-0.8.6-i486-1alien.tgz )

 

the pkg seems to install fine using installpkg however i'm at a bit of a loss to the whereabouts of the ffmpeg binary file?

 

The reason I'm after doing this is because the latest subsonic build uses a newer ffmpeg, however my ffmpeg is out dated and i cant find a prebuild file to replace it with anywhere. I'm pretty good with linux knowledge in general, i just haven't had much practice at compiling things & dealing with things of this nature, and as its running on my unraid box i don't want to risk running into problems by mistake!

 

Many thanks :)

 

I used this set of steps in compiling ffmpeg in the airvideo package in unMENU.  I never found a slackware package pre-compiled.

 

sync

echo 3 > /proc/sys/vm/drop_caches

sysctl -w vm.vfs_cache_pressure=200

tar --use-compress-prog=pbzip2 --no-same-owner -xf "${LATEST_DOWNLOADED_VERSION}";

mkdir -p /var/tmp

TMPDIR=/var/tmp; export TMPDIR

echo TMPDIR set to $TMPDIR

cd ffmpeg

 

#config and compile

./configure.orig.fixed --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads \

                            --enable-libmp3lame --enable-libx264 \

                            --enable-libxvid --enable-x11grab --disable-shared --enable-static;

make

 

 

Posted

Hey thanks a lot for lending your expertise. :)

 

 

Got another error unfortunately though,

 

root@jbox:/boot/ffmpeg-HEAD-a7e5679# ./configure --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads                             --enable-libmp3lame --enable-libx264                             --enable-libxvid --enable-x11grab --disable-shared --enable-static;
ERROR: libx264 version must be >= 0.118.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.

 

So i suppose i have to compile libx264 as well? I have it downloaded from their git, however following instructions online to compile it for unraid seems to fail. I assume as you have libx264 in your arguments you also compiled it yourself? A step like before for libx264 would be great! (Sorry to be a pain!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...