mifi / lossless-cut

The swiss army knife of lossless video/audio editing
GNU General Public License v2.0
24.01k stars 1.19k forks source link

Timecode issue. #1990

Open Doug183 opened 1 month ago

Doug183 commented 1 month ago

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

MacOS 12

Steps to reproduce

I posted once before, but here are pictures to illustrate the issue.

0) I am using the latest download from GitHub - Lossless Cut 3.59. However this problem can be recreated with older versions. 1) Main problem. Lossless cut/FFMPEG use timing calculation in that thousands of second format. 2) Videos use frame rates. 3) There is a Time Code drift in Lossless Cut that is not accounted for. This problem can be seen in other simpler video viewers as well (Quicktime X, VLC, FFMPEG, LossLess Cut.). 3a) Adobe Premiere, AVID, and FCP do not have this issue.

Here is 49+ minute video compressed in both H264 and ProResLT with a counter burned in.
H264 version ProResLT

I created comparative screen shots using Lossless Cut and Adobe Premiere at the following time intervals: 6 seconds, 10 Minutes, and then in 5 minute increments and then two different endings.

0006_LosslessCut_v1 0006_Premiere_v1 1000_LosslessCut_v1 1000_Premiere_v1 1500_LosslessCut_v1 1500_Premiere_v1 2000_LosslessCut_v1 2000_Premiere_v1 2500_LosslessCut_v1 2500_Premiere_v1 3000_LosslessCut_v1 3000_Premiere_v1 3500_LosslessCut_v1 3500_Premiere_v1 4000_LosslessCut_v1 4000_Premiere_v1 4500_LosslessCut_v1 4500_Premiere_v1 490621_LosslessCut_v1 490621_Premiere_v1 490921_LosslessCut_v1 490921_Premiere_v1

Expected behavior

Time code should be spot on.

Actual behavior

Time Code drifts.

Share log from developer tools

No response

Doug183 commented 1 month ago

Solution. I have had code written for a custom Python script that uses FFMPEG to replace footage which handles the thousand timing issue to frames accurately. I am happy to donate it to the project if someone tells me how. Lossless cut is great app and I think is super valuable to the community.

Here is link to my first post and the fix which in the replies.

Original Post