intermed
29th April 2004, 14:47
Hello,
we are trying to copy our old personal VHS records to DVD, work on them and burn to CD. Now we all right get the video with DVD decrypter and Gordianknot, but the audio file is not coupled to the video in the AVI file, but on a separate track (as background music or comment) and not divided into chapters, so when we cut images the sound is not cut - impossible to make a movie this way. Are there any solutions?
Thank you!
Monika
jggimi
29th April 2004, 15:57
Hello, and welcome to Doom9's forum.
If your source is DVD, then you should be using DVD Decrypter in IFO mode. In IFO mode, DVD Decrypter defaults to a single PGC (and will choose the longest automatically). You may select alternative PGCs, if any, and you may also select to rip a specific set of chapters, or an individual Chapter if you wish. You may also rip by Cell(s) in the same manner.
Once ripped, the resulting VOB set on hard drive will have a single angle of just the PGC, Chapter(s), or Cell(s) you've selected. The audio streams will also be in the VOB set, and will be in sync. DVD2AVI will show you the audio delay in milliseconds when demuxed.
intermed
29th April 2004, 22:47
Hello and thank you for your reply!
I all right rip a chapter or Cell with the IFO mode chosen as said in the manual, to for example a file called: VTS_01_0.IFO and VTS_01_1.VOB, Then I choose DVD2AVI, option "demux all tracks", When reading the d2v file, there already is no sound. Then I click save/encode to .avs file, then in the Gordianknot DivX window, if I let in "audio1" audio desactivated, I have no sound in the AVI file. If I choose "mix only" the result is the same, the audio delay by default is 0ms, and no sound is in the AVI file. The only way I get any sound is to choose a separate sound file, but then I cannot work on the video.
Sorry, I'm only a beginner and my English is not perfect, so perhaps I don't describe the difficulties the right way.
Thank you for trying to help anyway.
Monika
jggimi
30th April 2004, 16:18
"Demux all tracks" will place each soundtrack into a separate file in the same folder as the .d2v file.
When setting up the encoding batch job in GKnot, select the "Audio 1" tab, select the appropriate soundtrack file. You can "just mux" to combine the retain the soundtrack in it's current format, such as Dolby Digital (.ac3) or Linear PCM (.wav), or you can have Gknot convert to .mp3 first.
Be aware that there are some soundtrack formats on DVD, such as .mp2 (MPEG-1 layer II) that are not supported in .avi containers. These must be converted to .mp3 or another valid sound format.
Gknot's batch operations occur in the following order: Optionally: Convert audio to .mp3 (if selected) Optionally: encode end-credits video with low quality (if selected) First pass of main movie Second pass of main movie Mux the completed movie (combined with optional separate end credits) with the sound file. GKnot will set the delay automatically based upon the delay in the soundtrack's file name.I hope that helps you understand the process.
For more information, please post your GKnot log file, which will help us understand the process you are using in more detail.
intermed
30th April 2004, 21:52
Hello,
thanks again for your reply. As I see, I did the things right. My problems seems to be elsewhre. When I play the resulting avi files - I get 2 of them - :
in Windows Media player, the file something.avi plays back video and sound OK, the file something_Movie.avi plays only video.
But in Pinnacle Studio, where I want to work on the file: something.avi has only video, something_Movie.avi doesn't open at all. So I have to open the sound file AC3 or mp3 that I got with the avi files, but it doesn't open as soundtrack with the video as original sound, just as a separate track as used for mixing background music or comments.
I include here the log file, if it can help?
Thanks again
Monika
-----------------------
30/04/2004 12:50:11: Job " 3" started.
o Transcode source -> MP3: C:\VIDEO\essai1804\doom3004 AC3 T01 2_0ch 256Kbps DELAY 0ms.ac3
o DivX3-First Pass: C:\VIDEO\essai1804\doom3004.avs
o DivX3-Second Pass: C:\VIDEO\essai1804\doom3004.avs
o Mux Audio.
End of Job 1 ( 3).
_______________________________________________________________________________________________________________________
Gordian Knot -
Encoding Job Data:
Type: EncD3_Both
Number: 1
Name: 3
Platform: WinXP (5.1.2600).2
Files:
VirtualDubModExe: C:\VIDEO\GORDIA~1\VirtualDubMod\VirtualDubMod.exe
NandubExe: C:\VIDEO\GORDIA~1\nandub\Nandub.exe
AviFinal: C:\VIDEO\essai1804\doom3004.avi
AviMovie: C:\VIDEO\essai1804\doom3004_Movie.avi
AviCredits: C:\VIDEO\essai1804\doom3004_Credits.avi
MovieFS: C:\VIDEO\essai1804\doom3004.avs
CreditsFS:
Log : C:\VIDEO\essai1804\doom3004.log
Stats: C:\VIDEO\essai1804\doom3004.stats
Ecf : C:\VIDEO\essai1804\doom3004.ecf
Options:
Quality/DRF: 0
CreditsStart: 0
UseEcf: 1
CreditsIVTC: 0
CreditsAppend: 0
DeleteInterm.: 0
EnforceBitrate: 0
AntiShit: 0
Calculator:
VideoSize: 716581 kbyte.
Audio1Size: 0 kbyte.
Audio2Size: 0 kbyte.
Overhead: 218 kbyte.
AviSize: 716800 kbyte (700 mbyte).
FilesSize: 0 kbyte.
TotalSize: 716800 kbyte (700 mbyte).
Interleaving: désactivé
Bitrate: 15882 k(=1024)Bits/s
Frames: 9024
FPS: 25.000
Duration: 06:1
Quality: 1.412 bits/(pixel*image).
CompCheck3: 0.000 bits/(pixel*image).
CompCheck5: 0.000 bits/(pixel*image).
Resolution: 640 x 720
Audio 1:
Mode: ac3 -> mp3
SourceFile: C:\VIDEO\essai1804\doom3004 AC3 T01 2_0ch 256Kbps DELAY 0ms.ac3
WavFile: C:\VIDEO\essai1804\doom3004 AC3 T01 2_0ch 256Kbps DELAY 0ms.wav
Mp3File: C:\VIDEO\essai1804\doom3004 AC3 T01 2_0ch 256Kbps DELAY 0ms.mp3
Azid: -c normal
Lame: -h --abr 128
Delay: 0
Interval: 1
Preload: 500
Mux: 1
Recalc: 1
DeleteWav: 1
Audio 2:
none.
12:50:11: Started Transcoding Audio.
12:50:11: Using "BeSweet" to transcode C:\VIDEO\essai1804\doom3004 AC3 T01 2_0ch 256Kbps DELAY 0ms.ac3
CommandLine: C:\VIDEO\GORDIA~1\BeSweet.exe -core( -input "C:\VIDEO\essai1804\doom3004 AC3 T01 2_0ch 256Kbps DELAY 0ms.ac3" -output "C:\VIDEO\essai1804\doom3004 AC3 T01 2_0ch 256Kbps DELAY 0ms.mp3" -logfile "C:\VIDEO\essai1804\doom3004 AC3 T01 2_0ch 256Kbps DELAY 0ms.log" ) -ota( -hybridgain ) -azid( -c normal ) -lame( -h --abr 128 ) -profile( Gordian Knot 0.28 )
12:51:01: Finished. Duration: 50 Secondes.
12:51:01: Audio Done.
12:51:01: MP3-File-Size is 5062 kb.
12:51:01: Audio 1, determined: 5062 kb
12:51:01: Audio 1, calc: 0 kb
12:51:01: New Bitrate for Movie = 15769 k(=1024)Bits/s
Adding this script to C:\VIDEO\GORDIA~1\nandub\LastJob.vcf :
// $job "DivX3 - Première Passe"
// $input "C:\VIDEO\essai1804\doom3004.avs"
// $output "C:\VIDEO\essai1804\doom3004_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("C:\\VIDEO\\essai1804\\doom3004.avs",0,0);
VirtualDub.audio.SetSource(0);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,0,0,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio2.SetSource(0);
VirtualDub.audio2.SetMode(0);
VirtualDub.audio2.SetInterleave(1,0,0,0,0);
VirtualDub.audio2.SetClipMode(1,1);
VirtualDub.audio2.SetConversion(0,0,0,0,0);
VirtualDub.audio2.SetVolume();
VirtualDub.audio2.SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetDivX(6000,9999);
VirtualDub.video.SetQualityControl(0,0,0,0);
VirtualDub.video.SetMotionDetection(8,10,300,300);
VirtualDub.video.SetCrispness(0,0);
VirtualDub.video.SpaceKF(24);
VirtualDub.video.InternalSCD(100);
VirtualDub.video.SetMinKBPS(270);
VirtualDub.video.SetCurveFile("");
VirtualDub.video.SetCurveMcFactor(0);
VirtualDub.video.SetCurveCompression(0,0);
VirtualDub.video.SetCurveFilter(0,9999);
VirtualDub.video.SetCurveCredits(0,350);
VirtualDub.video.SetLumaCorrectionAmp(0,10,30);
VirtualDub.video.SetCurveRedist(0);
VirtualDub.video.SetCompLevelsMain(2,2);
VirtualDub.video.SetCompLevelsA(300,2,16);
VirtualDub.video.SetCompLevelsB(300,2,16);
VirtualDub.video.SetCompLevelsC(300,2,16);
VirtualDub.video.SetCompLevelsD(300,2,16);
VirtualDub.video.SetCompLevelsE(300,2,16);
VirtualDub.video.SetCompLevelK(2,4);
VirtualDub.video.SetBitsReservoir(0,100,0,100,45,100);
VirtualDub.video.SetLowBrCorrection(0,0);
VirtualDub.video.NoAVIOutput(1);
VirtualDub.video.GenStats("C:\\VIDEO\\essai1804\\doom3004.stats",1);
VirtualDub.video.SetEncodingControl("");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\VIDEO\\essai1804\\doom3004_Movie.avi");
VirtualDub.Close();
// $endjob
//
//--------------------------------------------------
// $done
12:51:01: Started DivX3 - Première Passe: C:\VIDEO\essai1804\doom3004.avs
13:02:12: Finished DivX3 - Première Passe: Duration: 11 minutes, 11 Secondes.
13:02:13: Speed: 13.446 Frames per Second.
13:02:13: Speed: 13.446 Frames per Second.
13:02:13: Speed: 13.446 Frames per Second.
13:02:13: Speed: 13.446 Frames per Second.
13:02:13: Speed: 13.446 Frames per Second.
13:02:13: Speed: 13.446 Frames per Second.
13:02:13: Speed: 13.446 Frames per Second.
13:02:13: Created new stats-file: C:\VIDEO\essai1804\doom3004_4007_kbps.stats
13:02:13: Created ecf: C:\VIDEO\essai1804\doom3004.ecf
Adding this script to C:\VIDEO\GORDIA~1\nandub\LastJob.vcf :
// $job "DivX3 - Seconde Passe"
// $input "C:\VIDEO\essai1804\doom3004.avs"
// $output "C:\VIDEO\essai1804\doom3004_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("C:\\VIDEO\\essai1804\\doom3004.avs",0,0);
VirtualDub.audio.SetSource(0);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,0,0,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio2.SetSource(0);
VirtualDub.audio2.SetMode(0);
VirtualDub.audio2.SetInterleave(1,0,0,0,0);
VirtualDub.audio2.SetClipMode(1,1);
VirtualDub.audio2.SetConversion(0,0,0,0,0);
VirtualDub.audio2.SetVolume();
VirtualDub.audio2.SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetDivX(15769,12);
VirtualDub.video.SetQualityControl(0,0,0,0);
VirtualDub.video.SetMotionDetection(8,10,300,300);
VirtualDub.video.SetCrispness(100,0);
VirtualDub.video.SpaceKF(24);
VirtualDub.video.InternalSCD(100);
VirtualDub.video.SetMinKBPS(270);
VirtualDub.video.SetCurveFile("C:\\VIDEO\\essai1804\\doom3004_4007_kbps.stats");
VirtualDub.video.SetCurveMcFactor(0);
VirtualDub.video.SetCurveCompression(0,0);
VirtualDub.video.SetCurveFilter(0,9999);
VirtualDub.video.SetCurveCredits(0,350);
VirtualDub.video.SetLumaCorrectionAmp(0,10,30);
VirtualDub.video.SetCurveRedist(0);
VirtualDub.video.SetCompLevelsMain(2,16);
VirtualDub.video.SetCompLevelsA(300,2,16);
VirtualDub.video.SetCompLevelsB(300,2,16);
VirtualDub.video.SetCompLevelsC(300,2,16);
VirtualDub.video.SetCompLevelsD(300,2,16);
VirtualDub.video.SetCompLevelsE(300,2,16);
VirtualDub.video.SetCompLevelK(2,4);
VirtualDub.video.SetBitsReservoir(0,35,30,70,10,0);
VirtualDub.video.SetLowBrCorrection(0,0);
VirtualDub.video.NoAVIOutput(0);
VirtualDub.video.GenStats("",1);
VirtualDub.video.SetEncodingControl("C:\\VIDEO\\essai1804\\doom3004.ecf");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\VIDEO\\essai1804\\doom3004_Movie.avi");
VirtualDub.Close();
// $endjob
//
//--------------------------------------------------
// $done
13:02:13: Started DivX3 - Seconde Passe: C:\VIDEO\essai1804\doom3004.avs
13:12:55: Finished DivX3 - Seconde Passe: Duration: 10 minutes, 42 Secondes.
13:12:55: Speed: 14.052 Frames per Second.
Adding this script to C:\VIDEO\GORDIA~1\VirtualDubMod\LastJob.vcf :
// $job "DivX5 Ajout"
// $input "C:\VIDEO\essai1804\doom3004_Movie.avi"
// $output "C:\VIDEO\essai1804\doom3004.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("C:\\VIDEO\\essai1804\\doom3004_Movie.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("C:\\VIDEO\\essai1804\\doom3004 AC3 T01 2_0ch 256Kbps DELAY 0ms.mp3",0x00000202,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\VIDEO\\essai1804\\doom3004.avi");
VirtualDub.Close();
// $endjob
//
//--------------------------------------------------
// $done
13:12:55: Started Mixage de l'Audio: C:\VIDEO\essai1804\doom3004_Movie.avi
13:13:46: Finished Mixage de l'Audio: Duration: 50 Secondes.
13:13:46: Done.
13:13:46: Movie = C:\VIDEO\essai1804\doom3004.avi
Total Encoding Time: 23 minutes, 35 Secondes.
30/04/2004 13:13:46: Job " 3" finished.
jggimi
30th April 2004, 23:18
C:\VIDEO\essai1804\doom3004_Movie.avi is an interim file. It contains video only. It is the result of your two-passes of DivX 3.11 encoding in Nandub, and there is no audio processing during those stages (#3 and #4 in the steps I described above).
C:\VIDEO\essai1804\doom3004.avi should be the complete file.
Since doom3004.avi plays properly in Windows Media Player, I would think you ran GKnot properly. But you need to understand that Gordian Knot's default conversion is to VBR MP3, which may not be an acceptable sound format by Pinnacle Studio. I don't know for certain, as I have never used that software. If that's the case, one workaround would be to use CBR MP3, if that is an audio format acceptable to Pinnacle Studio software. In any case, the soundtrack you've converted in Gknot, C:\VIDEO\essai1804\doom3004 AC3 T01 2_0ch 256Kbps DELAY 0ms.mp3, should be exactly the same as the soundtrack in the doom3004.avi file.
NOTE: It is probably a mistake to convert from DVD (MPEG-2) to an .avi with MPEG-4 as an interim step, and then to process the video, once again, in Pinnacle Studio. Each step in the process is lossy, and you will degrade image quality. You would be better off using the MPEG-2 video from the DVD directly with Pinnacle Studio, skipping the Gknot step entirely.
Since Pinnacle Studio is commercial software, you may want to contact their technical support staff regarding valid input formats. Product support is available from http://www.pinnaclesys.com/menusupport_n.asp?product_id=1501&division_id=1&division_id=1&langue_id=7
intermed
1st May 2004, 11:53
Hello again,
so it becomes obvious that the problem is only with Pinnacle ... unfortunately it doesn't recognise the files directly from a DVD, so I searched for a solution on the Web and came across Gknot which seems great for duplications. I'm afraid the solution will be to buy the converter hardware letting us record directly to avi fom the VHS tape.
Thanks again
Monika
jggimi
1st May 2004, 13:36
It is possible to "frameserve" MPEG-2 video from .d2v projects using VFAPI or AviSynth; AviSynth scripting is how GKnot uses Nandub or VirtualDubMod to encode video. The scripts are in text files (.avs) that appear to be .avi files to many encoders or .avi players. Gknot places resizing and other commands into these text files, and sends the text files to the video encoders.
If you get video when you open C:\VIDEO\essai1804\doom3004.avs in Pinnacle Studio, then you can use DVD2AVI/Gknot to create your scripts, and just "Save" rather than "Save & Encode."
You will need to manage your audio separately, and you can use Gknot for this purpose. Click on the encoder tab, then click the "Add Job" button, and select the "Audio 1" tab in the pop up window. You can select VBR MP3 (adjustable bitrate) or CBR MP3 (constant bitrate) and then click the "Add Job to Queue" button at the bottom.
In this manner, Gknot would become a script generator and audio transcoder for you.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.