GStreamer 101
-
Upload
yuvipanda -
Category
Technology
-
view
3.272 -
download
3
description
Transcript of GStreamer 101
GStreamer 101
Yuvi Pandahttp://yuvi.in
Who the talk is for
GStreamer newbies
What is GStreamer?
Pipeline based Multimedia Framework
Why use GStreamer?
How do you hide a mountain?
SEP
Language Bindings
C, C++, Python, C#, etc
Codecs
Containers
Elements
Source and Sink Elements
Filters, Bins and Ghost Pads
pipeline, decoders
Multiple Pads
Core Plugins
Base Plugins
Good` Plugins
Bad Plugins
Ugly Plugins
Where do elements live?
Tools
gst-inspect-0.10
gst-launch-0.10
Debian Package: gstreamer-tools
Examples
Using gst-launch-0.10
Using Python
Play MP3
gst-launch-0.10 filesrc location="$FILEPATH" !
mad ! audioconvert ! audioresample ! autoaudiosink
MP3 to OGG
gst-launch-0.10 filesrc location="$MP3FILE" !
mad ! audioconvert ! vorbisenc ! oggmux !
filesink location="$OGGFILE”
Anything to OGG
gst-launch-0.10 filesrc location="$MP3FILE" !
decodebin2 ! audioconvert ! vorbisenc ! oggmux !
filesink location="$OGGFILE”
Play Theora Video
gst-launch-0.10 filesrc location="$THEORASRC" !
oggdemux name=d d. ! queue ! theoradec ! ffmpegcolorspace !
ximagesink d. ! queue ! vorbisdec ! audioconvert ! audioresample !
autoaudiosink
Python examples
Thank you!