Log in

View Full Version : Problems Hardcoding Subs in MeGui


Soloist
15th August 2010, 12:33
Hello ppl, first of all sorry for my bad english ^^ .

I'm running on a windows 7 x64 machine and i am trying to encode a movie (h.264 + aac.v2 + hardcoded sub) with meGUI for my samsung h1. I only have normal vobsub x86 and megui x86 installed, nothing more. And after making the .avs script (In megui) and encoding, the subs don't appear in the final encoded video file. :( . The Sub are in (.idx+.sub) format. Please help...
here's the avisynth script i am trying to encode:
________________________________________________________
LoadPlugin("C:\Program Files (x86)\[Multimedia]\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Temp\DGIndexFile.d2v", info=3)
LoadPlugin("C:\Program Files (x86)\[Multimedia]\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=4)
Tweak(sat=1.4)
Tweak(bright=2)

#deinterlace
#crop
Spline64Resize(720,400) # Spline64 (Sharp)
#denoise

LoadPlugin("C:\Program Files (x86)\[Multimedia]\MeGUI\tools\avisynth_plugin\VSFilter.dll")
VobSub("C:\Temp\PortugueseSubtitle.idx")
_______________________________________________________
ohhh forgot to say this: i ripped the sub using vsrip, and i already tried ripping the sub in megui built-in subripper... but the result is the same.

Thanks.:stupid:

quantum5uicid3
15th August 2010, 13:56
load subs before you resize(thats not the problem though). make sure the path is valid to the subs, make sure the subs file is not empty, and erase the extension

VobSub("C:\Temp\PortugueseSubtitle")

i never had a problem forcing subs for foreign films with vobsub or now suptitle, so i don't really know much beyond that. neither are very complicated though.

Soloist
15th August 2010, 18:12
Thanks for your response quantum5uicid3!
I tried what you said, eliminate the extension of the subfile in the avs script but it doens't work.

Other thing: when i play my encoded movie with the same filename than the subfiles, imagine (moviePT.mp4+moviePT.idx+moviePT.sub) the subtitles don't render... but the green arrow is in the taskbar... don't understand this.

thanks

sneaker_ger
15th August 2010, 18:53
Open your subtitle file in BDSup2Sub (http://forum.doom9.org/showthread.php?t=145277) and see a.) whether it's empty or nor and b.) when the first line actually starts.

Soloist
15th August 2010, 19:15
nice proggy this sup2sub ^^

well i loaded the .idx file and the first line is on 01:06:32.853 and it says "Suponho..." portuguese word for "I Guess". well the subs look fine maybe something is wrong when trying to load vobsub with the .avs in megui or via directshow.

sneaker_ger
16th August 2010, 08:39
Just to be sure: you know that "01:06:32.853" means 1 hour, 6 minutes, right?

Soloist
16th August 2010, 13:20
ups... thought it was 1 minute :stupid:
maybe this is happening because the movie i am trying to encode is not a full movie, but a segment of that full movie... anyway the sub was ripped directly from the segmented movie not from the full movie, so i don't understand why they are wrong (in time)... anyway i am encoding right now the full movie with the corresponding full subs... let's see if it works... thanks sneaker see you soon.

Soloist
16th August 2010, 13:39
No need to encode, just previewed the .avs with mpc and the subs look fine. thank you guys for your time and help.

greetz :P :

:thanks: