Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moov atom not found when opening input video #1002

Open
2 of 9 tasks
Digioso opened this issue Nov 28, 2024 · 0 comments
Open
2 of 9 tasks

moov atom not found when opening input video #1002

Digioso opened this issue Nov 28, 2024 · 0 comments

Comments

@Digioso
Copy link

Digioso commented Nov 28, 2024

Describe the bug

I used a video for face swapping, but got the "moov atom not found" error message.
After searching for a bit I found a solution here: https://stackoverflow.com/a/69707900

I don't have much of an understanding on how mp4 files work, but from what I gathered there the moov atom can either be located at the beginning or at the end of a video. From the looks of it in my video it was located in the end, but it seems that roop is only looking at the beginning. Therefore roop couldn't work with the video.

Workaround as mentioned in the stackoverflow thread is to move the moov atom to the beginning via:
ffmpeg -i input.mp4 -c:v copy -c:a copy -movflags faststart output.mp4
After doing that the video worked for me.

It would be great if roop could look at the beginning and the end for the moov atom.

Details
What OS are you using?

  • Linux
  • Linux in WSL
  • Windows
  • Mac

Are you using a GPU?

  • No. CPU FTW
  • NVIDIA
  • AMD
  • Intel
  • Mac

Which version of roop unleashed are you using?

4.3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant