Skip to content

Useful info : Gstreamer Play

Novasom Industries edited this page Oct 30, 2016 · 6 revisions

#Gstreamer Useful commands Hello,
The following commands are suitable for use with gstreamer on the NOVAsom boards.

##Play video with gst-play

cd /tmp

wget http://192.168.10.120/Interstellar.mp4

gst-play-1.0 Interstellar.mp4

##Play video with gst-launch ( better and suspendable ) cd /tmp

wget http://192.168.10.120/Interstellar.mp4

gst-play-1.0 Interstellar.mp4

gst-launch-1.0 playbin uri=file:///tmp/Interstellar.mp4

##Video test, the classic way with gstreamer gst-launch-1.0 videotestsrc pattern=0 ! imxipuvideosink

##Video test, use all the plugins for i.MX6 gst-launch-1.0 imxipucompositor name=c background-color=0x223344 sink_0::xpos=0 sink_0::ypos=90 sink_0::width=160 sink_0::height=110 sink_0::zorder=55 sink_0::fill_color=0xff00ff00 sink_0::alpha=0.39 sink_0::rotation=0 sink_1::xpos=0 sink_1::ypos=20 sink_1::width=620 sink_1::height=380 sink_1::fill_color=0x44441133 ! queue2 ! "video/x-raw, width=800, height=600" ! imxipuvideosink videotestsrc pattern=0 ! "video/x-raw, framerate=30/1" ! c.sink_0 videotestsrc pattern=18 ! "video/x-raw, framerate=30/1" ! c.sink_1

Clone this wiki locally