IMX8/Multimedia/Gstreamer Support/Pipeline Examples: Difference between revisions

From RidgeRun Developer Wiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{IMX8/Head}}</noinclude>
<noinclude>{{IMX8/Head}}</noinclude>


NO PIPELINE HAS BEEN TESTED!
IMPORTANT NOTES:
 
*NO PIPELINE HAS BEEN TESTED.
*NO SUPPORT FOR PLUGINS USING HW ACCELERATORS YET.


=Pipelines=
=Pipelines=

Revision as of 14:47, 17 October 2018



  Index  





IMPORTANT NOTES:

  • NO PIPELINE HAS BEEN TESTED.
  • NO SUPPORT FOR PLUGINS USING HW ACCELERATORS YET.

Pipelines

Audio playback

gst-launch-1.0 -v filesrc location=thesong.mp3 ! decodebin ! audioconvert ! pulsesink

H.264 encoding

gst-launch-1.0 -v -e videotestsrc is-live=true ! queue ! x264enc ! mp4mux ! filesink location=test.avi
gst-launch-1.0 -v -e v4l2src device=/dev/video0 ! queue ! x264enc ! mp4mux ! filesink location=test.mp4
gst-launch-1.0 -v -e v4l2src device=/dev/video0 ! queue ! x264enc ! matroskamux ! filesink location=test.mkv

H.264 decoding

gst-launch-1.0 -v filesrc location=<PATH-TO_FILE>  ! qtdemux  ! h264parse ! queue ! avdec_h264 ! xvimagesink async=false enable-last-sample=false qos=false sync=false

H.265 decoding

gst-launch-1.0 -v filesrc location=<PATH-TO_FILE>  ! qtdemux  ! h265parse ! queue ! avdec_h265 ! xvimagesink async=false enable-last-sample=false qos=false sync=false

VP8 decoding

gst-launch-1.0 -v filesrc location=<PATH-TO_FILE>  ! matroskademux  ! queue ! vp8dec ! xvimagesink async=false enable-last-sample=false qos=false sync=false

VP9 decoding

gst-launch-1.0 -v filesrc location=<PATH-TO_FILE>  ! matroskademux  ! queue ! vp9dec ! xvimagesink async=false enable-last-sample=false qos=false sync=false

Display video stream

gst-launch-1.0 -v videotestsrc is-live=true ! xvimagesink async=false enable-last-sample=false qos=false sync=false
gst-launch-1.0 -v v4l2src device=/dev/video0 ! xvimagesink async=false enable-last-sample=false qos=false sync=false


Previous: Installing Gstreamer Index Next: Gstreamer Support



Useful links

Gstreamer-IMX