xref: /OK3568_Linux_fs/debian/overlay-debug/rockchip-test/video/test_dec-mpv.sh (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#!/bin/sh
2*4882a593Smuzhiyunexport DISPLAY=:0.0
3*4882a593Smuzhiyun#export GST_DEBUG=*:5
4*4882a593Smuzhiyun#export GST_DEBUG_FILE=/tmp/2.txt
5*4882a593Smuzhiyunexport mpp_syslog_perror=1
6*4882a593Smuzhiyun# xv vo
7*4882a593Smuzhiyunmpv --hwdec=rkmpp --vd-lavc-software-fallback=no --vo=xv /usr/local/test.mp4
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun# x11egl + drm overlay
10*4882a593Smuzhiyunmpv --hwdec=rkmpp --vo=opengl --gpu-hwdec-interop=drmprime-drm --gpu-context=x11egl /usr/local/test.mp4
11