Difference between revisions of "GStreamer"
Jump to navigation
Jump to search
(→Outils) |
|||
Line 9: | Line 9: | ||
==API== |
==API== |
||
* Langages |
* Langages |
||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==Installation== |
||
+ | ===Linux/Ubuntu=== |
||
+ | <pre> |
||
+ | # sudo apt-get install gstreamer0.10-tools gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-ffmpeg |
||
+ | |||
+ | # gst-inspect |
||
+ | </pre> |
||
+ | |||
==Outils== |
==Outils== |
||
Line 110: | Line 122: | ||
==Liens== |
==Liens== |
||
− | *http://gstreamer.freedesktop.org |
+ | * http://gstreamer.freedesktop.org |
+ | * http://blog.nicolargo.com/2009/01/introduction-a-gstreamer-le-framework-multimedia.html |
Revision as of 14:57, 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
Installation
Linux/Ubuntu
# sudo apt-get install gstreamer0.10-tools gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-ffmpeg # gst-inspect
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