Skip to content

kaka-lin/YUVPlayer

Repository files navigation

YUV Player

A Player that shows YUV format image/video on GUI that builds by QML.

Known issues please see here.

Support Format

  • I420 (YU12, YUV420P)
  • YV12 (YUV420P)
  • YUY2 (YUYV, YUV422)
  • UYVY (Y422, YUV422)
  • YVYU (YUV422)
  • NV12 (YUV420SP)
  • NV21 (YUV420SP)
  • NV16 (YUV422SP)
  • NV61 (YUV422)

Usage

1. Enviromnent

Require:

  • Qt5.10+
  • CMake & Ninja

1-1. Run with Docker (Recommend)

You can use the docker image that we already build, as below

$ docker pull kakalin/qt:5.12.0_opencv_gstreamer

And then running with docker:

$ ./docker-run.sh

If you have some issues with using it, please check here or here, please check here

1-2. Run with local Qt

Please install Qt/QML on your local machine.

2. Build and Run

2-1. Build

qmake or CMake choose one for building.

# qmake
$ ./build.sh

# cmake
$ ./cmake-build.sh

2-2. Run

$ ./build/YUVPlayer

Others

Enable Qt Logging Info

export QT_LOGGING_RULES=[.type]=true|false

For example:

# Turn on all debug logging
$ export QT_LOGGING_LURES=*.debug=true

# Turn on all logging level of all multimedia module
$ export QT_LOGGING_LURES=qt.multimedia.*=true

Enable OpenCV Logging Info

# Enable OpenCV debug message
$ export OPENCV_LOG_LEVEL=DEBUG

# Enable OpenCV VideoIO debug message
$ export OPENCV_VIDEOIO_DEBUG=1

Issues

Acknowledgements

About

YUV player which build by Qt/QML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published