New! If this looks like much work try instead AutoGK, see https://forum.videohelp.com/viewtopic.php?t=316471
Download and install/extract Virtualdubmod.
If you don't have the subtitles create your own text subtitles with SubtitleWorkshop or Substation Alpha and then continue with this guide to add them permanent to the video.
Download Vobsub 2.23.
When you install VobSub be sure to select VobSub for Virtualdub and TextSub for Virtualdub and AviSynth under Plugins:
Set the Virtualdubmod folder:
In Virtualdubmod open your video. (If a message popups that VBR audio stream detected just select NO)
Add the TextSub filter under Video->Filters.
Open the srt, sub(text), smi, ssa subtitle.
(If you have an idx/sub/ifo subtitle add the VobSub filter intead.)
Set Video->Full Processing.
Set Video->Compression and select Divx or Xvid. Install DivX Codec or XviD Codec if you can't see the in the compression list.
And last save as a new AVI, File->Save AVI.
(If you want to convert directly to a VCD, SVCD or DVD MPEG2 frameserve to an mpeg encoder, read this guide.)
I can't install Vobsub. Vobsub wont work.
Try use latest VSFilter instead. Install it and then copy the VSFilter.dll to the plugins folder under the Virtualdubmod folder and rename it to VSFilter.vdf. Like c:\program files\virtualdubmod\plugins\VSFilter.vdf
VBR audio stream detected
Just select NO.
Can't see any DivX or XviD in the compression list
Install the DivX Codec or Xvid Codec.
Can't open the video
Identify the video codec with Gspot or avicodec. Then download and install that codec, usually DivX Codec or XviD Codec or try ffdshow(and enable VFW decoding)
The source image format is not acceptable (error code -2). Or other problems.
More subtitle and virtualdub links
If this looks like much work try instead AutoGK, see https://forum.videohelp.com/viewtopic.php?t=316471
+ Reply to Thread
Results 1 to 30 of 259
Thanks for your tips. I have come to the final step of saving the .avi, and i am getting the following error:
video compression error: The source image format is not acceptable. (error code -2).
Any ideas what this means?
no dramas, i have fixed all my problems.
I have encoded my movie, and it has all worked fine. Problem is the subtitles have not come out at all properly. They are coming out as rectangles. I dont believe the .ass file i received is any good. Here is the contents of the file (this is not the whole file, but does show the top, as well as the start of the dialogue). When i tried to copy the text into this message, the text was in japanese. Does this mean the subtitles are possibly in japanese???
edit: too big image...try reduce the width..you are messing up my guide. /Baldrick
You must probably select a japanese font under Styles to be able to add them.
Nix that guys, I figured it out. Works great! Thanks!
that's great and works with me. Thanks. But one more question: my avi is already compressed (XVID) so how can I merge it with srt without downgrading its quality during the recompression process?
How can I config divX or/and Xvid to achieve such objective?
(using the default value of divx results in crab)
You can't. Hard encoding subs means re-encoding and both XviD and DivX are lossy codecs so you are going to loose quality everytime that you re-compress.
One more thing
It is possible to add black part to the bottom (top) part of the movie so that the subtitle will not cover the movie itself?. I reconk there's a way there which I don't know as you can crop it off then you can put it back in. Pls tell me how .
You can't. Hard encoding subs means re-encoding and both XviD and DivX are lossy codecs so you are going to loose quality everytime that you re-compress
Actually, what I am getting at is showing my avi in my DVD player that support DivX and Xvid. the player can load srt but the font size is too small and it fails to display vietnamese (unlike vobsub huh?). So if you can advise me with another type of subtitle then i would highly appreciate it. Making permanent subtitle is the last resort.
Vobsubs or xsubs.
To minimise the quality loss encode at a low average quant, although that may push the bitrate too high for the player. It also means that the result will be larger than the source.
After running this through on a couple of movies, I find my audio gets out of sync in the dubbing process. Is there a way to fix this?
I have no problem following your guide but everytime I get to this part: Open the srt, sub(text), smi, ssa subtitle. I have no idea what to do. anything i open leads to a dead end. what exactly do you mean by this? Does it matter that i have an avi video file (downloaded from edonkey) and not a dvd video file? All i'm trying to do is get english subtitles for my japanese video file.
this is working fine for the most part, i have gotten it to work perfectly for putting subs back in some ogm files i converted to avi, but converted some mkvs as well, and when i put the subs back in, they don't synchronize with the video, there is a significant amount of lag between the video and when the subtitle appears. does anyone have any ideas on how to fix this?
edit: on further analysis, the audio is synchronized with the subtitles, but both are lagging behind the video by a minute or more
I'm trying to edit hardsubs from an .srt file extracted from a .mkv container into a .avi taken from the same container. If I run Media Player Classic with both .srt and .avi files everything looks OK so I assume the raw files are not corrupt.
When I try and install VobSub2.23 it proceeds all the way through to the end but doesn't terminate properly. I have to go into W2K Task Manager and kill it explicitly. I don't know if this affects its operation or whether it's just an annoying bug and the installation has been completed successfully.
I use VirtualDubMod by preference and when I select the TextSub filter I get the appropriate options as shown on the howto. However when asked to select a subtitle file I choose the .srt file and click OK. The TextSub filter returns to the basic option screen where the [OK] button is greyed out. The text box that should hold the subtitle file name is blank. Nothing I can do seems to be able to get past this point.
Any ideas? Is there an earlier version of VobSub that maybe works?
This is awesome! It helped put togethor a CC to sub project that I started 11 months ago. This with mpg2srt, the frameserve HOW-TO, and someone's VOBsub position recomendation put it all together.
I just wish I could remember which post taught me the VOBsub positioning trick.
Thanks a million guys!"EL EXTRANJERO ME SIENTO"
It was Baldrick to the rescue again that lead me on the path to trying to position the subtitle at https://www.videohelp.com/forum/viewtopic.php?p=1288676#1288676"EL EXTRANJERO ME SIENTO"
Originally Posted by nojay
i attempted to use the textsub filter in virtualdubmod with no success, so i went back to virtualdub and everything worked fine, however i've had issues getting the audio and subs to align with the video properly in converted mkv's.
V=It all went smoothly, but when I tried to play the video in one of my media players, the video had a small error and lagged greatly behind the audio.
So I tried it again..
Again, same spot at the start of the movie were it freezes for a bit, then is delayed.
Any ideas why it happened?
When I replay the new subtitled video in Vobsub - it worked fine, no delay in the video and didnt freeze.
Originally Posted by XDelusion
did you specify the correct location of virtual dub when you install the text sub filter? and did you install the text sub plugin for virtual dub to begin with? it isn't checked by default, so this is really easy to do, i had to install vobsub twice because i missed that the first time
Turns out, I clicked on the box to set this up, but it didn't register with winblows apparently.
Re-installed, made damn sure the box was clicked and now all is well, thankx for the tutorial!
hello, great tutorial. I did have an error though. When i get my video into virtualdub and add in the .sub subtitles and playback, the titles either come way before they talk, or way after. it throws everything off. Is it a problem with the sub file? Or am i doing something wrong?
thanks!!Burn baby, BURN!!!
Sounds like a problem with the subs. Were they in sync when you watched it?
Also I would suggest that people use VSFilter instead of VOBSub. VOBSub was replaced with VSFilter, VSRip, etc. some years ago and VSFilter contains newer versions of textsub/vobsub plugins for VDub, also for AVISynth which would be better anyway since it doesn't require a RGB24 colourspace conversion.
Whenever I added forced subtitles to an AVI, I got sync problem between the audio and video. To solve this I now use the VirtualDubMod and since then I stopped having any sync problems.
Please make sure that when adding subtitles, under the Styles... option, you are setting the correct frame rate.
I also noticed that when rencoding using the latest XviD, in the Calc option (XviD MPEG-4 codec-->Configure-->Calc), make sure again that you are selecting the correcting frame rate.
those tools seemed to sync up the subs with the talking, but now, action happens, then like 10 seconds later, I hear the sounds related to that action. I dunno what the problem is. I'm going to save out the video in the hope that it's my computer.
Any ideas what would cause this?Burn baby, BURN!!!