Open Checkmarks opened 1 year ago
did you try these steps? https://github.com/mifi/lossless-cut/blob/master/issues.md#the-exported-video-has-a-problem does it make any difference?
did you try these steps? https://github.com/mifi/lossless-cut/blob/master/issues.md#the-exported-video-has-a-problem does it make any difference?
Yes, absolutely I tried them and it does not make a difference. It's a really interesting issue, and it's one that I can work around by making sure that the start segment is divisible by 8 seconds but it's still so bizarre and inconvenient.
making sure that the start segment is divisible by 8 seconds
do you mean "start" time of every segment is exactly divisible by 8 seconds? e.g.:
does your video by any chance have keyframes exactly every 8 seconds?
making sure that the start segment is divisible by 8 seconds
do you mean "start" time of every segment is exactly divisible by 8 seconds? e.g.:
- segment1 start = 8
- segment2 start = 16
- segment3 start = 24
- etc?
does your video by any chance have keyframes exactly every 8 seconds?
The video has a keyframe interval of exactly 2 seconds. What I mean by the "start segment" is the pointer for "Start current segment at current time". This is the feature in LosslessCut application that allows you to select the start time and end time of the clip that you want to capture. When I seek to the next or previous keyframe it jumps exactly 2 seconds in either direction so that is working good. The issue is that when I export with the start segment not divisible by 8 seconds, the audio waveforms do not show up in Davinci Resolve.
So for example, these are the reproduction steps:
I hope this clears things up. Please let me know if you need more info or have additional questions!
That's very interesting. I'm wondering why the number 8. (other than being the most desirable in many asian cultures 😄). TBH I have really no idea what's causing this. Probably only a select few developers at Davinci's dev team knows. But it's an interesting observation anyways to correlate with future similar problems.
So you believe that this is a Davinci issue and not a lossless cut issue? I'm thinking that it's a lossless cut issue that is corrupting the waveforms.
I think it's probably a combination, since the audio is still playable. It could be that losslesscut/ffmpeg produces a file with the audio coded in a particular way that triggers a bug/condition in Davinci that causes waveforms to disappear although the audio is still clearly playable.
I have a lot of issues to go through, so in order to make it easier for me to help you, I ask that you please try these things first
Operating System
Windows 11
Steps to reproduce
When trimming a clip in LosslessCut and then importing that clip into Davinci Resolve, sometimes the Audio Waveforms do not show up from the start of the clip in Davinci Resolve. The audio can be heard regardless, but the waveforms do not show up for some reason.
In my troubleshooting it seems that the Audio Waveforms only show up fully in Davinci Resolve when the start segment of the current time is divisible by 8 seconds. The end segment does not affect results only the start segment. If the start segment is not divisible by 8 seconds, then in Davinci Resolve, it will not show the audio waveforms until the 20 second mark in the video. This means that if the clip duration is 20 seconds or less and the start segment is not divisible by 8 then there will be no audio waveforms shown at all in Davinci Resolve.
Expected behavior
Audio Waveforms should show up in Davinci Resolve regardless of the start segment timestamp.
Actual behavior
Audio Waveforms only show up fully in Davinci Resolve if the start segment timestamp is divisible by 8 seconds. If the start segment timestamp is not divisible by 8 seconds, then the Audio Waveforms only show up in Davinci Resolve after the 20 second mark.
Share log
Start Segment Divisible by 8 seconds:
Start Segment Not Divisible by 8 seconds: