Gstreamer
From Attie's Wiki
(Difference between revisions)
(Created page with "Command line utilities: {| | gst-inspect [''plugin''] || either lists all avaliable plugins, or gives details about the specified plugin |- | gst-launch <''pipeline''> || runs...") |
m |
||
Line 13: | Line 13: | ||
Your system will probably only come with the '''base''' package, possibly the '''good''' as well. | Your system will probably only come with the '''base''' package, possibly the '''good''' as well. | ||
+ | |||
+ | ==Play WMA== | ||
+ | <source lang="bash"> | ||
+ | gst-launch filesrc location=./in.wma ! asfdemux ! ffdec_wmav2 ! alsasink | ||
+ | </source> | ||
+ | |||
+ | ===Benchmark=== | ||
+ | <source lang="bash"> | ||
+ | time gst-launch filesrc location=./in.wma ! asfdemux ! ffdec_wmav2 ! fakesink | ||
+ | </source> |
Revision as of 15:33, 24 July 2012
Command line utilities:
gst-inspect [plugin] | either lists all avaliable plugins, or gives details about the specified plugin |
gst-launch <pipeline> | runs a GStreamer pipeline |
The plugins fall into 4 categories:
- gst-plugins-base
- gst-plugins-good
- gst-plugins-bad
- gst-plugins-ugly
Your system will probably only come with the base package, possibly the good as well.
Play WMA
gst-launch filesrc location=./in.wma ! asfdemux ! ffdec_wmav2 ! alsasink
Benchmark
time gst-launch filesrc location=./in.wma ! asfdemux ! ffdec_wmav2 ! fakesink