| Author |
Message |
reez Member
Joined: 01 Dec 2007 Location: United States
|
|
damnit all. i can't believe there isn't a sure fix for the sync problem after so many users having the same problem. My dilemma is that the permanent subtitles are CORRECT with the AUDIO!..PERFECT! BUT the video is early. With this problem I can't MOVE ANYTHING without UNsyncing the subs and audio....because the subs are part of the video now. Early in this topic someone said that uninstalling and re-installing AutoGK and Avisynth help..but can anyone confirm this. My pc is a bit weak and un/r-installing will screw w/ it too much.
Thanks to those who help
|
|
manono Member
Joined: 28 Aug 2003
|
|
Do you have the log?
I don't think the uninstall/reinstall thing is going to do much, unless you're using one of the borked AutoGKs. Ordinarily your problem is caused by decrypting incorrectly a recent DVD with newfangled copy protections. Perhaps you can explain your decrypting procedure and how you then got the files into AutoGK. However, if worse comes to worst you can fix the delay in both the audio (remux with the correct delay) and subs (fix the delay before reencoding with the fixed subs) and try again.
|
|
reez Member
Joined: 01 Dec 2007 Location: United States
|
|
I downloaded AutoGK 2.45
i used DivX once and Xvid the next but same problem.
it's a 700mb avi movie.
thanks for the help man...ano
| Code: |
movie = DirectShowSource("C:\Rez Music\Naissance.Des.Pieuvres.FRENCH.DVDRiP.XViD-NTK\Naissance des pieuvres.AVI",25).KillAudio()
movie = isRGB(movie) ? ConvertToYV12(movie) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 576
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
TextSub("C:\Rez Music\Naissance.Des.Pieuvres.FRENCH.DVDRiP.XViD-NTK\Naissance des pieuvres.srt")
SelectRangeEvery(300,15)
===========================================================
[4/22/2008 12:05:41 PM] Duration was: 10 minutes 4 seconds
[4/22/2008 12:05:41 PM] Speed was: 9.94 fps.
[4/22/2008 12:05:43 PM] Compressibility percentage is: 122.22
[4/22/2008 12:05:43 PM] Using sharper matrix
[4/22/2008 12:05:43 PM] Chosen resolution is: 576x304 ( AR: 1.89 )
[4/22/2008 12:05:43 PM] Predicted comptest value is: 91.79%
[4/22/2008 12:05:43 PM] Running first pass.
[4/22/2008 12:05:43 PM] Writing the following script to C:\Rez Music\Naissance.Des.Pieuvres.FRENCH.DVDRiP.XViD-NTK\agk_tmp\Naissance des pieuvres_agk_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
movie = DirectShowSource("C:\Rez Music\Naissance.Des.Pieuvres.FRENCH.DVDRiP.XViD-NTK\Naissance des pieuvres.AVI",25).KillAudio()
movie = isRGB(movie) ? ConvertToYV12(movie) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 576
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
TextSub("C:\Rez Music\Naissance.Des.Pieuvres.FRENCH.DVDRiP.XViD-NTK\Naissance des pieuvres.srt")
===========================================================
[4/22/2008 12:54:56 PM] Duration was: 49 minutes 11 seconds
[4/22/2008 12:54:56 PM] Speed was: 40.74 fps.
[4/22/2008 12:54:57 PM] Expected quality of first pass size: 94.42%
[4/22/2008 12:54:57 PM] Running second pass.
[4/22/2008 2:47:39 PM] Duration was: 1 hour, 52 minutes 40 seconds
[4/22/2008 2:47:39 PM] Speed was: 17.79 fps.
[4/22/2008 2:47:39 PM] Job finished. Total time: 3 hours 22 minutes 1 second.
|
|
|
manono Member
Joined: 28 Aug 2003
|
|
Hi,
Version 2.48 is the latest, and fixed a couple of problems the one you're using had, but nothing to do with your problem, though. So, the source AVI plays fine, with both the audio and subs in synch? And the AutoGK reencoded one has both the audio and subs out-of-synch? Pretty strange, eh?
You have to find out the delay. That's easy enough to do. Let me (us) know if you need any instructions how to do that. I don't see any way to get the audio out of AutoGK with the correct delay (unless it's AC3 audio). That's something you'll have to fix afterwards in VDubMod. If you don't know how to do that, just ask. But the subs are more important, because you can't fix the subs after the encode if they're out of synch and burned into the video. Open the SRT file in SubtitleCreator (File->Open Text Subtitle). Then Synchronize->Set Time Delay (-/+) and set the delay you already figured out. Then File->Save SRT. Use the edited one in AutoGK.
I don't see any easy fix to your problem. Although I've heard of audio coming out of AutoGK out-of-synch when the source is an AVI, that could easily be explained by the source AVI having an audio delay set. The subs being out-of-synch is a new one on me, and one for which I have no easy explanation.
|
|
spenny2112 Member
Joined: 01 Jun 2008 Location: United States
|
|
Hey,
I am trying to hardcode .srt subtitles with my .avi file and have followed all of the instructions. However, after it finished encoding I was left with an agk_tmp folder containing a video clip entitled _ that was the length of the film however the video was just a green screen that fluctuated in brightness with no sound. In addition, I was left with a vCard entitled lastjob, and AviSynth script entitled _ , and lastly a text document entitled interlace.
Here is the log:
[5/31/2008 2:42:24 PM] AutoGK 2.45
[5/31/2008 2:42:24 PM] OS: WinXP (5.1.2600).2
[5/31/2008 2:42:24 PM] Job started.
[5/31/2008 2:42:24 PM] Input file: C:\Documents and Settings\user\Desktop\La Grande Vadrouille\La Grande Vadrouille.avi
[5/31/2008 2:42:24 PM] Input codec: DivX 4
[5/31/2008 2:42:24 PM] Source duration: 1h 58mn 43s
[5/31/2008 2:42:24 PM] Output file: C:\Documents and Settings\user\Desktop\La Grande Vadrouille\La Grande Vadrouille_agk.avi
[5/31/2008 2:42:24 PM] Output codec: DivX
[5/31/2008 2:42:24 PM] Audio 1: 128 Kbps MPEG-1/2 L3 2ch
[5/31/2008 2:42:24 PM] Subtitles: from external file: C:\Documents and Settings\user\My Documents\BitTorrent Downloads\La Grande Vadrouille.srt
[5/31/2008 2:42:24 PM] Format: AVI
[5/31/2008 2:42:24 PM] Target quality: 59%
[5/31/2008 2:42:24 PM] Audio 1 settings: Auto
[5/31/2008 2:42:24 PM] Started encoding.
[5/31/2008 2:42:24 PM] Source resolution: 704x304
[5/31/2008 2:42:24 PM] Source fps: 25
[5/31/2008 2:42:24 PM] Analyzing source.
[5/31/2008 3:55:22 PM] Source has percentage of interlacing in motion areas: 0.01
[5/31/2008 3:55:22 PM] Source is considered to be progressive.
[5/31/2008 3:55:22 PM] Output will contain 178075 frames
[5/31/2008 3:55:22 PM] Demuxing audio.
*************************************
EXCEPTION: Unsupported audio type.
*************************************
[5/31/2008 3:55:22 PM] Job finished. Total time: 1 hour, 12 minutes 58 seconds
|
|
manono Member
Joined: 28 Aug 2003
|
|
It took over an hour to analyze the source? Anyway, it looks like there's something wrong with the audio, corrupted or something. I would try unchecking the audio track under step 2 and see if it'll make the video without the audio. If it works, you can demux the audio from the source and add it to the new video after it finishes (maybe).
|
|
MIGUELCOOL2000 Member
Joined: 03 Jun 2008 Location: Mexico
|
|
| manono wrote: |
I have .avi file (video + audio) I just need to add subtitle to it... ?! Any idea?
| Quote: |
| 12/27/2006 4:52:37 PM] Audio 1: 56 Kbps MPEG-2 Audio layer 3 2ch |
Evidently AutoGK doesn't support MP3 audio at such a low bitrate. Strip the audio from the AVI and feed an audioless AVI to AutoGK. Then remux the audio when done. Either that or reencode the audio to a higher bitrate and try again. |
How can I separate the audio and the video to change the format of the audio which is MPEG-2 Audio layer 3 2ch.
Or
If I put the subtitles without the audio, how can I replace the audio again?
SALU2
|
|
manono Member
Joined: 28 Aug 2003
|
|
To get the audio out of the source AVI:
Open the AVI in VDubMod. If a question pops up about VBR audio answer no. Go Streams->Stream List->Demux, give it a name and save it. When you go to encode in AutoGK, uncheck the box for the audio so it isn't seen. When done, add the audio back in:
Open the new audioless AVI. Set Video to Direct Stream Copy. Go Streams->Stream List->Add, find the audio and add it in. Then go File-Save As, give it a new name and save it.
|
|
mzpakipot Member
Joined: 07 Jul 2008 Location: United States
|
|
need help please...
I got this messge.
Video compression error: the source image format is not acceptable. (error code-2)
|
|
mats.hogberg Modded Morloc
Joined: 17 Jul 2002 Location: Sweden (PAL)
|
|
suav3sito Member
Joined: 12 Aug 2008 Location: United States
|
|
| Baldrick wrote: |
Did you
| Baldrick wrote: |
Press CTRL-F8 on your keyboard to bring up the subtitle load
|
? |
i did everything exactly how you said....and for the two frist times it worked perfectly ....i added subtitles to two movies and uploaded them to youtube....but now im trying to add subtitles to other movies and it doesnt wrok like it did before.....i tried everything i coulda thought of...but nothing....the subtitles seem to be out of sync or do not appear at the time they were supposed to appear...do i explain myself clearly or no???....the subtitles seem to be ahead about 5 second from the audio.... ...please can you help me???
|
|
suav3sito Member
Joined: 12 Aug 2008 Location: United States
|
|
OllyPomm Member
Joined: 10 Aug 2006 Location: Australia
|
|
Should I be able to see the encoding happening? As in - should I be able to see the movie moving through with the subtitles being added?
VirtualDubMod says "dub in progress' but there's nothing to see on the screens. There's a blue bar across the bottom. Framerate at the bottom is all 0's. It's running the 1st pass at the moment and so far has been doing it's thing for about 45mins.
I also found I had to do the CtrlF8 option to bring up the Add Subtitles field - I'm using version 2.45
Finally, under Advanced Settings - should I have picked Display Only Forced Subtitles or Use External Subtitles or both? And can you say which options are the best to choose in the Output Resolution Settings and Output Audio Type.
I'm a bit new at all this but I'm getting there!
Thanks
Olly
|
|
reez Member
Joined: 01 Dec 2007 Location: United States
|
|
| OllyPomm wrote: |
| Should I be able to see the encoding happening? As in - should I be able to see the movie moving through with the subtitles being added? |
no. It should be showing the progress with numbers. Usually a window that shows a bar or percentage count.
|
|
OllyPomm Member
Joined: 10 Aug 2006 Location: Australia
|
|
| reez wrote: |
| OllyPomm wrote: |
| Should I be able to see the encoding happening? As in - should I be able to see the movie moving through with the subtitles being added? |
no. It should be showing the progress with numbers. Usually a window that shows a bar or percentage count. |
I can see info changing in the Preview screen. It's running the 2nd pass now. Can't wait to see the finished product. This (AutoGK) seems the most simple way of doing it compared to some tutorials I've seen. Hope it's worked. Don't care how long it takes as long as it works.
Olly
|
|
reez Member
Joined: 01 Dec 2007 Location: United States
|
|
for me it takes as long as the movie is. But i've never gotten it to work correctly, he audio is always out of sync
|
|
OllyPomm Member
Joined: 10 Aug 2006 Location: Australia
|
|
Yippee it worked. It took 1 hour 37 mins 25 secs and it's a 2 hour 6min movie.
I'd still like to know the best settings to choose though if anyone can help with that.
Olly
|
|
reez Member
Joined: 01 Dec 2007 Location: United States
|
|
so the subtitles and audio are in sync. No problem what so ever? If so can you please explicitly tell me the settings you used.
|
|
manono Member
Joined: 28 Aug 2003
|
|
| OllyPomm wrote: |
| I'd still like to know the best settings to choose though if anyone can help with that. |
Let AutoGK make the choices for you, unless you're real sure of what you're doing.
| Quote: |
| Finally, under Advanced Settings - should I have picked Display Only Forced Subtitles or Use External Subtitles or both? |
If you're following this guide, pick neither.
|
|
prissxazn Member
Joined: 13 Sep 2008 Location: Canada
|
|
Hi! This program is simply great. I love it, works fine.
But then I encountered a video that has IDX/SUB. Now, I know that AutoGK supports these, but I have NO clue how to do it.
Can anybody show me how, with a simple&clear step-by-step guide? Sorry, I am really stupid with these type of things. and I was not able to see the answer here in the forum... Or maybe I'm just blind.
But nevertheless, please help!!
Thanks!!!!
|
|
manono Member
Joined: 28 Aug 2003
|
|
If the video is an AVI (XviD or DivX), and you want to "burn" the subs into the video, then follow the guide in the first post of this thread. Why are you posting a question in a guide about this very thing?
To load the IDX, when the time comes to select the subtitle use the dropdown box to choose the IDX, rather than a text based sub (such as one in SRT or SSA format).
| Quote: |
| Or maybe I'm just blind. |
Maybe.
|
|
prissxazn Member
Joined: 13 Sep 2008 Location: Canada
|
|
| manono wrote: |
Why are you posting a question in a guide about this very thing?
|
Because what you showed me doesn't work. Here the log that I got after trying what you said:
*******************************************************************************
[13/09/2008 11:36:04 PM] AutoGK 2.45
[13/09/2008 11:36:04 PM] OS: Windows Vista (6.0.6001).2
[13/09/2008 11:36:04 PM] Job started.
[13/09/2008 11:36:04 PM] Input file: C:\Users\Priss\Documents\Downloads\L.Change.The.World[2008]DvDrip.AC3-Stress\L.Change.The.World[2008]DvDrip.AC3-Stress.avi
[13/09/2008 11:36:04 PM] Input codec: XviD
[13/09/2008 11:36:04 PM] Source duration: 2h 8mn 22s 236ms
[13/09/2008 11:36:04 PM] Output file: C:\Users\Priss\Documents\Downloads\L.Change.The.World[2008]DvDrip.AC3-Stress\L.Change.The.World[2008]DvDrip.AC3-Stress_agk.avi
[13/09/2008 11:36:04 PM] Output codec: XviD
[13/09/2008 11:36:04 PM] Audio 1: 384 Kbps AC3 6ch
[13/09/2008 11:36:04 PM] Subtitles: from external file: C:\Users\Priss\Documents\Downloads\L.Change.The.World[2008]DvDrip.AC3-Stress\L.Change.The.World[2008]DvDrip.AC3-Stress.idx
[13/09/2008 11:36:04 PM] Format: AVI
[13/09/2008 11:36:04 PM] Target size: 1400Mb
[13/09/2008 11:36:04 PM] Audio 1 settings: Auto
[13/09/2008 11:36:04 PM] Started encoding.
[13/09/2008 11:36:04 PM] Source resolution: 656x368
[13/09/2008 11:36:04 PM] Source fps: 23.976
[13/09/2008 11:36:04 PM] Output will contain 184669 frames
[13/09/2008 11:36:04 PM] Demuxing audio.
[13/09/2008 11:40:34 PM] Preparing subtitles.
[13/09/2008 11:40:34 PM] Audio1 size: 369,707,338 bytes (352.58 Mb)
[13/09/2008 11:40:34 PM] Overhead: 1,283,712 bytes (1.22 Mb)
[13/09/2008 11:40:34 PM] Video size: 1,097,015,350 bytes (1046.20 Mb)
[13/09/2008 11:40:34 PM] Running compressibility test.
[13/09/2008 11:40:34 PM] Writing the following script to C:\Users\Priss\Documents\Downloads\L.Change.The.World[2008]DvDrip.AC3-Stress\agk_tmp\L.Change.The.World[2008]DvDrip.AC3-Stress_agk_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
movie = DirectShowSource("C:\Users\Priss\Documents\Downloads\L.Change.The.World[2008]DvDrip.AC3-Stress\L.Change.The.World[2008]DvDrip.AC3-Stress.avi",23.976).KillAudio()
movie = isRGB(movie) ? ConvertToYV12(movie) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 656
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
VobSub("C:\Users\Priss\Documents\Downloads\L.Change.The.World[2008]DvDrip.AC3-Stress\L.Change.The.World[2008]DvDrip.AC3-Stress.idx")
SelectRangeEvery(300,15)
===========================================================
[13/09/2008 11:41:07 PM] Duration was: 32 seconds
[13/09/2008 11:41:07 PM] Speed was: 280.15 fps.
*************************************
EXCEPTION: Cannot open file "C:\Users\Priss\Documents\Downloads\L.Change.The.World[2008]DvDrip.AC3-Stress\agk_tmp\frames.log". The system cannot find the file specified
*************************************
[13/09/2008 11:41:07 PM] Job finished. Total time: 5 minutes 3 seconds
*******************************************************************************
I tried using the *.idx file at the CTRL+F8 section, then the *.sub. But they both get me to the same result: an error pop-up that says:
"Avisynth Open Failure. DirectShowSource could not open as video or audio. Video returned: could not open file *.avi: no combination of filters could be found to render the stream. Audio returned: DirectShowSource: RenderFile, the filter graph manager won't talk to me."
I also want to specify that the film itself works fine on my computer. I just want to put the subs and the video file together.
What to do now?
You are in breach of the forum rules and are being issued with a formal warning. VideoHelp is not the place to ask questions about help with illegal downloads. Wait until it's released on DVD
/ Moderator mats.hogberg
|
|
manono Member
Joined: 28 Aug 2003
|
|
The problem isn't the subs, but the AVI itself, the video and/or audio. I don't know what exactly is the problem, but anytime you download something you take a chance on getting back what you paid - nothing.
You might try uninstalling and then reinstalling AutoGK (and upgrading to the more recent ver2.48 in the process), but other than that I have no idea what's wrong and can only suggest that you try a different program.
|
|
Eirallina Member
Joined: 24 Oct 2008 Location: United States
|
|
Ano. This is my first time trying this and I have to say that I keep getting an error! Something on the lines of this:
Is there anyway I can fix this?
|
|
oosmehdi Member
Joined: 01 Feb 2009 Location: Iran, Islamic Republic of
|
|
you should open .idx no .sub via CTRL-F8
|
|
oosmehdi Member
Joined: 01 Feb 2009 Location: Iran, Islamic Republic of
|
|
if you have an errore similare this pic you shoul open .idx in the field autogk after ctrl+F8 no .sub file
|
|
manono Member
Joined: 28 Aug 2003
|
|
There are 2 kinds of .sub files, the text based one and the image based one that also comes with an .idx file. The error means VDub was expecting the text based kind of .sub file. To get the IDX/SUB files into AutoGK you use the drop-down box to get them, and not the first line you see, which is only for text based subtitles.
|
|
Wile E. Genius Member
Joined: 14 Feb 2009 Location: Macedonia, the Former Yugoslav Republicof
|
|
I have a small problem. I used Auto GK to add the subtitles to the video, and everything was ok, until I tryed to burn it to a disc. The video itself was on the disc, but without the added aubtitles. What am I doing wrong?
|
|
manono Member
Joined: 28 Aug 2003
|
|
Did you create external subtitles (in the Advanced Settings)?
If you don't know or don't understand, post the log.
|
|
NangelK Member
Joined: 11 Jan 2009 Location: Yugoslavia
|
|
Hello everyone I need a help (again)
So yeah, I finally made my perfect subs in Aegisub, but when I export them into srt they change.
And it seems that AutoGK supports only srt subs and not ass. And I really want to attach these ass subs on my video
Is there some program which can help me? Thanks in advance...
|
|
|
|