Hi all
I'm trying to hard code subs onto avi using Autogordian knot 2.55 via vista.
The problem Im having is after encode takes place & I go to playback,theres 2 sets of subs on the screen ??
Am I missing a setting in the program or a filter ?
Ive loaded latest codecs,installed the Autogordian package- vsob,avisynth,ffdshow,virtual dub etc
but every time I encode an avi with subs this way,2 sets of subs appear,1 bold the other not ??![]()
Thanks for reading & hopefully someone can point me in the right direction,possibly the correct settings etc ?
![]()
+ Reply to Thread
Results 1 to 25 of 25
-
-
Did you leave the softsubs in the same folder? That would explain 2 sets of subs displayed on playback. Just move the hardcoded movie to another folder, without the softsubs
-
Hi I took out the encoded file,the one with the agk extension out of the folder to the desktop
and played it back from there and the 2 sets of subs still appeared.
Ive used AGK before and had successful results,but this time I cant work it out.
I played back avi's that I encoded a while back & they play only 1 set of subs which is good .
Could it be a software overlap or conflict problem at all ?
Ive tried hardcoding on 2 comps now - pc & boot camp mac and still get same results
When installing AGK theres a few small packages inbuilt like vsob etc,now they have utility settings for txt etc should they be checked or unchecked ?
When 'checked' it asks you what directory the virtual dub is in,then freezes ?? -
Open the AVI in VDub(Mod) and scroll around. If you see only one set of subs, that's all there are and the player is adding the second set, either through it's own subtitle engine, or through DirectVobSub.
-
Thanks I will try & let you know.
Forgot to mention whilst encoding takes about 1hr 30mins for 800mb
it covers two passes during this time is this normal ?
What would happen if I changed it to run 1 pass only ?
If this doesn't work someone suggested 'Handbrake' ?
Thanks again -
Forgot to mention whilst encoding takes about 1hr 30mins for 800mb
it covers two passes during this time is this normal ?
What would happen if I changed it to run 1 pass only ? -
ffdshow could also be displaying the extra set of subtitles, too. I don't remember if having both ffdshow and Vobsub set to display subtitles could cause the dual subtitles to show in VirtualDub, though.
If cameras add ten pounds, why would people want to eat them? -
Still same problem occuring,encoded avi + subs again using AGK.
Took the resultant avi file from one computer to another.
One which doesn't have vsob,agk,virtual dub or any other editing software installed,just plain old vlc and mplayer.
Also no copies of the same avi or sub files on the second computer either to be sure the player wasnt picking up the
original srt sub file.
Same happens again see pic.
Its a mystery !!
-
My comp spec is as follows :
System Model: HP Pavilion dv9500 Notebook PC
BIOS: PhoenixBIOS 4.0 Release 6.1
Processor: AMD Turion(tm) 64 X2 Mobile Technology TL-58 (2 CPUs), ~1.9GHz
Memory: 3814MB RAM
Page File: 794MB used, 5070MB available
Video Compressors:
WMVideo8 Encoder
WMVideo9 Encoder
MSScreen 9 encoder
DV Video Encoder
ffdshow video encoder ffdshow.ax
MJPEG Compressor
Roxio MPEG1 Encoder MPEG1VidCodec.dll
Roxio MPEG2 Encoder MPEG2VidCodec.dll
Cinepak Codec by Radius
DivX 6.8.5 Codec (2 Logical CPUs)
ffdshow Video Codec,
Intel IYUV codec
Intel IYUV codec
Microsoft RLE
Microsoft Video 1
Xvid MPEG-4 Codec
DivX 6.8.5 YV12 Decoder
Audio Compressors:
WM Speech Encoder
WMAudio Encoder
MainConcept (Muvee) MPEG Audio Encoder
IMA ADPCM,
PCM
Microsoft ADPCM
GSM 6.10,
Messenger Audio Codec
CCITT A-Law
CCITT u-Law
MPEG Layer-3
Also various other FILTERS ! -
Originally Posted by manono
-
Hi
Heres the log for AGK:
[15/03/2009 12:22:52] AutoGK 2.55
[15/03/2009 12:22:52] OS: Windows Vista (6.0.6001).2
[15/03/2009 12:22:52] Job started.
[15/03/2009 12:22:52] Input file: C:\Users\X\Desktop\Need Encoding\1.avi
[15/03/2009 12:22:52] Input codec: xvid
[15/03/2009 12:22:52] Source duration: 1h 11mn 32s 760ms
[15/03/2009 12:22:52] Output file: C:\Users\X\Desktop\Need Encoding\1_agk.avi
[15/03/2009 12:22:52] Output codec: DivX
[15/03/2009 12:22:52] Audio 1: 128 Kbps CBR MP3 2ch
[15/03/2009 12:22:52] Subtitles: from external file: C:\Users\X\Desktop\Need Encoding\1.srt
[15/03/2009 12:22:52] Format: AVI
[15/03/2009 12:22:52] Target size: 1400Mb
[15/03/2009 12:22:52] Audio 1 settings: Auto
[15/03/2009 12:22:52] Started encoding.
[15/03/2009 12:22:52] Source resolution: 640x360
[15/03/2009 12:22:52] Source fps: 25
[15/03/2009 12:22:52] Analyzing source.
[15/03/2009 12:43:58] Source is considered to be progressive.
[15/03/2009 12:43:58] Output will contain 107319 frames
[15/03/2009 12:43:58] Demuxing audio.
[15/03/2009 12:44:47] Preparing subtitles.
[15/03/2009 12:44:47] Audio1 size: 68,684,160 bytes (65.50 Mb)
[15/03/2009 12:44:48] Overhead: 3,906,688 bytes (3.73 Mb)
[15/03/2009 12:44:48] Video size: 1,395,415,552 bytes (1330.77 Mb)
[15/03/2009 12:44:48] Target bitrate is: 2601kbps
[15/03/2009 12:44:48] Running compressibility test.
[15/03/2009 12:47:26] Duration was: 2 minutes 38 seconds
[15/03/2009 12:47:26] Speed was: 33.95 fps.
[15/03/2009 12:47:26] Compressibility percentage is: 19.20
[15/03/2009 12:47:26] Using softer resizer.
[15/03/2009 12:47:26] Chosen resolution is: 400x304 ( AR: 1.32 )
[15/03/2009 12:47:26] Predicted comptest value is: 51.34%
[15/03/2009 12:47:26] Running first pass.
[15/03/2009 13:20:09] Duration was: 32 minutes 42 seconds
[15/03/2009 13:20:09] Speed was: 54.69 fps.
[15/03/2009 13:20:09] Running second pass.
[15/03/2009 13:51:33] Duration was: 31 minutes 22 seconds
[15/03/2009 13:51:33] Speed was: 57.00 fps.
[15/03/2009 13:51:34] Splitting video into: C:\Users\X\Desktop\Need Encoding\1_agk.cd1.avi
[15/03/2009 13:52:32] Splitting video into: C:\Users\X\Desktop\Need Encoding\1_agk.cd2.avi
[15/03/2009 13:53:29] Job finished. Total time: 1 hour, 30 minutes 37 seconds
Also AGK screenshot:
-
On opening AGK I chose the file to be encoded seen in the top window.
CTRL + F8 to insert the SRT sub file into the middle window.
Finally Chose a separate destination folder for the output in bottom window.
Set the file size output to be 1gb,which this time AGK split the avi into 2 separate files ?
Secondly I tried the previous encoded avi in virtual dub as you suggested see pic :
-
The AVI doesn't have subs already embedded onto it ,it came with a separate SRT file in the folder.
If the uncoded AVI is played on its own away from the SRT file (played from desktop) ,no subs appear on the screen which is normal.
If the uncoded AVI is played from the same folder as the uncombined SRT file ,a SINGLE set of
subs appear on the screen through VLC or Media Player which is normal.
This is done automatically on PC + MAC.
I've never gone to the menu bar to choose subtitles 'ON or OFF'
Even when playing the ENCODED AVI ,I've gone to the subtitle OPTION on any player I've used to check the
subtitle selection choice to possibly turn the EXTERNAL ones off,but this option was blanked out ?
Also to be sure I deleted the SRT file completely from the computer.
I don't know of any other way to add the SRT file without doing the CRTL + F8 trick,this method is suggested in AGK's tutorial
on their site.
I know I haven't added two sets of subs by mistake because I don't have a clue how that could be done
& also I'm using the original uncoded RAW version of the AVI every time ?
I know theres another trick for AGK - CTRL + F9 which doesnt have any Subtitle options in the Menu page.
Also I have previously encoded AVI's this way in the past which turned out successfull,leading me to believe
I had followed the tutorial correctly.
Its only now that I'm experiencing this double sub problem ?? -
Yep, it looks like you did everything right and that there are 2 sets of subs burned into the video. I've never heard of such a thing.
I don't know of any other way to add the SRT file without doing the CRTL + F8 trick,this method is suggested in AGK's tutorial on their site.
Do this; open the original AVI and then do a CTRL-F9. Is the "Resizes and places burnt-in subs properly in resulting AVI" box checked? If so, uncheck it and try again. Since you know about CTRL-F9, maybe you used that checkbox once?
Second, that log should also have the AviSynth scripts being used. Can you post them as well. I'd like to see if somehow the subs are being added in twice. -
I have Avi Synth 2.5 installed.
Does this run in co-junction with AGK ,possibly in the background like virtual dub ?
Where would I get the AVI SYNTH log details from ?
As I couldn't see these log details in the AGK log window,is there another place where they could be ?
Also accessed CTRL + F9 see pic :
The box you mentioned was 'checked' so I have 'unchecked' this time.
Also ran a quick preview & two sets of subs appeared again ??
However if I know where to get the AVI SYNTH log details from for the post I will run the encode process yet again.
-
The box you mentioned was 'checked' so I have 'unchecked' this time.
Also ran a quick preview & two sets of subs appeared again ??
You have to remember that any box you check in the Hidden Options remains checked forever unless you come back later and uncheck it. Something you changed for one encode may not be needed for subsequent encodes, so you have to be careful when fooling around in the Hidden Options. -
-
Encoding finished again with 2 sets of subs appearing on screen again ??
Thats with the box you mentioned earlier 'Unchecked'
Thanks for taking the time to read my post & happy Reading
Here are the logs you asked for from :
** AGK log window :
[15/03/2009 17:04:26] AutoGK 2.55
[15/03/2009 17:04:26] OS: Windows Vista (6.0.6001).2
[15/03/2009 17:04:26] Job started.
[15/03/2009 17:04:26] Source resolution: 640x360
[15/03/2009 17:04:26] Source fps: 25
[15/03/2009 17:04:26] Output will contain 107319 frames
[15/03/2009 17:04:26] Preparing subtitles for preview.
[15/03/2009 17:04:26] Job finished. Total time: 0 seconds
================================================== ==
[15/03/2009 17:31:56] AutoGK 2.55
[15/03/2009 17:31:56] OS: Windows Vista (6.0.6001).2
[15/03/2009 17:31:56] Job started.
[15/03/2009 17:31:56] Input file: C:\Users\X\Desktop\Need Encoding\1.avi
[15/03/2009 17:31:56] Input codec: xvid
[15/03/2009 17:31:56] Source duration: 1h 11mn 32s 760ms
[15/03/2009 17:31:56] Output file: C:\Users\X\Desktop\1_agk.avi
[15/03/2009 17:31:56] Output codec: DivX
[15/03/2009 17:31:56] Audio 1: 128 Kbps CBR MP3 2ch
[15/03/2009 17:31:56] Subtitles: from external file: C:\Users\X\Desktop\Need Encoding\1.srt
[15/03/2009 17:31:56] Format: AVI
[15/03/2009 17:31:56] Target size: 1400Mb
[15/03/2009 17:31:56] Audio 1 settings: Auto
[15/03/2009 17:31:56] Started encoding.
[15/03/2009 17:31:56] Source resolution: 640x360
[15/03/2009 17:31:56] Source fps: 25
[15/03/2009 17:31:56] Analyzing source.
[15/03/2009 17:52:57] Source is considered to be progressive.
[15/03/2009 17:52:57] Output will contain 107319 frames
[15/03/2009 17:52:57] Demuxing audio.
[15/03/2009 17:53:47] Preparing subtitles.
[15/03/2009 17:53:47] Audio1 size: 68,684,160 bytes (65.50 Mb)
[15/03/2009 17:53:48] Overhead: 3,906,688 bytes (3.73 Mb)
[15/03/2009 17:53:48] Video size: 1,395,415,552 bytes (1330.77 Mb)
[15/03/2009 17:53:48] Target bitrate is: 2601kbps
[15/03/2009 17:53:48] Running compressibility test.
[15/03/2009 17:56:25] Duration was: 2 minutes 37 seconds
[15/03/2009 17:56:25] Speed was: 34.06 fps.
[15/03/2009 17:56:26] Compressibility percentage is: 19.20
[15/03/2009 17:56:26] Using softer resizer.
[15/03/2009 17:56:26] Chosen resolution is: 400x304 ( AR: 1.32 )
[15/03/2009 17:56:26] Predicted comptest value is: 51.34%
[15/03/2009 17:56:26] Running first pass.
[15/03/2009 18:28:21] Duration was: 31 minutes 54 seconds
[15/03/2009 18:28:21] Speed was: 56.04 fps.
[15/03/2009 18:28:21] Running second pass.
[15/03/2009 18:59:31] Duration was: 31 minutes 8 seconds
[15/03/2009 18:59:31] Speed was: 57.42 fps.
[15/03/2009 18:59:32] Splitting video into: C:\Users\X\Desktop\1_agk.cd1.avi
[15/03/2009 19:00:28] Splitting video into: C:\Users\X\Desktop\1_agk.cd2.avi
[15/03/2009 19:01:23] Job finished. Total time: 1 hour, 29 minutes 26 seconds
================================================== ==
** Avi Synth Logs from Agk_Tmp Files Folder :
* _AVS.Folder
_LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll" )
file="C:\Users\X\Desktop\agk_tmp\interlace.log"
global sep="-"
function IsMoving() {
global b = (diff < 1.0) ? false : true}
movie = DirectShowSource("C:\Users\X\Desktop\Need Encoding\1.avi",25).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : movie
isYUY2(movie) ? ConvertToYV12(movie) : movie
c = SelectRangeEvery( 18,18 )
global clip = c
c = WriteFile(c, file, "a", "sep", "b")
c = FrameEvaluate(c, "global a = IsCombed(clip, 32)")
c = FrameEvaluate(c, "IsMoving")
c = FrameEvaluate(c,"global diff = 0.50*YDifferenceFromPrevious(clip) + 0.25*UDifferenceFromPrevious(clip) + 0.25*VDifferenceFromPrevious(clip)")
crop(c,0,0,4,4)
* 1_agk_comptest.avs Folder
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.d ll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dl l")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain SSE3.dll")
movie = DirectShowSource("C:\Users\X\Desktop\Need Encoding\1.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 = 640
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:\Users\X\Desktop\Need Encoding\1.srt")
SelectRangeEvery(280,14)
* 1_agk_movie.avs Folder
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.d ll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dl l")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\vsfilter.dl l")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain SSE3.dll")
movie = DirectShowSource("C:\Users\X\Desktop\Need Encoding\1.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 = 400
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)
BicubicResize(out_width,out_height,0,0.5)
TextSub("C:\Users\X\Desktop\Need Encoding\1.srt") -
Encoding finished again with 2 sets of subs appearing on screen again ??
The AviSynth scripts show the subs being loaded only once. So, if there are really 2 subs again, I'm baffled. This looks like a job for the developer, len0x. He can be found at the GKnot Forum at Doom9. If you've never registered there before, then you have to first register and then wait 5 days before posting. I may be able to get the ball rolling before then. Maybe I'm just not asking the right questions, or not looking for the right things.
By the way, open the SRT sub file in Notepad and start looking for the double subs. Either every sub shown twice, or maybe after they've all been listed once, that it lists them all over again. Is there anything at all unusual about that SRT file that you can tell? But I'm just clutching at straws here, because I don't really think that's it.
This is the only AVI you've ever had with this problem? The ones you did before worked OK? Have you tried to work on any since this problem appeared? If not, do you have any others handy on which to test to see if this is the only AVI with this particular problem? -
Checked the SRT file & only 1 line of text is visible,there's no duplication ?
Tried in virtual dub again & got the same amount of subs appearing.
Tried in VLC got 2 sets again,tried Realplayer got 2 sets ?
Transfered the avi to another computer,same again 2 sets.
Also tried to encode another different avi & got the same results !
Before I've begun to start encoding any recent avi I've played the raw avi + sub srt text file from the same folder
which plays + shows 1 set of subs on the screen.
As mentioned earlier when you take the avi away from that folder with the srt file in no subs can be seen during playback.
There aren't 2 srt files in the folder either or anywhere else on the computer & the same for the other avi. -
This is very weird. Try uninstalling and deleting all versions of vsfilter.dll , including variants in the virtualdub plugins folder, avisynth plugins folder etc... Then reinstall.
When you play the (not re-encoded) video, only 1 set of subs appear on playback, correct? What happens when you disable the subs on playback?
When you play the the re-encoded video, 2 sets appear , correct? What happned when you disable subs on playback? -
Funny you should mention that I uninstalled : vsob.agk,virtual dub,avi synth,ffdshow,xvid,vsfilter pack& any other video codec/editing software.
Everything was uninstalled '3' times to see if the problem would
be rectified,but it didn't really make much difference ?
I also installed the latest versions of the programs listed below if any existed.
This prob with the doubled up subs only started after I reformatted my comp,I always keep the machine with a basic
software content so can't think of any conflicting programs/codecs that may be causing this ?
Playback of the uncoded avi with external subs disabled - plays back video without visual on screen subs.
Playback of the uncoded avi with external subs enabled - plays back video with visual on screen subs 1 set
Playback of the encoded avi with external srt sub file deleted - plays back with 2 sets of subs (see pics above)
Also I've mentioned above is that when playing the 'new sub encoded avi file' the option to turn 'off' the subs is blanked/unhighlightable/unavailable player doesn't recognise that there are external subs to choose from which
should be and is correct if I've deleted the srt sub file completely from the computer.
I've also tried to turn off the subs before deleting the srt sub files too & the result is the same sub off option is blanked/unhighlightable/unavailable -
I was thinking some more about this later on. Did your format happen to coincide with an upgrade to version 2.55 of AutoGK? I was thinking along the same lines as poisondeathray, and often an uninstall and reinstall of the programs involved fixes unexplained problems. It's a lot of work, but I'd first suggest uninstalling and reinstalling v 2.55, and if that doesn't fix the problem, then trying a roll back to an earlier version that worked for you before. That's interesting, though, that your problems began after the format. It sounds significant, but I don't know exactly why.
-
I had AGK ver 2.45 or 2.40 working perfectly on my laptop (see spec above)
which I had successfully encoded quite a few avi's with srt sub text files.
Resulting in an encoded avi with embedded subs showing only 1 set no problems.
I had to reformat my laptop due to a virus after only being on the net for 20 mins
After reformatting using system recovery discs + vista sp 1 + various bits of software including
the earlier version of AGK, I decided to encode an avi + srt file thinking nothing of it.
Thats when the probs started after a few attempts to install + uninstalling agk,vobsub,vsfilter packs,ffdshow etc packages I installed the new version of AGK 2.55 thinking it may fix an issue as you've mentioned but it hasn't made the slightest bit of difference ??
Unfortunately these recovery discs come with a lot of pre-packaged software inbuilt & I think that
some of that software is conflicting with what I'm trying to do with AGK.
But don't know what area to start looking.
Again referring back to line 1 of this post, I know I uninstalled all of the pre-packaged software via
a uninstaller program as most of that software was no good,leaving a bare version of vista + the basics if you like.
I'm not sure if I did this as thoroughly this time round as it is takes forever
Is there any way to decipher or strip a 'Recovery Software Discs' to remove all the unwanted software,just leaving the operating system + drivers ?
Like an unslipstream sort of program ?
Similar Threads
-
How to move subtitles on the screen with Subtitle Workshop
By Lun in forum Newbie / General discussionsReplies: 1Last Post: 7th Oct 2010, 18:31 -
How to change the subtitle position?How to put it on the top of the screen?
By user2008 in forum Newbie / General discussionsReplies: 3Last Post: 12th Feb 2009, 06:07 -
Problem expanding subtitle time with Subtitle Workshop
By Kaze105 in forum SubtitleReplies: 1Last Post: 11th Nov 2008, 22:16 -
Subtitle problem that fills screen with pink
By oldjoe911 in forum SubtitleReplies: 2Last Post: 27th Oct 2008, 13:54 -
VOB2MPG 0 Vob Sets Problem - wont work
By meno in forum SVCD2DVD & VOB2MPGReplies: 5Last Post: 15th Oct 2007, 21:36