difficult upgrading ffmpeg 
October 1st, 2007, 02:38 PM
| | Member | | Join Date: Sep 2007
Posts: 63
| |
Hi, i installed ffmpeg but seems to be a old version. With the command "ffmpeg -v" I get the this output: Quote:
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: Quote: |
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
| 
October 1st, 2007, 04:58 PM
|  | Moderator | | Join Date: Jan 2007 Location: Maine, USA
Posts: 2,904
| | | re: difficult upgrading ffmpeg Quote: |
Originally Posted by jcor 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.
| 
October 1st, 2007, 07:20 PM
| | Member | | Join Date: Sep 2007
Posts: 63
| | | re: difficult upgrading ffmpeg
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
| 
October 1st, 2007, 07:45 PM
|  | Moderator | | Join Date: Jan 2007 Location: Maine, USA
Posts: 2,904
| | | re: difficult upgrading ffmpeg Quote: |
Originally Posted by jcor 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: -
cd ffmpeg
-
./configure
-
make
-
make install
-
| 
October 2nd, 2007, 11:06 AM
| | Member | | Join Date: Sep 2007
Posts: 63
| | | re: difficult upgrading ffmpeg
I tried the command you told me in your first post "sudo apt-get install ffmpeg" and I got this output: - Reading package lists... Done
-
Building dependency tree
-
Reading state information... Done
-
ffmpeg is already the newest version.
-
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: - joao@joao-desktop:~/Desktop/ffmpeg$ sudo ./configure
-
gcc is unable to create an executable file.
-
If gcc is a cross-compiler, use the --cross-compile option.
-
Only do this if you know what cross compiling means.
-
C compiler test failed.
-
If you think configure made a mistake, make sure you are using the latest
-
version from SVN. If the latest version fails, report the problem to the
-
ffmpeg-devel@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
-
Include the log file "config.err" produced by configure as this will help
-
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
| 
October 2nd, 2007, 02:19 PM
|  | Moderator | | Join Date: Jan 2007 Location: Maine, USA
Posts: 2,904
| | | re: difficult upgrading ffmpeg Quote: |
Originally Posted by jcor I tried the command you told me in your first post "sudo apt-get install ffmpeg" and I got this output: - Reading package lists... Done
-
Building dependency tree
-
Reading state information... Done
-
ffmpeg is already the newest version.
-
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: - joao@joao-desktop:~/Desktop/ffmpeg$ sudo ./configure
-
gcc is unable to create an executable file.
-
If gcc is a cross-compiler, use the --cross-compile option.
-
Only do this if you know what cross compiling means.
-
C compiler test failed.
-
If you think configure made a mistake, make sure you are using the latest
-
version from SVN. If the latest version fails, report the problem to the
-
ffmpeg-devel@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
-
Include the log file "config.err" produced by configure as this will help
-
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.
| 
October 2nd, 2007, 03:07 PM
| | Member | | Join Date: Sep 2007
Posts: 63
| | | re: difficult upgrading ffmpeg
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
|  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 225,702 network members.
|