You are not logged in.
i saw this article:
Here
but i don't know how to --enable-libass
i want a useful instruction please and thanx.
Last edited by madaramost (2017-08-08 17:57:01)
Offline
The version of ffmpeg in the repositories is already built with --enable-libass.
Offline
the libass already installed but how to check if enabled or not?
Offline
the code am using to encode is :
$ ffmpeg -hwaccel cuvid -c:v h264_cuvid -i /D/Movies/31.mkv "ass=31.mkv" -c:v h264_nvenc -preset slow 31.mkv
the subtitle is embedded in the container .
am i right ?
Offline
Please learn to edit your posts rather than bumping your topic unnecessarilly.
the libass already installed but how to check if enabled or not?
Assuming you are using the version in the Arch repositories, then it is enabled, as Slithery pointed out. If you're using a custom/AUR package, then you can check which options your ffmpeg was compiled with by running "ffmpeg --version".
am i right ?
You tell us? You have everything you need to test whether this command works, asking the community to test it for you is just laziness and help vampirism, which you have been warned about before.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Please learn to edit your posts rather than bumping your topic unnecessarilly.
the libass already installed but how to check if enabled or not?
Assuming you are using the version in the Arch repositories, then it is enabled, as Slithery pointed out. If you're using a custom/AUR package, then you can check which options your ffmpeg was compiled with by running "ffmpeg --version".
am i right ?
You tell us? You have everything you need to test whether this command works, asking the community to test it for you is just laziness and help vampirism, which you have been warned about before.
man i didn't ask you test it for me and thanx for responding , i'm asking if someone had experience to tell the code is true or not,
it could be my poor language that you can't understand me, and about "laziness and help vampirism" i searched in everywhere before i posted here but i can't find my answer.
Offline
That code won't work, as the filter you need is not called "ass" .
Re-read http://ffmpeg.org/ffmpeg-filters.html#toc-subtitles-1 , especially the 3rd and 4th example.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
That code won't work, as the filter you need is not called "ass" .
Re-read http://ffmpeg.org/ffmpeg-filters.html#toc-subtitles-1 , especially the 3rd and 4th example.
i got "ass" filer code from here :
https://trac.ffmpeg.org/wiki/HowToBurnS … sIntoVideo
Offline
ass
Same as the subtitles filter, except that it doesn’t require libavcodec and libavformat to work. On the other hand, it is limited to ASS (Advanced Substation Alpha) subtitles files.
Seems i was not entirely correct.
IF the subtitle in the mkv container is compatible with the ass format it should work.
Keep in mind that *.srt subtitles are much more common then *.ass subtitles , and both use the libass library.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Seems i was not entirely correct.
IF the subtitle in the mkv container is compatible with the ass format it should work.Keep in mind that *.srt subtitles are much more common then *.ass subtitles , and both use the libass library.
thanx "Lone_Wolf" , i already tried srt subtitle but the same thing, it not working.
Last edited by madaramost (2017-08-08 15:47:39)
Offline
I can verify it worked 3 weeks ago (last time i added subtitles to a movie).
What error message do you get ?
What is the output of mkvinfo 31.mkv ?
(Install mkvtoolnix-cli from extra if needed)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
I can verify it worked 3 weeks ago (last time i added subtitles to a movie).
What error message do you get ?
What is the output of mkvinfo 31.mkv ?
(Install mkvtoolnix-cli from extra if needed)
the error message is :
[libvorbis @ 0x7eba9b2100] 39 frames left in the queue on closing
Conversion failed!
and mkvtoolnix-cli is installed, i want the subtitle hardsub not softsub
Offline
Finally i found the solution, i used this code :
$ ffmpeg -c:v h264_cuvid -i input -vf "ass=file.ass" output.mkv
the nvidia gpu working great and the subtitle was hardsub
http://i.imgur.com/nNQlFi6.png
Offline