View Single Post
Old 28th April 2021, 22:15   #4  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,374
Quote:
Originally Posted by scharfis_brain View Post
But it has different chroma alignment than standard YUV4:2:0:

If I remember correctly it created reinterpolate420 for exactly this case: https://forum.doom9.org/showthread.php?t=82787
(you might want to replace tomsmocomp by nnedi3.)
Yes, if your other codec forces the resampling to 4:2:2

If you recall , cedocida configuration allows you to select and "force" YV12 output and DV YV12 chroma sampling for decoder settings (you uncheckmark YUY2 and the other boxes) . So this works for PAL DV. You have the original 4:2:0, and you can choose whatever method to resample.

The problem is NTSC DV, where cedocida does not have 4:1:1 output option (ie. it's always resampled by cedocida, and not very nicely) . A better option would be ffmpeg/libavcodec based decoders, which do output the original 4:1:1


Note you can also control the chroma location interpretation and algorithm used with internal avs resizer or avsresize, but if codec already resampled the chroma, then it's possibly done incorrectly. If you start with original DV chroma sampling, then you have more control and ensure it's done correctly

Chroma in/out placement
http://avisynth.nl/index.php/Convert#Chroma_placement

Avsresize chromaloc
http://avisynth.nl/index.php/Avsresize
poisondeathray is offline   Reply With Quote