PDA

View Full Version : Load image sequences as video and more


mp3dom
9th January 2006, 21:15
Hi,
I have an image sequences at 720x288 (each image is progressive) and the full sequence is at "50fps" (just to clarify... is "similar" to make a sequence in VDub with an AVS with a SeparateFields on a PAL video) so frame 0 is the "top field", frame 1 is bottom, 2 is top, 3 is bottom and so on.
I need to load all the image sequence into an interlaced video (the reverse process) and I have used this script (similar):


ImageSource(...)
Top=SelectEvery(4,0,2)
Bottom=SelectEvery(4,1,3)
AssumeTFF()
Interleave(Top,Bottom)
Weave()
AssumeFPS(50) # I need this for some encoders


And seems to work but I would like to know if this is the correct method or if there's a better one.
Thanks!

Mug Funky
10th January 2006, 15:25
ImageSource(...)
Top=SelectEvery(4,0,2)
Bottom=SelectEvery(4,1,3)
Interleave(Top,Bottom).assumefieldbased()
AssumeFPS(50)
Weave()

the assumetff wasn't doing anything. also, i believe new builds of avisynth are more strict when dealing with frame based or field based video, so it's probably safer to explicitly tell it what you're working with (hence the assumefieldbased line).

i don't get why you want to bump up to 50fps though... if you've got 50 fields per second, you'll want 25 frames per second as there's 2 fields to a frame (obviously).

mp3dom
10th January 2006, 18:13
I'm trying to use Neat Image to clean up a video sequence but the problem is that the video is coming from an NTSC to PAL transcoding (always in AviSynth) so to speed up the process (since I think it's better for Neat Image to work with progressive material) I've "separate" every frame in fields and work on a 720x288 images rather than a 720x576. The problem coming for "reassemble" all the sequences.
Thanks! :)