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

Vertical video profiles are impossible to use

Open aalku opened this issue 10 months ago • 12 comments

Describa el problema There are some vertical profiles but they are impossible to use because controls are crazy. I think width and height are inverted in every function.

Pasos para reproducir el comportamiento:

  1. Open File->Choose Profile
  2. Select any "vertical" profile.
  3. Add a video clip to any track. It won't fill the entire screen.
  4. Try to make it fill the screen with rigth-click, Layout, whatever.
  5. None of them will scale the video to full screen. They all do crazy things.
  6. Try to scale it manually dragging the corners or sides.
  7. It's crazy too. Coordinate system seems wrong.

Comportamiento esperado I expected to have videos using the whole screen by default, or most of it if aspect ratio is incompatible. I expected dragging corners to work.

Detalles del sistema

  • OpenShot Version: 3.1.1-dev
  • libopenshot Version: 0.3.2
  • Platform: Windows-10-10.0.22621
  • Processor: AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD
  • Machine: AMD64
  • Python version: 3.8.9
  • Qt5 version: 5.15.2
  • PyQt5 version: 5.15.4
  • Qt Detected Languages: ['es-ES', 'en-US']
  • LANG Environment Variable:
  • LOCALE Environment Variable:
  • Compilación diaria: Todavía existe el problema verificado en la compilación diaria:http://github.com/OpenShot/openshot-qt/releases/download/OpenShot-v3.1.1-dev-daily-11909-a9e34a9b-8e9d7edc-x86_64.exe

Archivos de registro

  • openshot-qt.log (8 KB)
  • libopenshot.log: archivo demasiado pequeño o vacío (no fue cargado)

image

image

As you can see, in the second screenshot it seems clear that the result width matches the video heigh and viceversa. Vertical profiles are switching the coordinate axis or something.

aalku avatar Apr 13 '24 13:04 aalku

Hello @aalku. Typically, the Profile you choose within OpenShot, or any other video editor, should match the profile of your video file you are importing in to edit.

So, yeah, you are going to run into a few issues with blanks on the right and left side. Additionally, you may lose the left side and right side of you initial video.

The Layout function is not going to allow you to stretch the video to cover the blanks. What you can try is:

  1. Select your clip on the track.
  2. Make sure the Playhead (the red line with the blue handle) is aligned with the left edge of your clip.
  3. Right click on your clip and select Properties.
  4. From the Properties pages find the Scale attribute. It defaults to Best Fit.
  5. Right click on the value and select one of the other options (Crop, Stretch, or None).
  6. See if that helps.

So, you experience depends on matching profiles and/or what you are trying to achieve.

If you provide some details about your project, we can try and replicate the issue and come up with a solution:

  1. What is your goal? clearly define what you are trying to accomplish.
  2. What type of a file is your imported file (.mp4? .mov? etc?).
  3. What is the profile of your video file? You can right click on the file with your file manager, select Properties, then the detail map.
  4. What operating system/version are you running (Windows 10 Pro? Ubuntu 23.10? etc?)
  5. What version of OpenShot are you running (help | about OpenShot)?

Colorjet3 avatar Apr 14 '24 00:04 Colorjet3

Hi. I uninstalled the software. I don't plan to use it. I use Windows 11. I was using vertical .mp4 files and I understand how proportions work. It's not that. And I understand similar GUI like photoshop or whatever.

When you click and drag the little squares in the sides and corners or the video you can resize. Right? If you drag up the upper one you expect the video to resize upwards, right? That's not happening in vertical profiles, it expands to the left or something crazy like that. And the same happens in the other directions. The coordinate system is messed up completely, unusable.

Those screenshots were with vertical .mp4 files in a vertical project. Full screen, or almost full if the proportion is not exactly the same, should be easy to achive, but it's crazy impossible because mouse dragging does not work and autoresize doesn't either.

Thanks for your help.

aalku avatar Apr 16 '24 21:04 aalku

No worries @aalku. I am going to continue playing with this to see if I can reproduce the issue so that the lead developer can look into it. This is the first time I've hear of this issue here in GIT and in Reddit so I am not sure why you are having the issue.

If you change your mind and want to continue working on it I can make an effort to continue working with you.

Best of luck with your projects.

Colorjet3 avatar Apr 16 '24 21:04 Colorjet3

Hello @aalku. I have not been able to reproduce this so I am not sure where to go from here.

I am going to close this ticket.

Colorjet3 avatar May 27 '24 12:05 Colorjet3

I was able to reproduce this and it seems to be a problem with the meta data rotation and the video rotation not matching correctly. My workaround was to use ffmpeg to make a copy of the file which essentially applies the meta data rotation.

So to fix a file run ffmpeg -i input.mp4 -acodec copy output.mp4 and the file works in openshot.

I do believe this is an issue in openshot currently that needs to be fixed. It made me almost give up on using openshot.

Intrinsically-Sublime avatar Jun 16 '24 07:06 Intrinsically-Sublime

Hello @Intrinsically-Sublime Thank you for the FYI and hopefully this will help others as well to get around the issue.

If you can further elaborate on what you think OpenShot should be doing with the file during the Import process to fix this issue. Are you recommending that it runs it through a conversion process using ffmpeg? The more detail you provide the better. This way I can have the lead developer review this and decide what the next steps might be.

Colorjet3 avatar Jun 16 '24 12:06 Colorjet3

@Colorjet3 Sorry I should have elaborated or provided examples. And no I do not think you need to process the files with ffmpeg first. Openshot just needs to understand the files rotation (as you can see below github knows the correct rotation as well as VLC)

Here is a test file in its original form.

https://github.com/OpenShot/openshot-qt/assets/1432368/6afa221c-fa73-4acd-80fe-5edb3acd8085

Media info from Openshot Original_00 Original_01

Codec info from VLC Original_02

Here is the file after copying it with ffmpeg which seems to apply the rotation?

https://github.com/OpenShot/openshot-qt/assets/1432368/4b2d8c8f-e09c-4488-93e4-8234575d496a

Media info from Openshot Copy_00 Copy_01

Codec info from VLC Copy_02

Intrinsically-Sublime avatar Jun 16 '24 19:06 Intrinsically-Sublime

I guess I should add that I am running OpenShot-v3.1.1-x86_64.AppImage on Ubuntu 20.04

Intrinsically-Sublime avatar Jun 17 '24 01:06 Intrinsically-Sublime

Hello again. I used a video that was recorded vertical with my smartphone. I guess the problem is with some vertical videos where the image is stored horizontally but there is some metadata saying that should be rotated or something like that?

I know that happens with pictures but I didn't know it was the same for videos.

aalku avatar Jun 17 '24 09:06 aalku

Thank you @aalku for that information.

  1. Go to openshot.org/download/#daily and download the latest dev daily build AppImage. This latest dev daily build has many fixes and a few enhancements. Nothing specific to the issue you are reporting.
  2. Try changing the Scale attribute (right click on the clip on the track, select Properties, and then find the Scale attribute). The different settings might make it work for you.

Colorjet3 avatar Jun 17 '24 10:06 Colorjet3

@Colorjet3 @aalku Hi, I finally needed to edit something. Installed openshot on my Win11 today (20 june 2024). Happy with my first edits in landscape. Then I wanted to edit a vertical video 1080*1920 and even after selecting the right profile = FHD 1080-1920 29.97 fps, I had an issue as the video wasn't showing up into the entire box. Searched around how to solve and found this Github conversation. Just created an account. Made a video (in the cloud) to explain the issue @aalku has (I guess the same as me) (Don't worry, or you can, but this is a legit site to do screenrecodring in the cloud and i can add voiceover, comes in handy :) ) https://www.berrycast.com/conversations/aa3920e9-43a9-5488-a8ab-54e970e3348f

lonckelph avatar Jun 20 '24 22:06 lonckelph

I have the same issue. Both on the latest dowload appimage and on the version installed from software store.

openshot-qt --version
Loaded modules from installed directory: /usr/lib/python3/dist-packages/openshot_qt
OpenShot version 2.5.1
OpenShot-v3.2.0-x86_64.AppImage --version
3.2.0

No matter which profile I pick, the video is scaled when inserted. Scaling up and down is awkward and all but impossible. I presume there's an issue with the actual video and the profile somewhere. The scaling by dragging the handles is awkard and unintuitive, but may be unrelated to the video being inserted "Wrong".

I've attached a screencast with the Appimage, 3.2.0 version. Screencast from 07-07-24 16:18:35.webm

berkes avatar Jul 07 '24 14:07 berkes