How to: encode for .mkv with .ass subtitles

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

How to: encode for .mkv with .ass subtitles

Postby Kawatta-kun » Fri Dec 03, 2010 8:24 pm

I wonder, always did, how to encode to an .mkv file with .ass subtitles.

I wanted to edit something like a trailer, but wanted to do subtitles at Aegisub, then encode it with my AMV to an .mkv file.
Image Image
User avatar
Kawatta-kun
 
Joined: 27 Jul 2005
Location: Povoa de Santa Iria, Lisbon
Status: Awesomely great

Re: How to: encode for .mkv with .ass subtitles

Postby mirkosp » Fri Dec 03, 2010 10:36 pm

After you make and save the subtitles in Aegisub, all you have to do is mux video, audio, and subtitles with something like mkvmerge gui, part of the mkvtoolnix.
It should be a rather straightforward and intuitive process all throughout, so I doubt you need much more than to be pointed to the right programs.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: How to: encode for .mkv with .ass subtitles

Postby Kawatta-kun » Sat Dec 04, 2010 5:48 am

The video is the one obtained at zarxgui or the lossless one?
Image Image
User avatar
Kawatta-kun
 
Joined: 27 Jul 2005
Location: Povoa de Santa Iria, Lisbon
Status: Awesomely great

Re: How to: encode for .mkv with .ass subtitles

Postby mirkosp » Sat Dec 04, 2010 5:54 am

Already encoded with zarxgui or other such.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: How to: encode for .mkv with .ass subtitles

Postby Kawatta-kun » Sat Dec 04, 2010 3:14 pm

The filesize will be the same as video + audio + ass isn't it?

Thanks, will try it out ^^
Image Image
User avatar
Kawatta-kun
 
Joined: 27 Jul 2005
Location: Povoa de Santa Iria, Lisbon
Status: Awesomely great

Re: How to: encode for .mkv with .ass subtitles

Postby TheRyuu » Sat Dec 04, 2010 3:21 pm

Also if your ass file uses any special fonts (and it probably does considering you're using ass) you have to attach those fonts in mmg as well (you can export the fonts to a folder in aegisub).
TheRyuu
 
Joined: 19 May 2010

Re: How to: encode for .mkv with .ass subtitles

Postby Kawatta-kun » Sat Dec 04, 2010 5:18 pm

TheRyuu wrote:Also if your ass file uses any special fonts (and it probably does considering you're using ass) you have to attach those fonts in mmg as well (you can export the fonts to a folder in aegisub).

Wait what? o.o
Attach the respective fonts to where, to work?
Image Image
User avatar
Kawatta-kun
 
Joined: 27 Jul 2005
Location: Povoa de Santa Iria, Lisbon
Status: Awesomely great

Re: How to: encode for .mkv with .ass subtitles

Postby Qyot27 » Sun Dec 05, 2010 4:11 am

In mkvmergeGUI, the Attachments tab. Use the Add button and select the font file(s).

With the timing step, Aegisub has tools to assist with it (or any waveform editor would do), although I still do it manually.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog
User avatar
Qyot27
Surreptitious fluffy bunny
 
Joined: 30 Aug 2002
Location: St. Pete, FL
Status: Creepin' between the bullfrogs

Re: How to: encode for .mkv with .ass subtitles

Postby Mister Hatt » Tue Dec 14, 2010 7:47 pm

Also for fonts, make sure to set the mimetype to application/x-truetype-font or some players will shit on it. Alternatively use application/x-font and then all good players will work while all bad players will hurf. I recommend this option.

Another thing to be careful of with fonts is that they don't have bad stroking. Windows interpolates incorrect font strokes (which is actually the wrong behavior and out of spec) but freetype2 and other 'correct' renderers will invert these defects in the font file. You will only notice this if you are using outlines in .ass though, and previewing in a freetype2 renderer, such as libass, as used in mplayer or the ancient version used in vlc.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you


Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest