1#!/bin/bash 2 3export mpp_syslog_perror=1 4 5URI=/oem/SampleVideo_1280x720_5mb.mp4 6 7if [ "$1" != "" ] 8then 9 URI=$1 10 if [ "${URI:0:1}" != "/" ] 11 then 12 URI=$(readlink -f $URI) 13 fi 14fi 15 16if [ "${URI:0:1}" == "/" ] 17then 18 URI=file://$URI 19fi 20 21GST_DEBUG=fps*:7 gst-launch-1.0 uridecodebin uri=$URI ! fpsdisplaysink video-sink=fakesink text-overlay=false signal-fps-measurements=true sync=false 22