sign-language-processing / pose

Library for viewing, augmenting, and handling .pose files

Home Page:https://pose-format.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't save yuv420p videos when dimensions are odd

AmitMY opened this issue · comments

Current solution:

pose.header.dimensions.width += 1 if pose.header.dimensions.width % 2 == 1 else 0
pose.header.dimensions.height += 1 if pose.header.dimensions.height % 2 == 1 else 0

Should just remove yuv420p if the frame is odd