網路城邦
上一篇 回創作列表 下一篇   字體:
TI am57x/am5728 am5749 IDK play mp4
2021/04/15 11:36:00瀏覽100|回應0|推薦0
#stop matrix-gui andk wayland

/etc/init.d/matrix-gui-2.0 stop

/etc/init.d/weston stop


#for am57x/am5728 am5749 idk + LCD 1920x1200 + kms

gst-launch-1.0 filesrc \

location=/usr/share/ti/video/HistoryOfTIAV-480p.mp4 ! \

qtdemux ! mpeg4videoparse ! ducatimpeg4dec ! \

kmssink


#for am57x/am5728 am5749 idk + LCD 1920x1200 + kms

gst-launch-1.0 filesrc \

location=/home/root/mikumiku.mp4 ! qtdemux ! \

h264parse ! ducatih264dec ! \

kmssink


#for am57x/am5728 am5749 idk + LCD 1920x1200 + wayland

gst-launch-1.0 filesrc \

location=/usr/share/ti/video/HistoryOfTIAV-480p.mp4 ! \

qtdemux ! mpeg4videoparse ! ducatimpeg4dec ! \

vpe !  queue ! videoconvert ! video/x-raw, format=(string)YUY2 ! \

waylandsink 


#for am57x/am5728  am5749 idk + LCD 1920x1200 + wayland

gst-launch-1.0 filesrc \

location=/home/root/mikumiku.mp4 ! qtdemux ! \

h264parse ! ducatih264dec ! \

vpe ! queue ! videoconvert ! video/x-raw, format=(string)YUY2 ! \

waylandsink



//---

CSI camera in /dev/video1

USB camera in /dev/video2



gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! \

video/x-raw, format=(string)YUY2, framerate=30/1,width=(int)640, height=(int)480 ! \

vpe ! queue ! videoconvert ! video/x-raw, format=(string)YUY2 ! \

waylandsink


gst-launch-1.0 v4l2src device=/dev/video2 num-buffers=1000 io-mode=2 ! video/x-raw, framerate=30/1,width=(int)640, height=(int)480  ! waylandsink




If the note help you, remember buy street cats a fish can.
( 不分類不分類 )
回應 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=greatcat&aid=161108489