katzenjoghurt
26th October 2023, 23:16
Hello,
So sometimes I‘m not completely happy with my x265 encoding and want to only replace certain segments of its stream in the mkv container.
But I fail to achieve this without getting artifacts after merging the new part in. While the transition to the START of the inserted segment seems to be always fine, I‘ll see artifacts for a few frames right where the inserted segment ENDS.
So, if we have
Start----A----B----End
and I replace A to B by a new encoding, point A will be fine but I‘ll see artifacts at B.
That means, if I want to replace a segment, I can always only keep the first part of the video, up to start of the segment I want to replace….and reencode from there up to the end of the ENTIRE video. At least if I‘m not willing to accept artifact glitches.
If I would encode 3 parts (Start to A, A to B, B to End) and merge them together its also fine.
The problem seems to occur when cutting and adding a new clip IN FRONT OF a cut-off point.
A known issue?
Can I do something about it?
Tools:
StaxRip v2.29.0
x265 (Patman‘s build contained in StaxRip 2.29.0)
Current MKVToolnix
Current VLC
So sometimes I‘m not completely happy with my x265 encoding and want to only replace certain segments of its stream in the mkv container.
But I fail to achieve this without getting artifacts after merging the new part in. While the transition to the START of the inserted segment seems to be always fine, I‘ll see artifacts for a few frames right where the inserted segment ENDS.
So, if we have
Start----A----B----End
and I replace A to B by a new encoding, point A will be fine but I‘ll see artifacts at B.
That means, if I want to replace a segment, I can always only keep the first part of the video, up to start of the segment I want to replace….and reencode from there up to the end of the ENTIRE video. At least if I‘m not willing to accept artifact glitches.
If I would encode 3 parts (Start to A, A to B, B to End) and merge them together its also fine.
The problem seems to occur when cutting and adding a new clip IN FRONT OF a cut-off point.
A known issue?
Can I do something about it?
Tools:
StaxRip v2.29.0
x265 (Patman‘s build contained in StaxRip 2.29.0)
Current MKVToolnix
Current VLC