+ Reply to Thread
Results 31 to 32 of 32
-
You should NOT just blindly trust what a marketing promo has to say. They clearly have an agenda to sell their own product, and they clearly are glossing over details of the truth to emphasize the stated benefit of their product over alternatives.
What they DON'T say, and what I will explain here are these rules (which apply to ALL tools, because it applies to video in general):
1. Video can be stored as a sequence of all independent whole pictures (keframes, or I-frames), or it can be stored as a sequence of GOPs (groups of pictures), which are comprised of independent whole pictures and delta pictures aka frames recorded only as changes made to pictures (compared to reference independent whole pictures). With modern GOP structures, those delta frames can either be mono-directional Predicted frames, or Bi-directional frames (which use a combo of I frames and P and possibly other B frames).
2. Any time there is change to the integrity of a frame, it needs to be re-assessed and that new assessment needs to be re-encoded.
That's why processing requires re-encoding, because it always changes the integrity of individual pixels within a frame.
3. Editing merely changes the order of the frames in the sequence, so doesn't necessarily change pixels...except when operating on GOPs. Since all those delta frames must refer to the keyframes/I-frames to compute their differences, the structure of a GOP must remain intact. This is why editing must choose how granular it can edit depending on the structure.
4. Apps that are more intelligently designed can realize it might not be necessary to have to re-encode sections that aren't referenced in an edit, and so they can narrow the re-encoding to just the affected area(s). This gives rise to varying levels of "smartness" in editing apps (I have written about this before):
A. Level 0 - apps are so dumb, they will re-encode EVERYTHING, regardless of whether processing was done or not, or editing was on keyframes or not.
B. Level 1a - apps will re-encode when processing or when cutting within GOPs, but with do a stream copy of the whole thing if all the edits are on keyframes.
C. Level 1b - apps will only edit, and only cut on keyframes, so no re-encoding is necessary, but editing timing fineness/functionality is reduced.
D. Level 2 - apps, known as Smart-rendering apps, will *with certain supported codecs and codec settings*, re-encode only when processing, or only when needing to re-assess & re-encode an affected edited GOP (when not on keyframes), and will do a stream copy of the other sections of the file.
E. Level 3 -apps, will analyze each frame and each GOP, and only re-encode the GOP or frame that is affected, whether processing or editing, and if edits are not on a keyframe, will determine whether intermediate delta frames are truly affected within a GOP, and if they aren't they also are allowed to pass through via stream copy.
Ffmpeg can act as a 1a or 1b type
Tmpeg acts as a type 2. As can some other smart-rendering apps.
Other than in specialty professional codec tools for broadcast & authoring (which are all $$$), there are no apps which use type 3, just because it is so complex to do that analysis (especially with open Gops and with h265-type expanded referencing).
The caveat with smart-rendering and streamcopy of course is that you must keep the same codec & codec properties as the source. This usually is not an issue since that is what most are going for, but you have already said you want to end up with APNG.
ScottLast edited by Cornucopia; 27th Dec 2023 at 01:59.
Similar Threads
-
Visually Lossless Frame-by-Frame Cutting
By Jay123210599 in forum Newbie / General discussionsReplies: 24Last Post: 13th Oct 2024, 11:32 -
Set Number of Frames
By Jay123210599 in forum Newbie / General discussionsReplies: 1Last Post: 15th Nov 2023, 10:29 -
lossless 4.2.0 video to lossless 4.2.2 - any issues?
By spicediver10191 in forum Video ConversionReplies: 21Last Post: 10th Jun 2023, 01:00 -
Quick sanity check: Lossless to lossless encoding HuffYUV to UTVideo
By nicholasserra in forum Video ConversionReplies: 2Last Post: 20th Aug 2020, 11:41 -
FFMPEG - hevc_nvenc & h264_nvenc lossless presets not truly lossless?
By AnomalyDetected in forum Video ConversionReplies: 5Last Post: 27th Oct 2019, 02:24