Log in

View Full Version : Encoding Subtitles Into Video


fi3ryfalc0nZ
14th September 2010, 01:44
Hi,
I'm using MeGUI and I've been encoding hard subs into the video. But now, I encountered a problem. It seems that my subtitles is out of sync (timed correctly with Aegisub) with the video when I create the AVS script. I thought it was just a problem on the AVS script creator side, but when I encoded the video, my subtitles is still out of the sync (probably 1 or 2 frame off?). May I know why is that?

Thanks

Inspector.Gadget
14th September 2010, 02:11
Post your Avisynth script. If you're using DirectShowSource - which is known not to be frame-accurate in some cases - try a different source filter in Avisynth.

Ghitulescu
14th September 2010, 09:12
Most people do not sense 1 frame delay (PAL 40ms, NTSC ~33ms) even for audio, which is the most striking asynch issue.

fi3ryfalc0nZ
14th September 2010, 12:17
hi,
i've solved that problem by fixing a framerate to it. However, there's one problem to it. Whenever I cut them, there's an extra picture/frame that i do not want that's inside. And I firmly believe that I cut it correctly.

DirectShowSource("C:\Users\Sean\Desktop\[Dm258.Raws] Naruto Shippuuden - 176 RAW (TX 1280x720 H264 AAC).mkv", fps=23.976, audio=false, convertfps=true)
#deinterlace
#crop
#resize
#denoise

LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\VSFilter.dll")
TextSub("C:\Users\Sean\Desktop\Naruto Shippuuden Opening 7 - Toumei Datta Sekai.ass", 1)

Trim(5729, 7885)


ConvertToYV12()