Log in

View Full Version : yuv422 progressive but need to film


tuqc
19th October 2022, 09:56
file like this type encode to progressive。but need to do inverse。and TFM get a lot chroma issues。if theres a right way to do it?
https://i.ibb.co/2KJjnH4/57662abf7bbe9f0b.jpg (https://ibb.co/0J5fDvb)
if u are interest original source here:https://mega.nz/folder/FFlnXAxS#WxK0z0NwFCbx8-S31S_uXQ(poker face bitmx)

FranceBB
19th October 2022, 18:29
I can't say it for certain, but I think that some idio- ehm I mean sloppy operator resized the chroma while interlaced, thus creating those horrible artifacts...

If I have time and no one replies I'll give it a shot tomorrow afternoon, but for now I'll leave it to the wider community as I'm tired and overworked from a 9.00AM - 6.51PM shift at work... :(

johnmeyer
20th October 2022, 00:12
You want us to download a 2 GB file? I'd like to help, but that is WAY too big.

tuqc
20th October 2022, 00:43
You want us to download a 2 GB file? I'd like to help, but that is WAY too big.

my fault.small sample for BOSS https://drive.google.com/file/d/1EMXugFeVMjXu75VtE-6GnDIISoJMaWxY/view?usp=sharing

hello_hello
22nd October 2022, 01:52
It's a bit odd. It looks like the chroma of the telecined fields has been swapped or blended with the chroma of the opposite field, which also has the telecined field's chroma. It only happens where there's repeated fields though.

After a bit of playing around without success it occurred to me to complete the blend deinterlacing job on the telecined fields to see if SRestore's double blend removal mode would fix it. It might miss the occasional blend because the pattern changes, but it's not too bad. Right near the end, where she flicks the card out of her mouth, there were a couple of frames with artefacts that SRestore made worse. I'm hoping it's just a decoding glitch but they seemed to be caused by the de-interlacing. For the sample encode, I replaced the two problem frames with blended ones.

sample encode.mkv (https://files.videohelp.com/u/210984/sample%20encode.mkv) (7.7MB)

This was the whole script. I had to convert to 8 bit first otherwise either SRestore or TDeint were producing artefacts. TDeint, SRestore and TDecimate are required. VInverse & MAA2 are strongly recommended. The rest is optional.

FFVideoSource("E:\sample.mkv", cachefile="D:\sample.mkv.ffindex", threads=1)
ConvertBits(8, Dither=1)
ConvertToYV12()
ReplaceFrameX(577, 2, Mode="Blend")
TDeint(type=4, metric=1)
VInverse()
MAA2()
SRestore(mode=1, omode="pp0")
TDecimate()
QTGMC(InputType=1, Preset="Medium")
CropResize(0,0, 4,0,-6,0, InDAR=15.0/11.0, ResizeWO=true, Resizer="Resize8")
GradFun3()


Edit It just occurred to me I probably should have used ConvertToYV12(interlaced=true) when converting to YV12, although the source is a fair mess so I doubt it'd make a noticeable difference. A conversion to YV12 would probably have been best left until the end of the script anyway. Oh well....