Quantcast TMPGEnc: MPG/AVI to KVCD Has Video/Audio Sync Problems - digitalFAQ.com Forums [Archives]
  #1  
11-10-2003, 08:33 PM
radunn radunn is offline
Free Member
 
Join Date: Nov 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Hello,

I am a new user of KVCD codec(s). I'm trying to encode mpg2 files with KVCD template s; kvcd-352x240-_NTSCFilm-Plus.mcf/KSVC-352x240-_NTSC_mcf. The original video is caputured VHS transferred to the hard drive.

The problem with both kvcd templates is that a video/audio sync gap of about 1 second is evident throughout the video; the video occuring faster. Could it be the TMPGEnc environmental settings I'm using are wrong? I've heard 2 different sources; one saying to use only ReadAVS.dll and another source saying the following settings are essential:
AVI VFW compatiblity reader 4
Directshow mulimedia . . . 3
CRI Sofde MPEG decoder 2
Cyberlink MPEG-2 decoder 2
Microsoft mpeg-1 decoder 2
wave file reader 2
tmpgenc project file reader 2.x 2
quicktime movie reader 0
avi2(OpenDML) file reader -1
bmp/ppm/tga/jpg file reader -2

I was told that the listed above are required for "every format" except for Xvid (another set of Env settings req.)

Video playback results of the KVCD on my dvd player (Philips 724) are acceptable; just the audio is not in sync. Any leads/suggestions as to steps/measures to eliminate this problem will be appreciated..

In advance, thanks
__________________
Radunn
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
11-10-2003, 08:44 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi radunn,

What program did you use to encode your audio
Also, make sure you encoded your audio at 44.1Khz and not at 48Khz.
That could be the problem.

-kwag
Reply With Quote
  #3  
11-10-2003, 10:07 PM
radunn radunn is offline
Free Member
 
Join Date: Nov 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
The audio was not encoded. Checking the format in Virtualdub, it is 44khz stereo, 224Kbps Layer II.
__________________
Radunn
Reply With Quote
  #4  
11-10-2003, 10:15 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
I don't think I follow you
You encoded a KVCD mpeg file. What did you use to encode the .MP2 audio
Did you use tmpeg's internal audio encoder, or did you use an external audio encoder like HeadAC3he

If you are encoding an MPEG-2 file, the best way is to create a .d2v project file with DVD2AVI, and encode the video stream only. Then, extract the audio with Vdub (using full processing mode), and mux it.
Or is this what you already did, where the audio was already encoded as .mp2 in your capture

Edit: Ok, I re-read your last post. If the audio is indeed .mp2 in your MPEG-2 file, create your .d2v with DVD2AVI, and "Demux" your audio with DVD2AVI. This way, you should have the original .mp2 extracted and ready to be muxed with your new encoded video.

-kwag
Reply With Quote
  #5  
11-10-2003, 11:39 PM
radunn radunn is offline
Free Member
 
Join Date: Nov 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Sorry; I'm encoding a MPEG2 file into a KVCD. The MPEG file audio is encoded as MPEG 1 Layer 2, 224kbps, 44100 - stereo. In other words, I'm going from *.mpg(svcd) to *.mpg(kvcd). Should the svcd/mpg be converted to *.avi first??

I am not not ripping the audio as a seperate file in Virtualdub before . I'm simply Frame Serving the MPG (virtualdub) to TMPGEnc.
P
erhaps u can structure "what it is I should do." I basically want CDRs/RWs of VHS tapes and a few webcam AVIs encoded with KVCD or SKVCD etc. Thanks for your support.
__________________
Radunn
Reply With Quote
  #6  
11-11-2003, 12:06 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by radunn
In other words, I'm going from *.mpg(svcd) to *.mpg(kvcd). Should the svcd/mpg be converted to *.avi first??
No
Create a .d2v project from your MPEG-2 file, so you can use an AviSynth script to encode your video. Check the forum, and read the "Optimal Script" section.
Quote:

I am not not ripping the audio as a seperate file in Virtualdub before . I'm simply Frame Serving the MPG (virtualdub) to TMPGEnc.
That way, you won't gain compression and quality, because you are not encoding the "KVCD way" , which is to pre-process your source with filters, etc., as stated above.
Quote:
Perhaps u can structure "what it is I should do." I basically want CDRs/RWs of VHS tapes and a few webcam AVIs encoded with KVCD or SKVCD etc. Thanks for your support.
Read about AviSynth and the available pre-processing features it gives you. http://www.avisynth.org

-kwag
Reply With Quote
  #7  
11-11-2003, 03:51 AM
radunn radunn is offline
Free Member
 
Join Date: Nov 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
OK, I was under the impression that all I needed was Virtualdub and TMPGEnc to reencode via KVCD. Is AviSynth required? I will follow your advice and read up about it at the forum; as I'm determined to learn

I am not not ripping the audio as a seperate file in Virtualdub before . I'm simply Frame Serving the MPG (virtualdub) to TMPGEnc.

[/quote]
That way, you won't gain compression and quality, because you are not encoding the "KVCD way" , which is to pre-process your source with filters, etc., as stated above.

Ok, so tell me; I've been doing it wrong? :evil
__________________
Radunn
Reply With Quote
  #8  
11-11-2003, 06:39 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Note: I never did with MPEG2 but only with MPEG1 but I ALWAYS had synch problem when frameserving from vdub to Tmpgenc.

Remember that vdub is a tool desiged for AVI and the mpeg1/mpeg2 support was added after, because people complain about it.

DVD2AVI and avisynth is the better way.
Reply With Quote
  #9  
11-11-2003, 04:34 PM
radunn radunn is offline
Free Member
 
Join Date: Nov 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Not that I'm lazy or anything (I'm not cuz I'll spend hrs doing ths simpliest of projects, until it is learned) but AviSynth looks very "techie"; are there downloadable scripts for etc.?
Quote:
Remember that vdub is a tool desiged for AVI and the mpeg1/mpeg2 support was added after, because people complain about it.
DVD2AVI and avisynth is the better way
DVD2AVI handles mpeg1/2? Again, thanks (work is ahead of me)
__________________
Radunn
Reply With Quote
  #10  
11-11-2003, 04:48 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Avisynth is not so difficult. You can use it for doing amazing things, but you can use it also jut as a frameserver. Exactly as vdub in fact.

See there :

http://www.avisynth.org/index.php?page=YourFirstScript
Reply With Quote
  #11  
11-12-2003, 01:31 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by radunn
are there downloadable scripts for etc.?
Yes. After you read on the link that dialhot gave you, check here:
http://www.kvcd.net/forum/viewtopic.php?t=3483

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
TMPGEnc: audio Sync problems! chin41 Video Encoding and Conversion 3 07-06-2004 10:08 AM
TMPGEnc: sound sync problems, audio before video prell Video Encoding and Conversion 1 03-18-2004 04:05 AM
VirtualDub: audio/video sync problems when 128kbps christian000 Video Encoding and Conversion 1 04-11-2003 01:47 PM
HeadAC3he: Audio and Video Sync problems gyrene2083 Audio Conversion 19 02-02-2003 08:23 AM
TMPGEnc: Audio problems, out of sync shadu Video Encoding and Conversion 3 07-01-2002 02:54 PM

Thread Tools



 
All times are GMT -5. The time now is 04:07 AM  —  vBulletin Jelsoft Enterprises Ltd