LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-04-2005, 09:56 PM   #1
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Project FFMpeg (SlackBuild scripts)


I've been working on getting FFMpeg installed from SlackBuild scripts. I have it all working at this point. Thought I'd share. Downloadable SlackBuild scripts are here:

http://shilo.is-a-geek.com/001_Proje...eg/ffmpeg.html

Note that I do have some issues still. I'd love to get thosed ironed out before I move on to my next group of builds. Please post any questions or suggestions for the scripts here.

So you can get an idea what the end product is like:

Code:
Install prefix   /usr
Source path      /tmp/FFMpeg-20050921
C compiler       gcc
make             make
CPU              x86 (generic)
Big Endian       no
inttypes.h       yes
broken inttypes.h no
MMX enabled      yes
Vector Builtins  yes
gprof enabled    no
zlib enabled     yes
libgsm enabled   yes
mp3lame enabled  yes
libogg enabled   yes
vorbis enabled   yes
theora enabled   yes
faad enabled     yes
faadbin enabled  no
faac enabled     yes
xvid enabled     yes
x264 enabled     yes
a52 support      yes
a52 dlopened     no
dts support      no
pp support       yes
debug symbols    no
strip symbols    yes
optimize         yes
shared pp        yes
Video hooking    yes
SDL support      yes
Imlib2 support   yes
freetype support yes
Sun medialib support no
pthreads support yes
AMR-NB float support yes
AMR-NB fixed support yes
AMR-WB float support yes
AMR-WB IF2 support no
network support      yes
IPv6 support         yes
License: GPL
Here's the reasoning on the "no"s, in case anyone is interested:
Big Endian no ----- Not Applicable
broken inttypes.h no ----- Not Applicable(?)
gprof enabled no ----- No benefit
faadbin enabled no ----- No benefit(?)
a52 dlopened no ----- No benefit(?)
dts support no ----- Couldn't find the source code
debug symbols no ----- No benefit
Sun medialib support no ----- Seemed like a big hassle for non-free libraries
AMR-WB IF2 support no ----- No idea here.

Last edited by shilo; 10-04-2005 at 09:58 PM.
 
Old 10-04-2005, 10:17 PM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
If i understand right, you install some source packages and the script make the compile?
 
Old 10-04-2005, 10:28 PM   #3
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Original Poster
Rep: Reputation: 50
Quote:
Originally posted by Linux.tar.gz
If i understand right, you install some source packages and the script make the compile?
Sure thing. The links to the source code are on the page. Works just like the SlackBuild scripts for Slackware.

As root:

Make a folder for each program

Download the SlackBuild, slack-desc, doinst.sh (if used), and the source tarball to that folder

cd to that folder

./program_name.SlackBuild

The package is in /tmp

Need to go in order (top to bottom).

Also, you'll probably want to read the scripts a little. FFMpeg needs you to download a couple other tarballs before you start.

Also, you probably want to right-click and "save as...". Easier than copy/paste.
 
Old 10-05-2005, 10:17 AM   #4
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
good heavens...just what I was looking for.

I've been trying for a few days to install ffmpeg and I've had the same exact configure switches that Shilo mentions. However, everytime I do a make, it keeps giving me libavcodec errors which I think it should not since libavcodec is included in ffmpeg (pulled from CVS). So I tried the alternate route, and installed ffmpeg package from linuxpackages...thinking libavcodec would be installed. I then moved on to install libquicktime with libavcodec enabled but the libquicktime configure script can't find it. I've since removed the ffmpeg package from linuxpackages. To note that I had no such problem with slackware 10 & 10.1 where I installed all the deps without a problem.

I would like to capture my dv tapes onto my pc and make dvd's. So far I've managed to install libavc1394, libraw1394, libiec61883. libdv, libdc1394, libquicktime (linuxpackages), dvgrab (depends of libquicktime; from linuxpackages) and kino. However I must say it is less than desirable since dvgrab is not happy without libquicktime and I would really need ffmpeg to go.

Also i installed transcode yesterday but had to build it without libpostproc (included in ffmpeg). Anyway I am kinda confused here with so many packages and deps. I am still not an advanced slacker to write my build scripts although i've gone through a few of them.

Good job Shilo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a generic SlackBuild shilo Slackware 46 06-19-2008 11:45 PM
how to write instal scripts for deployment of jsp project on linux neerajchaudhari Linux - Software 1 06-05-2005 09:02 AM
GNOME.SlackBuild jmdlcar Slackware 1 06-03-2005 04:52 PM
Shell Server Project Scripts blueCow Linux - General 8 04-12-2005 08:08 PM
SlackBuild system thegeekster Slackware 7 06-01-2004 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration