Originally posted by staticking29
View Post
I am aware that FFmpeg is "deprecated" on at least Ubuntu systems. (I don't know if this affects other Linux versions as well.)
For example, when I enter just 'ffmpeg' in a command line prompt, I see the following output:
Code:
user@ubuntu:~$ ffmpeg ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers built on Jan 24 2013 18:03:14 with gcc 4.6.3 *** THIS PROGRAM IS DEPRECATED *** This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
I am currently using Ubuntu 12.04, and the FFmpeg package, while clearly deprecated, is still completely functional. All of my packages are up to date. So you must be using a higher version of Ubuntu? Or a different combination of packages?
Can you list all relevant packages that you are running on your machine and their version numbers? To do this, please run the following commands:
Code:
sudo apt-get install apt-show-versions sudo apt-show-versions > /tmp/packages
In any case, as you have no doubt already discovered, 'avconv' is the replacement package for 'ffmpeg' (at least on Ubuntu). If you enter 'avconv' in a command prompt, you get:
Code:
user@ubuntu:~$ avconv avconv version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers built on Jan 24 2013 18:03:14 with gcc 4.6.3
(I wonder if you now try to run ffmpeg, with avconv now installed, if ffmpeg will work? Because I have both running on my system. I did not explicitly install avconv, but I'm thinking perhaps avconv was automatically installed as a dependency when I installed the ffmpeg -- or some related -- package?)
Anyway, in the end, and at some point in the future, it can be reasonably assumed that the ffmpeg package will no longer work, and instead the avconv package will be required to handle media file conversions (at least on Ubuntu).
avconv uses the same syntax as ffmpeg. For example, the following command converts a FLV file to MP3:
Code:
sudo /usr/bin/avconv -i /home/user/public_html/VideoConverter-Linux-SVN/videos/1362345187_5133bce3ba3367.27400342.flv -vol 256 -y -acodec libmp3lame -ab 128k /home/user/public_html/VideoConverter-Linux-SVN/output/myNewMp3File.mp3
PHP Code:
const _FFMPEG = '/usr/bin/avconv';
To reiterate, a simple modification to the _FFMPEG constant value (as indicated above) is all that is required to use avconv for conversions.
If there are any further issues regarding ffmpeg and avconv, please do let me know. I will facilitate the transition from ffmpeg to avconv in the next release of both the free and paid-for versions of my software.
Edit: Please also check out this forum thread: http://superuser.com/questions/50738...v-avconv-today
An excerpt from that thread:
(Please note that, in Ubuntu, the binary location is '/usr/bin/avconv' and NOT '/usr/bin/avconf' -- as the excerpt states.)
So it would seem that, for now, only Debian and Ubuntu are experiencing this migration from ffmpeg to avconv. FFmpeg is still very much alive and implemented by other Linux OS versions.
An excerpt from that thread:
Some time ago ffmpeg split into two forks under the name of ffmpeg and libav.
Debian is following the libav fork in it's distribution and in an upcoming upload the binary /usr/bin/ffmpeg will be replaced by /usr/bin/avconf.
Debian is following the libav fork in it's distribution and in an upcoming upload the binary /usr/bin/ffmpeg will be replaced by /usr/bin/avconf.
So it would seem that, for now, only Debian and Ubuntu are experiencing this migration from ffmpeg to avconv. FFmpeg is still very much alive and implemented by other Linux OS versions.
Edit: UPDATE!! :: Do NOT use the version of FFmpeg or avconv available for download from the apt-get or yum repositories!! Instead, use a static build of FFmpeg downloaded from here, or build FFmpeg manually using the Git source.
Comment