How to install libav-tools in centos 6
up vote
0
down vote
favorite
I used tutorial to compile it from source but it never worked for me.
I am facing error on following points
Download x264 codec and compile it:
git clone git://git.videolan.org/x264.git x264
cd x264
./configure –enable-static
make && make install
error log:
cd x264
./configure –enable-static
Unknown option –enable-static, ignored
Found no assembler
Minimum version is yasm-1.2.0
If you really want to compile without asm, configure with --disable-asm.
make && make install
Makefile:3: config.mak: No such file or directory
./configure
Found no assembler
Minimum version is yasm-1.2.0
If you really want to compile without asm, configure with --disable-asm.
make: *** [config.mak] Error 1
and
cd libav
./configure --enable-gpl --enable-nonfree
make && make install
error log:
cd libav
./configure --enable-gpl --enable-nonfree
Unable to create and execute files in /tmp. Set the TMPDIR environment
variable to another directory and make sure that it is not mounted noexec.
Sanity test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
libav-tools@libav.org mailing list or IRC #libav on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
make && make install
Makefile:1: config.mak: No such file or directory
Makefile:99: /common.mak: No such file or directory
Makefile:137: /libavutil/Makefile: No such file or directory
Makefile:137: /library.mak: No such file or directory
Makefile:139: /doc/Makefile: No such file or directory
Makefile:214: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'. Stop.
Reference Link:
http://blog.droidzone.in/2013/12/24/convert-a-wmv-file-to-avi-on-the-linux-command-line/
I installed using these but still i am facing issues
wget https://www.libav.org/releases/libav-10.5.tar.gz
tar xf libav-10.5.tar.gz
TMPDIR=/home/sociaow2/tmp/avco/libav-10.5 ./configure
make && make install
cd
All libs installed now when i enter that command
avconv -i state.mp4 -r 20 -s 480x352 -b 600k -vcodec libx264 out_state.mp4
Unknown encoder 'libx264'
on command
avconv -i state.mp4 -r 20 -s 480x352 -b 600k -vcodec libx264 out_state.mp4
Unknown encoder 'libmp3lame'
on command
avconv -i state.mp4 -r 20 -s 480x352 -b 600k -vcodec libx264 out_state.mp4
linux centos libav
add a comment |
up vote
0
down vote
favorite
I used tutorial to compile it from source but it never worked for me.
I am facing error on following points
Download x264 codec and compile it:
git clone git://git.videolan.org/x264.git x264
cd x264
./configure –enable-static
make && make install
error log:
cd x264
./configure –enable-static
Unknown option –enable-static, ignored
Found no assembler
Minimum version is yasm-1.2.0
If you really want to compile without asm, configure with --disable-asm.
make && make install
Makefile:3: config.mak: No such file or directory
./configure
Found no assembler
Minimum version is yasm-1.2.0
If you really want to compile without asm, configure with --disable-asm.
make: *** [config.mak] Error 1
and
cd libav
./configure --enable-gpl --enable-nonfree
make && make install
error log:
cd libav
./configure --enable-gpl --enable-nonfree
Unable to create and execute files in /tmp. Set the TMPDIR environment
variable to another directory and make sure that it is not mounted noexec.
Sanity test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
libav-tools@libav.org mailing list or IRC #libav on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
make && make install
Makefile:1: config.mak: No such file or directory
Makefile:99: /common.mak: No such file or directory
Makefile:137: /libavutil/Makefile: No such file or directory
Makefile:137: /library.mak: No such file or directory
Makefile:139: /doc/Makefile: No such file or directory
Makefile:214: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'. Stop.
Reference Link:
http://blog.droidzone.in/2013/12/24/convert-a-wmv-file-to-avi-on-the-linux-command-line/
I installed using these but still i am facing issues
wget https://www.libav.org/releases/libav-10.5.tar.gz
tar xf libav-10.5.tar.gz
TMPDIR=/home/sociaow2/tmp/avco/libav-10.5 ./configure
make && make install
cd
All libs installed now when i enter that command
avconv -i state.mp4 -r 20 -s 480x352 -b 600k -vcodec libx264 out_state.mp4
Unknown encoder 'libx264'
on command
avconv -i state.mp4 -r 20 -s 480x352 -b 600k -vcodec libx264 out_state.mp4
Unknown encoder 'libmp3lame'
on command
avconv -i state.mp4 -r 20 -s 480x352 -b 600k -vcodec libx264 out_state.mp4
linux centos libav
Maybe it's better if you post the error too :)
– Hastur
Dec 10 '14 at 11:38
@Hastur now i provided errors log
– Zeeshan Akhter
Dec 10 '14 at 18:05
From the error log, you need to install an assembler (e.g.yasm
), or compile with the--disable-asm
flag.
– Breakthrough
Dec 16 '14 at 16:58
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I used tutorial to compile it from source but it never worked for me.
I am facing error on following points
Download x264 codec and compile it:
git clone git://git.videolan.org/x264.git x264
cd x264
./configure –enable-static
make && make install
error log:
cd x264
./configure –enable-static
Unknown option –enable-static, ignored
Found no assembler
Minimum version is yasm-1.2.0
If you really want to compile without asm, configure with --disable-asm.
make && make install
Makefile:3: config.mak: No such file or directory
./configure
Found no assembler
Minimum version is yasm-1.2.0
If you really want to compile without asm, configure with --disable-asm.
make: *** [config.mak] Error 1
and
cd libav
./configure --enable-gpl --enable-nonfree
make && make install
error log:
cd libav
./configure --enable-gpl --enable-nonfree
Unable to create and execute files in /tmp. Set the TMPDIR environment
variable to another directory and make sure that it is not mounted noexec.
Sanity test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
libav-tools@libav.org mailing list or IRC #libav on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
make && make install
Makefile:1: config.mak: No such file or directory
Makefile:99: /common.mak: No such file or directory
Makefile:137: /libavutil/Makefile: No such file or directory
Makefile:137: /library.mak: No such file or directory
Makefile:139: /doc/Makefile: No such file or directory
Makefile:214: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'. Stop.
Reference Link:
http://blog.droidzone.in/2013/12/24/convert-a-wmv-file-to-avi-on-the-linux-command-line/
I installed using these but still i am facing issues
wget https://www.libav.org/releases/libav-10.5.tar.gz
tar xf libav-10.5.tar.gz
TMPDIR=/home/sociaow2/tmp/avco/libav-10.5 ./configure
make && make install
cd
All libs installed now when i enter that command
avconv -i state.mp4 -r 20 -s 480x352 -b 600k -vcodec libx264 out_state.mp4
Unknown encoder 'libx264'
on command
avconv -i state.mp4 -r 20 -s 480x352 -b 600k -vcodec libx264 out_state.mp4
Unknown encoder 'libmp3lame'
on command
avconv -i state.mp4 -r 20 -s 480x352 -b 600k -vcodec libx264 out_state.mp4
linux centos libav
I used tutorial to compile it from source but it never worked for me.
I am facing error on following points
Download x264 codec and compile it:
git clone git://git.videolan.org/x264.git x264
cd x264
./configure –enable-static
make && make install
error log:
cd x264
./configure –enable-static
Unknown option –enable-static, ignored
Found no assembler
Minimum version is yasm-1.2.0
If you really want to compile without asm, configure with --disable-asm.
make && make install
Makefile:3: config.mak: No such file or directory
./configure
Found no assembler
Minimum version is yasm-1.2.0
If you really want to compile without asm, configure with --disable-asm.
make: *** [config.mak] Error 1
and
cd libav
./configure --enable-gpl --enable-nonfree
make && make install
error log:
cd libav
./configure --enable-gpl --enable-nonfree
Unable to create and execute files in /tmp. Set the TMPDIR environment
variable to another directory and make sure that it is not mounted noexec.
Sanity test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
libav-tools@libav.org mailing list or IRC #libav on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
make && make install
Makefile:1: config.mak: No such file or directory
Makefile:99: /common.mak: No such file or directory
Makefile:137: /libavutil/Makefile: No such file or directory
Makefile:137: /library.mak: No such file or directory
Makefile:139: /doc/Makefile: No such file or directory
Makefile:214: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'. Stop.
Reference Link:
http://blog.droidzone.in/2013/12/24/convert-a-wmv-file-to-avi-on-the-linux-command-line/
I installed using these but still i am facing issues
wget https://www.libav.org/releases/libav-10.5.tar.gz
tar xf libav-10.5.tar.gz
TMPDIR=/home/sociaow2/tmp/avco/libav-10.5 ./configure
make && make install
cd
All libs installed now when i enter that command
avconv -i state.mp4 -r 20 -s 480x352 -b 600k -vcodec libx264 out_state.mp4
Unknown encoder 'libx264'
on command
avconv -i state.mp4 -r 20 -s 480x352 -b 600k -vcodec libx264 out_state.mp4
Unknown encoder 'libmp3lame'
on command
avconv -i state.mp4 -r 20 -s 480x352 -b 600k -vcodec libx264 out_state.mp4
linux centos libav
linux centos libav
edited Dec 16 '14 at 17:31
random♦
12.8k84657
12.8k84657
asked Dec 10 '14 at 11:09
Zeeshan Akhter
10114
10114
Maybe it's better if you post the error too :)
– Hastur
Dec 10 '14 at 11:38
@Hastur now i provided errors log
– Zeeshan Akhter
Dec 10 '14 at 18:05
From the error log, you need to install an assembler (e.g.yasm
), or compile with the--disable-asm
flag.
– Breakthrough
Dec 16 '14 at 16:58
add a comment |
Maybe it's better if you post the error too :)
– Hastur
Dec 10 '14 at 11:38
@Hastur now i provided errors log
– Zeeshan Akhter
Dec 10 '14 at 18:05
From the error log, you need to install an assembler (e.g.yasm
), or compile with the--disable-asm
flag.
– Breakthrough
Dec 16 '14 at 16:58
Maybe it's better if you post the error too :)
– Hastur
Dec 10 '14 at 11:38
Maybe it's better if you post the error too :)
– Hastur
Dec 10 '14 at 11:38
@Hastur now i provided errors log
– Zeeshan Akhter
Dec 10 '14 at 18:05
@Hastur now i provided errors log
– Zeeshan Akhter
Dec 10 '14 at 18:05
From the error log, you need to install an assembler (e.g.
yasm
), or compile with the --disable-asm
flag.– Breakthrough
Dec 16 '14 at 16:58
From the error log, you need to install an assembler (e.g.
yasm
), or compile with the --disable-asm
flag.– Breakthrough
Dec 16 '14 at 16:58
add a comment |
3 Answers
3
active
oldest
votes
up vote
0
down vote
I experienced similar issue when I tried to setup ffmpeg on my vps at rosehosting. The rosehosting support fixed the issue and explained to me that I needed higher yasm version to compile the latest x264 version. They used the following steps to install yasm on my vps:
git clone git://github.com/yasm/yasm.git
cd yasm
./autogen.sh
./configure
make
make install
as for the second error, I also experienced this issue as my /tmp was mounted with noexec attribute, so to fix this I needed to set TMPDIR to some convenient directory, for example:
export TMPDIR=~/mytmp
mkdir -p $TMPDIR
once the compilation is completed, you can remove and unset it using
rm -rf $TMPDIR
unset $TMPDIR
I installed using these but still i am facing issue
– Zeeshan Akhter
Dec 16 '14 at 16:27
add a comment |
up vote
0
down vote
You are probably missing --enable-libx264
from your configure line and your server is configured disabling executing in /tmp
I suggest you to do something like
mkdir ~/tmp
export TMPDIR=~/tmp
./configure --enable-gnu --enable-libx264
(further info here)
Installing yasm is required by x264 as stated above.
Make sure you have /usr/local/bin
in your PATH since you are installing yasm, x264 and libav there.
add a comment |
up vote
0
down vote
Install dependencies :
yum install libvorbis yasm freetype zlib bzip2 faac lame speex libvpx libogg libtheora x264 XviD openjpeg15 opencore-amr
Download the tarball from here and install it:
wget https://www.libav.org/releases/libav-10.5.tar.gz
tar xvf libav-10.5.tar.gz
cd libav-10.5
/configure --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --enable-gpl --enable-version3 --enable-libvpx
make
make install
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f850808%2fhow-to-install-libav-tools-in-centos-6%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I experienced similar issue when I tried to setup ffmpeg on my vps at rosehosting. The rosehosting support fixed the issue and explained to me that I needed higher yasm version to compile the latest x264 version. They used the following steps to install yasm on my vps:
git clone git://github.com/yasm/yasm.git
cd yasm
./autogen.sh
./configure
make
make install
as for the second error, I also experienced this issue as my /tmp was mounted with noexec attribute, so to fix this I needed to set TMPDIR to some convenient directory, for example:
export TMPDIR=~/mytmp
mkdir -p $TMPDIR
once the compilation is completed, you can remove and unset it using
rm -rf $TMPDIR
unset $TMPDIR
I installed using these but still i am facing issue
– Zeeshan Akhter
Dec 16 '14 at 16:27
add a comment |
up vote
0
down vote
I experienced similar issue when I tried to setup ffmpeg on my vps at rosehosting. The rosehosting support fixed the issue and explained to me that I needed higher yasm version to compile the latest x264 version. They used the following steps to install yasm on my vps:
git clone git://github.com/yasm/yasm.git
cd yasm
./autogen.sh
./configure
make
make install
as for the second error, I also experienced this issue as my /tmp was mounted with noexec attribute, so to fix this I needed to set TMPDIR to some convenient directory, for example:
export TMPDIR=~/mytmp
mkdir -p $TMPDIR
once the compilation is completed, you can remove and unset it using
rm -rf $TMPDIR
unset $TMPDIR
I installed using these but still i am facing issue
– Zeeshan Akhter
Dec 16 '14 at 16:27
add a comment |
up vote
0
down vote
up vote
0
down vote
I experienced similar issue when I tried to setup ffmpeg on my vps at rosehosting. The rosehosting support fixed the issue and explained to me that I needed higher yasm version to compile the latest x264 version. They used the following steps to install yasm on my vps:
git clone git://github.com/yasm/yasm.git
cd yasm
./autogen.sh
./configure
make
make install
as for the second error, I also experienced this issue as my /tmp was mounted with noexec attribute, so to fix this I needed to set TMPDIR to some convenient directory, for example:
export TMPDIR=~/mytmp
mkdir -p $TMPDIR
once the compilation is completed, you can remove and unset it using
rm -rf $TMPDIR
unset $TMPDIR
I experienced similar issue when I tried to setup ffmpeg on my vps at rosehosting. The rosehosting support fixed the issue and explained to me that I needed higher yasm version to compile the latest x264 version. They used the following steps to install yasm on my vps:
git clone git://github.com/yasm/yasm.git
cd yasm
./autogen.sh
./configure
make
make install
as for the second error, I also experienced this issue as my /tmp was mounted with noexec attribute, so to fix this I needed to set TMPDIR to some convenient directory, for example:
export TMPDIR=~/mytmp
mkdir -p $TMPDIR
once the compilation is completed, you can remove and unset it using
rm -rf $TMPDIR
unset $TMPDIR
answered Dec 16 '14 at 15:16
Andreas
1
1
I installed using these but still i am facing issue
– Zeeshan Akhter
Dec 16 '14 at 16:27
add a comment |
I installed using these but still i am facing issue
– Zeeshan Akhter
Dec 16 '14 at 16:27
I installed using these but still i am facing issue
– Zeeshan Akhter
Dec 16 '14 at 16:27
I installed using these but still i am facing issue
– Zeeshan Akhter
Dec 16 '14 at 16:27
add a comment |
up vote
0
down vote
You are probably missing --enable-libx264
from your configure line and your server is configured disabling executing in /tmp
I suggest you to do something like
mkdir ~/tmp
export TMPDIR=~/tmp
./configure --enable-gnu --enable-libx264
(further info here)
Installing yasm is required by x264 as stated above.
Make sure you have /usr/local/bin
in your PATH since you are installing yasm, x264 and libav there.
add a comment |
up vote
0
down vote
You are probably missing --enable-libx264
from your configure line and your server is configured disabling executing in /tmp
I suggest you to do something like
mkdir ~/tmp
export TMPDIR=~/tmp
./configure --enable-gnu --enable-libx264
(further info here)
Installing yasm is required by x264 as stated above.
Make sure you have /usr/local/bin
in your PATH since you are installing yasm, x264 and libav there.
add a comment |
up vote
0
down vote
up vote
0
down vote
You are probably missing --enable-libx264
from your configure line and your server is configured disabling executing in /tmp
I suggest you to do something like
mkdir ~/tmp
export TMPDIR=~/tmp
./configure --enable-gnu --enable-libx264
(further info here)
Installing yasm is required by x264 as stated above.
Make sure you have /usr/local/bin
in your PATH since you are installing yasm, x264 and libav there.
You are probably missing --enable-libx264
from your configure line and your server is configured disabling executing in /tmp
I suggest you to do something like
mkdir ~/tmp
export TMPDIR=~/tmp
./configure --enable-gnu --enable-libx264
(further info here)
Installing yasm is required by x264 as stated above.
Make sure you have /usr/local/bin
in your PATH since you are installing yasm, x264 and libav there.
answered Dec 19 '14 at 7:09
lu_zero
1012
1012
add a comment |
add a comment |
up vote
0
down vote
Install dependencies :
yum install libvorbis yasm freetype zlib bzip2 faac lame speex libvpx libogg libtheora x264 XviD openjpeg15 opencore-amr
Download the tarball from here and install it:
wget https://www.libav.org/releases/libav-10.5.tar.gz
tar xvf libav-10.5.tar.gz
cd libav-10.5
/configure --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --enable-gpl --enable-version3 --enable-libvpx
make
make install
add a comment |
up vote
0
down vote
Install dependencies :
yum install libvorbis yasm freetype zlib bzip2 faac lame speex libvpx libogg libtheora x264 XviD openjpeg15 opencore-amr
Download the tarball from here and install it:
wget https://www.libav.org/releases/libav-10.5.tar.gz
tar xvf libav-10.5.tar.gz
cd libav-10.5
/configure --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --enable-gpl --enable-version3 --enable-libvpx
make
make install
add a comment |
up vote
0
down vote
up vote
0
down vote
Install dependencies :
yum install libvorbis yasm freetype zlib bzip2 faac lame speex libvpx libogg libtheora x264 XviD openjpeg15 opencore-amr
Download the tarball from here and install it:
wget https://www.libav.org/releases/libav-10.5.tar.gz
tar xvf libav-10.5.tar.gz
cd libav-10.5
/configure --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --enable-gpl --enable-version3 --enable-libvpx
make
make install
Install dependencies :
yum install libvorbis yasm freetype zlib bzip2 faac lame speex libvpx libogg libtheora x264 XviD openjpeg15 opencore-amr
Download the tarball from here and install it:
wget https://www.libav.org/releases/libav-10.5.tar.gz
tar xvf libav-10.5.tar.gz
cd libav-10.5
/configure --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --enable-gpl --enable-version3 --enable-libvpx
make
make install
answered Nov 10 '16 at 10:45
GAD3R
2,4351126
2,4351126
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f850808%2fhow-to-install-libav-tools-in-centos-6%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Maybe it's better if you post the error too :)
– Hastur
Dec 10 '14 at 11:38
@Hastur now i provided errors log
– Zeeshan Akhter
Dec 10 '14 at 18:05
From the error log, you need to install an assembler (e.g.
yasm
), or compile with the--disable-asm
flag.– Breakthrough
Dec 16 '14 at 16:58