Re:FFMPEG from Zero to Hero
by chenxiaolong on Saturday March 06, 2021 @10:14PM
(#26372797)
All of the proprietary tools I know of for doing frame-perfect cuts (VideoRedo, TMPGEnc, SolveigMM) work by determining (guessing?) the original encoding parameters and then only reencoding the first and last GOP. The rest of the video is just remuxed.
[ Parent
| on HN ]
Re:FFMPEG from Zero to Hero
by alternatetwo on Saturday March 06, 2021 @10:52PM
(#26372984)
x264 encoded streams have the original encoding parameters included by default.
Re:FFMPEG from Zero to Hero
by fireattack on Saturday March 06, 2021 @10:59PM
(#26373018)
Encoding settings metatag can be striped.
Regardless, I don't think these software are "matching" anything. TMPGEnc for example has settings to choose what quality you want for these re-encoded frames.
The parameters being matched would be those that maintain decoder config. Usually, bitrate/quantizer values don't come into that.
Re:FFMPEG from Zero to Hero
by fireattack on Sunday March 07, 2021 @05:30AM
(#26374748)
Oh yeah, the level would (should) definitely be kept.