11-10-2003, 08:33 PM
|
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
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
11-10-2003, 08:44 PM
|
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
|
11-10-2003, 10:07 PM
|
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
|
11-10-2003, 10:15 PM
|
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
|
11-10-2003, 11:39 PM
|
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
|
11-11-2003, 12:06 AM
|
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
|
11-11-2003, 03:51 AM
|
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
|
11-11-2003, 06:39 AM
|
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.
|
11-11-2003, 04:34 PM
|
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
|
11-11-2003, 04:48 PM
|
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
|
11-12-2003, 01:31 AM
|
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
|
All times are GMT -5. The time now is 02:43 PM — vBulletin © Jelsoft Enterprises Ltd
|