View Full Version : I want to hardsub an .ass file to avi


The Integral
7th August 2007, 16:35
First let me tell you that I am a total dummie at hardsubbing ..

I just know that VirtualDubMod and AviSynth can be used to hardsub the subtitles .. How?! I don't know ..

What I want to do is paste an .ass file on an avi file without losing quality or any of the effects used on the sub ..

My avi file information (taken from MediaInfo) is:

-------------------------------
General #0
Complete name : ***
Format : AVI
Format/Info : Audio Video Interleave
Format/Family : RIFF
File size : 332 MiB
PlayTime : 24mn 35s
Bit rate : 1878 Kbps
Writing application : VirtualDubMod 1.5.10.1 (build 2439/release)
Writing library : VirtualDubMod build 2439/release

Video #0
Codec : WMV3
Codec/Info : Windows Media Video 9
PlayTime : 24mn 35s
Bit rate : 1473 Kbps
Width : 640 pixels
Height : 480 pixels
Aspect ratio : 4/3
Frame rate : 23.976 fps
Resolution : 24 bits
Bits/(Pixel*Frame) : 0.200

Audio #0
Codec : MPEG-1 Audio layer 3
Codec profile : Joint stereo
PlayTime : 24mn 35s
Bit rate : 192 Kbps
Bit rate mode : CBR
Channel(s) : 2 channels
Sampling rate : 48 KHz
Resolution : 16 bits
Writing library : Gogo >3.0

Audio #1
Codec : AC3
PlayTime : 24mn 5s
Bit rate : 192 Kbps
Bit rate mode : CBR
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48 KHz
-------------------------------

I looked at the forum but I seem to not find a thread that talks about this ..

If you can help me with this or introduce me to a guide or something, I'll be grateful ..

mahsah
8th August 2007, 03:31
Someone should really write a comprehensive guide on this and sticky it...

Anyways, this is how I do it:

1.Install avisynth and the Textsub/vobsub plugin for it.

2. Put the video, the .ass, and a new textfile called something.avs (the name can be anything but make sure it has that extension!)

3. Open the text file and add the lines "Directshowsource("video.avi")" and textsub("subtitle.ass") (change filenames naturally), each of those on a new line. Save and close the file.

4. Open the .avs in a media player. It should play and you should see the subtitles on the video

5. Feed the avs into virtualdub or whatever just like you would any other video file

[P]ako
8th August 2007, 16:50
This sounds like a violation of rule #6. I am quite sure you downloaded both the video and the subtitle file.