Snazzah / catcut

quick in-browser media editing
https://catcut.snaz.in
MIT License
22 stars 0 forks source link

The video only appears after 4-5 seconds #4

Closed KwiatekMiki closed 2 months ago

KwiatekMiki commented 2 months ago

https://github.com/user-attachments/assets/4933b23b-4099-4a61-a9cc-05e9a2f4c720

Remuxing doesn't help and after uploading the video to YouTube, it shows this (that's the first frame of the video) until the time when the video shows up in VLC:

image

but it should show this:

image

In the GitHub and Firefox video player it doesn't wait for the video.

https://github.com/user-attachments/assets/33ff3092-b73e-4470-aa42-9b8c0219197d

Video links

Original: https://files.elonmusk.deals/u/mGrpLR.mp4 Trimmed: https://files.elonmusk.deals/u/q5Uneh.mp4 Trimmed after uploading to YouTube: https://youtu.be/H9P379Kb6_U Trimmed and remuxed: https://files.elonmusk.deals/u/OvigjU.mp4

Snazzah commented 2 months ago

Try re-encoding the video when trimming, trimming without re-encoding could have some errors sometimes.

KwiatekMiki commented 2 months ago

It worked, thanks! Sorry for the late reply, I only needed to trim a video now.