View Full Version : Help on DV to DVD guide
matzed
19th September 2003, 10:47
Hi,
I want to try this guide to test my new DVD recorder, to watch on TV a DV movie converted on a DVD.
The Avisynth script is telling me that convultion3D only supports YV12 color format. I'm using Panasonic DV codec, that's why i'm getting this error i think.
I have several questions :
1- Is DV natively YUV color format ?
2- If yes is the answer of question 1, using a RGB codec like the Panasonic will reduce the quality, specifically when doing conversion to MPEG2 ?
3- If DV is natively YUV, will i lose quality if i use Panasoic Codec and doing a conversion to YUV in the avisynth script ?
4- If DV is natively YUV, will i get a better quality using Canopus DV Codec instead of Panasonuc for this conversion ?
Thanks for your answer,
Matz
EDIT : i get the evaluation version of canopus DV codec. I changed the fourcc, and i'm sure that the canopus driver is used when reading because of the "C A N O P U S" letters on the video. But i still get the error from avisynth script that the vid is not YV12. How to change that in the canopus DV codec ?
Dali Lama
19th September 2003, 14:28
Hi,
The Panasonic DV Codec is RGB. Anyways, you have to convert it to YV12 in avisynth by inserting:
ConvertToYV12()
Convolution3D()
Oh and DV is natively YUV (YUY2)
Quality is subjective, but converting YUY2->RGB->YV12 should be worse than YUY2->YV12. Try the canopus codec if you like.
Good Luck,
Dali
matzed
19th September 2003, 15:08
Originally posted by Dali Lama
Hi,
The Panasonic DV Codec is RGB. Anyways, you have to convert it to YV12 in avisynth by inserting:
ConvertToYV12()
Convolution3D()
Oh and DV is natively YUV (YUY2)
Quality is subjective, but converting YUY2->RGB->YV12 should be worse than YUY2->YV12. Try the canopus codec if you like.
Good Luck,
Dali
I thought that YV12 and YUV was the same... ooops... So if i use the canopus, i'll have to convert it also tu YV12 ?
Do you have any good link explaining those RGB, YUV, YV12 etc things ? I know, i can google to have that, but maybe there is a well known good link about that.
Thaanks
Matz
bb
19th September 2003, 23:14
matzed,
you're currently using the (crappy because not finished) YV12 version of Convolution3D. Do not use this version for DV conversion. Use the YUV2 version instead:
http://www.avisynth.org/~warpenterprises/files/convolution3d_25_dll_20030422.zip
And do not convert to YV12 either. If you use the Panasonic codec, use a ConvertToYUY2() command instead (note: ConvertToYUY2(), not ConvertToYUV2()). You don't need this with e.g. Canopus or MainConcept.
bb
matzed
9th October 2003, 23:32
Thanks bb, that worked.
But i think i made a mistake : i put the command
ConvertToYUY2(interlaced=true)
in the script you mentionned in your DV to DVD guide, just after the AVISource.
But when i play it on a standalone, it seems jerky. Like if the interlaced fields are not in the correct order. Maybe i sould use that instead :
ConvertToYUY2(interlaced=false)
?
Thanks for your help
Matz
PS : The entire script :
LoadPlugin("c:\Convolution3D-YUV2\Convolution3D.dll")
AVISource("F:\movie.avi")
ConvertToYUY2(interlaced=true)
SeparateFields()
odd=SelectOdd.Convolution3D(1, 6, 10, 6, 8, 2.8, 0)
evn=SelectEven.Convolution3D(1, 6, 10, 6, 8, 2.8, 0)
Interleave(evn,odd)
Weave()
DoubleWeave.SelectOdd()
bb
10th October 2003, 07:28
Originally posted by matzed
But when i play it on a standalone, it seems jerky. Like if the interlaced fields are not in the correct order. Maybe i sould use that instead :
ConvertToYUY2(interlaced=false)
No, this should not be changed. What happens if you drop the "DoubleWeave.SelectOdd()" line? (I'm investigating if this is an error in the DV to DVD guide, but I have to record some interlaced samples again to verify.)
bb
matzed
26th October 2003, 19:47
bb,
This is working if i drop the line "DoubleWeave.SelectOdd()".
Do you know why ? Maybe it's beacause of my source ? It's a Sony PAL Camcorder (TRV330) with no special settings or changes. I made the capture using Premiere 6 with a Pinnacle StudioDV firewire card. Nothing special, as you can see...
I could only test on one DVD standalone, a Pioneer one. I don't think it differes from any other DVD player.
In fact, i don't understand very well your script, and i don't understand why you put all these commands on the fields.
Matzed
bb
26th October 2003, 20:49
Originally posted by matzed
This is working if i drop the line "DoubleWeave.SelectOdd()".
Do you know why ? Maybe it's beacause of my source ? It's a Sony PAL Camcorder (TRV330) with no special settings or changes. I made the capture using Premiere 6 with a Pinnacle StudioDV firewire card. Nothing special, as you can see...
I guess this is indeed an error in the guide. I hope I soon get the time to investigate on this.
In fact, i don't understand very well your script, and i don't understand why you put all these commands on the fields.
This is necessary to maintain the interlaced structure. You'll find multiple threads on this topic.
bb
matzed
26th October 2003, 21:38
Thanks, I'll use your script without the last line, and i'll find some info on the way to deal with the interlaced sources :)
Matz
matzed
1st November 2003, 12:57
The script is working without DoubleWeave.SelectOdd()...
There was an insteresting discussion about that in the thread "Comments on the DV to DVD guide", but this thread is closed. Why ? I'd like to have the solution for the best way to deal with the fields of interlaced source...
Matz
cweb
12th August 2004, 18:11
Wouldn't something like this give better results, plus allow to have resizing plus black borders? I built this up from posts about interlaced resizing.
# alter width and height to your DVD needs
width=688
height=512 # 512 PAL 416 NTSC
video=video.separatefields().bicubicresize(width,height/2)
# do filtering here
video=TemporalSoften(video,1,5,8,3,2)
video=Deen(video,"c3d")
video=Undot(video).AddBorders(16,16,16,16) # add any borders you like
video=weave(video)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.