View Full Version : Cutting on non-IDR frames
Elegant
26th September 2015, 02:53
Hi, I currently have a few videos I want to trim. Naturally, I hit a point where I can't cut without damaging the rest of the current GOP. Would a "decent" solution be to remove that GOP and then re-encode that section using the same settings but trimming the frames off?
Although I have the source material, some effort was already placed on these encodes and I would rather not figure out exactly which AviSynth filters I applied to this before encoding again.
Just looking to get a few opinions. Thanks!
ajp_anton
27th September 2015, 21:43
That's one way of doing it, yes. Or you could encode the trimmed GOP from the source and join with the rest, if you can figure out at least some of your Avisynth filters and get better quality than re-encoding encoded frames.
F J Walter
28th September 2015, 01:57
Would a "decent" solution be to remove that GOP and then re-encode that section using the same settings but trimming the frames off?
It will work, but the short segments will be of lower visual quality and will likely be a different bitrate, because they are an extra generation of encoding away from the original so the encoder will have to try to re-encode additional artifacts.
Try it and see how bad the changes are - maybe you won't notice, maybe you can live with them, or maybe there will be too much degradation for you.
Another thing you could try is boost the quality/bitrate for those short segments to try and compensate.
This is basically how many "lossless" editing software works when it has to cut in the middle of a GOP.
Elegant
28th September 2015, 15:29
That's one way of doing it, yes. Or you could encode the trimmed GOP from the source and join with the rest, if you can figure out at least some of your Avisynth filters and get better quality than re-encoding encoded frames.
Now there's something I hadn't thought of. I suppose I could just run mcdaa3 (looks to be close enough) on the bluray source for the missing segments and append them all together. Same settings, so I shouldn't need different ids for each section.
Thanks!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.