Insert subtitles permanently and convert video
27,110
Solution 1
Arista can do both of these things, and it provides a very nice, easy GUI. It's available in the repos.
Solution 2
Try using mencoder
. Something like this works:
mencoder source.avi -sub srt.srt -o destination.mpeg -oac mp3lame -ovc lavc -of mpeg
mencoder has a gazillion CLI switches to control video quality, for some ideas see here (specifically about encoding to mpeg):
http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-mpeg.html
Solution 3
You can use Mobile Media Converter to do these task.
You can download from here.
Solution 4
In the Arista:
- Select "Create Conversion" to get the "Create Conversion" window
- Select "Choose File..." as the "Source"
- Select the video file
- Click on the "gear" next to the "Source" to get the "Source Properties" window
- Set "Subtitles to render"
Solution 5
I have success with:
ffmpeg -i subs.srt subs.ass
ffmpeg -i input.avi -vf "ass=subs.ass" output.avi
But I needed to recompile ffmpeg with option --enable-libass
.
Related videos on Youtube
![juliomalegria](https://i.stack.imgur.com/Mf9J8.jpg?s=256&g=1)
Author by
juliomalegria
Updated on September 18, 2022Comments
-
juliomalegria almost 2 years
I need to do two things with an
.avi
video:- Insert subtitles (
.srt
) permanently without modifying its timing or the video intself. - Convert the new video (with the permanent subtitles) from
.avi
to.mpeg
.
Is there any way to do it in one or two command lines? (Probably using
ffmpeg
?)Some additional data:
- Subtitles could have some special characters (spanish characters, like: ñ, á, ü ...)
- Doesn't matter the order of events: first add subtitles to
.avi
and then convert or first convert and then add subtitles to.mpeg
- I'm using Ubuntu 11.04 (Natty Narwhal).
- Insert subtitles (
-
Exeleration-G almost 11 yearsHow can I insert the SRT file with Arista?
-
Federico Pugnali over 10 yearsAfter choosing the file, click the configuration icon next to it and select the subtitles file to embed.
-
Artur Barseghyan over 8 yearsTo be honest, of all the options tried (even VLC) this is the only thing that worked as I expected. In all other cases subtitles just would be rendered. Thanks.
-
B. Butz over 7 yearsI've downloaded and installed Arista -- but how do I run it?