lossless-cut icon indicating copy to clipboard operation
lossless-cut copied to clipboard

Shortest and longest export settings not respected when exported

Open dopaminereuptake opened this issue 1 year ago • 1 comments

The fewer issues I have to read, the more new features I will have time to implement, so I ask that you please try these things first

Operating System

Windows 10

Steps to reproduce

When trying to combine a video file that already had an audio file previously removed with an external audio file, the "Shortest" setting does not appear to be functioning.

To reproduce the issue, simply open a new project using a video that had audio removed, and add an external audio file that is longer than the video file.

Expected behavior

The video file should be 1 minute, 32 seconds.

Actual behavior

Using the screenshot provided, the duration of the exported video should only be 1 minute, 32 seconds.

image

The exported file is still 3 minutes. The video file "freezes" at the final frame of the video, but the audio continues to play.

image

Share log from developer tools

No response

dopaminereuptake avatar Nov 21 '24 19:11 dopaminereuptake

I'm not able to reproduce this. I just tested this with a video h264 of 32 sec where I add an external AAC audio file of 22 sec as a track, and my output becomes 22 sec long if I select "shortest", and if I select "longest", then the output becomes 32 sec.

Under tools -> "last ffmpeg commands", do you see the argument -shortest as part of the command?

Is it possible to share 2 files that reproduce the problem?

mifi avatar Nov 28 '24 13:11 mifi