Black screen at end of video with MP4 format
When trying to create a loop video a black frame is display at the end of the video.
Not sure if this is caused by OpenShot video or by VCL Media Player.
Most likely VCL.
The input video was made perfect by me, the output video was generated by OpenShot video, and produces a black frame in VCL media player when it's on loop mode. While the original input video created with virtualdub via image sequence converted into an RGB video/avi does not show this black frame.
Amazing how many issues these software packages have, shamefull !
A couple steps we can use to track this issue further.
- Can you view this video in any other viewers? Your browser should work as one, if you enter the path to the video file.
- You can shorten the export by one or more frames to determine whether openshot is treating your source video like it's a frame longer than it is.
Hello @SkybuckFlying Please confirm either way if this issue still exists in the latest DEV Daily build (openshot.org/download/#daily).
No. It's not fixed. When I cut a mp4 clip in OpenShot and save it out in mp4, a black frame seems to be inserted at rhe end of the clip ) - : Annoying because when the clip auto-ends, the screen shows a black frame, instead of the final frame of the clip. Unless.... .... I am missing something here.
hello @therealchris. You are not missing anything. I was able to replicate this issue with the latest released version. I am going to submit a bug ticket for this to be reivewed and fixed in the next release.
Update - Here is the bug ticket for the development team to review: https://trello.com/c/UYku50Wq/16-exported-project-ends-with-a-blank-frame-instead-of-the-last-frame-of-the-imported-video-file
SUPER! Thanks Colorjet. Other than that Open Shot a great tool. One thing -- I have also saved mp4's from OpenShot that DO show the final frame upon completion of the shot. Not sure why?? I thought it might be the soundtracks. Messed around with shortening them compared to the video. (just for a bit -- I am busy) Couldn't kludge a solution. No idea what's happening
Couldn't help it. went and diddled around some more. Took a shot that worked correctly, entered and saved it out using OpenShot. Worked fine. Repeated test. Got a black frame ) - : Couldn't get correct result to repeat.
one REALLLYYYY nice and maybe fairly simple fix would be to have OpenShot remember the folder you last saved to, so repeat tasks would not require navigating to the folder each time. (noticed this while trying to run tests to see what was messing up the saves)
Hello @therealchris. Thank you for trying and the FYI. When we get to this ticket the dev team will further kick the tires to get to the bottom of it.
By the way, start Openshot and go to Edit | Preferences | Location tab. You can control the behavior of how Openshot shot remembers where you import files from, what your Save or Open a project from, and where a Video gets Exported.
This is still an issue.
Can you try: Export Video > Advanced > Advanced Options > Subtract 1 frame from the end frame of the video
It worked for me.
Thank you so much @ConfusedToaster! This:
Export Video > Advanced > Advanced Options > Subtract 1 frame from the end frame of the video
works well, but boy is it annoying to have to rely on a workaround like this.
Huge thanks to ConfusedToaster (and cool name!)
Totally agree with Christian's comment, "... but boy is it annoying to have to rely on a workaround like this."
On the other hand -- having built ground-up software myself -- it's way easier to complain than perfect. Gooooo, Openshot. And thanks for the effort so far!
On Thu, Jun 22, 2023 at 5:43 AM Christian @.***> wrote:
Thank you so much @ConfusedToaster https://github.com/ConfusedToaster! This solution:
Export Video > Advanced > Advanced Options > Subtract 1 frame from the end frame of the video
works, but boy is it annoying to have to rely on a workaround like this.
— Reply to this email directly, view it on GitHub https://github.com/OpenShot/openshot-qt/issues/4877#issuecomment-1602570692, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEPILNWUSRQKYZXJJPTJFDXMQ4WDANCNFSM55FMA7BQ . You are receiving this because you were mentioned.Message ID: @.***>
This bug is in the queue: https://trello.com/c/UYku50Wq/20-exported-project-ends-with-a-blank-frame-instead-of-the-last-frame-of-the-imported-video-file
Thank you @ConfusedToaster for the workaround!
The workaround did not work for me.
Just to make sure it was still messing it up, I tried exporting both with extra frames removed (up to 10 of them) and extra frames added.
In every single case, as soon as I hit the "export" button, it reverts to the original number of frames.
Any other ideas?
In every single case, as soon as I hit the "export" button, it reverts to the original number of frames.
It only seems like that, can you try watching the exported video and check if the frames are gone?
The extra frames remain.
@ConfusedToaster yes, I exported it, trimmed off 100 frames from the end when doing so, and it still ends with a blank frame.
Hello @EburgGuy.
- What version of OpenShot are you running (help | about Openshot)? Please include the build # which you can find in the 3rd line of the About OpenShot page (...-99999-...).
- What operating system/version are your running (Windows 10 Pro? Ubuntu 22.04 lts? etc.).
- Did you try to subtract only 1 frame first and the 100 and the result were the same?
The workaround did not work for me.
Just to make sure it was still messing it up, I tried exporting both with extra frames removed (up to 10 of them) and extra frames added.
In every single case, as soon as I hit the "export" button, it reverts to the original number of frames.
Any other ideas?
same here. this is really frustrating
The "reverting" of the Start and End frames fields is a known issue. However, OpenShot still should be honoring the numbers you enter. Meaning, if your Start =1 & End = 5000, but you change Start to 500 and End to 2000, when you click Export, even thought the numbers revert back to 1 & 5000 the exported file should be frames 500-2000. This works for me.
Now, if you are still getting a black frame at the end even though you might subtract a frame or 2 from the end then the workaround isn't working. The lead developer will have to look into it.