PipeFlow: Pipelined Processing and Motion-Aware Frame Selection for Long-Form Video Editing
Preprint
Abstract
Long-form video editing poses unique challenges due to the exponential increase in the computational cost from joint editing and Denoising Diffusion Implicit Models (DDIM) inversion across extended sequences. To address these limitations, we propose PipeFlow, a scalable, pipelined video editing method that introduces three key innovations: First, based on a motion analysis using Structural Similarity Index Measure (SSIM) and Optical Flow, we identify and propose to skip editing of frames with low motion. Second, we propose a pipelined task scheduling algorithm that splits a video into multiple segments and performs DDIM inversion and joint editing in parallel based on available GPU memory. Lastly, we leverage a neural network-based interpolation technique to smooth out the border frames between segments and interpolate the previously skipped frames. Our method uniquely scales to longer videos by dividing them into smaller segments, allowing PipeFlow's editing time to increase linearly with video length. In principle, this enables editing of infinitely long videos without the growing per-frame computational overhead encountered by other methods. PipeFlow achieves up to a 9.6X speedup compared to TokenFlow and a 31.7X speedup over Diffusion Motion Transfer (DMT).Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- FlowVid: Taming Imperfect Optical Flows for Consistent Video-to-Video Synthesis2024
- Adding Conditional Control to Text-to-Image Diffusion Models2023
- Pix2Video: Video Editing using Image Diffusion2023
- Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation2023
- Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video Generators2023
- Photorealistic Text-To-Image Diffusion Models with Deep Language Understanding2022
- EnlightenGAN: Deep Light Enhancement Without Paired SupervisionIEEE Transactions on Image Processing, 2021
- Image quality assessment: from error visibility to structural similarityIEEE Transactions on Image Processing, 2004
- Priority Assignment in Waiting Line ProblemsJournal of the Operations Research Society of America, 1954