Smooth Video Loop

Is it possible that we can make a video (it is a background video) have a cross pass effect to start video again? I want to loop background video loop seamlessly. -# If possible, I want to achieve it without backend.
33 Replies
ἔρως
ἔρως3w ago
you can do whatever you want with a video, in the video in html, then you just set the video to loop and that's it you need a way to host the video
İbrahim
İbrahimOP3w ago
I mean okay wait
İbrahim
İbrahimOP3w ago
Jochem
Jochem3w ago
what he's saying is that there's no way to accomplish that using HTML, JS, or CSS
İbrahim
İbrahimOP3w ago
I want to make kind of effect that will have cross-pass effect and how can I achieve that with video editor either? transitions used for merging two videos after all
Jochem
Jochem3w ago
though I suppose you could layer two backgrounds and do a dissolve between them, but it would just be a dissolve what is a cross pass?
İbrahim
İbrahimOP3w ago
cross-fade? i forgot it is name
ἔρως
ἔρως3w ago
i can see mobile devices strugling with this
Jochem
Jochem3w ago
cross fade you can probably fake by having two videos, then fading from one to the other... but if you're using it to loop, your best bet is to put the cross fade into the actual video file using a video editor make the video loop seamlessly first, and then just display it
ἔρως
ἔρως3w ago
exactly just do it in the video if you need a background of different colors, then you are opening a can of worms
Jochem
Jochem3w ago
(by fading from one to the other, I mean have a CSS animation that transitions the two videos from 0-1 opacity and 1-0 opacity simultaneously
İbrahim
İbrahimOP3w ago
that will do
ἔρως
ἔρως3w ago
you cab chroma key it, but doing it in realtime on a phone ... yeah ...
Jochem
Jochem3w ago
just for the record, I think it's a Bad Idea™️
İbrahim
İbrahimOP3w ago
i just make it a poster on mobile device, not a big deal
Jochem
Jochem3w ago
especially if you're just using it to loop a single existing video you can probably find a site that will make a video looping for you. There's probably a one-line ffmpeg command that'll do it too, and optimize it for web use while you're at it
İbrahim
İbrahimOP3w ago
i have a small question confusing me; my video is 10 seconds, and if i try to loop it twice to get transition effect which is "cross-fade" will make the video 20 seconds, but start and end of the video will have a black screen when video plays and ends. you guys might've tried video editor tools and have seen it. like middle of the video will have a perfect cross-fade effect start & end won't have that
Jochem
Jochem3w ago
that's just how you edit the video
İbrahim
İbrahimOP3w ago
this is so much pain, let me just slowdown playing speed. it is not like people will wait on hero section to video end xD
Jochem
Jochem3w ago
say you have a 10 second video, and want a 1 second crossfade You drag two copies of the video into the editor timeline. The first video starts at 1 second into the video. The second video overlaps the end of the first video by 1 second. Then, you cut the video right at the end of the crossfade, such that the last frame of the cross fade is followed by the first frame of the video
İbrahim
İbrahimOP3w ago
let me try that
Jochem
Jochem3w ago
there's also just... googleable tools online that loop video for you: https://videoloop.io/
VideoLoop - Loop Video and Audio Online for Free
Loop sections of any video or audio track such as YouTube, Twitch or Facebook videos. Upload a video or paste the video url link. Supports any video format - MP4, MP3, AVI and more.
Jochem
Jochem3w ago
Video Looper - Loop Video Online for Free
Use our online video looper for any video for free!✔️ We support any video format - MP4, AVI, 3GP, and many more!✔️ We can loop video files up to 4 GB! Try our free tool today!
Jochem
Jochem3w ago
just the first two results
ἔρως
ἔρως3w ago
it's a lot easier and much less janky to have it all in the video, instead of trying to fudge with css and javascript
Jochem
Jochem3w ago
yup. and that's ignoring potential performance issues faking it in the browser causes
İbrahim
İbrahimOP3w ago
well yeah it works for middle part now let's do start and end
Jochem
Jochem3w ago
you just cut it right after the transition you should end up with a 10 or 11 second video
İbrahim
İbrahimOP3w ago
and cut at start so it is looping perfectly
Jochem
Jochem3w ago
yes
İbrahim
İbrahimOP3w ago
thanks, i liked the idea
Jochem
Jochem3w ago
there should be no duplicated frames
İbrahim
İbrahimOP3w ago
yeah, it is just a sensitive work rn thanks guys

Did you find this page helpful?