[FFmpeg-user] Failed installing FFMPEG on CentOS

Sook Sin sooksin at expressinmusic.com
Wed Nov 29 11:02:27 EET 2017


Hi Carl and Moritz,

 

Thanks for your assist earlier on, but still the solution couldn't work out.

 

I'm not using a pre-installed binary.

The binary should have been created when I initially run ./configure without
any parameters.

 

Now I run the following commands:

./configure --enable-gpl --enable-libmp3lame

make install

 

Attached are the results of the command line execution.

I would like to highlight the ffmpeg folder does not contain the libmp3lame
subfolder; could this be the problem?

Here's my folder listing:

 

-rwxr--r--.  1 apache apache    57465 Nov  8 06:22 Changelog

drwxr--r--. 13 apache apache      278 Nov  8 06:23 compat

-rw-r--r--.  1 root   root      72752 Nov 28 16:19 config.asm

-rwxr--r--.  1 root   root      73370 Nov 28 16:19 config.h

-rw-r--r--.  1 root   root      14128 Nov 28 17:02 config.log

-rwxr--r--.  1 apache apache   236719 Nov  8 06:22 configure

-rwxr--r--.  1 apache apache      418 Nov  8 06:22 CONTRIBUTING.md

-rwxr--r--.  1 apache apache    18092 Nov  8 06:22 COPYING.GPLv2

-rwxr--r--.  1 apache apache    35147 Nov  8 06:22 COPYING.GPLv3

-rwxr--r--.  1 apache apache    26526 Nov  8 06:22 COPYING.LGPLv2.1

-rwxr--r--.  1 apache apache     7651 Nov  8 06:22 COPYING.LGPLv3

-rwxr--r--.  1 apache apache      274 Nov  8 06:22 CREDITS

drwxr--r--.  4 apache apache     8192 Nov 11 01:37 doc

drwxr--r--.  2 apache apache      214 Nov  8 06:32 ffbuild

-rwxr-xr-x.  1 root   root   17132592 Nov 11 01:37 ffmpeg

-rwxr-xr-x.  1 root   root   17046544 Nov 11 01:37 ffprobe

-rwxr-xr-x.  1 root   root   95058168 Nov 11 01:37 ffprobe_g

-rwxr-xr-x.  1 root   root   15150064 Nov 11 01:37 ffserver

-rwxr-xr-x.  1 root   root   86029728 Nov 11 01:37 ffserver_g

drwxr--r--.  2 apache apache     4096 Nov 28 16:33 fftools

-rwxr--r--.  1 apache apache      595 Nov  8 06:22 INSTALL.md

drwxrwxrwx.  4 root   root         68 Nov 11 02:37 lame

drwxr--r--. 14 apache apache    81920 Nov 28 16:32 libavcodec

drwxr--r--.  3 apache apache     4096 Nov 28 16:21 libavdevice

drwxr--r--.  4 apache apache    28672 Nov 28 16:22 libavfilter

drwxr--r--.  3 apache apache    40960 Nov 28 16:23 libavformat

drwxr--r--.  6 apache apache     4096 Nov  8 06:23 libavresample

drwxr--r--. 12 apache apache    12288 Nov 28 16:32 libavutil

drwxr--r--.  2 apache apache     4096 Nov 28 16:32 libpostproc

drwxr--r--.  6 apache apache     4096 Nov 28 16:32 libswresample

drwxr--r--.  7 apache apache     4096 Nov 28 16:32 libswscale

-rwxr--r--.  1 apache apache     4368 Nov  8 06:22 LICENSE.md

-rwxr--r--.  1 apache apache    28905 Nov  8 06:22 MAINTAINERS

-rwxr--r--.  1 apache apache     5250 Nov  8 06:22 Makefile

-rw-r--r--.  1 root   root       2066 Nov 28 16:40 make.log

drwxr-xr-x.  2 root   root          6 Nov 11 00:59 output1

drwxr-xr-x.  2 root   root          6 Nov 11 00:59 output2

drwxr--r--.  2 apache apache      158 Nov  8 06:23 presets

-rwxr--r--.  1 apache apache     1893 Nov  8 06:22 README.md

-rwxr--r--.  1 apache apache        4 Nov  8 06:22 RELEASE

-rwxr--r--.  1 apache apache      839 Nov  8 06:22 RELEASE_NOTES

-rw-r--r--.  1 apache apache  3294271 Nov 11 00:56 test1.mp3

drwxr--r--.  7 apache apache     4096 Nov  8 06:22 tests

drwxr--r--.  2 apache apache     4096 Nov  8 06:23 tools

-rwxr--r--.  1 apache apache        4 Nov  8 06:22 VERSION

 

The command line was last run on 28-Nov. The ffmpeg binary is 11-Nov, so it
should have been created earlier on.

 

Warmest Regards,

Sook Sin

Junior Music Content Executive

Express In Music

www.expressmelody.com <http://www.expressmelody.com>  |
www.expressinmusic.com <http://www.expressinmusic.com> 

 

 

-----Original Message-----

On Thu, Nov 23, 2017 at 10:06:01 +0800, Sook Sin wrote:

 

Please solve this riddle for me:

 

> The 'make' commands shows numerous warnings and an error:

[...]

> collect2: error: ld returned 1 exit status

> make: *** [ffmpeg_g] Error 1

> 

> Running the ffmpeg commands shows an error:

> ffmpeg -i test1.mp3 -af "silenceremove=0:0:0:-1:1:-80dB, 

> dynaudnorm=p=1:m=3:r=1" -vn -acodec libmp3lame -b:a 12

 

If you didn't manage to compile ffmpeg (the output from make tells me it
cannot have created a binary), how did you manage to execute ffmpeg
afterwards? Are you actually running a pre-installed binary instead?

 

Moritz

 

 

From: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Carl
Eugen Hoyos

Sent: Thursday, November 23, 2017 10:25 AM

To: FFmpeg user questions

Subject: Re: [FFmpeg-user] Failed installing FFMPEG on CentOS

 

2017-11-23 3:06 GMT+01:00 Sook Sin <sooksin at expressinmusic.com>:

> Hi experts! My workplace is currently adopting ffmpeg as a solution to

> normalize audios files in bulk. My colleague is having problem with the

> installation of ffmpeg on Linux. The server is using CentOS Linux release

> 7.3.1611 (Core). We have tried most of the solutions searchable from
Google,

> but they do not work. Could it be the issue is due to the wrong versions
of

> the dependencies and library files? If so, can someone please guide us in

> resolving this problem?

> 

> The 'make' commands shows numerous warnings and an error:

> 

> libavcodec/libavcodec.a(bitstream.o): In function `bitswap_32':

> 

> /var/www/ffmpeg/libavcodec/mathops.h:245: undefined reference to

> `ff_reverse'

 

Please confirm that you are trying to build current FFmpeg git head

(nothing else is supported here) and that you are using a sane configure

line like "./configure --enable-gpl --enable-libmp3lame".

 

> Running the ffmpeg commands shows an error:

> 

> ffmpeg -i test1.mp3 -af "silenceremove=0:0:0:-1:1:-80dB,

> dynaudnorm=p=1:m=3:r=1" -vn -acodec libmp3lame -b:a 12

> 

> 8K -ar 44100 -y test2.mp3

> 

> ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers

> 

>   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-11)

> 

>   configuration:

 

> Unknown encoder 'libmp3lame'

 

Missing configure option "--enable-libmp3lame"

 

Carl Eugen

_______________________________________________

ffmpeg-user mailing list

ffmpeg-user at ffmpeg.org

http://ffmpeg.org/mailman/listinfo/ffmpeg-user

 

To unsubscribe, visit link above, or email

ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 14128 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20171129/588a15ed/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 2066 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20171129/588a15ed/attachment-0001.obj>


More information about the ffmpeg-user mailing list