mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* fix(capture-core): hold the final frame of B-frame recordings When B-frames put the final presented frame before another sample in decode order, lengthening the last decoded sample held the wrong picture, and FFmpeg still ended the video at the final frame. The hold now appends one non-reference H.264 P picture whose every macroblock is P_Skip against the final frame (CAVLC, through a new PPS in avcC, deblocking off), so it decodes to an exact copy. Its data goes in a new mdat box; every existing sample, and every other track, stays byte-identical. Streams the edit cannot prove correct are refused unchanged: interlaced video, slice groups, POC types 1 and 2, long-term references and MMCO other than unmarking, frame-number gaps, HEVC, multiple sample descriptions, and unknown sample-table boxes. * fix(capture-core): hold video whose edit list runs past its media SCRecordingOutput can write a video-only source whose edit list, track and movie durations claim more than the media holds. The hold took the track duration as the video's end, judged the video already long enough, and changed nothing, while FFmpeg still stopped at the media's end. The video's end is now where the media's presentation ends, mapped through the final edit. The held edit is set to end at the target instead of being lengthened, so it no longer overruns, and the movie duration becomes the target or the longest other track. The AVAssetWriter reordered fixture now tries a few lengths, since VideoToolbox does not always end on a reordered frame. |
||
| .. | ||
| capture | ||
| capture-core | ||
| router | ||