GStreamer: Difference between revisions

From air
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:


==Outils==
==Outils==
===gst-launch===
* éditeur graphique ?
assemblage des pipelines en ligne de commande
* gst-launch




Exemple


TODO commentaire
<pre>
# gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux ! theoradec ! xvimagesink
</pre>


TODO commentaire
<pre>
# gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux ! theoradec ! xvimagesink
</pre>


TODO commentaire
<pre>
# gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux ! theoradec ! xvimagesink
</pre>


TODO commentaire
<pre>
# gst-inspect filesrc

# gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux ! theoradec ! xvimagesink
</pre>


TODO commentaire
<pre>
# gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux ! theoradec ! xvimagesink
</pre>


TODO commentaire
<pre>
# gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux ! theoradec ! xvimagesink
</pre>


TODO commentaire
<pre>
# gst-launch filesrc location=../videos/myvideo_480p_stereo.ogg ! oggdemux ! theoradec ! videoscale ! video/x-raw-yuv,height=240 ! xvimagesink
</pre>



<pre>
gst-launch v4l2src ! videoscale ! video/x-raw-yuv,height=240 ! xvimagesink
</pre>


<pre>
gst-launch v4l2src ! videoscale ! video/x-raw-yuv,height=240 ! ffmpegcolorspace ! quarktv ! ffmpegcolorspace ! xvimagesink
</pre>


<pre>
gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux name=demux
demux. ! queue ! vorbisdec ! audioconvert ! audioresample ! osssink
demux. ! queue ! theoradec ! xvimagesink
</pre>


<pre>
gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux name=demux
demux. ! queue ! vorbisdec ! audioconvert ! audioresample ! autoaudiosink
demux. ! queue ! theoradec ! autovideosink
</pre>


Gst-launch en réseau (multicast)
TODO commentaire
Pour le serveur
<pre>
# gst-launch ???
</pre>

Pour le récepteur
<pre>
# gst-launch ???
</pre>


===gst-impect===
===GstEditor===
éditeur graphique

[[Image:GstEditor.png]]


==Démonstration avec gst-launch==
==Démonstration avec gst-launch==

Revision as of 12:56, 9 October 2011

GStreamer is a library for constructing graphs of media-handling components. The applications it supports range from simple Ogg/Vorbis playback, audio/video streaming to complex audio (mixing) and video (non-linear editing) processing


Un premier coup d'oeil avec l'exemple "HelloWorld" de Gtreamer http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-helloworld.html#section-hello-img

Fonctionnalité

API

  • Langages

Outils

gst-launch

assemblage des pipelines en ligne de commande


Exemple


TODO commentaire

# gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux ! theoradec ! xvimagesink


TODO commentaire

# gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux ! theoradec ! xvimagesink


TODO commentaire

# gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux ! theoradec ! xvimagesink


TODO commentaire

# gst-inspect filesrc

# gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux ! theoradec ! xvimagesink


TODO commentaire

# gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux ! theoradec ! xvimagesink


TODO commentaire

# gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux ! theoradec ! xvimagesink


TODO commentaire

# gst-launch filesrc location=../videos/myvideo_480p_stereo.ogg ! oggdemux ! theoradec ! videoscale ! video/x-raw-yuv,height=240 ! xvimagesink


gst-launch v4l2src ! videoscale ! video/x-raw-yuv,height=240 ! xvimagesink


gst-launch v4l2src ! videoscale ! video/x-raw-yuv,height=240 ! ffmpegcolorspace ! quarktv ! ffmpegcolorspace ! xvimagesink


gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux name=demux
    demux. ! queue ! vorbisdec ! audioconvert ! audioresample ! osssink
    demux. ! queue ! theoradec ! xvimagesink


gst-launch filesrc location=./videos/myvideo_480p_stereo.ogg ! oggdemux name=demux
    demux. ! queue ! vorbisdec ! audioconvert ! audioresample ! autoaudiosink
    demux. ! queue ! theoradec ! autovideosink


Gst-launch en réseau (multicast) TODO commentaire Pour le serveur

# gst-launch ???

Pour le récepteur

# gst-launch ???


gst-impect

GstEditor

éditeur graphique

File:GstEditor.png

Démonstration avec gst-launch

Liens