BrokenSource / DepthFlow

🌊 Images to → 2.5D Parallax Effect Video. A Free and Open Source ImmersityAI alternative
https://brokensrc.dev
GNU Affero General Public License v3.0
421 stars 27 forks source link

Animation styles. #53

Open onlysharma0852 opened 1 week ago

onlysharma0852 commented 1 week ago

Thanks for adding the circle animation style and other animation style also. But Depthstate animation style is not working. After rendering the video is not moving or i think it is not creating the animation. Also where is the perspective style of animation now? It was present in v0.6 but now its not.

one more thing. How can i change my Rendering processing from CPU to GPU? My system is using the CPU instead for GPU(RTX 3060)

Tremeschin commented 1 week ago

Depthstate animation style is not working

The depthstate doesn't contain any 'animations' indeed, it just sets the starting value of all the parameters that are modulated over time to generate the animation, it's kind of an advanced use / combined with other options

this will probably change in the near future in a upcoming overhaul of the animation system, for better handling how animations should "set" or "add" to the parameters, custom code etc


Also where is the perspective style of animation now? It was present in v0.6 but now its not.

hm, which perspective animation? I don't remember it, maybe you're talking about dolly zoom (or videos below) ? could you provide any video of the animation you're looking for or the older version's one 🤔


How can i change my Rendering processing from CPU to GPU

If you're on windows, could this help? I know your case isn't black videos, but it's about switching the GPU used, assuming you meant the integrated graphics by CPU :), on linux I never used hybrid systems but it's probably an optimus's duty

onlysharma0852 commented 1 week ago

WebUI_4_prob3.mp4 https://drive.google.com/file/d/1hNSMJim4IRLW-6dCR72FvDjzxZS3E46q/view?usp=drive_web this animation style.

On Mon, 14 Oct 2024 at 22:29, Gabriel Tremeschin @.***> wrote:

Depthstate animation style is not working

The depthstate doesn't contain any 'animations' indeed, it just sets the starting value of all the parameters that are modulated over time to generate the animation, it's kind of an advanced use / combined with other options

this will probably change in the near future in a upcoming overhaul of the animation system, for better handling how animations should "set" or "add" to the parameters, custom code etc

Also where is the perspective style of animation now? It was present in v0.6 but now its not.

hm, which perspective animation? I don't remember it, maybe you're talking about dolly zoom https://brokensrc.dev/depthflow/learn/parameters/#dolly (or videos below) ? could you provide any video of the animation you're looking for or the older version's one 🤔

How can i change my Rendering processing from CPU to GPU

If you're on windows, could this help https://brokensrc.dev/about/faq/#q-rendered-videos-are-black? I know your case isn't black videos, but it's about switching the GPU used, assuming you meant the integrated graphics by CPU :), on linux I never used hybrid systems but it's probably an optimus https://wiki.archlinux.org/title/NVIDIA_Optimus's duty

— Reply to this email directly, view it on GitHub https://github.com/BrokenSource/DepthFlow/issues/53#issuecomment-2411794385, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6NM55CJD7ZDPG2LRUY4C2TZ3P2ADAVCNFSM6AAAAABP5MGZWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJRG44TIMZYGU . You are receiving this because you authored the thread.Message ID: @.***>

Tremeschin commented 1 week ago

a, this shared link is asking for permission, could you change the visibility or send the video directly on github?

onlysharma0852 commented 1 week ago

You can watch now.

On Mon, 14 Oct, 2024, 10:59 pm Gabriel Tremeschin, @.***> wrote:

a, this shared link is asking for permission, could you change the visibility or send the video directly on github?

— Reply to this email directly, view it on GitHub https://github.com/BrokenSource/DepthFlow/issues/53#issuecomment-2411850391, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6NM55EPLAICWFPPDPMXU6TZ3P5PTAVCNFSM6AAAAABP5MGZWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJRHA2TAMZZGE . You are receiving this because you authored the thread.Message ID: @.***>

Tremeschin commented 1 week ago

Ah, that's the current default animation called "orbital", took a screenshot and rendering with:

depthflow input -i ~/mpv-shot0001.jpg orbital main -o ~/video.mp4

https://github.com/user-attachments/assets/177cb29e-defd-489b-963b-53e3b55a6d9d

the first frame being "corrupted" has been fixed since, it was tracked in #38