Is there a way to add subtitles to WMV files? I usually use Vdubmod to add subtitles to AVI files but in this case, Vdubmod does not support WMV. After adding subtitles, I'm converting the WMV files to DVD.
Hopefully, this process that I'm thinking is possible:
AVISynth code >> Vdubmod >> Add Subs >> Frameserve >> TMPGEnc
That way, I don't have to convert to AVI and then to MPEG-2 because it's too time-consuming. And if the above is possible, I might as well extract the audio using Vdubmod so I can process it separately.
Any help on constructing the AVISynth code would be greatly appreciated. Thanks.![]()
+ Reply to Thread
Results 1 to 11 of 11
-
-
Thanks so much! The lanczos resize would probably be 720x480 for DVD. Should I be using Full Screen (keep aspect ratio) or Center (keep aspect ratio)? As for the FPS, MPC says it's 23.98 fps but I'm going to use 23.976 fps.
But what is the addBorders and converttoRGB for? -
Well add borders would be if it wasn't 4:3 or 16:9, like say 2.35:1. ConverttoRGB24() is because TMPGEnc needs RGB, if you don't feed it RGB you might have issues and it is going to convert it anyway, so may as well use AVISynth since it probably does a better job of chroma upsampling.
MPC is probably rounding up.
I guess just centre since TMPGEnc isn't doing any resizing. Just make sure to set the source as 4:3 if it is 4:3 or 16:9 if it is 16:9. Actually that probably doesn't matter either.
You might also want to check out FitCD. You should also notice a nice speed increase since AVISynth is a fair bit faster at resizing, etc. than TMPGEnc. Should also be faster than VDub since textsub in VDub requires RGB24 where as under AVISynth it does not. -
I tried the code today after getting the VSFilter.dll for textsub. I previewed it in MPC and my colored subtitles are not coming out. In the areas that are supposed to be pink outlined but came out black, it's because of this code in the SSA file:
{\3c&hAD18C6&} code for changing into pink outline
{\3c&hAD0029&} code for changing back into the original color
It's not working so the outline became black.Why is this?
-
Well I just tried a ssa with VSFilter and the avs played perfectly. Colours, animation, etc. were all fine.
I used my own VSFilter compile though. Perhaps you are using an older one or there is something up with your ssa file?
http://ffdshow.faireal.net/mirror/Media%20Player%20Classic/external%20filters/unicode/VSFilter.7z -
I was using a VSFilter.dll gotten from here: http://www.avisynth.org/warpenterprises/
That 7z file you gave me is not being acknowledged by AVISynth even though it's in the Plugins folder.For the colors, it's actually the subtitle colors being black, not the video itself.
-
What do you use to unpack it? I've never heard of this format before. As for Warpenterprises, it's actually listed as TextSub and not VSFilter. Although the filename is VSFilter.dll
Edit:
I got 7-Zip to unpack it and the subs are still partly not colored. My subs are like this:
Secret {\3c&h3138B5&}After {\3c&hAD0029&}School
It uses codes to change colors for a specific word instead of the whole line.
Similar Threads
-
Hardcoding subs problem
By jliggett in forum SubtitleReplies: 3Last Post: 3rd Feb 2011, 18:04 -
hardcoding subs
By zammil in forum SubtitleReplies: 27Last Post: 24th Sep 2010, 04:10 -
help hardcoding subs to mkv
By striker9 in forum SubtitleReplies: 14Last Post: 20th Aug 2010, 06:40 -
Help hardcoding subs to mkv
By striker9 in forum Authoring (DVD)Replies: 1Last Post: 16th Aug 2010, 02:01 -
Hardcoding subs problem?
By elliottpen in forum ffmpegX general discussionReplies: 9Last Post: 22nd Apr 2010, 18:24