openshot-qt icon indicating copy to clipboard operation
openshot-qt copied to clipboard

Black screen at end of video with MP4 format

Open SkybuckFlying opened this issue 3 years ago • 1 comments

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 !

SkybuckFlying avatar Jul 31 '22 19:07 SkybuckFlying

A couple steps we can use to track this issue further.

  1. Can you view this video in any other viewers? Your browser should work as one, if you enter the path to the video file.
  2. 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.

JacksonRG avatar Aug 07 '22 04:08 JacksonRG

Hello @SkybuckFlying Please confirm either way if this issue still exists in the latest DEV Daily build (openshot.org/download/#daily).

Colorjet3 avatar Feb 04 '23 02:02 Colorjet3

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.

therealchris avatar Apr 08 '23 22:04 therealchris

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

Colorjet3 avatar Apr 08 '23 22:04 Colorjet3

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

therealchris avatar Apr 08 '23 23:04 therealchris

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.

therealchris avatar Apr 09 '23 00:04 therealchris

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)

therealchris avatar Apr 09 '23 00:04 therealchris

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.

Colorjet3 avatar Apr 09 '23 12:04 Colorjet3

This is still an issue.

InklingGirl avatar Jun 03 '23 14:06 InklingGirl

Can you try: Export Video > Advanced > Advanced Options > Subtract 1 frame from the end frame of the video

It worked for me.

ConfusedToaster avatar Jun 22 '23 10:06 ConfusedToaster

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.

InklingGirl avatar Jun 22 '23 12:06 InklingGirl

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: @.***>

therealchris avatar Jun 22 '23 15:06 therealchris

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!

Colorjet3 avatar Jun 24 '23 16:06 Colorjet3

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?

EburgGuy avatar Jan 31 '24 21:01 EburgGuy

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?

ConfusedToaster avatar Jan 31 '24 22:01 ConfusedToaster

The extra frames remain.

EburgGuy avatar Jan 31 '24 22:01 EburgGuy

@ConfusedToaster yes, I exported it, trimmed off 100 frames from the end when doing so, and it still ends with a blank frame.

EburgGuy avatar Feb 25 '24 20:02 EburgGuy

Hello @EburgGuy.

  1. 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-...).
  2. What operating system/version are your running (Windows 10 Pro? Ubuntu 22.04 lts? etc.).
  3. Did you try to subtract only 1 frame first and the 100 and the result were the same?

Colorjet3 avatar Feb 26 '24 02:02 Colorjet3

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

itaispector avatar Mar 14 '24 09:03 itaispector

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.

Colorjet3 avatar Mar 14 '24 14:03 Colorjet3