Add:
Info()
to the bottom of the script (without any colorspace conversion) and it'll give you the colorspace and much more information. If it isn't YV12 to begin with, and it'll become YV12 afterwards, it's better to let AviSynth do the conversion.
+ Reply to Thread
Results 31 to 41 of 41
-
-
I think most DV is YV12. However whatever you are doing in Premiere seems to be converting it (probably to RGB). You can check with avisynth on any video, you would use your source filter and then info()
e.g.
AVISource("DV.avi")
Info()
I mentioned earlier it is possible (at least with CS4) to keep YV12 all the way through the workflow with the one I described earlier (even with multiple filters, effects) to minimize losses. Not sure what is happening in your case
Some programs do care, and some filters require a certain colorspace. -
Originally Posted by bsuska
RGB will either be 24 bit with 8 bits each of R, G and B. Or 32 bit with 8 bits each of R, G, and B and 8 bits unused.
YUY2 will have a 720x480 luma channel and two 360x480 chroma channels.
YV12 will have a 720x480 luma channel and two 360x240 chroma channels. -
Most good video editors (incl. Premiere) treat DV slightly differently than other codecs.
1. They fully support non-square pixels, and use it as default.
2. They fully support DV's 4:1:1 (or 4:2:0) sampling (IOW, YV12)
3. They use SMART RENDERING by default.
If you DON'T use a DV edit session preset, it'll often default to square pixels, and RGB. That's probably what Premiere is doing.
Therefore, I would STRONGLY suggest that you do your edit in native DV, without any cropping, deinterlace, etc. Then once your master clip is created (either by rendering or frameserving), you do the deint, crop, smooth, resize, etc. in AVISynth.
Less generations, less manipulations, less LOSS, probably less time used overall.
Scott -
Thanks Scott...
I do usually do my editing with a Matrox DV preset, but both the Huff and Lag codecs did seems to default to RGB in their codec settings.
This seems like a good workflow...
Anyone know of any code for AVISynth that will tell me if a clip is interlaced or not? -
Originally Posted by bsuska
Originally Posted by bsuska -
^Just to add to jagabo's comments, an example of non-deinterlacing player would be vdub. So if you opened your file directly in vdub, and step through it should give you an indication of you see combing
since you have 2 project goals from 1 workflow, you are going to have to make some trade offs. You never answered my questions on "what type of editing" you were planning on doing. Here is why it's important, and why I STRONGLY suggest you deinterlace before importing if your goal was progressive output:
Edges get ratty and artifacts are worse if you deinterlace after. Even simple still titles get artifacts. It's much worse when you begin to add more effects, overlays , animations, motion graphics, or more advanced stuff from after effects. Interlaced footage is just plain bad if you plan to do any of the above. Not even by using tempgaussmc_beta1 can you escape the ratty edges
The following examples are just stills taken from lossless huffyuv exports (ignore the aspect ratio (1.5) as I took screenshots in AvsP so it assumes 1:1 pixels, all were ConvertToYUY2(interlaced=true) in avisynth if exported as interlaced, and ConvertToYUY2() if exported as progressive (it didn't matter in this case if ConvertToYV12 was used instead). It's not shown in the stills, but the ratty edges "vibrate" and look even worse in motion (I animated the title).
1) Yadif before importing
2) Yadif after exporting
3) TempGaussMC_beta1 before importing
4) TempGaussMC_beta1 after exporting
For kicks, the following is a video demonstrating different bob deinterlacers. Remenant artifacts ("jaggies") combine on subsequent frames to produce shimmering. Remenant jaggies from bad deinterlacing also "eat up" more bitrate, which is especially important in low bitrate streaming situations like yours. You really want to get the cleanest, smoothest image to optimize bitrate and bandwitdh usage, so jagabo's recommendation of tempgaussmc_beta1() is a very good one in terms of quality (just takes a lot of CPU power)
https://forum.videohelp.com/images/guides/p1934885/stockholma_0-520_q3_yadif_mvbobmod_t...mca4_tdtmm.avi -
Originally Posted by poisondeathray
-
Originally Posted by jagabo
-
Originally Posted by poisondeathray
-
Is there away to run a bunch of files thru Virtual Dub at once (batch deinterlace a bunch of files)?
Similar Threads
-
Handbrake cropping too much
By ryangarfield in forum Blu-ray RippingReplies: 2Last Post: 14th Jun 2011, 16:42 -
I need help with cropping!
By UnD3R0aTh in forum DVD RippingReplies: 23Last Post: 23rd Mar 2010, 01:33 -
cropping
By mwh99 in forum EditingReplies: 2Last Post: 7th Nov 2008, 12:25 -
Cropping DV
By bsuska in forum Newbie / General discussionsReplies: 1Last Post: 13th Feb 2008, 10:31 -
cropping
By exekutive in forum ffmpegX general discussionReplies: 5Last Post: 25th Aug 2007, 00:02