Quote from: radorn on November 19, 2021, 03:55:04 PMAlso, there seems to be some trouble with the language tag for audio tracks whe opening files. One cannot expect the picture right before the A marker to be kept when in copy mode and the stream contains B-frames. In case of MPEG-2, all early B-frames at cuts are dropped as they are never used for reference, yes. Quote from: radorn on November 19, 2021, 03:55:04 PMand lost frames when it is MPEG2 By dropping early B-frames not used for reference we reduce the number of damaged frames to the minimum possible. Those early B-frames we cannot drop because later frames use them for reference won't be fully decodable as a rule. Quote from: radorn on November 19, 2021, 03:55:04 PMBut the the resulting file frequently has momentary video corruption at the cut point in the case of AVC streamsÄepending on stream structure, this is unavoidable in open GOP type H.264 and HEVC streams. Just placing A and B markers of a deletion on keyframes does the best possible job. Quote from: radorn on November 19, 2021, 03:55:04 PMand an I-frame at the beginning of the GOP behind it placing the A marker of a deletion at a frame directly or closely following a non-IDR keyframe) is outright harmful as in case of open GOP H.264 streams, such a keyframe may be not decodable standalone. Quote from: radorn on November 19, 2021, 03:55:04 PMI'm careful to leave an I-frame or P-frame at the tail of the GOP in front of the cutĬurrently, this is not necessary and leaving a non-IDR keyframe as the last picture before cut (i.e.
0 Comments
Leave a Reply. |