OpenShot / openshot-qt

OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.
http://www.openshot.org
Other
4.25k stars 532 forks source link

It doesn't play h.264/aac mp4 files #5608

Open eugenialoli opened 1 week ago

eugenialoli commented 1 week ago

I tried both the official release appimage and the -dev-daily appimage one. None can open this h.264/aac video here (the 15 sec one): https://samplelib.com/sample-mp4.html I'm using Linux Mint 22. I get the error message from openshot that this is not a valid video/audio or image. Kdenlive and shotcut work fine. I also installed ffmpeg, as you can see at the end of the log, but that didn't fix anything.

Steps to reproduce the behavior: Open the file linked above.

Expected behavior To support the file and show it.

System Details

Log Files

Exception / Stacktrace No stacktrace found in log files

M0n7y5 commented 1 week ago

i have the same issue. i can import and preview the files, however i can't add it to the timeline.

eugenialoli commented 1 week ago

I actually can't import them at all.

M0n7y5 commented 1 week ago

I actually can't import them at all.

I fixed my issue by installing openshot via flathub.

Colorjet3 commented 1 week ago

Hello @M0n7y5 Can you verify which version of OpenShot you are running when you installed it via flathub?

M0n7y5 commented 1 week ago

Hello @M0n7y5 Can you verify which version of OpenShot you are running when you installed it via flathub?

I am using version 3.1.1

eugenialoli commented 1 week ago

I reported this bug report on the latest stable, 3.2.1, and the dev-build. Please let's focus on this bug report, because you are polluting the report with off topic things. I reported a bug on the .appimage of the latest version, and you report either flatpaks, or the fact that you can preview them, but can't add them in the timeline (which is different to what I'm reporting, a different bug).

Colorjet3 commented 1 week ago

Hello @eugenialoli I am running Linux Mint 21.3 as a guest operating system in an Oracle Virtualbox environment (my host is Windows 11 Pro). I am running v3.2.1 AppImage (the latest stable release and not the daily build).

I downloaded all 5 sample files. I imported them into OpenShot without any issues. I am able to preview them, edit them, and export them.

Yesterday a new daily build was released for better support for newer versions of FFmpeg (I don't what version you were running before you upgraded to a newer version of FFmpeg). It might be worth downloading this latest dev daily build and give it a try: openshot.org/download/#daily.

Update: Running "FFmpeg -version" reports 4.4.2-0ubuntu.22.04.1

Colorjet3 commented 2 days ago

Hello @eugenialoli Did you get a chance to download the latest dev daily build AppImage and give it a try?

eugenialoli commented 1 day ago

Hi @Colorjet3 sorry for the late reply, I was away this week. So I just downloaded the Sept 12 dev-build and I get the same error message as before.