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 #415

Open
Fanlen opened this issue Dec 4, 2024 · 1 comment
Open

moov atom not found #415

Fanlen opened this issue Dec 4, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Fanlen
Copy link

Fanlen commented Dec 4, 2024

After running start-webui.sh on macOS, an error message appears with the following message:av.error.InvalidDataError: [Errno 1094995529] Invalid data found when processing input: '/private/var/folders/ld/8r1fzdts68g4bxxq9sxk_b5m0000gn/T/gradio/344db7e6f3778d0ecbeace759ad1d79c7a6c2dc5c053988b2c6992c554043439/test.mp4'; last error log: [mov,mp4,m4a,3gp,3g2,mj2] moov atom not found

I tried reinstalling ffmpeg but it still didn't work. I was able to play videos normally using QT player, but I didn't find any abnormalities in the videos

@Fanlen Fanlen added the bug Something isn't working label Dec 4, 2024
@jhj0517
Copy link
Owner

jhj0517 commented Dec 4, 2024

Hi. I guess the error message is ffmpeg's, which is used when loading an audio file.

According to my investigation, this happens when video is not fully uploaded, e. g.) The file download is interrupted during the download, so it's still in the stream state. - stackoverflow disscussion

You can try to "recover" this file with the following ffmpeg command:

ffmpeg -i input_file.mp4 -vcodec copy -acodec copy -movflags faststart output_file.mp4

Or in another reddit discussion, You can try using an online service like this:

If you're able to upload the file I'll try to recover it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants