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

Importing MP4 results in "file is not a valid video, audio, or image file." #5037

Closed
izzostar opened this issue Dec 12, 2022 · 12 comments
Closed

Comments

@izzostar
Copy link

Describe the bug
Importing MP4 results in "file is not a valid video, audio, or image file."

Steps to reproduce the behavior:

  1. Go to 'File'
  2. Click on 'Import Files'
  3. Click 'Open'
  4. See error

Expected behavior
Video should import

System Details

Log Files

  • openshot-qt.log (6 KB)
  • libopenshot.log: File too small or empty (not uploaded)

Exception / Stacktrace
No stacktrace found in log files

Screenshots (Optional)
Sorry, no idea how to reopen a bug, so i made a new one.

bug1

@Colorjet3
Copy link
Collaborator

Does this happen with all .mp4 files or just this one? If only this one, then please run it through a converter. This is a common issue we've seen even with previous versions of OpenShot. Use something like Handbrake, vlc, or shutter encoder and convert it back to .mp4 then try your import.

@izzostar
Copy link
Author

Different files, originals copied from my phone and used for creating videos previously with older version of openshot (2.5.1? probably). JPG-load fine.
.mp4 load after i delete the Openshot.settings file.
Now you want to close the issue, but that does not solve the bug, does it?

@Colorjet3
Copy link
Collaborator

Yes and No. Yes, you can go ahead and close the ticket if you wish or keep it open. It is very challenging to find these types of bugs because there are so many variables than can cause the issue. For instance, the fact that deleting Openshot.settings fixed the issue, we now must somehow track back the exact steps/actions that caused it to be corrupted to the point where you can no longer import .mp4 files(probably other video file types as well).

I am glad you are passed this issue.

@sc0nway sc0nway closed this as completed Dec 23, 2022
@Alllgator343
Copy link

I have the same problem. I'm use appimage 3.1.1

@Colorjet3
Copy link
Collaborator

Hello @Alllgator343. What operating system are you running?

@Alllgator343
Copy link

Hello @Alllgator343. What operating system are you running?

Hello! Linux Mint 21.2 xfce

@Colorjet3
Copy link
Collaborator

Hello @Alllgator343.

  1. Close OpenShot if running.
  2. Make a backup of /home/username/.openshot_qt folder.
  3. Delete /home/username/.openshot_qt folder.
  4. Start OpenShot and try the import now.

If still not working you can try the following:

  1. Convert one of your .mp4 files to .mp4 again using something like Shutter Encoder or Handbrake.
  2. Import this newly created .mp4 file and see if that fixes the issue. This may not be a 100% resolution but rather a workaround.

or,

  1. Close Openshot.
  2. go to https://www.openshot.org/ppa/.
  3. Execute the "Daily PPA" installation instructions.
  4. Start OpenShot via the shortcut icon and give the import a try.

@Alllgator343
Copy link

Hello @Alllgator343.

1. Close OpenShot if running.

2. Make a backup of /home/username/.openshot_qt folder.

3. Delete /home/username/.openshot_qt folder.

4. Start OpenShot and try the import now.

If still not working you can try the following:

1. Convert one of your .mp4 files to .mp4 again using something like Shutter Encoder or Handbrake.

2. Import this newly created .mp4 file and see if that fixes the issue.  This may not be a 100% resolution but rather a workaround.

or,

1. Close Openshot.

2. go to https://www.openshot.org/ppa/.

3. Execute the "Daily PPA" installation instructions.

4. Start OpenShot via the shortcut icon and give the import a try.

Thanks! I hope it will be fixed in the future.

@Colorjet3
Copy link
Collaborator

Hello @Alllgator343. Was this resolved for you? If yes, which option did you go with? Your feedback will help others as well.

@Alllgator343
Copy link

Hello @Alllgator343. Was this resolved for you? If yes, which option did you go with? Your feedback will help others as well.

Yes, I installed the application via ppa:openshot.developers/ppa

@bullyer
Copy link

bullyer commented Feb 23, 2024

hello @Colorjet3 i am also having the same problem with v. 3.1.1 windows 11. Pls help me

@Colorjet3
Copy link
Collaborator

Hello @bullyer.

  1. Close Openshot if running.
  2. Go to openshot.org/download/#daily.
  3. Download the latest DEV DAILY build available.
  4. Install it and try the import.

Let me know the result.

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

5 participants