LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-13-2008, 12:32 PM   #1
davinwave
LQ Newbie
 
Registered: May 2007
Posts: 4

Rep: Reputation: 0
Linux distro with FFMPEG pre-installed?


Hi all

Like many, I've been trying to set up a linux box so that I can run a video-sharing script like phpmotion or youtube clone. Also like many, I have found this to be an incredible difficult task.

The software required (other than the obvious php and mysql) is:
Fmpeg, Mplayer + Mencoder, flvtool2, Libogg + Libvorbis, LAME MP3 Encoder.

Does anyone know if:

1. there are any linux distros out there that come with the necessary software pre-installed?
2. there is any single installer file (for ANY distro) of linux that will work on a completely fresh install of linux (again, any distro, any version, I'll try anything at this stage!!)?

Thanks in advance,
D
 
Old 04-13-2008, 01:30 PM   #2
biophysics
Member
 
Registered: Jan 2002
Location: Germany
Distribution: Kubuntu
Posts: 444

Rep: Reputation: 30
mythbuntu might be an option. I personally install ubuntu and enable medibuntu repositories.
 
Old 04-13-2008, 01:49 PM   #3
viron
Member
 
Registered: Dec 2005
Location: McKinney, Texas
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
I don't suppose installing any distro you like and compiling from source has ever entered your mind has it?
 
Old 04-13-2008, 02:02 PM   #4
Kirmonkey
Member
 
Registered: Jan 2004
Location: UK
Distribution: Debian
Posts: 194

Rep: Reputation: 30
You will be able to install this software after the initial installation in the majority of distributions.

As I am running Debian I get all the necessary software from http://www.debian-multimedia.org/

Not sure what distribution you are running so it is difficult for people to give you the correct advice, it may be worth updating your profile.
 
Old 04-13-2008, 02:14 PM   #5
davinwave
LQ Newbie
 
Registered: May 2007
Posts: 4

Original Poster
Rep: Reputation: 0
hi all

Thanks for your replies so far. Viron, I HAVE tried (for many days at this stage) to install on several distros, including Fedora 8 and Ubuntu 6.06. I would have thought the part of my post that said "like many, I have found this to be an incredible difficult task" would have indicated this. This post is a last resort as I have just about given up on getting this to work. None of the guides I have followed has resulted in a working finish, there's always something that doesn't work, and given the large number of posts on various boards out there when you google this topic, it appears it's not only me that's having this problem. I think asking if there's a distro out there that has this software pre-installed is a reasonable question.

Alternatively, can anyone suggest a guide they have personally followed and that worked for them, again for any distro (but preferably for Fedora or Ubuntu)? I really want to get this working, so I'm willing to use any flavour of linux once I know it will work. Kirmonkey and biophysics, thank you for your posts, would you be able to elaborate perhaps?

Thanks for all your comments, hope someone can help...

D
 
Old 04-13-2008, 02:55 PM   #6
Kirmonkey
Member
 
Registered: Jan 2004
Location: UK
Distribution: Debian
Posts: 194

Rep: Reputation: 30
Took me a moment but then it came back to me.

This is how I got started on some of this stuff, in my case I was looking specifically at LAME.

http://ubuntuguide.org/wiki/Ubuntu:Gutsy

Have a look through this, it relates to Ubuntu and most of this is done from the command line, simply a case of copy and paste. Looks like it covers:

ffmpeg
mplayer
mencoder


Please pay particular attention to the "How to add extra repositories" section before you dive in.

I found this guide an easy to use and informative tool. It doesn't cover all your needs but it will get you part way there.

Once you have got part way with the short list above post back if you are having trouble with the rest and I can guide you through the remainder of it.

Happy apt-getting

Regards
 
Old 04-14-2008, 09:46 AM   #7
davinwave
LQ Newbie
 
Registered: May 2007
Posts: 4

Original Poster
Rep: Reputation: 0
thanks Kirmonkey, will take a look.

Does anyone else have any guides that they have used and could recommend?

Thanks
D
 
Old 05-06-2008, 08:36 PM   #8
vadkutya
Member
 
Registered: Apr 2008
Distribution: slackware 10.2
Posts: 117

Rep: Reputation: 16
hey davinwave,

viron is right. the only way to get it working on all distros is to compile it from source. what did not work when you tried it? i don't understand it. i can give you a short guide:

1. go to http://www.mplayerhq.hu/design7/dload.html and download the source code.

2. after you did so you should have a file called MPlayer-1.0rc2.tar.bz2 in your download directory. unpack it with ($ is the user prompt):
Code:
$ tar xvjf MPlayer-1.0rc2.tar.bz2
by now you should have a directory called MPlayer-1.0rc2/

3. go to http://www.mplayerhq.hu/MPlayer/releases/codecs/ and download all-20061022.tar.bz2

4. unpack all-20061022.tar.bz2 with
Code:
$ tar xvjf all-20061022.tar.bz2
by now you should have an additional directory called all-20061022/

5. create a codecs directory. it actually doesn't matter where you create it just remember the location. you can do this for example in /usr/local/lib or /usr/lib like this:
Code:
# mkdir /usr/local/lib/codecs
if you get permission denied errors change to root (recognize the '#'? this means do the following command as root. if you change to root you'll see that your prompt changed and displays a '#' at the end).

6. now copy all the codecs from the all-20061022/ directory in /usr/local/lib/codecs (or /usr/lib/codecs respectivly). let's say all-20061022/ is in ~/tmp then you have to type:
Code:
# cp ~/tmp/all-20061022/* /usr/local/lib/codecs/
7. configure mplayer. let's say MPlayer-1.0rc2/ is also in ~/tmp than do:
Code:
$ cd ~/tmp/MPlayer-1.0rc2/
$ ./configure --codecsdir="/usr/local/lib/codecs"
if you get error messages at this point you are likely missing something. give the output.

8. compile mplayer:
Code:
$ make
if you encounter errors here you are seriously in trouble. this is very unlikely however. still give the output

9. install mplayer:
Code:
# make install
you shouldn't get any errors here. for permission denied errors remember the '#'. you need to be root!

10. you did it! to play a file just type:
Code:
$ mplayer <FileYouWantToPlay>
11. further info either here or do
Code:
$ man mplayer
good luck, vadkutya
 
  


Reply

Tags
codec, compile, mplayer, source


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Dell Promises Pre-Installed Linux DragonSlayer48DX Linux - News 11 03-30-2007 02:08 PM
LXer: Ps3 available pre-installed with Linux LXer Syndicated Linux News 1 02-22-2007 04:42 PM
Pre installed Linux Laptop anupamsr Linux - General 4 11-30-2006 06:44 AM
Linux distro with PPTP client pre-installed? valnar Linux - Distributions 5 02-07-2006 12:22 PM


All times are GMT -5. The time now is 05:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration