meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:multimedia:gstreamer [2016/03/25 14:43] niziak |
linux:multimedia:gstreamer [2016/03/29 12:46] (current) niziak linux:gstreamer renamed to linux:multimedia:gstreamer |
||
---|---|---|---|
Line 15: | Line 15: | ||
<code> | <code> | ||
gst-launch-1.0 filesrc location=Peter_Gunn_Theme.mp3 ! decodebin ! audioconvert ! audio/x-raw,format=S16LE ! alsasink | gst-launch-1.0 filesrc location=Peter_Gunn_Theme.mp3 ! decodebin ! audioconvert ! audio/x-raw,format=S16LE ! alsasink | ||
+ | </code> | ||
+ | |||
+ | Find default alsa sink capabilities | ||
+ | <code bash> | ||
+ | gst-launch -v alsasrc ! alsasink | ||
+ | Pad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\ | ||
+ | |||
+ | gst-launch -v alsasrc ! audio/x-raw-int, format=S16LE, layout=interleaved, rate=44100, channels=2 ! alsasink | ||
</code> | </code> | ||