Post Export Video option, the video is missing from output .Mp4 file however, audio in the exported...
Describe the bug Missing video in .Mp4 file post video export...
I added the video clips and placed the required title to the video thereafter, to generate output clicked "Export Video" in ".Mp4" file format. Post video export the video is missing however, the audio sound is audible in the .mp4 exported file.
Steps to reproduce the behavior:
- Go to 'File > Export Project '
- Click on 'Export Video'
- then wait for video to render it properly.
- Play the exported video (.Mp4) file to see the missing video from it.
Expected behavior The exported video should come with video and sound both but video is missing...
System Details
- OpenShot Version: 3.1.1
- libopenshot Version: 0.3.2
- Platform: Linux-6.7.4-zen1-1-zen-x86_64-with-glibc2.39
- Processor:
- Machine: x86_64
- Python version: 3.11.7
- Qt5 version: 5.15.11
- PyQt5 version: 5.15.10
- Qt Detected Languages: ['en-IN', 'en-Latn-IN']
- LANG Environment Variable: en_IN
- LOCALE Environment Variable:
- Daily Build: Verified issue still exists in daily build: http://github.com/OpenShot/openshot-qt/releases/download/OpenShot-v3.1.1-daily-11721-d98b5f2f-8e9d7edc-x86_64.AppImage
Log Files
- openshot-qt.log (7 KB)
- libopenshot.log (0 KB)
Exception / Stacktrace
No stacktrace found in log files
Screenshots (Optional) If applicable, add screenshots to help explain your problem. You can include screenshots by copy/pasting them on GitHub or dragging-and-dropping into the GitHub page. All images are public, so please don't post screenshots containing personal information.
Output File
Hello @boxbing Please provide the following:
- What operating system are you running (windows 11?, Ubuntu 22.04 lts? etc?).
- Does this issue happen with other .mp4 files or just this one?
- Please provide a full screen shot of your project when you first open it.
- Click on Export and provide a screen shot of the Export screen.
- Without making any changes when you click on Export, click on "Export Video" and verify that issue still exists.
- If you are making a change from the Export screen then tell us exactly what changes you are making.
- Have you made any changes in Edit | Preferences? If yes, what settings?
Please provide all the information.
Kind of same issue https://github.com/OpenShot/openshot-qt/issues/5419
-
What operating system are you running (windows 11?, Ubuntu 22.04 lts? etc?). Tried on latest Arch and Ubuntu both. Found same issue.
-
Does this issue happen with other .mp4 files or just this one? Tried with mp4 h264, and profile = hd 720p 30fps
-
Please provide a full screen shot of your project when you first open it. Full screen shot
-
Click on Export and provide a screen shot of the Export screen. Before Export Click
After Export Click
-
Without making any changes when you click on Export, click on "Export Video" and verify that issue still exists. Yes
-
If you are making a change from the Export screen then tell us exactly what changes you are making. Nothing Changed on export screen
-
Have you made any changes in Edit | Preferences? If yes, what settings? No
System Details:
OpenShot Version 3.1.1 ffmpeg version n6.1.1
Os: NAME="Garuda Linux" PRETTY_NAME="Garuda Linux" ID=garuda ID_LIKE=arch BUILD_ID=rolling
Thank you @boxbing for all this information.
I didn't see a response to this question: Does this issue happen with other .mp4 files or just this one? What I need to know is if this issue only happens with this one .mp4 or other .mp4 files that you have also.
I am a novice Linux user. I have Ubuntu 23.10 installed in Oracle Virtualbox in my Windows 11 host computer. I just installed OpenShot v3.1.1 using the App Center. Created a Test project with a .jpg and a .mp4 file. I exported using the default project profile and default Export settings (mp4 h264, and profile = hd 720p 30fps).
When I double clicked on the .mp4 that I created it is like Ubuntu couldn't even open the .mp4 file for me. So I installed VLC and I am able to both see the video and hear the audio of my project.
Please try VLC also in addition to answering the question.
Thanks for your response @Colorjet3 !
I hvae tried many projects created new or tried to export old projects in defferent formats but faced same issue (sound is audiable however, video is missing).
Also, tried in VLC my default video plyer: See the output https://github.com/OpenShot/openshot-qt/issues/5421#issuecomment-1944050695
Apart from this, I have another old linux machine with Openshot which was working fine however, post Openshot new update its creating the same issue.
To test quickly I created a new windows 10 virtul machine and installed latest version of Openshot. Tried to open the OpenShot App but it failing to load the OpenShot Application.
Hello @boxbing.
- Which version of Windows 10 (home, pro?). If you are running the home and or the N version then you need to install the Microsoft Media Feature (https://www.microsoft.com/en-us/download/details.aspx?id=48231)
- Are you getting any error messages?
- Open a command prompt.
- Change directories to "c:\program files\openshot video editor"
- Execute this command: openshot-qt-cli.exe --debug
- The command prompt windows will display messages. See if you find something that might tell us what the issue is.
In my experience this is usually a missing codec issue. If the codec hasn't been installed on the system.
Colorjet, you might want to upload a short video you've exported with the same settings, and ask OP if they are able to play it. Or get OP to upload their video and see if you can play it...
Hello @leodf1. I am a very novice Linux user and wouldn't know what to ask the OP to do. Any chance you can chime in and provide some advice on what to do next?
The OP does use VLC to test with and I thought that VLC would have most of the codecs, if not all. But I guess some can be missing.
Hi Colorjet, I tinkered with VLC a very long time ago, same with Linux. No useful knowledge to speak of now. At the time, I did find that VLC was no better at handling different video formats than the standard Windows Media Player, which is why I never used it.
@boxbing Would you please export a short video and upload it here. Then someone can check if it's a playback issue on your system, or an export issue of the software
Hello @boxbing. I just used Build#11732 AppImage (openshto.org/download/#daily) in Ubuntu 23.10. I created a test project with two video clips. Made no edits and Exported (Test03.mp4) with the default settings.
I am able to play the Exported Test03.mp4 file in Ubuntu 23.10 (guest virtual using Oracle Virtualbox) using VLC. I then copied this to my host Windows 11 Pro and played it with both VLC and Windows Media player without any issues.
Please copy this attached test03.mp4 file to both of your environments and see if you are able to see the video and hear the audio.
Uploading Test03.mp4…
https://github.com/OpenShot/openshot-qt/assets/59097181/cf6ed959-7731-4a21-88cf-5a932e9d26ea
https://github.com/OpenShot/openshot-qt/assets/323529/56fa41f5-cfc9-4cae-9b88-fe95b1ea0009
There is no video data in OP clip, only audio (I assume the thumping rhythm is the correct audio). So export is not working for some reason...
Perhaps the upgrade to 3.1.1 over previous version broke something. Can OP uninstall 3.1.1 and revert back to the previous working version. If it works again, try uninstalling that version, rebooting and fresh install of 3.1.1.
Hello @boxbing.
- I did not see a confirmation from you if the Test03.mp4 file I provided worked for you or not. This would help us focus our efforts of troubleshooting.
- Did you upgrade from a previous version (v2.6.x? or earlier?).
Please give this a try:
- Close Openshot if running.
- Go to Openshot.org/download/#daily and download the latest dev daily build #11732 AppImage. This was just released on 2/15.
- Make a backup of ~/home/username/.openshot_qt folder. Save this backup for a while.
- Delete ~/home/username/.openshot_qt folder. The entire folder.
- Make the AppImage you downloaded executable and start it.
- Open your project, Export it and see if the export includes the video.
I had Manjaro installed on my Oracle Virtualbox as a guest (julst like Ubuntu 23.10) so I ran AppImage build #11732 and tested an Export and both video and audio worked for me.
When I previously tested the appimage, the most recent version on the website was from last October. It crashed at startup due to glibc incompatibility. After reading your post I noticed that there were new builds created in the last few days. I tested build 11751, the most recent at the minute (not the same as yours). I encountered a different problem with no audio channels. (The official Arch package works just fine as far as audio is concerned with my configuration in which I use Jack2).
I spent about half an hour and could not find a way to solve this audio channel issue, perhaps there is an incompatibility between appimages and jack, or the jack library is not part of appimage, whatever. While doing these tests I ran into another issue: if I pass as parameter the name of a well configured project and Openshot chokes on that error, it defaults (cleans) my configured project, then I have to configure it again. This of course causes a waste of time.
For the time being I won't test anymore with the current appimpage. I might try again in a few weeks or wait for a fresh Openshot release, and for it to be packaged by Arch.
Yes, there have been many fixes pushed to the DEV environment by the lead developer.
Regarding the audio issues. When you say "...no audio channels...", are you getting some kind of an error? I also don't know what Jack2 means.
@jonoomph Please take a look at this issue.
Hello @boxbing.
- I did not see a confirmation from you if the Test03.mp4 file I provided worked for you or not. This would help us focus our efforts of troubleshooting.
Yes, Test03.mp4 is working
- Did you upgrade from a previous version (v2.6.x? or earlier?).
Both, installed new on a new system and updated as well on an old system
Please give this a try:
- Close Openshot if running.
- Go to Openshot.org/download/#daily and download the latest dev daily build #11732 AppImage. This was just released on 2/15.
- Make a backup of ~/home/username/.openshot_qt folder. Save this backup for a while.
- Delete ~/home/username/.openshot_qt folder. The entire folder.
- Make the AppImage you downloaded executable and start it.
- Open your project, Export it and see if the export includes the video.
Tried but not found any different result
Thank you for the update @boxbing. I am at a loss. We need @jonoomph to chime in.
Regarding the audio issues. When you say "...no audio channels...", are you getting some kind of an error? I also don't know what Jack2 means.
Exactly, I got an error message that said "No audio channels".
This is Jack, Jack2 is version 2 of Jack: https://en.wikipedia.org/wiki/JACK_Audio_Connection_Kit
Package (1) Old Version New Version Net Change
extra/openshot 3.1.1-1 3.1.1-1 0.00 MiB
just tried to update but no luck
Tired to compile video using Kdenlive, it's working
https://github.com/OpenShot/openshot-qt/assets/323529/8fa090b9-fe85-4e0a-bbdb-52e02a56bfc8
Thank again for the update @boxbing. What does this conclude? Where do we go from here?
Found the targets working in OpenShot Video Editor
❌ Target: MP4 (h.264) Not working
✅ Target: MP4 (h.264 va) Working
✅ Target: MOV (mpeg4) Working
✅ Target: Mp4 (mpeg4) Working
There is a way around this 'exporting' issue, as partly mentioned above. Choose the codec target mp4 (mpeg4) instead of mp4 (h.264) default. The same applies to format mkv. Alternatively, use the codec mp4 (h.265) which seems to work fine as well.
MP4 (h.265) works for me, h.264 does not. Linux debian, OpenShot 3.1.1. Kind of checked that needed codecs are there.
Confirming that I had the exact same issue on Ubuntu 22.04 running OpenShot 3.2.1 from the official PPA. Using the daily AppImage (OpenShot-v3.2.1-daily-12662-044bb224-23713d3a-x86_64.AppImage) has solved the issue for me!