Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.17 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.17 KB

videox-player

Refering the use of OpenCV in the original repo, I greatly refactored the code, make it:

  • More clear in the software structure
  • Easier to add new file format

Motivation

Damn!

I just want to view YUV file on Mac.

I googled, and the options on Mac are:

  • The PYUV: raw video sequence player: I tried but it frozen after playing only one frame.
  • MPV:complicated, tut YUV in not supported.
  • YUView: cross-platform and wonderful analytic toolset. But crash after I tried the prebuilt binary.

I suppose it’s simple by opencv+python.

Let’s make it by own hand.

Features

Currently only supports the following formats:

  • encoded video file in containers supported by opencv, such as mp4.
  • YUV420

Please let me know if you want supporting other formats.

videos-player is controlled by keyboard:

key action
p Play
f Freeze(pause)
n Next frame
N Last frame
s Screenshot

Reference