Syntax Problems » Video Games » Our Forum
Our Forum

Our Forum



ПоискПоиск   Users   Registration   Entrance
Today: 19.04.2025 - 21:50:49
Pages:  1  

Syntax Problems

Advertising


MessageAuthor

Hi there! I've tried to use AviSynth to do sort of a manual IVTC. I captured my copy of the Star Wars Laserdisc at full NTSC resolution to put it on a DVDR. The video is structured this way: Frame1 - Progressive Frame2 - Interlaced Frame3 - Interlaced Frame4 - Progressive Frame5 - Progressive and then the loop starts over. I wanna keep the progressive frames and just use the resized bottom field from Frame2 to get the video at 23.976 progressive, so I wrote this script: Code:

---------------------
Cosmos 95, with other "stuff"

MELSM3

users




Statistics:
Messages: 191
Registration: 10.13.2003
28.04.21 - 08:07:40
Message # 1
RE: Syntax Problems

Did you try decomb before going to manual IVTC ? for your script you should use something like, ProgOut= Interleave (Frame1, Frame2RIn, Frame3, Frame4) where Frame3 = SelectEvery(Clip2,5,4) Frame4 = SelectEvery(Clip2,5, 5)

---------------------

Rob 99 M3

users




Statistics:
Messages: 941
Registration: 01.23.2003
28.04.21 - 08:13:22
Message # 2
RE: Syntax Problems

There will soon also be a full manual control over Telecide. You'll be able to set the pattern for all desired frame ranges.

---------------------

alexd

users




Statistics:
Messages: 6,051
Registration: 08.10.2001
28.04.21 - 08:22:38
Message # 3
RE: Syntax Problems

I didn't try any automatic IVTC because I just wanted to play a bit with AviSynth. Anyway, thanks a lot for the scripting advice!

---------------------

jgcm3

users




Statistics:
Messages: 636
Registration: 03.20.2003
28.04.21 - 08:30:11
Message # 4
RE: Syntax Problems

The method of resizing the bottomfield of frame 2 seems pretty ineffiecient to me. I assume that your video stream looks like that: 1t 1t 2t 3t 4t ... 1b 2b 3b 3b 4b ... while the numbers represent the frame numbers of the original video (before telecine process) and b/t means bottom/top field. So what makes most sense imho is to take frame 1,4,5 as they are and make them the new frames 1,3,4. as the new second frame i would weave the bottom field of frame 2 with the top field of frame 3, so that the original 2nd frame is restored without any quality losses. i could also be totally wrong and i can't test it at the moment unfortunately Frame1=selectevery(Clip2,5,1) Frame2in=clip2.separatefields().selectevery(10,4,5).weave() Frame3=SelectEvery(Clip2,5,4) Frame4=SelectEvery(Clip2,5,5) Output=Interleave(Frame1,Frame2in,Frame3,Frame4) return(Output) perhaps you also need to put a swapfields() behind weave (i really can't check it where i am at the moment) by the way, automatic itvc filters like decomb are very efficient for common stuff (and even on many weird sources), furthermore they are adaptive to pattern changes and you can tweak them pretty well. just my 2 euro cents jang0

---------------------
Smell that? ......German leather and palm sweat.

one

users




Statistics:
Messages: 5,954
Registration: 08.07.2003
28.04.21 - 08:34:41
Message # 5
RE: Syntax Problems

jang0: You're right, it is pretty inefficient, actually it doesn't work at all. So much for fuzzing around, I'll go for the Telecide/Decimate solution. Thanks anyway!

---------------------

JoelG

users




Statistics:
Messages: 254
Registration: 11.06.2003
28.04.21 - 08:42:18
Message # 6
RE: Syntax Problems
Crop your movie : Previous topicNext topic: I'm getting auto fades - how to stop them?
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants