OK, I've got an mpeg video (recorded on a DVR) from which I need to edit out the ad breaks.
Unfortunately, some of the points that I need to make the cuts at are between Keyframes.
So my plan is to do a 'first pass' re-encding of the complete video to create a version with (many) more Keyframes,
then edit (and re-encode) the copy to produce the final version.
Obviously I'd rather avoid too much compression loss in these two conversion passes
so I need a format for the first pass that - as well as creating new Keyframes - will preserve the original video quality.
I don't mind if this first pass takes all night to run and creates a humongous output file, because it's only temporary.
I've searched this forum for the subject of high quality re-encoding, but all of the posts are concerned with best quality for a reasonable file size.
So can anyone suggest an AVIdemux Video Output format which will maximise Keyframes and preserver quality?
If it helps, here are the stats of the original file:
Video Total Duration: 02:09:57.120
Codec 4CC: MPEG
Image Size: 544 x 576 Aspect Ratio: Unknown (32:17)
Frame Rate: 25.000 fps Average Bitrate: 1362 kbps
Pixel format: YUV 4:2:0, 8-bit Color range: Limited (MPEG)
Color primaries: BT.709 Transfer characteristics: BT.709
Color space: BT.709
Audio (1 active track) Total Duration: 02:09:55.656
Codec: MP2 Channels: Stereo
Bitrate: 16000 Bps / 128 kbps Frequency: 48000 Hz
+ Reply to Thread
Results 1 to 5 of 5
-
-
If you don't want to deal with lossless, you can use the x264 mezzanine configuration (crf8, all keyframes).
Once you are done with the edit, you should be able to apply it to the original file:
- Save the project file
- edit the source file name
- then open the project. -
You might as well do it in 1 pass since you're re-encoding anyways - you can cut anywhere since you're not stream copying. ie There is no benefit for an intermediate step - only potential loss of quality and definite loss of time
Cutting on keyframe boundaries is only necessary for stream copy in editors that do not smart render the format -
If there are only a few cuts to be made, I would agree there is no point dealing with an intermediate file. Do the cuts on the frame you want then reencode.
Similar Threads
-
Which format is better as intermediate? YUV420 full range or YUV422 10-bit?
By rgr in forum EditingReplies: 12Last Post: 13th Oct 2022, 18:58 -
best lossless codecs for high quality audio/video?
By Anonymous543 in forum Newbie / General discussionsReplies: 47Last Post: 1st Jun 2022, 08:51 -
I want to make such fantastic high quality Deep Fake video
By Truthler in forum Video ConversionReplies: 12Last Post: 3rd Nov 2021, 15:36 -
Low quality videos encoded in H.265 (NVEnc) even with High Quality and CQ=1
By bookagood in forum Newbie / General discussionsReplies: 13Last Post: 18th Aug 2021, 11:18 -
Corrupted output video from FFMPEG at high quality
By 31feesh in forum Newbie / General discussionsReplies: 6Last Post: 30th Jan 2021, 23:23