View Full Version : Gordian Knot and DV files
zizou98
12th April 2005, 09:58
I'd like to compress my DV files with gordian knot.
Is there a way to do that ?
DVD2AVI seems to not read DV files...
jggimi
12th April 2005, 13:19
Hello, and welcome to the forum.
If your DV .avi file is Type-2, then yes, GK can use it directly as an input file. DGIndex only supports MPEG-2 input files: .vob, .m2v, etc. If you're still using DVD2AVI, obtain an up-to-date GK version.
You will have to manage your soundtrack DV separately, GK does not support the management of soundtracks in .avi, its bitrate calculator does not take that into account. For example, you might: Demux the Linear PCM (.wav) sountrack from the DV .avi with VdubMod, packaged with GK, using Streams...Streams List and the Save WAV button. (See VirtualDubMod Procedures (http://www.doom9.org/vdubmod-procedures.htm).)
Convert the WAV to MP3 with BeSweetGUI, packaged with GK. (See this
Besweet guide (http://www.doom9.org/ac3tomp3.htm).)
Use the resulting .mp3 file on the bitrate tab to insert its size into the bitrate calculator.
"Just Mux" the .mp3 file on the audio tab when adding the encoding job to the queue.You may find our DV forum (http://forum.doom9.org/forumdisplay.php?s=&forumid=59) helpful. bb has written a DV to DivX Guide (http://forum.doom9.org/showthread.php?s=&threadid=32197) which is a sticky there. It shows a process for using Vdub for encoding, rather than GK, but many of the steps will be helpful to you anyway; especially how to frameserve a Type-1 .avi through AviSynth's DirectShowSource() filter so that Vdub (and therefore GK) can open it.
zizou98
13th April 2005, 18:42
Thanks jggimi but I still have some questions :
1. if I try to compress a DV2 file, then I have problems with resize and deinterlace operations. If I use one of the deinterlace options available in GK then I get this message : Avisynth open failure : FieldDeinterlace: YV12 or YUY2 data only
2. if I choose none for the deinterlace operation then I get this message which I think is relative to the resize operation : UnDot : supports YUY2 color format only
So I think I have to convert my DV2 files to something which is YUY2...??? any idea ?
3. if I'd like to compresse only a part of my DV file, how can I select the desired part in GK ??
4. Finally is there an easy way to select multiple parts from the source file ?
Thanks in advance.
jggimi
13th April 2005, 19:55
Colorspace can be fixed by adding a: ConvertToYV12()
or a
ConvertToYUY2() after the AviSource() line in the generated .avs file. I recommend the latter, as AviSynth has an open problem with nested .avs scripts (where one script opens another as an .avi), when YV12 is used. And should you ever have one script open another, you don't want the video to just become a green mess...
You can select sections of your source with the Trim() filter. You can "edit" your DV .avi in VirtualDubMod, and it can create the Trim() commands for you.
Once trimmed, you'll want to open the edited .avs again in VdubMod and Save WAV -- because it will also edit sound for you, since the sound is in Linear PCM format, which AviSynth understands.
For help with using VdubMod to create Trim() scripting, see Section 7.2 of the analog capture guide (http://www.doom9.org/capture/start.html). The guide isn't for DV, but for post processing Type-2 that section is applicable,
zizou98
16th May 2005, 21:47
Thanks a lot. It works !
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.