473,399 Members | 4,192 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,399 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 8283
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.