Convert video frame from RGB to YU12
北大深圳研究生院 数字媒体技术 作业1
opencv>=3.1.0
-
Install Anaconda https://docs.anaconda.com/anaconda/install/
-
Install Opencv by conda
conda install -c menpo opencv
- make
- ./rgb2yuv video_file
The yuv format is set as YV12. If you want others, it is to hack the code.
@2017 PKU HRI Lab, Xia Li