Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Introduction to Gstreamer

224 views

Published on

A brief overview of the gstreamer multimedia framework. This talk will include examples of transcoding video as well as how a video on demand server could be created.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Introduction to Gstreamer

  1. 1. Intro To Gstreamer Rand Graham rmcore.com
  2. 2. Why Gstreamer? ◦ Media Application ◦ Access To Hardware ◦ Plugin ◦ Scriptable Command Line Tools rmcore.com
  3. 3. Gstreamer Concepts rmcore.com
  4. 4. Gstreamer Concepts rmcore.com
  5. 5. Gstreamer Hardware rmcore.com Nvidia Jetson TX2 Pascal GPU (256 Cuda Cores) 8 GB 128 bit LPDDR4 Retails for $569 Probably Installed Build Instructions
  6. 6. BEHOLD! Big Buck Bunny rmcore.com
  7. 7. Gstreamer Examples rmcore.com gst-discoverer-1.0 bbb_sunflower_2160p_60fps_normal.mp4 Topology: container: Quicktime audio: AC-3 (ATSC A/52) audio: MPEG-1 Layer 3 (MP3) video: H.264 (High Profile) Properties: Duration: 0:10:34.533333333 Tags: audio codec: MPEG-1 audio container format: ISO MP4/M4A video codec: H.264 / AVC
  8. 8. Gstreamer Examples rmcore.com gst-launch-1.0 -e filesrc location=bbb_sunflower_2160p_60fps_ normal.mp4 ! qtdemux ! h264parse ! mfxh264dec ! mfxvpp width=1280 height=720 ! mfxh264enc ! "video/x-h264, profile=high" ! matroskamux ! filesink location=bunny720.mkv Video Transcode
  9. 9. Gstreamer Examples rmcore.com gst-launch-1.0 -e filesrc location=bbb.mp4 ! Video and Audio Transcode qtdemux name=demux demux.audio_0 ! queue ! mpegaudioparse ! mpg123audiodec ! audioconvert ! avenc_aac ! mux. demux.video_0 ! ! queue ! h264parse ! mfxh264dec ! mfxvpp width=1280 height=720 ! mfxh264enc ! "video/x-h264, profile=high" ! mux. qtmux name=mux ! filesink location=bunny.mp4 sync=false
  10. 10. Gstreamer Examples rmcore.com gst-launch-1.0 -e filesrc location=/home/rdg/Videos/test/bbb_sunflower_2160p_60fps_nor mal.mp4 ! qtdemux name=demux demux.audio_0 ! queue ! mpegaudioparse ! mpg123audiodec ! audioconvert ! avenc_aac ! mux. demux.video_0 ! queue ! h264parse ! mfxh264dec ! mfxvpp width=1280 height=720 ! mfxh264enc ! "video/x-h264, profile=high" ! mux. mpegtsmux name=mux ! hlssink Streaming Video
  11. 11. Thanks! ANY QUESTIONS?
  12. 12. Connect with me on twitter: @rdg_rmcore Read more at my website: http://rmcore.com/
  13. 13. CREDITS Special thanks to all the people who made and released these awesome resources for free: ◦ Presentation template by SlidesCarnival ◦ SVG GStreamer Logo by Christophe Dumas ◦ Big Buck Bunny is (c) copyright 2008, Blender Foundation / www.bigbuckbunny.org

×