Repository navigation
Add EdenLive - #15066
Add EdenLive#15066skygoo2000 wants to merge 6 commits into
Conversation
|
Hi @skygoo2000, thanks for the PR! It does not appear to link an issue it fixes. If this PR addresses an existing issue, please add a closing keyword (e.g. Please note that PRs without a linked issue are likely to be automatically closed 10 days after this notice. Once the PR links an issue (or gets the |
|
Hi @yiyixuxu, thanks for adding the label! Could you take a look at this PR, or help suggest the right reviewer for the EdenLive integration? Happy to make any changes needed. |
yiyixuxu
left a comment
There was a problem hiding this comment.
i left some initial comments
additionally, is it possible to remove the streaming out of the official pipeline?
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| """Read the four original EdenLive releases without writing converted checkpoints.""" |
There was a problem hiding this comment.
can we remove this?
the checkpoint should be converted into diffusers format and then our from_pretrained() should be able to work out of box
| super().__init__() | ||
| if chunk_size < 1 or sink_frames < 0 or max_context_frames < sink_frames + chunk_size: | ||
| raise ValueError("The context must fit the sink and a positive-size chunk.") | ||
| utils.initialize_pipeline( |
| self.register_to_config(chunk_size=chunk_size, max_context_frames=max_context_frames, sink_frames=sink_frames) | ||
|
|
||
| @classmethod | ||
| def from_pretrained(cls, pretrained_model_name_or_path, *, profile=None, **kwargs): |
There was a problem hiding this comment.
can we not override from_pretrained?
|
@skygoo2000 |
What does this PR do?
Adds support for EdenLive, a real-time generative rendering model conditioned on a reference image, an RGB proxy video, and a text prompt. References can come from 2D/3D scenes, existing engines, or recordings.
This integration includes:
EdenLivePipeline.Basic Usage
The example uses a reference image and a proxy video containing at least 49 RGB frames.
Streaming usage
Initialize a stream with a reference image, then provide 3 sampled RGB proxy images per chunk. This example updates the prompt for the second chunk and exports the resulting 21 frames.
The Python pipeline uses PyTorch, Transformers with DINOv3 support, and Accelerate. The CLI examples additionally use PyAV and imageio for video I/O.
Demo
comparison.1.mp4
Validation