Log in

View Full Version : HD 25pto 59.94i


FrameConverter
6th October 2005, 03:20
I have been trying to do this for a while and am still having trouble. I have 1920x1080 progressive frames running at 25fps and I need to make 59.94i. I have tried various forms of "selectevery" with limited success. Can someone tell me a good method of getting this done? From research I have done so far I think I should end up with a modified 2:3 cadence, such as 2:2:3:2:3 but there was some talk of skipping the 1000th field to remain in sync over a long perion (something to do with the .1% slowdown from 30 to 29.97. In this case I need to go from 25 to 29.97 (rather 59.94). Since the source is progressive I dont have to worry about field order, or do I? I understand slowing to 23.97 and adding regular 2:3 pulldown but in this case I need to keep the duration constant (no audio sync correction).

I have tried-
SelectEvery(5, 0,0,1,1,2,2,2,3,3,4,4,4)
or
SelectEvery(10, 0,1,2,3,4,5,4,6,7,8,9,8)

And the result is not perfect motion.

Can someone help? This should be pretty easy I believe...

Mug Funky
6th October 2005, 05:00
here's a very easy way that will produce a good pattern:

changefps(59.94)
assumebff() # to make sure avisynth separates the right fields
separatefields()
selectevery(4,1,2) # make output top-field first
weave()

actionman133
9th October 2005, 16:40
What is the original framerate captured by the source? If it was film celluloid or an NTSC video camera capturing 24p and then sped up to 25p (PAL 4% speed boost, NOT blended frames), then you can use the script I've written below. If it is PAL digital video, originally shot at 25p, then use Mug Funky's solution.


## Load source into implicit Last

AssumeFPS (23.976, True) #Slows film down to compatible framerate for telecine
SelectEvery (2, 0, 0, 1, 1, 1) #Telecine resulting in 59.94p
AssumeTFF () # Or BFF () as for whichever you require....
SeparateFields ().SelectEvery (4, 0, 3).Weave () # 59.94p to 59.94i


If it's progressive video, then I suggest Mug Funky's solution. But for film, the above script will give you smoother motion, and a playback rate that is closer to the original source.

scharfis_brain
9th October 2005, 17:04
I would go for DGPulldown here!
encode as progressive 25 fps.
apply dgpulldown to make it 29.97

FrameConverter
12th October 2005, 18:29
Like I said, it's HD original. So yes it's technically video, but it was captured originally at 25full frames per second so it's essentially the same as film in that respect. It has not been slowed down or sped up and I cant do that beacuse I need it to be the exact same duration at 59.94i as it was at 25P.

scharfis_brain
12th October 2005, 18:36
Make yourself clear about what DGPulldown really does!
It NEVER changes running time!

Guest
12th October 2005, 21:52
If used properly, it doesn't change the running time. But you can lie about the frame rate and cause it to change the running time. In fact, that has a legitimate use in one application I saw, in which the video was being matched to a different audio track that had a slightly different duration.

But, yes, if you use it correctly, it does not change the running time, because the frame rate is adjusted to account for the additional displayed fields.

FrameConverter
13th October 2005, 02:28
Correct me if I'm wrong but doesnt dgpulldown only work with MPEG streams? My video is AVI captured with a BlackMagic Decklink HD card. At any rate it looks like all it does is somehow flag the 25P stream so a DVD player will play it at 29.97 but I need to result in a new file that actually has the repeated frames in it as fields.

FC

Guest
13th October 2005, 03:16
We assumed since you wanted to make 59.94i, that you were aiming for DVD. Also, you did mention pulldown. You can follow Mug Funky's suggestion.

FrameConverter
14th October 2005, 02:12
Nope, I am keeping the frames at 1920x1080 for print back to HDCAM. Yes it will eventially be made into DVD somewhere along the line but I usualy downconvert the 59.94i HD to regular 720x486 SD video and then do realtime MPEG-2 (NTSC) encoding with a Zapex card (anyone remember them?). Doing it that way does prevent any kind of 2:3 pulldown removal by either DVD player or TV but it still looks very good. It would be great if manufacturers would start to see the value of adding the 2:2:3:2:3 cadence sensing and removal into their playback or display products so video created from those 25P sources could be displayed in "true progressive". Maybe this will start to evolve once Europe gets their HD ass in gear and we start to see more and more 25P television being converted to 59.94i as I am doing.

Thanks,
FC