Repository navigation
Commit 2ad2293
committed
fix(macos): pin the H.264 keyframe interval to 1 s and count dropped video frames
The GOP was left to VideoToolbox; it is now one second by frame count and by duration, like Windows. Frames the writer input was not ready for or refused were dropped silently; recording-stopped now carries droppedVideoFrames.1 parent 32857bb commit 2ad2293
4 files changed
Lines changed: 35 additions & 1 deletion
File tree
- electron/native/screencapturekit
- Sources
- OpenScreenCaptureCore
- OpenScreenScreenCaptureKitHelper
- Tests/OpenScreenCaptureCoreTests
- src/lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
155 | 158 | | |
156 | 159 | | |
157 | 160 | | |
| |||
454 | 457 | | |
455 | 458 | | |
456 | 459 | | |
| 460 | + | |
457 | 461 | | |
458 | 462 | | |
| 463 | + | |
| 464 | + | |
459 | 465 | | |
460 | 466 | | |
461 | 467 | | |
| |||
786 | 792 | | |
787 | 793 | | |
788 | 794 | | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
789 | 800 | | |
790 | 801 | | |
791 | 802 | | |
| |||
908 | 919 | | |
909 | 920 | | |
910 | 921 | | |
911 | | - | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
912 | 925 | | |
913 | 926 | | |
914 | 927 | | |
| |||
931 | 944 | | |
932 | 945 | | |
933 | 946 | | |
| 947 | + | |
934 | 948 | | |
935 | 949 | | |
936 | 950 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
153 | 164 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| |||
0 commit comments