My language has some diacritics and when I try to hardsub in Virtual Dub the outcome are some strange characters. What should I do to fix those?
This is how the subtitle shows:
And this is how it should be:
"Întodeauna am vrut să fiu liberă"
Yes the subtitle format is .ass, and no, i will not use AutoGK since it does the same thing, only that it takes 2 times longer to finish, and I really don`t want to wait 4 hours!
EDIT: Seems that those forums don`t support the a with diacritics from my language(which is romanian by the way, and those characters are from the latin-extended font code family.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 30 of 34
Thread
-
-
And how could I do that? I`ve used the TextSub filter in VirtualDub if that`s what you mean.
-
I did not observe that before, but anyway, it still does not solve my problem, any script for the font or any font that I try won`t fix this, only that some of those characters are replaced by delta (in Greek script) and some cyrillic characters (in Russian script). Maybe I should attatch the .ass file here?
-
Maybe I should attatch the .ass file here?
it seemed your application was loading a UTF-8 file and
interpreting it as ANSI text --- but things quite often don't run that simple. -
Ok then, here you go lad:
section1.ssa
EDIT: This is in fact an .ass file, just that I renamed it so a program could have opened it (it didn`t let me open anything with .ass) -
OK, I think I have found out the damn problema :
it is a UTF-8 file, BUT Aegisub, in its infinite wisdom,
set the 'Encoding' value to '0'. Anyway, the Romanian characters
are displayed finely by Notepad. Try this modified .ssa and
check whether it works this time.
modified.ssa
-
It's the last field of the line "Style".
But perhaps you'll just need to change the "ScriptType":
ScriptType: v4.00+ -
Are you sure you have installed the file Vsfilter.dll adequate for Windows XP
If the answer is "Yes", then I can only suggest that you convert the fancy .ASS file
to a good-and-old .SSA --- and pray.
By the way, Midzuki, you`re running Wine with notepad to display that text? -
Originally Posted by Midzuki
I don`t have at all that .dll file! Where should I put it (downloaded the windows NT one - VSFilter2.37and2.38_20080306_XPNTVISTA)
I would rather stay away from AviDemux, because I cannot use the FFDShow codec pack with it -
First of all, uninstall the current Vsfilter.
Afterwards, copy the WINNT version into the system32 folder,
and run this command-line:
Code:regsvr32 vsfilter.dll
Code:rundll32.exe vsfilter.dll,DirectVobSub
because of the Service Pack 3 --- but this is just a guess of course. -
Originally Posted by Midzuki
-
Well, only now I have found the time to re-install Avisynth on my messy PC,
so that I could load a BlankClip plus the file 'session1.ass' on VirtualDub.
Over here, the romanian subtitle pictures were displayed perfectly,
with no problema at all. It seems therefore, something you have installed on your
computer is not letting TextSub function correctly.
-
I trust that you can see those diacritics properly, but still that does not fix my problem unfortunately. I will send you a PM and ask you something. Thank-you all for your help so far...
-
What have you done --- a 100%~fresh re-install of Windows XP,
or a simple OS-overwriting? If you have chosen the first method,
then I really have no idea of what could be the actual cause of your
problems with displaying non-ANSI subtitles
B.T.W., have you already checked whether your TextSub works inside Avisynth -
According to a private message from the OP, he has managed
to display the Romanian characters via Avisynth. Apparently,
when he said:
I tried AviSynth, but it does not work, it does not add any subtitle to the video...
this case should be considered 'SOLVED'. -
Now another problem arised, and because it is close to this other one I will just post it here.
I used the AviSynth script in VirtualDub and it is something like this:
Code:LoadPlugin("C:\Windows\System32\vsfilter.dll") AviSource("C:\Path\Movie.avi") TextSub("C:\Path\Subtitle.ass")
Is there any solution for this?
I`ve tried before to use DirectShowSource instead of AviSource but the desynchronization was even greater -
Check your duration of the video with mediainfo (before and after subbing), do they match?
How are you adding the audio? through vdub or avimux-gui or another program? Is it untouched?
1) You can either stretch/shrink either the audio or video to match. (If you search there are many posts on how to do this by a variety of methods)
2) or try adding convertfps(25) to your script (if you are PAL framerates)
3) or try using avidemux (which is proven to work with ssa/ass subs and I have used successfully before) as shown in the screenshot above. -
I will try to to mux again the video in Avidemux, I have deleted the problematic .avi .
I left the audio untouched (as the source is) and the source avi is synchronized.
As it says above, I had done this without any problems before, now I wonder why it won`t work...
1.) I will see if that`s necessary
2.) I cannot do that as the original video is 50fps, and I don`t want to loose any frame
3.) I`m trying that now -
The ONLY possible explanation for a gradual desync with untouched audio is that your re-encoded hardsubbed video has a different length than the original. (either has same #frames and different fps, or different number of frames +/- different fps). Please check with mediainfo and confirm this (duration and fps) of both videos. The descrepancy is the exact fraction that you would use into the shrink/expand solution if you were to go that route.
If you were mistaken in your description, and it is not a length mismatch, rather a constant sync problem, you can just fix it by shifting the audio.
If your original is 50fps, then perhaps try using convertfps(50). -
Tried to join the subtitle and avi in Avidemux and when I got to 46% it gave a fatal error (if you can tell me when I can find the log I would be happy to post it`s contents). I haven`t expected less from a program that`s based on GTK, which is quite unstable on Windows (at least here)
-
Not sure why it's unstable on your system. It might have to do with your not-standard fps, or XP SP3
Please post the mediainfo (view=>text) requested for both files (before/after).
2 other solutions were already given.
1) DirectShowSource("C:\Path\movie.avi, fps=50, convertfps=true,audio=false), then mux audio&video with avi-mux gui. Make sure your filter chain in ffdshow or other filters are clean, or they will become hardcoded into your video when using DirectShowSource
2) Stretch/strink the audio or video lengths by the exact fraction
Similar Threads
-
Help me about hardsub please!
By slimfit in forum Newbie / General discussionsReplies: 2Last Post: 20th Jun 2011, 21:53 -
extracting hardsub
By Benjy in forum SubtitleReplies: 0Last Post: 17th Jan 2011, 10:40 -
Hardsub and keep the style
By teclas in forum SubtitleReplies: 5Last Post: 20th Dec 2010, 23:35 -
Hardsub without reencoding?
By oguime in forum SubtitleReplies: 3Last Post: 9th Aug 2010, 07:42 -
Making Softsub into Hardsub
By iKhoa in forum SubtitleReplies: 0Last Post: 2nd Jul 2010, 14:58