By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,767 Members | 1,072 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,767 IT Pros & Developers. It's quick & easy.

difficult upgrading ffmpeg

P: 63
Hi, i installed ffmpeg but seems to be a old version. With the command "ffmpeg -v" I get the this output:
joao@joao-desktop:/usr$ ffmpeg -v
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-gpl --enable-pp --enable-pthreads --enable-vorbis --enable-libogg --enable-a52 --enable-dts --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
libavutil version: 0d.49.0.0
libavcodec version: 0d.51.11.0
libavformat version: 0d.50.5.0
built on Jan 28 2007 22:48:38, gcc: 4.1.2 20070106 (prerelease) (Ubuntu 4.1.1-21ubuntu7)
I tried to upgrade it with:
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
but didn't work. Can someone tell me out to upgrade ffmpeg, step by step, including directories to copy files or whatever i'm missing?

Thanks,

Joćo
Oct 1 '07 #1
Share this Question
Share on Google+
6 Replies

Motoma
Expert 2.5K+
P: 3,237
Hi, i installed ffmpeg but seems to be a old version. With the command "ffmpeg -v" I get the this output:


I tried to upgrade it with:

but didn't work. Can someone tell me out to upgrade ffmpeg, step by step, including directories to copy files or whatever i'm missing?

Thanks,

Joćo
It seems from your output you are using Ubuntu. Correct me if I am mistaken.

First off, how did you perform the install originally? What makes you think ffmpeg is out of date?

The easiest way to update ffmpeg would be to use one of the package managers, either yum or apt-get, to update it. I forget which one is used by Ubuntu primarily, but updating with either is rather simple.

The reason why the command you ran did not update ffmpeg is because you merely downloaded the sources. Issuing the svn command, you will need to cd to the ffmpeg directory, run ./configure, make, and finally make install.

I hope this helps you, come back if you have any more problems.
Oct 1 '07 #2

P: 63
That's correct, i'm using ubuntu 7.04.
I say my ffmpeg is "old" because this date "2000-2004".I already saw (in foruns around the internet) the same kind of date but going till 2007.
This is kind of wired but I can't find where my ffmpeg is to copy there the fffmpeg I downloaded with svn (since I'm only starting using linux is not that wired :-) ) Do you have a clue about this or can be any directory?

Thanks for your time,

Joćo
Oct 1 '07 #3

Motoma
Expert 2.5K+
P: 3,237
That's correct, i'm using ubuntu 7.04.
I say my ffmpeg is "old" because this date "2000-2004".I already saw (in foruns around the internet) the same kind of date but going till 2007.
This is kind of wired but I can't find where my ffmpeg is to copy there the fffmpeg I downloaded with svn (since I'm only starting using linux is not that wired :-) ) Do you have a clue about this or can be any directory?

Thanks for your time,

Joćo
You will actually need to build ffmpeg. The make tool (as described in my first post) should do everything for you.

Once again:
Expand|Select|Wrap|Line Numbers
  1. cd ffmpeg
  2. ./configure
  3. make
  4. make install
  5.  
Oct 1 '07 #4

P: 63
I tried the command you told me in your first post "sudo apt-get install ffmpeg" and I got this output:
Expand|Select|Wrap|Line Numbers
  1. Reading package lists... Done
  2. Building dependency tree       
  3. Reading state information... Done
  4. ffmpeg is already the newest version.
  5. 0 upgraded, 0 newly installed, 0 to remove and 117 not upgraded.
it seems that i have the newest version...

but after this I tried the "make install" command as you told me. In the first line, after get in the directory, "sudo ./configure" I got this output:

Expand|Select|Wrap|Line Numbers
  1. joao@joao-desktop:~/Desktop/ffmpeg$ sudo ./configure
  2. gcc is unable to create an executable file.
  3. If gcc is a cross-compiler, use the --cross-compile option.
  4. Only do this if you know what cross compiling means.
  5. C compiler test failed.
  6. If you think configure made a mistake, make sure you are using the latest
  7. version from SVN.  If the latest version fails, report the problem to the
  8. ffmpeg-devel@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
  9. Include the log file "config.err" produced by configure as this will help
  10. solving the problem.
Maybe I don't need to update my ffmpeg, I'm really not sure. My problem is that i need to convert a .mp4 (mpeg4) movie to .wmv and to .3gp And I allways get some errors like "i don't know this codec" or "format not suported" so I thought with an upgrade this will be solved...

thanks,

Joćo
Oct 2 '07 #5

Motoma
Expert 2.5K+
P: 3,237
I tried the command you told me in your first post "sudo apt-get install ffmpeg" and I got this output:
Expand|Select|Wrap|Line Numbers
  1. Reading package lists... Done
  2. Building dependency tree       
  3. Reading state information... Done
  4. ffmpeg is already the newest version.
  5. 0 upgraded, 0 newly installed, 0 to remove and 117 not upgraded.
it seems that i have the newest version...

but after this I tried the "make install" command as you told me. In the first line, after get in the directory, "sudo ./configure" I got this output:

Expand|Select|Wrap|Line Numbers
  1. joao@joao-desktop:~/Desktop/ffmpeg$ sudo ./configure
  2. gcc is unable to create an executable file.
  3. If gcc is a cross-compiler, use the --cross-compile option.
  4. Only do this if you know what cross compiling means.
  5. C compiler test failed.
  6. If you think configure made a mistake, make sure you are using the latest
  7. version from SVN.  If the latest version fails, report the problem to the
  8. ffmpeg-devel@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
  9. Include the log file "config.err" produced by configure as this will help
  10. solving the problem.
Maybe I don't need to update my ffmpeg, I'm really not sure. My problem is that i need to convert a .mp4 (mpeg4) movie to .wmv and to .3gp And I allways get some errors like "i don't know this codec" or "format not suported" so I thought with an upgrade this will be solved...

thanks,

Joćo
The ./configure error is most likely caused by not having gcc installed.

The codec error is pretty straight forward as well; check your list of supported codecs, the listing is available through a command line argument to ffmpeg. Figure out what codecs you need to install and use apt-get to install them.
Oct 2 '07 #6

P: 63
Now I have a FFmpeg version 2000-20007!!!!
thanks a lot for your help!
I bet my problems with FFmpeg are only at the very beginnig ;-)

Thanks again,

Joćo
Oct 2 '07 #7

Post your reply

Sign in to post your reply or Sign up for a free account.