Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

107
Visualizações
Video background on scroll playing not smooth

I implement a video background that plays by scroll, based on this pen: Original

I changed only the video URL, and with my video, the transition on the scroll is not smooth: My video

<source type="video/mp4" src="https://staging-datagen.kinsta.cloud/app/uploads/2022/05/DG_Full_Scroll_noScreen-1-1.mp4"></source>

I tried many things (changing the format, resizing the resolution, and lowering the quality of the video) none of them worked.

Do you have any idea why it is happening?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Using ffprobe I saw that in the entire 10 sec clip (300 frames) of our animation there are only 2 keyframes. This is strange since usually keyframes will be set every 90 frames or so by default. In the Google Chrome logo clip for example, there are 41 keyframes in the 31 second clip.

Converting our video with reduced key frame distance to every 5 frames - solved the problem!

https://staging-datagen.kinsta.cloud/app/uploads/2022/05/DG_Full_Scroll_noScreen-1-1_kfd5.mp4

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda