473,324 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

difficult upgrading ffmpeg

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
6 8276
Motoma
3,237 Expert 2GB
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
jcor
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
3,237 Expert 2GB
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
jcor
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
3,237 Expert 2GB
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
jcor
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

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

Similar topics

0
by: GMane Python | last post by:
Hello All. First, I'd like to thank you all for the tremendous help I've received in the past while posting here. I'd like to ask another question. I'd like to use Python to invoke ffmpeg to...
6
by: m.arfini | last post by:
Hi All, i trying to compile ffmpeg v 0.4.9. with minGW compiler with make instruction, but at the end of the process none dlls have been created, only the exe file (in c:\program files\ffmpeg...
6
by: m.arfini | last post by:
Hi All, i trying to compile ffmpeg v 0.4.9. with minGW compiler with make instruction, but at the end of the process none dlls have been created, only the exe file (in c:\program files\ffmpeg...
0
by: MrT | last post by:
Hi there, I was just wondering if anyone had any ideas why this doesn't work on a php page! exec("/usr/bin/ffmpeg -i Movie.avi -vhook 'lib/vhook/drawtext.so -f fonts/tahomabd.TTF -x 10 -y 10...
2
by: jcor | last post by:
Hi, I'm trying to use the module FFmpeg::Command to convert some files from .mpg to .wmv when I use ffmpeg in command line the command is just like this: "ffmpeg -i input.mpg output.wmv" When I...
7
by: kigoobe | last post by:
Hi guys I was trying to understand how the ffmpeg works, but even after a lot of googling, couldn't advance a bit. Ok, in case of normal file uploading, we have something like - ...
6
sumaiya
by: sumaiya | last post by:
Iam totally confused about the working ffmpeg.I tried many times to use that dll in my php project.If u can please help me. First I extaracted the dll from...
0
by: =?Utf-8?B?U2hhbQ==?= | last post by:
Hai all, In my application i am using the code below i mentioned. But it couldn't converted into flv format and its not saved into specified path .Can any one help me to do this using c#. ...
2
Nert
by: Nert | last post by:
Hello there., i have this problem converting an flv video format to 3gp format using ffmpeg so that i can put the video on my cellphone. Well actually i have successfully converted the video to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shęllīpōpļ 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.