ROM-6881 How to Play Video
From ESS-WIKI
Revision as of 02:45, 27 November 2023 by Xingxing.li (talk | contribs) (Created page with " '''Step 1:''' Get where U disk mount: <pre>mount | grep sda /dev/sda1 on /run/media/sda1 </pre> '''Step 2:''' List Video files to get video file name, eg: U disk("/run/me...")
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"