How to Play Video For RK Platform

From ESS-WIKI
Revision as of 03:00, 24 June 2022 by Yunjin.jiang (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Step 1:

Get where U disk mount:

mount | grep sda 
/dev/sda1 on /run/media/sda1

Step 2:

List Video files to get video file name, eg: U disk("/run/media/sda1" is what you get in step 1 ):

ls /run/media/sda1/*.mp4 -al
/run/media/sda1/YourVideoName.mp4 

Step 3:

Play Video("/run/media/sda1/YourVideoName.mp4" is what you get in step 2 ):

export DISPLAY=:0.0
gst-play-1.0 --flags=3 --videosink=xvimagesink "/run/media/sda1/YourVideoName.mp4"