You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note the start time of the segment: it is in the middle of two keyframes for both videos:
303+251
299+140
The difference between the 1st inner keyframe (3:24.004) and the start of the segment (3:20.367) is 3.64 seconds.
Import 1st (303+251) video into LosslessCut
Drag LLC file into LosslessCut, select "Load segments from the new file, but keep the current media"
Export with the following settings:
Export mode
Seperate files
Output container format
mp4 - MP4 (MPEG-4 Part 14) (detected)
Input has 2 tracks
Keeping 2 tracks
Output file name
cut-${FILENAME}.${EXT}
Overwrite existing files
True
Smart cut (experimental)
True
Enable MOV Faststart
True
Preserve all MP4/MOV metadata
True
"ffmpeg" experimental flag
False
Repeat 4-6 with the other (299+140) file
With a sharp ear, you might be able to hear a slight difference in the beginning from the (correct) OPUS 303+251 version and the (bad) AAC 299+140 version of the song, around the 3.50~3.60 mark.
If not, you can listen to the difference file here, or create it manually in Audacity:
Import both cut MP4s into Audacity (make sure ffmpeg is recognized by Audacity!) in this order: 299+140, 303+251
Notice the top 299+140 file is slightly "ahead" of the 303+251.
Line up the unaffected audio portions:
Right click on the label of the 2nd track and click "Swap Stereo Channels" (helps with alignment)
Pick some distinguishing segment, like where the audio suddenly spikes, Here, I use a spike occuring at 11.890~11.960
Drag the 2nd track and line up the spikes as best as possible. Keep aligning and zooming in until the tracks are aligned at the sample level: Use smaller and smaller distinguishing features, like this spike and just bring the 2nd track as close as possible. Also note that these won't exactly match up since the 1st (AAC) track runs at 44.1kHz and the 2nd (OPUS) runs at 48kHz.
Unswap the 2nd track's stereo tracks with the same menu
Select the entire 2nd track and Invert it (Effect/Special/Invert)
Listen to both tracks at the same time. The first "bump" should be almost entirely audible, then it quickly quiets down, afterwards only the resolution differences and (what I assume to be) the compression differences are audible.
In both the included difference file and (hopefully) any newly-created one, the only (real) audible bump should fade away sharply at the late 3.50-early 3:60 mark, which is "close enough" to the earlier difference of 3.64s between the segment start and next inner keyframe.
Expected behavior
Lossless Cut should not stretch the audio of the Smarty-ly cut segment on H264+AAC (299+140) MP4 files; it should result in (roughly) the same file as the correctly-manipulated VP9+OPUS (303+251) MP4 file (the audio is untouched, since it is never "keyframed" in the first place).****
Actual behavior
The audio for the H264+AAC (299+140) MP4 file is stretched around the boundary of the Smarty-ly cut segment. This does not happen for the VP9+OPUS MP4 (303+251) file.
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
Steps to reproduce
Note the start time of the segment: it is in the middle of two keyframes for both videos:
303+251
299+140
The difference between the 1st inner keyframe (3:24.004) and the start of the segment (3:20.367) is 3.64 seconds.
With a sharp ear, you might be able to hear a slight difference in the beginning from the (correct) OPUS 303+251 version and the (bad) AAC 299+140 version of the song, around the 3.50~3.60 mark.
If not, you can listen to the difference file here, or create it manually in Audacity:
Notice the top 299+140 file is slightly "ahead" of the 303+251.
Line up the unaffected audio portions:
Right click on the label of the 2nd track and click "Swap Stereo Channels" (helps with alignment)
Pick some distinguishing segment, like where the audio suddenly spikes, Here, I use a spike occuring at 11.890~11.960
Drag the 2nd track and line up the spikes as best as possible. Keep aligning and zooming in until the tracks are aligned at the sample level: Use smaller and smaller distinguishing features, like this spike and just bring the 2nd track as close as possible. Also note that these won't exactly match up since the 1st (AAC) track runs at 44.1kHz and the 2nd (OPUS) runs at 48kHz.
Unswap the 2nd track's stereo tracks with the same menu
Select the entire 2nd track and Invert it (Effect/Special/Invert)
Listen to both tracks at the same time. The first "bump" should be almost entirely audible, then it quickly quiets down, afterwards only the resolution differences and (what I assume to be) the compression differences are audible.
In both the included difference file and (hopefully) any newly-created one, the only (real) audible bump should fade away sharply at the late 3.50-early 3:60 mark, which is "close enough" to the earlier difference of 3.64s between the segment start and next inner keyframe.
Expected behavior
Lossless Cut should not stretch the audio of the Smarty-ly cut segment on H264+AAC (299+140) MP4 files; it should result in (roughly) the same file as the correctly-manipulated VP9+OPUS (303+251) MP4 file (the audio is untouched, since it is never "keyframed" in the first place).****
Actual behavior
The audio for the H264+AAC (299+140) MP4 file is stretched around the boundary of the Smarty-ly cut segment. This does not happen for the VP9+OPUS MP4 (303+251) file.
Provide an error report
No error occurred.
Share the file
Appropriate files have been linked or pasted above.
Share log from developer tools
Exported log from dev console: -1719011931642.log
The text was updated successfully, but these errors were encountered: