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

Unable to export specific project file as MP4 at 1080p #5668

Open
theguywithstuffA opened this issue Dec 10, 2024 · 8 comments
Open

Unable to export specific project file as MP4 at 1080p #5668

theguywithstuffA opened this issue Dec 10, 2024 · 8 comments

Comments

@theguywithstuffA
Copy link

theguywithstuffA commented Dec 10, 2024

Describe the bug:
OpenShot keeps crashing while exporting a specific video project

Steps to reproduce the behavior:

  1. Export video as an MP4 with the 1080p 60 fps profile
  2. OpenShot will crash about halfway through for some reason

Expected behavior:
Typically exporting videos results in the video being export but all I get is a corrupted MP4
System Details:

  • OpenShot Version [e.g. 2.4.3]: v3.2.1
  • Operating System / Distro: Windows 11

Log Files:
openshot-qt.zip

@Colorjet3
Copy link
Collaborator

  1. What is the profile of the original file?
  2. What type of a file is it (.mp4? .mov? etc?)
  3. Are you able to Export it at 30 fps or 59.94 fps?
  4. Which exact Profile of 1080 are you selecting from the Profile window?

@theguywithstuffA
Copy link
Author

  1. I was editing the file in HD 720p 30fps and exporting it in FHD 1080p 60 fps
  2. It was a .mp4
  3. I recall trying 30 fps but that didn't work either
  4. FHD 1080p 60 fps
    Something to note is that I did manage to export half the video then export the other, it probably was because I had an animation that included changing the Shear value since I removed that part of the animation and I could export the latter half (I couldn't export that latter half if I had the Shear value change animation for some reason)

@Colorjet3
Copy link
Collaborator

Colorjet3 commented Dec 11, 2024

Hello @theguywithstuffA. Thank you for all the information. The Shear should not be causing the export to fail unless there is a bug. To try and replicate your issue please provide this:

  1. Please provide the aspect ratio of your original .mp4 file. Start file manager and navigate to where the .mp4 file is. Right click on the file, select Properties, click on the Detail tab and provide the aspect ratio.
  2. Provide us step-by-step instructions on how you applied the Shear values. For example,
    a. I positioned the playhead 20 s into the clip.
    b. I inserted a keyframe for Shear X & Y.
    c. I now changed the value of Shear X to ?? and Shear Y to ??.
    d. etc.

This way we can try and replicate your issue.

Update: I tested the following, successfully:

  1. Started a new project
  2. imported a .mp4 file and moved to Track 5. The .mp4 file is 50 seconds in duration.
  3. I positioned the playhead at the 20 seconds marker.
  4. In the Properties of the Clip I changes Shear X to -0.29 and Shear Y to 0.12.
  5. I exported the project in FHD 1080P 60 fps and FHD 1080p 30 fps and the Export completed without crashing.
  6. Also made sure the two exported files played ok outside of OpenShot.

I am running Windows 11 Pro and OpenShot v3.2.1 (latest dev daily build).

@theguywithstuffA
Copy link
Author

  1. The exported videos when I tried to export the video as a whole are corrupted and don't give any details but it should be 16:9
  2. a. I put the image on the timeline in the project at around the 4 minute and 37 second mark
    b. The image's Location X value is set to -1 where it'll change to 0 (it's suppose to slide from the left)
    c. The Shear X value is set to -1 then when the Location X value stops at 0, it changes to 1 then back to 0
    All this takes place in like a second and a half so
    I do wanna also point out that the project file itself has a lot of files in it, all the different files I'm using take up 8.26 GB and I feel like that slows down Openshot a little

@Colorjet3
Copy link
Collaborator

Hello @theguywithstuffA That is alot of files and it will slow down many video editors. This also can have something to do with your computer specs. Video editors like games requires much horsepowers. With that said, OpenShot does not take advantage of hardware acceleration and at times suffers from performance issues.

  1. What are your computer specs (CPU, GPU/RAM, RAM, Hard disk type and how much free space do you have)?
  2. What type of files are you importing into OpenShot (image, video, audio?).
  3. What type of files are you working with (.mp4? .mov? .jpg? .mp3? etc.)?
  4. For video/audio and audio files, are these large files?
  5. The 8.26 GB you mention, is that the total size of the files you are importing into OpenShot or is that the size of the projectname.osp file? Need some clarity here.

@theguywithstuffA
Copy link
Author

  1. My computer specs are
    Processor 12th Gen Intel(R) Core(TM) i7-12700H 2.30 GHz
    Memory 15.73 GB
    Storage 460.04 GB/476.94 GB
    Video Card NVIDIA Geforce RTX 3060 Laptop GPU
    Intel(R) Iris(R) Xe Graphics
  2. Images, videos and audios
  3. mp4s, mp3s .pngs and .webps
  4. The videos tend to be around 100-300 MB with one file being 1 GB, everything else is smaller then 100 MB though
  5. The total size of the files imported into Openshot

@Colorjet3
Copy link
Collaborator

Thank you again for all the information @theguywithstuffA Your laptop is somewhat under powered for such a large project.

Here is what I would do to better manage your project:

  1. Close OpenShot if running.
  2. go to openshot.org/download/#daily and download the latest dev daily build available. I am suggesting this because there is new "Remove Gap" feature that will help you.
  3. Install this latest dev daily build and start OpenShot.
  4. Break your project into smaller segments. May be 4 segment.
    a. Open your project.
    b. Find a location on the timeline that is about 25% of the way and a logical place to delete all clips after that location.
    c. Select all the clips form the 25% point to right of that location and delete them.
    d. Select File | Save Project As... and name it projectname-01.osp.
    e. No Open the original project again. This time, select the first 25% of the clips and delete them.
    f. Right click on the blank gap and select Remove Gap. This will remove the gap and shift the rest of the clips to the left.
    g. now find a location on the first 25% of the clips again and delete everything to the right of it.
    h. Select Fie | Save Project As... and name it projectname-02.osp.
    I. You get the idea now so do this 2 more times saving the 3rd 25 % and the 4th 25%.
  5. Now you should have 5 *.osp files (the original project and projectname-01, 02, 03, & 04.osp files.
  6. Now work Projectname-01, 02, 03, & 04 separately and Export.
  7. Now start a new project and import the 4 exported files from step 5. Drag them onto a track snapped together.
  8. Now Export the entire project.

Hope this works for you.

@mrstev146
Copy link

This discussion about improving OpenShot's stability and features is incredibly valuable for video creators. OpenShot is a fantastic tool for those seeking open-source solutions, but as highlighted here, consistent updates and bug fixes are key to maintaining its usability for a wide audience.

For creators looking to enhance their video editing workflows further, it’s important to have additional tools that can complement software like OpenShot. While OpenShot provides excellent basic editing features, using other tools for advanced enhancement, effects, or quality improvements can significantly elevate your projects. For example, platforms like https://winkapkgeek.com/ offer intuitive video editing solutions that streamline the enhancement process and ensure high-quality outputs.

Combining the robust capabilities of OpenShot with tools like these creates a well-rounded workflow for both beginners and professionals. I appreciate the community’s effort to address these issues—it’s steps like these that keep open-source projects thriving.

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

3 participants