How to enable libass on Linux?Autotools does not detect my architecture correctly. How to handle?unrecognized option 'vf'How to record v4l webcam with ffmpeg? Cannot find a proper format for codec 'none'How to define ffmpeg's path during compilation of another software?How to formulate FFmpeg command for ZERO latency streaming to VR headset?How to pipe the output ffmpeg?Adjusting keyframe rate ffmpeg/v4l2 Logitech C920 to YouTube Liveffmpeg script only running for first in list?How to install newest version of ffmpeg from ffmpeg.orginstall ffmpeg-php on CentOS7
What to do with wrong results in talks?
Student evaluations of teaching assistants
Is there an Impartial Brexit Deal comparison site?
Is there a good way to store credentials outside of a password manager?
How was Earth single-handedly capable of creating 3 of the 4 gods of chaos?
Can I Retrieve Email Addresses from BCC?
How does a character multiclassing into warlock get a focus?
Opposite of a diet
Time travel short story where a man arrives in the late 19th century in a time machine and then sends the machine back into the past
Ways to speed up user implemented RK4
Lay out the Carpet
Greatest common substring
What is difference between behavior and behaviour
Is the destination of a commercial flight important for the pilot?
Can a monster with multiattack use this ability if they are missing a limb?
Is exact Kanji stroke length important?
How can I get through very long and very dry, but also very useful technical documents when learning a new tool?
Displaying the order of the columns of a table
How do I rename a LINUX host without needing to reboot for the rename to take effect?
Minimal reference content
How could Frankenstein get the parts for his _second_ creature?
Tiptoe or tiphoof? Adjusting words to better fit fantasy races
Why does John Bercow say “unlock” after reading out the results of a vote?
Will it be accepted, if there is no ''Main Character" stereotype?
How to enable libass on Linux?
Autotools does not detect my architecture correctly. How to handle?unrecognized option 'vf'How to record v4l webcam with ffmpeg? Cannot find a proper format for codec 'none'How to define ffmpeg's path during compilation of another software?How to formulate FFmpeg command for ZERO latency streaming to VR headset?How to pipe the output ffmpeg?Adjusting keyframe rate ffmpeg/v4l2 Logitech C920 to YouTube Liveffmpeg script only running for first in list?How to install newest version of ffmpeg from ffmpeg.orginstall ffmpeg-php on CentOS7
I tried to enable libass for ffmpeg with this --enable-libass
in command but it didn't recognise the command.
Does anyone know how to enable libass on Linux?
linux ffmpeg
|
show 1 more comment
I tried to enable libass for ffmpeg with this --enable-libass
in command but it didn't recognise the command.
Does anyone know how to enable libass on Linux?
linux ffmpeg
what version of linux? It is possible libass is not installed on your system.
– mkc
Feb 20 '14 at 4:59
2.6.32-358.2.1.el6.i686
– cea
Feb 20 '14 at 5:08
What distro is what we should've asked.
– slm♦
Feb 20 '14 at 5:09
i386 GNU/Linux if that is what you mean.
– cea
Feb 20 '14 at 5:16
cea: please run the command "cat /etc/issue" on your terminal and show its output here.
– Aquarius_Girl
Feb 20 '14 at 6:30
|
show 1 more comment
I tried to enable libass for ffmpeg with this --enable-libass
in command but it didn't recognise the command.
Does anyone know how to enable libass on Linux?
linux ffmpeg
I tried to enable libass for ffmpeg with this --enable-libass
in command but it didn't recognise the command.
Does anyone know how to enable libass on Linux?
linux ffmpeg
linux ffmpeg
edited Feb 20 '14 at 6:34
Aquarius_Girl
64042141
64042141
asked Feb 20 '14 at 4:32
ceacea
69872442
69872442
what version of linux? It is possible libass is not installed on your system.
– mkc
Feb 20 '14 at 4:59
2.6.32-358.2.1.el6.i686
– cea
Feb 20 '14 at 5:08
What distro is what we should've asked.
– slm♦
Feb 20 '14 at 5:09
i386 GNU/Linux if that is what you mean.
– cea
Feb 20 '14 at 5:16
cea: please run the command "cat /etc/issue" on your terminal and show its output here.
– Aquarius_Girl
Feb 20 '14 at 6:30
|
show 1 more comment
what version of linux? It is possible libass is not installed on your system.
– mkc
Feb 20 '14 at 4:59
2.6.32-358.2.1.el6.i686
– cea
Feb 20 '14 at 5:08
What distro is what we should've asked.
– slm♦
Feb 20 '14 at 5:09
i386 GNU/Linux if that is what you mean.
– cea
Feb 20 '14 at 5:16
cea: please run the command "cat /etc/issue" on your terminal and show its output here.
– Aquarius_Girl
Feb 20 '14 at 6:30
what version of linux? It is possible libass is not installed on your system.
– mkc
Feb 20 '14 at 4:59
what version of linux? It is possible libass is not installed on your system.
– mkc
Feb 20 '14 at 4:59
2.6.32-358.2.1.el6.i686
– cea
Feb 20 '14 at 5:08
2.6.32-358.2.1.el6.i686
– cea
Feb 20 '14 at 5:08
What distro is what we should've asked.
– slm♦
Feb 20 '14 at 5:09
What distro is what we should've asked.
– slm♦
Feb 20 '14 at 5:09
i386 GNU/Linux if that is what you mean.
– cea
Feb 20 '14 at 5:16
i386 GNU/Linux if that is what you mean.
– cea
Feb 20 '14 at 5:16
cea: please run the command "cat /etc/issue" on your terminal and show its output here.
– Aquarius_Girl
Feb 20 '14 at 6:30
cea: please run the command "cat /etc/issue" on your terminal and show its output here.
– Aquarius_Girl
Feb 20 '14 at 6:30
|
show 1 more comment
3 Answers
3
active
oldest
votes
First you need to make sure that your particular version of ffmpeg
was built with and supports that switch. You'll also likely need to make sure that the library libass
is installed as well.
You don't specify your Linux distro but I did notice that libass
is available in my stock Fedora 19 repository so it's trivial to install.
$ sudo yum install libass
Now back to ffmpeg
's support of libass
. You can confirm how it was built by simply running it without any arguments.
$ ~/ffmpeg |& grep libass
configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
So the version that I have, does include this support, --enable-libass
. If your version of ffmpeg
doesn't support it you can simply download the static build of it from the FFmpeg website.
- http://ffmpeg.gusari.org/static/
It says nothing to do when tried simple yum install so that means it must be installed? I did download the static build.
– cea
Feb 20 '14 at 5:09
@cea - yes, you can confirm with this command too:rpm -aq libass
.
– slm♦
Feb 20 '14 at 5:10
Thank you, it says libass-0.10.0-3.el6.i686 so I wonder why I am getting font config not found in output. That is the reason I'm trying to enable.
– cea
Feb 20 '14 at 5:14
@cea - see this FFmpeg ticket: trac.ffmpeg.org/ticket/1688
– slm♦
Feb 20 '14 at 5:18
ok thank you, no-one was ever able to give him an answer "closed defect (invalid)" what ever that means, anyway I will have a think on it.
– cea
Feb 20 '14 at 6:24
add a comment |
On Ubuntu or Mint:
sudo apt-get install libass-dev
add a comment |
recompile ffmpeg with:
./configure --enable-libass
Then
make
sudo make install
Then check the new ffmpeg without arguments:
ffmpeg
Mine says "libass" is in the new config.
Then, to convert videos I use:
ffmpeg -i input.avi -vf "ass=subs.ass" out.avi
To obtain the subtitles in .ass
from .srt
I use:
ffmpeg -i subs.srt subs.ass
Good luck!
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f116036%2fhow-to-enable-libass-on-linux%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
First you need to make sure that your particular version of ffmpeg
was built with and supports that switch. You'll also likely need to make sure that the library libass
is installed as well.
You don't specify your Linux distro but I did notice that libass
is available in my stock Fedora 19 repository so it's trivial to install.
$ sudo yum install libass
Now back to ffmpeg
's support of libass
. You can confirm how it was built by simply running it without any arguments.
$ ~/ffmpeg |& grep libass
configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
So the version that I have, does include this support, --enable-libass
. If your version of ffmpeg
doesn't support it you can simply download the static build of it from the FFmpeg website.
- http://ffmpeg.gusari.org/static/
It says nothing to do when tried simple yum install so that means it must be installed? I did download the static build.
– cea
Feb 20 '14 at 5:09
@cea - yes, you can confirm with this command too:rpm -aq libass
.
– slm♦
Feb 20 '14 at 5:10
Thank you, it says libass-0.10.0-3.el6.i686 so I wonder why I am getting font config not found in output. That is the reason I'm trying to enable.
– cea
Feb 20 '14 at 5:14
@cea - see this FFmpeg ticket: trac.ffmpeg.org/ticket/1688
– slm♦
Feb 20 '14 at 5:18
ok thank you, no-one was ever able to give him an answer "closed defect (invalid)" what ever that means, anyway I will have a think on it.
– cea
Feb 20 '14 at 6:24
add a comment |
First you need to make sure that your particular version of ffmpeg
was built with and supports that switch. You'll also likely need to make sure that the library libass
is installed as well.
You don't specify your Linux distro but I did notice that libass
is available in my stock Fedora 19 repository so it's trivial to install.
$ sudo yum install libass
Now back to ffmpeg
's support of libass
. You can confirm how it was built by simply running it without any arguments.
$ ~/ffmpeg |& grep libass
configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
So the version that I have, does include this support, --enable-libass
. If your version of ffmpeg
doesn't support it you can simply download the static build of it from the FFmpeg website.
- http://ffmpeg.gusari.org/static/
It says nothing to do when tried simple yum install so that means it must be installed? I did download the static build.
– cea
Feb 20 '14 at 5:09
@cea - yes, you can confirm with this command too:rpm -aq libass
.
– slm♦
Feb 20 '14 at 5:10
Thank you, it says libass-0.10.0-3.el6.i686 so I wonder why I am getting font config not found in output. That is the reason I'm trying to enable.
– cea
Feb 20 '14 at 5:14
@cea - see this FFmpeg ticket: trac.ffmpeg.org/ticket/1688
– slm♦
Feb 20 '14 at 5:18
ok thank you, no-one was ever able to give him an answer "closed defect (invalid)" what ever that means, anyway I will have a think on it.
– cea
Feb 20 '14 at 6:24
add a comment |
First you need to make sure that your particular version of ffmpeg
was built with and supports that switch. You'll also likely need to make sure that the library libass
is installed as well.
You don't specify your Linux distro but I did notice that libass
is available in my stock Fedora 19 repository so it's trivial to install.
$ sudo yum install libass
Now back to ffmpeg
's support of libass
. You can confirm how it was built by simply running it without any arguments.
$ ~/ffmpeg |& grep libass
configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
So the version that I have, does include this support, --enable-libass
. If your version of ffmpeg
doesn't support it you can simply download the static build of it from the FFmpeg website.
- http://ffmpeg.gusari.org/static/
First you need to make sure that your particular version of ffmpeg
was built with and supports that switch. You'll also likely need to make sure that the library libass
is installed as well.
You don't specify your Linux distro but I did notice that libass
is available in my stock Fedora 19 repository so it's trivial to install.
$ sudo yum install libass
Now back to ffmpeg
's support of libass
. You can confirm how it was built by simply running it without any arguments.
$ ~/ffmpeg |& grep libass
configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
So the version that I have, does include this support, --enable-libass
. If your version of ffmpeg
doesn't support it you can simply download the static build of it from the FFmpeg website.
- http://ffmpeg.gusari.org/static/
edited yesterday
answered Feb 20 '14 at 5:02
slm♦slm
254k71538687
254k71538687
It says nothing to do when tried simple yum install so that means it must be installed? I did download the static build.
– cea
Feb 20 '14 at 5:09
@cea - yes, you can confirm with this command too:rpm -aq libass
.
– slm♦
Feb 20 '14 at 5:10
Thank you, it says libass-0.10.0-3.el6.i686 so I wonder why I am getting font config not found in output. That is the reason I'm trying to enable.
– cea
Feb 20 '14 at 5:14
@cea - see this FFmpeg ticket: trac.ffmpeg.org/ticket/1688
– slm♦
Feb 20 '14 at 5:18
ok thank you, no-one was ever able to give him an answer "closed defect (invalid)" what ever that means, anyway I will have a think on it.
– cea
Feb 20 '14 at 6:24
add a comment |
It says nothing to do when tried simple yum install so that means it must be installed? I did download the static build.
– cea
Feb 20 '14 at 5:09
@cea - yes, you can confirm with this command too:rpm -aq libass
.
– slm♦
Feb 20 '14 at 5:10
Thank you, it says libass-0.10.0-3.el6.i686 so I wonder why I am getting font config not found in output. That is the reason I'm trying to enable.
– cea
Feb 20 '14 at 5:14
@cea - see this FFmpeg ticket: trac.ffmpeg.org/ticket/1688
– slm♦
Feb 20 '14 at 5:18
ok thank you, no-one was ever able to give him an answer "closed defect (invalid)" what ever that means, anyway I will have a think on it.
– cea
Feb 20 '14 at 6:24
It says nothing to do when tried simple yum install so that means it must be installed? I did download the static build.
– cea
Feb 20 '14 at 5:09
It says nothing to do when tried simple yum install so that means it must be installed? I did download the static build.
– cea
Feb 20 '14 at 5:09
@cea - yes, you can confirm with this command too:
rpm -aq libass
.– slm♦
Feb 20 '14 at 5:10
@cea - yes, you can confirm with this command too:
rpm -aq libass
.– slm♦
Feb 20 '14 at 5:10
Thank you, it says libass-0.10.0-3.el6.i686 so I wonder why I am getting font config not found in output. That is the reason I'm trying to enable.
– cea
Feb 20 '14 at 5:14
Thank you, it says libass-0.10.0-3.el6.i686 so I wonder why I am getting font config not found in output. That is the reason I'm trying to enable.
– cea
Feb 20 '14 at 5:14
@cea - see this FFmpeg ticket: trac.ffmpeg.org/ticket/1688
– slm♦
Feb 20 '14 at 5:18
@cea - see this FFmpeg ticket: trac.ffmpeg.org/ticket/1688
– slm♦
Feb 20 '14 at 5:18
ok thank you, no-one was ever able to give him an answer "closed defect (invalid)" what ever that means, anyway I will have a think on it.
– cea
Feb 20 '14 at 6:24
ok thank you, no-one was ever able to give him an answer "closed defect (invalid)" what ever that means, anyway I will have a think on it.
– cea
Feb 20 '14 at 6:24
add a comment |
On Ubuntu or Mint:
sudo apt-get install libass-dev
add a comment |
On Ubuntu or Mint:
sudo apt-get install libass-dev
add a comment |
On Ubuntu or Mint:
sudo apt-get install libass-dev
On Ubuntu or Mint:
sudo apt-get install libass-dev
edited Mar 5 '15 at 2:23
answered Jan 9 '15 at 5:59
TarikTarik
1414
1414
add a comment |
add a comment |
recompile ffmpeg with:
./configure --enable-libass
Then
make
sudo make install
Then check the new ffmpeg without arguments:
ffmpeg
Mine says "libass" is in the new config.
Then, to convert videos I use:
ffmpeg -i input.avi -vf "ass=subs.ass" out.avi
To obtain the subtitles in .ass
from .srt
I use:
ffmpeg -i subs.srt subs.ass
Good luck!
add a comment |
recompile ffmpeg with:
./configure --enable-libass
Then
make
sudo make install
Then check the new ffmpeg without arguments:
ffmpeg
Mine says "libass" is in the new config.
Then, to convert videos I use:
ffmpeg -i input.avi -vf "ass=subs.ass" out.avi
To obtain the subtitles in .ass
from .srt
I use:
ffmpeg -i subs.srt subs.ass
Good luck!
add a comment |
recompile ffmpeg with:
./configure --enable-libass
Then
make
sudo make install
Then check the new ffmpeg without arguments:
ffmpeg
Mine says "libass" is in the new config.
Then, to convert videos I use:
ffmpeg -i input.avi -vf "ass=subs.ass" out.avi
To obtain the subtitles in .ass
from .srt
I use:
ffmpeg -i subs.srt subs.ass
Good luck!
recompile ffmpeg with:
./configure --enable-libass
Then
make
sudo make install
Then check the new ffmpeg without arguments:
ffmpeg
Mine says "libass" is in the new config.
Then, to convert videos I use:
ffmpeg -i input.avi -vf "ass=subs.ass" out.avi
To obtain the subtitles in .ass
from .srt
I use:
ffmpeg -i subs.srt subs.ass
Good luck!
answered Feb 10 '16 at 9:35
Yan King YinYan King Yin
1186
1186
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f116036%2fhow-to-enable-libass-on-linux%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
-ffmpeg, linux
what version of linux? It is possible libass is not installed on your system.
– mkc
Feb 20 '14 at 4:59
2.6.32-358.2.1.el6.i686
– cea
Feb 20 '14 at 5:08
What distro is what we should've asked.
– slm♦
Feb 20 '14 at 5:09
i386 GNU/Linux if that is what you mean.
– cea
Feb 20 '14 at 5:16
cea: please run the command "cat /etc/issue" on your terminal and show its output here.
– Aquarius_Girl
Feb 20 '14 at 6:30