Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > (Auto) Gordian Knot

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th June 2010, 23:53   #1  |  Link
Tristan
Registered User
 
Join Date: Nov 2009
Posts: 4
XVID Encoding from DVD Video too fast sound perfect

Hi,
Would anyone know why when I try and encode VOB files with AutoGK or Gordian Knot to XVID AVI and AC3 sound the video plays super fast and the sound is at normal speed in the final AVI?
This only happens with certain DVD rips.

Cheers,
Tristan
Tristan is offline   Reply With Quote
Old 15th June 2010, 07:00   #2  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,396
Quote:
Originally Posted by Tristan View Post
Hi,
Would anyone know why when I try and encode VOB files with AutoGK or Gordian Knot to XVID AVI and AC3 sound the video plays super fast and the sound is at normal speed in the final AVI?
Nope. Do you have a log for one of these speedy video encodes? And what player are you using. If WMP, try a real player, one such as Media Player Classic Home Cinema.

And welcome to the forum.
manono is offline   Reply With Quote
Old 17th June 2010, 23:47   #3  |  Link
Tristan
Registered User
 
Join Date: Nov 2009
Posts: 4
Hi Manono,

Here is a log of the first one I did using AutoGK. I tried Auto Gordian Knot a few times with the same results. Please find log below. I have VLC player and Media Player, same results. I also use Xbox Media Player for Xbox and PC which also renders the same result.

Thanks,
Tris

Code:
[12/06/2010 18:13:49] AutoGK 2.55
[12/06/2010 18:13:49] OS: Windows Vista (6.1.7600).2
[12/06/2010 18:13:49] Job started.
[12/06/2010 18:13:49] Input file: I:\FullDisc\MyDVDMovie_GBR_DES\VIDEO_TS\VTS_09_0.IFO
[12/06/2010 18:13:49] Output file: J:\Video\Movies Tris Ripped\My DVD Movie\My DVD Movie.avi
[12/06/2010 18:13:49] Output codec: XviD
[12/06/2010 18:13:49] Audio 1: English AC3 6ch 
[12/06/2010 18:13:49] Subtitles 1: English wide
[12/06/2010 18:13:49] Display only forced subtitles.
[12/06/2010 18:13:49] Format: AVI
[12/06/2010 18:13:49] Target size: 1470Mb
[12/06/2010 18:13:49] Audio 1 settings: Original
[12/06/2010 18:13:49] Started encoding.
[12/06/2010 18:13:49] Demuxing and indexing.
[12/06/2010 18:14:55] Processing file: I:\FullDisc\MyDVDMovie_GBR_DES\VIDEO_TS\VTS_09_1.VOB
[12/06/2010 18:14:55] Processing file: I:\FullDisc\MyDVDMovie_GBR_DES\VIDEO_TS\VTS_09_2.VOB
[12/06/2010 18:14:55] Processing file: I:\FullDisc\MyDVDMovie_GBR_DES\VIDEO_TS\VTS_09_3.VOB
[12/06/2010 18:14:55] Processing file: I:\FullDisc\MyDVDMovie_GBR_DES\VIDEO_TS\VTS_09_4.VOB
[12/06/2010 18:14:55] Processing file: I:\FullDisc\MyDVDMovie_GBR_DES\VIDEO_TS\VTS_09_5.VOB
[12/06/2010 18:14:55] Processing file: I:\FullDisc\MyDVDMovie_GBR_DES\VIDEO_TS\VTS_09_6.VOB
[12/06/2010 18:14:55] Source resolution: 720x576
[12/06/2010 18:14:55] Found PAL source.
[12/06/2010 18:14:55] Source aspect ratio: 4:3
[12/06/2010 18:14:55] Analyzing source.
[12/06/2010 18:16:55] Source has percentage of interlacing in motion areas: 79.08
[12/06/2010 18:16:55] Source is considered to be interlaced.
[12/06/2010 18:16:55] Output will contain 156296 frames
[12/06/2010 18:16:55] Preparing subtitles.
[12/06/2010 18:17:57] Compressing subtitles.
[12/06/2010 18:17:58] Using VAQ in XviD
[12/06/2010 18:17:58] Audio1 size: 300,026,880 bytes (286.13 Mb)
[12/06/2010 18:17:58] Overhead: 1,041,920 bytes (0.99 Mb)
[12/06/2010 18:17:58] Subtitles size: 683,168 bytes (0.65 Mb)
[12/06/2010 18:17:58] Video size: 1,239,654,752 bytes (1182.23 Mb)
[12/06/2010 18:17:58] Running compressibility test.
[12/06/2010 18:17:58] Writing the following script to J:\Video\Movies Tris Ripped\My DVD Movie\agk_tmp\My DVD Movie_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~2\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\leakkerneldeint.dll")

movie = mpeg2source("J:\Video\Movies Tris Ripped\My DVD Movie\agk_tmp\My DVD Movie.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.06666666666667
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 = 704
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
LeakKernelDeInt(movie,order=1,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
SelectRangeEvery(300,15)
===========================================================
[12/06/2010 18:20:04] Duration was: 2 minutes 6 seconds
[12/06/2010 18:20:04] Speed was: 61.66 fps.
[12/06/2010 18:20:04] Compressibility percentage is: 63.20
[12/06/2010 18:20:04] Chosen resolution is: 656x496 ( AR: 1.32 )
[12/06/2010 18:20:04] Predicted comptest value is: 72.19%
[12/06/2010 18:20:04] Running first pass.
[12/06/2010 18:20:04] Writing the following script to J:\Video\Movies Tris Ripped\My DVD Movie\agk_tmp\My DVD Movie_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~2\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\leakkerneldeint.dll")

movie = mpeg2source("J:\Video\Movies Tris Ripped\My DVD Movie\agk_tmp\My DVD Movie.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.06666666666667
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
LeakKernelDeInt(movie,order=1,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
===========================================================
[12/06/2010 18:45:00] Duration was: 24 minutes 55 seconds
[12/06/2010 18:45:00] Speed was: 104.48 fps.
[12/06/2010 18:45:01] Expected quality of first pass size: 71.51%
[12/06/2010 18:45:01] Running second pass.
[12/06/2010 19:12:38] Duration was: 27 minutes 37 seconds
[12/06/2010 19:12:38] Speed was: 94.32 fps.
[12/06/2010 19:12:38] Job finished. Total time: 58 minutes 48 seconds

Last edited by Tristan; 17th June 2010 at 23:50.
Tristan is offline   Reply With Quote
Old 18th June 2010, 13:20   #4  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,396
The log is in order. Can you upload a 10 second sample of a VOB that produces speedy video for us to experiment with? Maybe test the VOB sample first in AutoGK to confirm that even a piece of the video gets speeded up. And maybe a 10 second sample of the result so we can see for outselves the speeded up video. And you say this happens only sometimes? Is there anything these speeded up videos, the sources for them, have in common that you can think of? Are they all interlaced, like the one in the log?

Try running a single-pass Target Quality encode on this same DVD. Set it for 640 width in the Advanced Settings and for 70%. The final size should be similar to that of the one in this log. And then check if it's also speeded up. This is a strange problem I've never heard of.
manono is offline   Reply With Quote
Old 18th June 2010, 16:29   #5  |  Link
yetanotherid
Banned
 
Join Date: Apr 2008
Posts: 723
Quote:
Originally Posted by Tristan View Post
Hi,
Would anyone know why when I try and encode VOB files with AutoGK or Gordian Knot to XVID AVI and AC3 sound the video plays super fast and the sound is at normal speed in the final AVI?
This only happens with certain DVD rips.
I've had it happen a few times.
If it ever happens to me again, I'll upload the problem file myself if this thread doesn't offer a solution, but when it has happened to me I'm fairly certain it's been something to do with the audio which causes the player (I use Media Player Classic) to lose the plot. I've not yet been able to work out exactly why though.

I did notice at least once that MPC would tell me the video... which might have had a 45 minute duration.... was 3 hours or more long, but it'd play it really quickly. I recall at the time I extracted the audio from the AVI and saved it as a separate file, then I saved the video without any audio. When I played the video on it's own it played fine, but when I put the audio file in the same folder as the video (MPC will play external audio files if they have the same name as the video file) the problem returned. The audio and video didn't need to even be contained in the same AVI.
I even tried converting the audio by itself with a different program, and while individually they played okay and had the same duration, when I put them together..... In the end I think I gave up and used a different program to convert the problem video. I never worked out why it was happening as both the audio and video seemed fine on their own.

Try the same encode without the audio to see if the video plays at the correct speed without it.
yetanotherid is offline   Reply With Quote
Old 19th June 2010, 09:12   #6  |  Link
Tristan
Registered User
 
Join Date: Nov 2009
Posts: 4
Hi yetanotherid,
Thanks for the reply.
What you described is exactly what I am experiencing with the past 3 dvd rips and I did the exact same experiments to try solve it to no success. Same thing video and audio are fine seperately, but not together.
Tristan is offline   Reply With Quote
Old 21st June 2010, 05:21   #7  |  Link
yetanotherid
Banned
 
Join Date: Apr 2008
Posts: 723
Quote:
Originally Posted by Tristan View Post
Hi yetanotherid,
Thanks for the reply.
What you described is exactly what I am experiencing with the past 3 dvd rips and I did the exact same experiments to try solve it to no success. Same thing video and audio are fine seperately, but not together.
Well if you can't find the solution, often knowing you're not alone, or for that matter, insane, is often the next best thing. ;-)

If you can, as was previously suggested maybe upload some of the problem video for someone to play with. I'd do it but I never kept a mental note of which files gave me issues.
yetanotherid is offline   Reply With Quote
Old 23rd June 2010, 22:46   #8  |  Link
Tristan
Registered User
 
Join Date: Nov 2009
Posts: 4
Hi all,

Right I have done numerous experiments. When I cut the vob up and then compress the result is perfect (I was trying to get a 10 second clip for you). When I try compress the entire vob (not process all vobs together) the same problem occurs again with the first vob only, the rest are perfect.

- Tris
Tristan is offline   Reply With Quote
Old 24th June 2010, 03:24   #9  |  Link
yetanotherid
Banned
 
Join Date: Apr 2008
Posts: 723
Quote:
Originally Posted by Tristan View Post
Hi all,

Right I have done numerous experiments. When I cut the vob up and then compress the result is perfect (I was trying to get a 10 second clip for you). When I try compress the entire vob (not process all vobs together) the same problem occurs again with the first vob only, the rest are perfect.

- Tris
This is a thought based purely on the fact that I've really no idea what I'm talking about.....
Have you tried re-saving the whole vob file rather than just sections of it and then converting the saved copy?

The reason I ask is that logically (and I realise we're dealing with software which means logic doesn't necessarily apply) the original vob file has some sort of oddity, maybe something itself which makes it non-standard, that confuse the tools used by AutoGK to convert it. In my experience it'd be something that other conversion programs aren't bothered by.

When you cut the vob file I assume you're saving the edits without converting the audio or video inside any way? However maybe the program you're using to edit the vobs is re-saving the edited audio and video streams in new, error free vob files which AutoGK is happy with. Therefore I wonder, if you used the same program to resave the whole vob file, copying the audio and video streams from the old one, and the new vob file converted okay, would there be a way to compare the original and new vob files to see what errors the save process was fixing? Maybe with a utility such as Gspot?

Another thought.... Sometimes I open vob files or IFO files directly with Media Player Classic. Every so often MPC seems to have no idea as to the length of the vob file. It'll play the vob file okay, but I can't use the control bar to navigate to different times in the video, or MPC will display a ridiculously long duration for a 20 minute vob file etc. I use DVD Shrink most of the times when preparing files for converting, maybe it's getting something wrong?
I'm just wondering what could cause that to happen and if it could relate to your current converting problem in some way?
yetanotherid is offline   Reply With Quote
Old 24th June 2010, 03:31   #10  |  Link
yetanotherid
Banned
 
Join Date: Apr 2008
Posts: 723
Just to see if we've got anything else in common, seeing as it's possible we're two of only a handful of people on the planet to experience this problem, what program do you use to get the files from your DVDs to your hard drive and ready for converting?
I use RipIt4Me, which in turn uses DVD Decripter and DVD Shrink to do most of the grunt work.
yetanotherid is offline   Reply With Quote
Reply

Tags
ac3, fast, playback, sound, xvid

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.