30i to 60p
Posted in: NUKE from The FoundryI have a 30fps, interlaced NTSC sequence, and i want to use all the fields. So I’m trying to generate a frame from every field: from a 30 frames interlaced sequence to a 60 frames progressive sequence
I duplicate the frames with Retime and use the FieldSelect node to separate each field, then I put each field together, one field after the other, using a switch and a simple expression (!fmod(frame,2)). I also make a slight translate of 0.5 pixel for the odd frames to avoid a slight jump between even and odd frames. Then i reformat with no filtering
(see nuke script below)
I’ve downloaded the DFielder Gizmo, that allows to do a Fields to Frame separation. I expand the group and I can see that it uses a TimeWarp and a FrameRange node before deinterlacing, but i’m not able to reproduce that solution.
What is the best solution? Should i use the Defield node from the Tinder Genarts, or generate the 60 frames outside of Nuke?
Thanks for any suggestion,
marco
———
set cut_paste_input [stack 0]
version 6.1 v2
Read {
inputs 0
format "720 486 0 0 720 486 1 "
last 129
name Read1
selected true
xpos -422
ypos -302
}
Retime {
input.last 129
output.last 258
speed 0.5
name Retime1
selected true
xpos -422
ypos -203
}
set N1b9ce540 [stack 0]
FieldSelect {
name FieldSelect_Odd
selected true
xpos -344
ypos -136
}
Transform {
translate {0 -0.5}
center {360 121.5}
name Transform1
selected true
xpos -344
ypos -112
}
push $N1b9ce540
FieldSelect {
field Even
name FieldSelect_Even
selected true
xpos -476
ypos -136
}
Switch {
inputs 2
which {{!fmod(frame,2)}}
name Switch1
selected true
xpos -412
ypos -59
}
Reformat {
format "720 486 0 0 720 486 1 "
resize distort
filter Impulse
name Reformat3
selected true
xpos -412
ypos 2
}
Viewer {
frame 80
frame_range 1-300
fps 59.94
input_process false
name Viewer1
selected true
xpos -412
ypos 49
}
Post a Comment