LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   FFmpeg libx264 (https://www.linuxquestions.org/questions/linux-software-2/ffmpeg-libx264-929807/)

coolfarmer 02-16-2012 09:02 PM

FFmpeg libx264
 
Hi guys!

First sorry for my bad english.

I have a Debian Etch 4.0 Dedicated Server and I just installed FFmpeg with many difficulty.

When I use this command for convert avi to flv, I have correctly the video but not the audio.
Code:

ffmpeg -i video_origine.avi -ab 56 -ar 44100 -b 200 -r 15 -s 320x240 -f flv video_finale.flv
I have installed libx264 and configure it :
Code:

cd /path/to/x264-dir
./configure --enable-shared
make
make install
ldconfig

... but I have problem to enabled it for FFmpeg

When I tape :
Code:

ffmpeg ./configure --enable-libx264 --enable-gpl --enable-shared
I have this line at the end :
Code:

License: nonfree and unredistributable
Creating config.mak and config.h...
libavutil/avconfig.h is unchanged

For your information, here my ffmpeg version :
Code:

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 Apr 26 2009 11:34:57, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
ffmpeg      SVN-rUNKNOWN
libavutil  3211264
libavcodec  3345152
libavformat 3278080

Please help me, i'm desesperate ... :(

craigevil 02-16-2012 09:27 PM

Considering security support for Etch ended in February 2010, you would be well advised to upgrade to the current Stable.

The only way to install at this point is going to be either using the archive repo, or building it from source.

coolfarmer 02-16-2012 09:53 PM

So I cannot activate libx264 because I am on Debian 4.0 ?

craigevil 02-17-2012 01:53 AM

Really old howto tat most likely wont work because the debian-multimedia.org repo dropped sid two years ago when Debian stopped supporting it.
Building FFmpeg with x264 on Debian Etch - Noma's RAKUGAKI Wiki : http://amon.dip.jp/index.php?Buildin...0Debian%20Etch

coolfarmer 02-17-2012 01:58 AM

Ok thanks :), so if I upgrade my Debian version, I will can re-install more easily FFMpeg + libx264 and many others configuration ?


All times are GMT -5. The time now is 12:40 PM.