| Ubuntu This forum is for the discussion of Ubuntu Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-06-2009, 04:21 PM
|
#1
|
|
Member
Registered: Jul 2006
Distribution: Ubuntu 11.10 (desktop), lubuntu 11.10 (netbook)
Posts: 73
Rep:
|
How to handle custom build of ffmpeg with synaptic?
I want to use the latest SVN of ffmpeg because it works better with the .mp4 files my camcorder creates. I just updated to 9.10, and instead of installing the version of ffmpeg from the repos I downloaded and compiled/installed the latest SVN from source. ffmpeg works fine converting my digital camera files, but there are some other packages I want to install which require ffmpeg. How should I handle this? Should I uncheck ffmpeg when synaptic says it wants to install it (doing the same for each app)? Or should I let synaptic install the version of ffmpeg in the repositories and then re run "make install"?
|
|
|
|
11-06-2009, 06:32 PM
|
#2
|
|
Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
I think the only proper way is to build your compiled program into a deb so synaptic will be aware it exists. Alternatively, you may be able to find a ready-made deb on launchpad.
|
|
|
|
11-07-2009, 09:58 AM
|
#3
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,620
|
.. And if you don't want to create a genuine ' .deb '
package, just copy all installed ffmpeg files into a
directory tree inside a new empty folder in /home/ ,
e.g. /home/'username'/tmp/1/usr///
cd tmp/1/
tar -cf ffmpeg-<version>.tar usr/
.. and don't put a slash before usr/ !
gzip ffmpeg-<version>.tar
# alian ffmpeg-<version>.tar.gz
.. creates a ' .deb ' package ...
.....
|
|
|
|
11-07-2009, 01:39 PM
|
#4
|
|
Member
Registered: Jul 2006
Distribution: Ubuntu 11.10 (desktop), lubuntu 11.10 (netbook)
Posts: 73
Original Poster
Rep:
|
Thanks to both of you. After thinking about this further, I think I would rather let synaptic install the repo version of ffmpeg for general use, and keep the built from source binary somewhere out of the path for just for converting the files from my camcorder. I'll probably create a batch file for the conversions so referencing the out of path version won't create a hassle.
Here is what I have done. Everything seems to work fine, so hopefully I haven't created a mess in my system. I found the installed from source binary of ffmpeg in /usr/local/bin, and moved the binary to an out of path folder. Then I installed ffmpeg via synaptic. This put the binary in /usr/bin/. For some reason at this point when I ran ffmpeg -version, it threw an error message: "bash: /usr/local/bin/ffmpeg: No such file or directory". I'm not sure why it did this, since both folders are in my PATH. To get around this I created a link in the /usr/local/bin folder to the version in /usr/bin.
This seems to work fine. Do you see any problems I might have created in doing this?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:06 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|