PDA

View Full Version : Audio Video completely Out of Sync


arrirc
7th February 2008, 04:19
Hello

I have been using the last stable version of AGK. I converted some movies of about 1hr 30 mins long which were already ripped on my HDD.

As the result came out I found that for all, the video and Audio are way out of sync from the very beginning!!!

I have not changed any advance option. I chose the maximum allowed size to be the target size.

Is there any solution?

Please help. :(

Thank you.

den78
7th February 2008, 20:46
for example...u can fix it with kmplayer (right click > playback > audio resync > resync audio).
memorize the delay & in virtualdubmod under streams > streams list > interleaving ...put that delay in "delay audio track by"

cheers

arrirc
8th February 2008, 05:08
Any help please? :(

decayd
8th February 2008, 05:38
the problem could be with your rip, what software are you using?

arrirc
8th February 2008, 07:48
Nope, the Rip is perfect. I ripped twice, once using DVDDecrypter and one using DVD Fab Decrypter. For both sources result remained the same. :?:

manono
8th February 2008, 13:19
When using DVD Decrypter, did you set it for IFO Mode (not the default) and decrypt only the movie to the hard drive, and not the entire DVD?

Also, did you underststand den78's explanation of how to fix the problem? It's a very easy thing to do.

arrirc
8th February 2008, 17:34
Well I ripped the whole DVD, as I would like to take out the back up of some extra materials too.

I can't say that I have fathomed the full depth of Den's solution, 'cause basically I am looking for the cause of this problem and would like to get a perfect output from AutoGK only rather than using any other tool. Not that I'm against of using any other tool, but I feel that will mean that I have kept the main problem unanswered.

I hope I have explained my intention. :)

Thanks for your reply.

manono
9th February 2008, 02:59
Hi-
I hope I have explained my intention.
Yes, quite clearly. It's also clear that you did it wrong. I'm not saying that doing it right will correct the problem, but it's possible the problem was caused by decrypting improperly.

Decrypt using DVD Decryopter in IFO Mode (up at the top, Mode->IFO). Decrypt each of the PGCs, the movie and any extras you might want, to its own folder. Then open the VOB(s) in AutoGK. If this is a newish movie, with a copy protection that makes it impossible for DVD Decrypter to work with, then you have no choice but to use DVDFab HD Decrypter, but just make sure you have it up-to-date.

And if it really is a newish movie, then you had probably better learn to resynch the audio, because it's easy and perhaps the quickest way to solve the problem. I gave complete instructions in the other thread around now about out-of-synch audio:

http://forum.doom9.org/showthread.php?p=1097797#post1097797

arrirc
9th February 2008, 04:22
Thank you very much manono.

BTW, one thing that I should tell you is that this DVD has three IFOs, one for the main movie, one for the Extras and one for initial Home DVD company. In AGK, I chose to input the IFO file corresponding to the main movie and chose the Longest PGC from the drop down option window generated by AGK.

The thread you pointed out- I did the same thing as orinico did. If I have different IFOs for different parts, is it really going to make any difference whether I rip in IFO mode or not? And I still can not figure out why AGK produced a completely out of sync result!

Just one more doubt: (though not exactly necessary in this case) if IFO mode is used, will the Menus of the original DVD can be obtained on the HDD?

manono
9th February 2008, 05:47
Hi-
In AGK, I chose to input the IFO file corresponding to the main movie and chose the Longest PGC from the drop down option window generated by AGK.
Right, but I don't quite trust opening the IFO in AutoGK, as it's going to encode anything in that VTS. Its IFO opening is a little bit messed up. Just choosing one of several PGCs doesn't do the job. If there are one or more very short PGCs or anything else before the main movie you want, then they will be encoded as well, and can throw off the audio synch. If you do have the entire DVD on the hard drive, one suggestion in the AutoGK FAQ is to reauthor the video you want using DVDShrink's Reauthor Mode. Q 2.14:

http://forum.doom9.org/showthread.php?p=1006806#post1006806

That will accomplish the same thing as decrypting in the first place using DVD Decrypter's IFO Mode. This is a difficult problem, especially with the newer copy protections in place, and that's why it's sometimes easier to just fix the audio afterwards.
Just one more doubt: (though not exactly necessary in this case) if IFO mode is used, will the Menus of the original DVD can be obtained on the HDD?
No, you won't get the menus, but does it really matter if you're just making AVIs?

arrirc
10th February 2008, 06:20
Thank you manono

No, you won't get the menus, but does it really matter if you're just making AVIs?

No, it doesn't; and that's why I mentioned that it is not really related with my present problem. :)

Thanks for the link. I understand what you mean and it must be the IFO mode which is causing the problem. I have the whole DVD on my HDD. So I shall surely try the other method you have mentioned using DVDShrink. I was wondering whether I could use VOB2MPEG?
BTW, should I continue to use the latest Beta built or reverting to latest Stable built is advisable?

manono
10th February 2008, 07:58
No, don't use VOB2MPEG for the job. If it really is something before the movie that's causing the problem, you'll still get the audio asynch after using VOB2MPEG. I've never used VOBMPEG, but am assuming you load a VOB or several and not an IFO or PGC. A good alternative to DVD Shrink in Reauthor Mode would be creating a VOB(or VOBs) using PGCDemux, and checking the box about it creating a VOB for you.

I can't tell from this thread if you mentioned which version you're using. I don't think so. If you're using ver 2.48, then that's good, and there's no need to go back to anything earlier. 2.45 and (I think) 2.47 were messed up for people creating XviD AVIs at the same time using the ESS or MTK chipset options. Not because of audio synch problems, but because they didn't get the sizes they requested.

arrirc
10th February 2008, 08:28
Thank you manono. I shall try PGCDemux and let you know.

In VOB2MPEG, you do not need to load any IFO or VOB, but it asks for the whole folder containing all the VOB set as input. I have used it earlier for a cartoon DVD containing three cartoon sets each belonging to one Disney character. This program gave output of three MPEG2 files belonging to each character movie,. The original DVD menu also had the option to choose between the three characters.

I have been using 2.45 first and then installed the Latest Beta version two days back over it (without uninstalling the previous version). If I am only concerned about the quality. but not the size of the output which preset do you think should be the best to choose- 2GB (maximum for DVD) or 100% Quality?

manono
10th February 2008, 08:43
If I were concerned about quality I'd keep the original DVD. When making AVIs, one important consideration, besides keeping as much quality as possible, is size - shrinking the size considerably when compared to the source DVD. I've only ever used 2-pass encoding for a CD or 2, or 1-pass quant 3 encoding (approximately 65-70% in AutoGK terms). So, I don't know if I'd choose 2 GB or 100% quality. 100% quality, besides being much faster, probably has the better quality since it's a quant 2 encode.

arrirc
10th February 2008, 10:47
Thanks manono

Well I am considering making AVI just to make Back ups which should be of good quality, so that I may watch the backups in my PC instead of using original DVD every time and hence reducing the chances of damage. I do understand that the AVI will never match the quality of original DVD. :)

One more request, I have never used PGCDemux earlier. So could you please point to any guide, if available that is, which may be applicable in my case?

manono
10th February 2008, 11:47
I'm not at my encoding computer, and can't look at PGCDemux, but what you want from it is similar to using DVD Decrypter in IFO Mode. You choose the IFO that contains the video, and use the dropdown box to choose the right PGC (if there's more than one). Then, if all you want is the VOB(s), uncheck the other boxes about audio and subs and chapters, and just check the box about making a VOB. It's pretty straightforward. The other stuff is kept at default.

arrirc
10th February 2008, 14:08
Thanks manono :)

Thats a real "a-minute" guide. I shall post the feedback here.

arrirc
13th February 2008, 04:31
Hello Manono

First of all, thank you very much for your excellent support, without you I could not have come this far to write this post :)
Now I would just request you to judge whether I have successfully done it or messed up anything else.

First, PGCDeMux:

I have used the following setting in PGCDeMux. Please let me know whether this is correct provided the usage and goal remains the same as this one.

http://img180.imageshack.us/img180/4571/pgcdemuxsettinguj1.png

If I do not click the check box against "one file per VID", I am getting multiple VOBs. So I hope I did that correctly.

Do you recommend choosing the option for creating a .m2v file, using "Demux Video File" option, which I have unchecked in this case?

Next, AutoGK

As you advised, I have used the output of PGCDeMux in AGK, and the result in completely in sync. No problem at all. Though I have not seen the whole movie, but random parts, I could not locate any delay. I have used the Quality Mode with 100% quality setting.

Here is the screen shot of GSpot analyzing the output. Let me know if you find it satisfactory wrt Backup Standards.

http://img180.imageshack.us/img180/1289/mainmovieinfocn2.png

There is one more little problem. I have already extracted subtitle and removed the using DVDSubEdit. And removed all the parts for Hearing Impaired using this as well as Subtitle Workshop. Now as I play the file I can find that there is a small but constant delay between the movie and subtitle. Can that be fixed? If yes, please let me know the process.

If there is any other suggestion that I should follow in this regard, please let me know.

Sincere regards....

manono
13th February 2008, 09:45
Hi-
If I do not click the check box against "one file per VID", I am getting multiple VOBs. So I hope I did that correctly.
I've only ever used that VOB option for individual chapters, so I wasn't sure if, when getting a whole movie, it made one VOB only, or several VOBs. Now I know. As for checking the VID box, I'm not sure I'd do it that way, but as long as you get the entire video, I guess it's OK. If you don't check the VID box and get several VOBs, that's OK too. When you open the first VOB in AutoGK, it picks up the other ones in the sequence automatically.

As for getting the M2V and audio; I don't think it's necessary unless there's some reason you want to process the audio yourself and add it to the AVI when AutoGK is done. That's why I suggested getting the entire VOB; because you'll get both the audio and video in one package. One thing you won't get doing it that way, though, is subtitles. That's one reason you might prefer using DVD Shrink in reauthor mode, if subs are important.
As you advised, I have used the output of PGCDeMux in AGK, and the result in completely in sync.
Very nice. I wasn't sure it was going to work or not. Sometimes just opening the VOBs as decrypted using DVD Decrypter in File Mode works OK, but sometimes it doesn't, and using DVD Shrink in reauthor mode or PGCDemux as described, before sending the output to AutoGK, can fix the problem. But not all the time.
Can that be fixed?
The answer is yes, you can fix a subtitle delay pretty easily, but first you have to tell me what format they're in. Are they SRT, SSA, IDX/SUB, SUP, what? One way to fix a delay in an SRT file is in SubtitleCreator. Open the SRT, and then Synchronize->Set Time Delay (-/+). You fix a delay in an IDX/SUB by opening the IDX and following the instructions near the top about it. Test it out before making the "fix" permanent by opening it in SubResynch (comes included with VobSub, and is part of Gordian Knot) and saving it to the same format.

Congratulations on sticking with it until you solved the problem, or figured ways to work around the problem. I have a question though; why did you change your nickname from the one you use at Videohelp.com? :) I try and have the same name everywhere. It saves my poor brain from having to remember all the nicknames.

arrirc
13th February 2008, 18:10
Hello manono

Congratulations on sticking with it until you solved the problem

As I mentioned in my last post, that it all happened because of you. I may have been a good student, but you have been a great teacher. :) So as I said, the credit goes to you (and I am not flattering).

Now regarding the Subtitle Delay:

Sorry, I should have mentioned that it is in srt format. Anyways, I have fixed it perfectly as you said. It is perfect now. Though I must say, that the program appeared to be a little buggy, though I am not offering any (even near) expert comment only using it twice or thrice and that also on the same file.

Here, I would like a add a little. I did not follow your instructions regarding testing the subs, 'cause I was not completely sure about the way. So this is what I did. I simply made a copy of the .srt file in the same folder. Then I opened the video file in VLC. After that I changed the time lag (using synchronization function) and saved the .srt file from the program's (SubtitleCreator) File Menu. And played the video in VLC. I repeated this process until I got the time lag right. As I had the backup of the original subtitle file, I could experiment freely. I know this is not a very elegant way (as yours) to do the job, but this way I could "get the job done".

As for getting the M2V and audio....

Thanks very much for this very easy explanation, I have got it cleared up. :)

...Now I know...

It's a pleasure that I could come into any assistance of yours, though it may be not that significant.

Ok, I shall try to convert one or two more of my DVDs following this process, using the same programs, and I shall surely post the feedback here.

BTW, did you saw the analysis of the resultant file? If possible, could you please comment on that? And should I continue with 100% quality setting in AGK provided there is concern about the output file size?

why did you change your nickname from the one you use at Videohelp.com?

Ha...Ha...Ha..., well first of all I did not change my Nick on purpose. It was rather unintentional. I was naive at that time (of registration in the forums) and not accustomed with the Forum Culture. Never had any idea that I may meet one of my friends from one forum in another. Sincere apologies for putting strain on your memory :D.

Sincere regards...

arrirc
16th February 2008, 12:57
Hello manono

I hope that you are still watching this thread....so here is a little update

I've only ever used that VOB option for individual chapters, so I wasn't sure if, when getting a whole movie, it made one VOB only, or several VOBs. Now I know. As for checking the VID box, I'm not sure I'd do it that way, but as long as you get the entire video, I guess it's OK. If you don't check the VID box and get several VOBs, that's OK too. When you open the first VOB in AutoGK, it picks up the other ones in the sequence automatically.

It seems that checking the "one file per VID" does not always produce a single VOB. I have ripped another DVD which contains the main movie of about 2hrs 15 mins duration. I this case the main movie was under the Third IFO and there was only one PGC exactly of the same length as the Main Movie. I have checked the box "one file per VID", but to my surprise, I found that the result contained Three Files. The main Movie was divided in to almost two equal parts and the last was a small Home DVD Company Promo (of about a minute in duration). Now as I entered the first VOB in AGK, the other two were not taken up in sequence.

So I tried the other method you pointed out. I unchecked the BOX ans the result was 5 VOBs. As I entered the first one in AGK, the other 4 were picked automatically by AGK in sequence.

IYG
21st February 2008, 21:57
http://img180.imageshack.us/img180/1289/mainmovieinfocn2.png


Hello arrirc,
How can you use Xvid 1.1.2 Final for auto GK?
I don't know how to do that.

manono
21st February 2008, 22:11
Hello manono
I hope that you are still watching this thread....
Well, a bit late maybe...
Now as I entered the first VOB in AGK, the other two were not taken up in sequence.
Since I've never gotten VIDs from PGCDemux, maybe I should have qualified myself by saying that they have to be in sequence in order for AutoGK to pick them up. I expect that renumbering them would have allowed all 3 to be picked up. They must have been numbered differently somehow from the ones you later did that were picked up.

jy008
22nd February 2008, 06:47
I have the same problems of sync, even I update to newest beta version. I think AutoGK that has more work to do.

arrirc
25th February 2008, 04:25
Thank you manono (now I'm late :) ), I thought you must have gotten busy elsewhere considering that this problem is almost resolved.

Hello IYG

I have this XviD version installed and and I upgraded AGK to latest beta. Now it automatically uses the final XviD 1.1.2 version.

Hello jy008

AGK has a problem with IFO mode, just use PGCDemux to get the VOBs in sequence and GAK works like a charm...as I found out with great help from manono....

Michpaul
25th February 2008, 10:56
Hi arrirc,

I also asked manono some questions, but like you said, I think he is busy elsewhere. I thought since you have been having some success, maybe you could help me out. Here is what I said in another post:

I am getting real close, and thank you for the help so far. I tried everything with WMP Classic, and VDubMod, but had some problems there. Have you ever been able to fix an out of sync video so that you can't tell it was ever out of sync? Or is it always going to be, at least a little, off?

From your other topic with arrirc about PGCDemux, http://forum.doom9.org/showthread.php?t=134552 I tried that out. I ran the IFO for Pirates that I have saved on my Computer through PGCDemux, and then ended up with about 5 different VOB's. I ran the Largest VOB, just over 3G, through AutoGK, and it came out in PERFECT sync! Problem was, it was missing a little more than an hour of the video. How can I find out which VOB to use to run through AutoGK? Any idea why it would be missing some of the Video? I had AutoGK set to 1cd, so I don't see any other parts of the video anywhere. Any clue?

Thanks again, also, thanks for the info weaver4. I will check them out.

It seemed like I picked the right VOB because it was the main movie, but like I said, it cut off the last hour of the movie. Do you think that may be because I used the 700mb mode in AGK? I really don't want it any larger than that though, and that's the way I backed up all my other videos so far with no problem, but I was using an IFO instead of a VOB, and the avi finished out of sync using the IFO. One more thing. What is that GSpot application that you used? I don't have that in PGCDemux. Do I need to use that somehow? So far it seems like I'm having the biggest problem getting Disney movies to sync. I had problems with: Chicken little and the latest Pirates movie so far.

Thanks,
Paul

arrirc
25th February 2008, 17:53
Hello Michpaul

Have you checked the PgcDemux settings in my earlier screen shot? Here is another one which may help you to compare your settings with mine

http://img187.imageshack.us/img187/8766/pgcdemuxwl8.png

Note that you need to select the IFO and from that the largest PGC. Now this will result in the VOBs in sequence and you need to feed the FIRST VOB in AGK and it will pick up the rest in sequence, remember not to rename any of the VOB and always pick up the FIRST ONE of the VOBs.

In this way you shall get your complete movie....hope this helps you.

Michpaul
26th February 2008, 00:30
Thanks arrirc,

I'm giving it a go with the method you described. It should make a difference, I know I just picked a random VOB out of the list and started from there. I did notice that on your first screen shot of PGCDemux, you had checkmarked the box next to "One file per video", but the next screen shot you did not. What is the difference there? What are the differences you have encountered from that? I should know in a couple of hours if it worked or not. :)

Later, and thanks again!
Paul

manono
26th February 2008, 01:15
but the next screen shot you did not. What is the difference there?
One way worked and the other didn't.

It's not my fault that I haven't seen the latest posts in this thread. For some reason it seems I'm not getting E-Mails to let me know that the threads to which I'm suscribed have new posts. But you guys seem to be getting it sorted out OK.

As near as I can tell, when doing new movies with new copy protections, you should be using DVDFab HD Decrypter to get only the movie, and not the entire DVD. And if you do get the entire DVD, then get the PGC containing the movie by opening the correct IFO following arrirc's pic and written instructions above. Often getting the entire DVD and then opening the VOBs in AutoGK works fine, but when it doesn't, it causes no end of frustration because of out-of-synch audio.

Michpaul
26th February 2008, 03:22
Hi Manono,

It's not my fault that I haven't seen the latest posts in this thread. For some reason it seems I'm not getting E-Mails to let me know that the threads to which I'm suscribed have new posts. But you guys seem to be getting it sorted out OK.

No problem, it's nice to get your input when your around. No pressure. :)

I can't for the life of me get this file to end up synced. I feel I have followed everything and even had all the same things checked as arrirc did in PGCDemux, but the audio still ends up before the video. I did DVDFab again, this time trying to get only the video as you suggested. So tomorrow, I will try to run it through the programs again and see what I get.

Thanks again to you both,
Paul

arrirc
26th February 2008, 04:21
Hello Paul

Its really very sad to know that the things are not working out for you, and I wish you luck.

The "VID" box was unchecked because it always does not create a single file, and if multiple files are created then AGK can not pick up these files in sequence, must be some naming issues but I did not have enough time to ponder over this. I shall try to take a look at it once I get some extra time.

Hello manono

You have been always a great help, here as well as in Videohelp, and I respect your knowledge a lot. So, as Paul said, no pressure, we all appreciate your help. :)
Anyways, I would still be very glad, if you could comment on my final result according to the screen shot posted in my earlier post. You know, its like getting a feedback from a teacher for a student ;)

Thanks again....

manono
27th February 2008, 20:04
I'm not sure which pic I'm supposed to comment on, arrirc, as you have 4 in this thread.

I'm not really the one to ask anyway. If I had problems with the audio synch, rather than starting over from the beginning, I'd take what I was given out of AutoGK and resynch it. It takes all of about 5 minutes at most. This assumes a constant asynch (out of synch by the same amount all the way through the video), which is almost always the case, I believe.

arrirc
28th February 2008, 04:23
Sorry manono..
I should have been clearer,
I meant the GSpot Screen shot posted in #18 here http://forum.doom9.org/showpost.php?p=1099639&postcount=18

I understand your point, but as I expressed that I was interested to get to the bottom of it and detect the source of problem, which I feel that you have correctly identified being the IFO input feature in AGK not working properly....

Thanks again...

manono
28th February 2008, 08:51
Oh yeah, now I remember. And I also remember why I didn't comment at the time. The best settings for you are the ones you like the best. I wouldn't encode for 100% myself, but you're not making them to please me. As I said in the tutorial, "Good quality percentages begin at about 67% (Quantizer 3). I don't think there's much point in going above about 80% because then you'll lose some of the benefits of MPEG4's compression abilities. That's up to you, though."

http://www.autogk.me.uk/modules.php?name=TutorialEN#5

As for resynching the subs; if you are using DVDSubEdit for part of the work, then you have a SUP file. It can be converted directly to IDX/SUB format using SubtitleCreator (Tools->Manipulate SUP or VobSub->Open Sub->(open the SUP file)->Save Sub->(Save as IDX/SUB). Then following the instructions in the IDX, you can adjust the delay. Then save it again in Sub Resynch (comes with VobSub) so all the timestamps get changed. Then you can use the IDX/SUB in AutoGK if you like (using the CTRL-F8 trick), or change it back to SUP in SubtitleCreator if needed for the DVD.

If you have the Subs after Subtitle Workshop in some sort of a text format like SRT, then you can also adjust the delay in SubtitleCreator easily (File->Open Text Subtitles->(Open the SRT)->Synchronize->Set Time Delay(-/+). You can probably do the same using Subtitle Workshop, but as I don't use it I wouldn't know how.

Vanderlow
10th March 2008, 18:26
If you have out of sync audio ythis worked for me:

Ok Lip synch problems seem to be gone! At least 6 movies no problems. I rip now with RipIt4Me and the VTS-Fix add-on option and that seemed to do the trick (AnyDVD off). Thks all.

albrecht
30th March 2008, 15:22
Hi there,

This is a nice thread! PGCdemux helped me out a few times. However, there are still a few movies that stay out of sync. After having tried everything that is mentioned in this thread (and much more :)), it still wouldn't work.

I found the solution in an application called Fairuse Wizard. Like AutoGK, it converts DVD to Xvid/DivX. It's not free though. Don't really like the way it works either.. But it helped me out where everything else failed.

So although this hasn't much to do with AutoGK, it is a solution to sync-problems so I thought I'd mention it.

Greets!
Albrecht

burfadel
30th March 2008, 15:50
I have seen a couple of movies where the audio doesn't start the same point as the video, this is usually when there's an intro piece. There's two options for this. The first is to use DGindex, then select the beginning and the end of the movie. The audio will only extract from the points that you selected, and when the d2v file is selected under MEGUI/Staxrip etc the encoding will start from that point also.

Alternatively, you can use the latest Projectx. The normal Projectx doesn't handle som DVD's properly, the latest version is better for that. It can be downloaded from:
http://www.oozoon.de/main_en.html
On the right hand side, download the b23 version. This uses Java, so ensure you have the latest java runtime installed.

In this programme, select all the movie vob files (not the *_0*.vob files, just the main movie files). Under cutcontrol select the beginning of the actual movie and the end. Then click quickstart. This will create a separate one large m2v (or whatever) file and the audio file. Open the video file in dgindex and index normally.

The reason why you should use Projectx for syncing is sometimes there may be a slight error on the disk or in the initial encoding that stuffs up the extraction done by Dvd decrypter or DVDfab HD decrypter (I take it you used 4.1.2.0 for example, and not the older 3.xx series).

Projectx also has a log that is displayed, so you can see any errors found. Hope you have luck!

milfner
31st March 2008, 01:45
I too am also having audio sync problems with AGK. My problem is slightly different to arric as i did not rip a dvd. I am trying to convert .mpg files that i have captured from my HDTV Tuner card. (Which is pure raw HD video of large files sizes ~ e.g 2hrs = 12GB)

I used den78s method - "...u can fix it with kmplayer (right click > playback > audio resync > resync audio).
memorize the delay & in virtualdubmod under streams > streams list > interleaving ...put that delay in "delay audio track by"

This did not work overall. It worked at the beginning of the video. The audio and video where in sync for the first quarter of the video, but as the video progressed the time delay was greater. E.g the audio delay in the beggining of the video was -5secs where as toward the end it might have been -10secs . I have AGK and virtual dubmod installed. I dont know whats wrong. Please some help??