PDA

View Full Version : MainConcept audio synch


davidbrent
04-04-2004, 04:22 PM
having ripped and burnt my first dvdr's everything was going great...

now im trying to to burn an mpeg with Mainconcept and half way through the film the audio loses synch with the video

the avi plays fine before its converted to dvd with Mainconcept, after trawling few some threads alot of people say the bit rate needs to adjusted

is it trial and error or is there a certain bit rate that will give good results and would it be better to burn at 1x instead of 2x

celtic_druid
04-04-2004, 08:42 PM
Can't see what it would possibly have to do with bitrates. You do mean that it is out of sync on your PC don't you?

Have you scanned the AVI file for errors?

davidbrent
04-05-2004, 01:41 AM
thanks for reply celtic,

the avi plays fine on the pc all the way through with no loss of synch but when its converted to dvd through mc the last half of the film loses synch

going to scan the avi for errors to see if it has any problems

Wicked Wizard
04-05-2004, 03:35 AM
I have this EXACT same problem, odd thing is it only does it with certain movies, not all of them, avi files fill play fine to the end, but whe converted it will get out of sync, and it really ****ing sucks. I highly doubt birate has anything to do with it, this is an odd and annoying problem to which i have yet to find a solution, if anyone has any ideaz i'l love to hear them, thnx.

celtic_druid
04-05-2004, 07:40 AM
One idea. Try frameserving the AVI with AVISynth.

Wicked Wizard
04-06-2004, 07:02 AM
Well i tried fixing the avi with Video Fixer , but the avi Video Fixer produced ended up being out of sync as well, i tried DivxFix as well, but Divx Fix only gives me garbage avi files when i run it, I tried using Xoom DVD Creator, which is the same as NeoDVD or something, cant remember the exact name, and it does the same thing, I find it INSANELY odd that apparantly only me and davidbrent are having this prob, it's odd, considering it's only with certain movies, i'm wondering if maybe it's the codecs i have installed, i'ma unistall every codec, and try only installing 1 divx codec, and try that, see if it helps, cuz i see no reason for this to be happening, considering the original avi is beautifull quality and sound is in perfect sync.

celtic_druid
04-06-2004, 08:17 AM
Did you try my suggestion? If the AVS plays ok and in sync then the chances are pretty good that whatever you convert it to will be in sync to.

Does the AVI use vbr mp3? How about ones that have converted ok?

Wicked Wizard
04-06-2004, 08:51 AM
I dont know how to frameserv the avi with avisynth, i got the proggie, and read something about making a script for to run on virtual dub, so i left it at that, i dont really know about the properties, but i'll get all the info on 1 that has worked and one that hasnt and i'll post the differences, one thing i'ma try right now just to see if it changes anything, is reboot the comp after my downloads are done, and just run the converting program, and see if it makes a difference, though i doubt running my download programs would make a diff considering i usually burn DVDs while downloading and never get any errors, or play games withought having any lag or anything, but it's worth a shot.

Wicked Wizard
04-06-2004, 10:33 AM
well that completely sucked, ran it through with every other program turned off, and it did the same thing, it got out of sync just like before. The originals are perfect quality and are also in perfect sync all the way to the end, i honestly dont know whatz causing this, but i wanna try ur sujjestion celtic, what do i do ? Frameserving the avi with avi synth, i have the proggie, but when i read the thing it said something about a bunch of scrips and dont really know what i should be looking at. If u could guide me more or less in what direction to look at the proggie i'd appreciate it.Thnx for ur help.

celtic_druid
04-06-2004, 11:10 AM
You should be looking at the docs that come with it. But for your purposes all you really need to do is open up notepad and type:

avisource("name.of.your.avi")

and save it as whatever.avs in the same directory as your avi or if you actually specify the path (eg. "c:\downloads\movies\movie.avi") then save it anywhere.

Encode the avs instead of the AVI, but I would recommend you check/play it first.

Wicked Wizard
04-06-2004, 02:48 PM
i copued and pasted what u put, avisource(final destination.avi) and saved it as final destination.avs , then i ran mainconcept, it encoded it, and same thing happened, it starts off fine, but later on in the movie it gets out of sync, another thing i tried after was encoding the original avi file using the highest Mainconcept Encoder quality settings for encoding DVD videos, took about 2 hours and 20 minutes to finish, and it still did the same thing, i'm starting to loose hope :| And like i said before, it's on a bunice amount of movies i'm having this problem with, i'll try and find the original movie info for it.

Wicked Wizard
04-06-2004, 05:37 PM
Here is the info VirtualDub gives me on the avi file

Video Stream

Frame Size, fps 640x360, 23.979 fps
Length 133147 frames (1:32:32:62)
Decompressor Divx 5.0.5 Codec
Number of Keyframes 2663
Min/Avg/Max/Total key frame size 1158/11544/42471/ (30023k)
Min/Avg/Max/Total delta frame size 117/4496/105279/ (573001k)
Data Rate 890 kbps (0.51% overhead)

Audio Stream

Sampling Rate 44100 Hz
Channels 2 (Stereo)
Sample Precision N/A
Compression Unknown (tag 0055)
Layout 17 Chunks (0.47s Preload)
Length 88638354 Samples (1:32:32:73)
Min/Avg/Max/Total Frame Size 7468/7945/8346 (132 k)
Data Rate 128 kbps (0.30% Overhead)

These is the exact info Virtual Dub gives me when i load the movie, then go to File, then File Information . If anyone has any ideas on what could fix this let me know, there is a good amount of movies i need to turn to dvd compliant video and havnt been able to, any info is appreciated.

celtic_druid
04-06-2004, 10:00 PM
Could be a problem with MainConcept resampling. Try adding SSRC(48000) to the script to have AVISynth do the resampling. Check that the script plays in sync.

Wicked Wizard
04-07-2004, 06:56 AM
ok, this is the script,

avisource("Final Destination divx DVD Rip.avi")

# audio crap
SSRC(48000)

, when i open WMP to play the avs file i get this error,
ACM failed to suggest a compatible PCM format
(E:\Temp\Movies\Movie Temp\finaldestination.avs, line 1)

Does that show something being wrong, or did i just type out the script wrong, lmk, by the way, thnx for all the help celtic.

celtic_druid
04-07-2004, 07:53 AM
I thought that you said you already encoded the AVISynth script with audio? Seems impossible with that error as I would imagine that it would occur with or without the SSRC line.

Just noticed your VDub info has Compression Unknown. The tag is for mp3, which should definatly not be unknown. Windows comes with dshow and acm mp3 decoders.

You haven't been installing codec packs have you?

Could always just decode the audio to a seperate wav. mplayer is good for this as it doesn't rely on installed codecs. mplayer.exe -vo null -vc dummy -ao pcm input.avi -aofile output.wav

Wicked Wizard
04-07-2004, 11:17 AM
I'ma be honest, i dont know what u mean by encoded the avisynth script with the audio, how am i supposed to do that, with virtual dub u mean ?

Wicked Wizard
04-07-2004, 11:20 AM
i dont know what i'm supposed to do with that avisynth, i dont know what it is. has to be the oddest program i've ever seen.

Wicked Wizard
04-07-2004, 11:31 AM
about the codec packs, yes i had installed nimo codec pack 5, but i unistalled it some time ago, u think that could be giving me the problems ?

celtic_druid
04-07-2004, 10:19 PM
Yes, I think it screwed your system up, otherwise it would not say unknown for mp3.

i copued and pasted what u put, avisource(final destination.avi) and saved it as final destination.avs , then i ran mainconcept, it encoded it,

This is what I am talking about. You say that you encoded it, then you post an error that it can't handle the audio.

Wicked Wizard
04-08-2004, 01:41 AM
i tried loading the avs into virtuldub, or the avi i mean, and it gave me that same error, so yeah, something is kinda screwed up, u know the simplest program to deperate video from audio in avi files ? , i know tmpeg tools are great for mpeg, but i couldnt load the avi to demiltiplex, can u hook me up with a link for a proggie that does that for avi files, i can then encode the audio myself, thnx for the responces man.

Wicked Wizard
04-08-2004, 01:44 AM
or do u happen to know how i can fix that , like get my system back to how it waz before the codec installation, i guess thats also the reason some movies get out of sync when i join them with tmpeg tools.

celtic_druid
04-08-2004, 02:08 AM
Joining with TMPGEnc is a different story. I really wouldn't recommend it for joining MPEG2 files such as say ones from SVCD's.

I guess a system restore to a point pre codec packs would work.

Wicked Wizard
04-08-2004, 06:12 AM
lol, i have that crap disabled, it takes off too much space, plus i installed the codec pack and took it off a LONG time ago, and i'm alwayz installing and unistalling the new divx and xvid codecs. which codecs is it u think it messed up, so i can try and find them and go from there.

celtic_druid
04-08-2004, 06:39 AM
l3codeca.acm or whatever it is could be l3codecp.acm. Uninstalling a codec pack does not always mean that things are back to normal.

I tend to upgrade XviD every couple of days. This year I have I guess installed over 20 different XviD builds, but no codec packs.

Wicked Wizard
04-11-2004, 02:26 PM
Yo celtic, man this ****ing sucks, i formated my comp, reinstalled WinXp Pro, installed the Xvid codec, and the Divx Codec, and encoded one of the movies what was giving me the problems, and it still was out of sync, so it waznt that, who the **** knowz, i'ma stop messing with it, damn computer.