0Ky / screenclip

An experimental video snipping tool for Windows, designed as a system tray application.
MIT License
18 stars 5 forks source link

[TODO] Force frontend (UI) even dimensions for video capture region selection. #4

Open 0Ky opened 11 months ago

0Ky commented 11 months ago

When selecting the Video clip menu to capture a video, a fully transparent region capture window will appear, when selecting an area it should snap only to even dimensions. This should be done only in the frontend (regionselect.js) by making changes to the Cropper.js library, use the appropriate event method.

Note: When encoding video using the H.264 codec, the commonly used pixel format is the YUV420 and this requires that both the height and width resolutions be divisible by 2.