I have been using the Lossless Cut software, and recently I developed an issue. After making cuts to the video the very beginning seems to delay or freeze in the playing startup! you hear the audio but the video is frozen there for a second or two, then it starts playing normally. Anyway of avoiding this issue?
+ Reply to Thread
Results 1 to 9 of 9
-
-
Thank You! ...I'm afraid I am somewhat of a beginner to Editing, How do I know when I am cutting on a Keyframe? I researched this after reading your reply, and it sounds very complicated!
Last edited by FL-Artist; 25th Dec 2019 at 04:29.
-
Is this the software you are using?
https://www.videohelp.com/software/LosslessCut
I've never used it but the github page mentions KC vs. NC.
https://github.com/mifi/lossless-cut -
In Lossless Cut, KC puts -ss as an input option in ffmpeg.
But since it is not possible to seek exactly in most formats, ffmpeg will seek to the closest seek point(=keyframe) before position, and puts negative PTS on frames between the keyframe and the cut position in the case of stream copy cut.
This does not cause problems in most players (except mpv), because they skip negative PTS frames and start playing at the cut point. But the nominal running time and the actual running time may be different depending on players.
NC puts -ss as an output option in ffmpeg.
In this case, ffmpeg decodes but discards input until the timestamps reach the cut position.
But since GOP structure is preserved in stream copy cut, this leaves a problem of non-playable frames between the cut point and the first keyframe in the output clip.
Some players just show the first keyframe in place of these non-playable frames. (Maybe this is the issue you're experiencing now.)
Others (ex. mpv) skip them directly to the first keyframe.
Please refer to the ffmpeg manual about -ss option.Last edited by JKyle; 25th Dec 2019 at 11:32.
Similar Threads
-
Incorrect video cut timing on MKV video with lossless quality
By may5224 in forum EditingReplies: 8Last Post: 19th Nov 2019, 15:02 -
FFMPEG - hevc_nvenc & h264_nvenc lossless presets not truly lossless?
By AnomalyDetected in forum Video ConversionReplies: 5Last Post: 27th Oct 2019, 02:24 -
Problem with Lossless Cut
By FL-Artist in forum EditingReplies: 1Last Post: 3rd Feb 2019, 09:40 -
Lossless h.264 editing Cut files larger then source
By Delibit in forum EditingReplies: 4Last Post: 30th May 2016, 01:45 -
Premiere export to lossless is not lossless
By Dogway in forum EditingReplies: 66Last Post: 30th Dec 2014, 13:48