Your SlideShare is downloading. ×
Fisl13 gstreamer
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Fisl13 gstreamer

546

Published on

Palestra sobre GStreamer apresentada no FISL13

Palestra sobre GStreamer apresentada no FISL13

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
546
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
43
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Thiago Santos
  • 2. Framework
  • 3. GStreamer● Framework – Processamento de dados – “Pipes and filters”● LGPL● 10 anos – Stable → 0.10 – 0.11/1.0
  • 4. GStreamer● Plugins● Baseado em grafos
  • 5. Grafos
  • 6. Grafos
  • 7. Grafos
  • 8. GrafosFile Source
  • 9. GrafosFile Source Matroska Demux
  • 10. GrafosFile Source Matroska Demux MP3 Dec H264 Dec
  • 11. GrafosFile Source Matroska Demux MP3 Dec H264 Dec Audio Sink Video Sink
  • 12. GrafosCamera Source H264 Encoder MP4 Muxer File Sink
  • 13. Plugins
  • 14. Plugins● Pacote de GstElements – Rede – Codec – Utils – Camera – Arquivos – Filtros – Containers
  • 15. Plugins● -base● -good● -ugly● -bad● -ffmpeg
  • 16. Plugins
  • 17. Outro Grafo
  • 18. Framework● GStreamer core API – Criar nós – Ligá-los – Play!● Plugins, plugins, plugins● Bindings
  • 19. GstElement
  • 20. GstPad● Links elements● Negotiate formats – GstCaps
  • 21. GstPipeline● GstElement● Container (GstBin)
  • 22. GstBus● Comunicação● Mensagens
  • 23. Overview AplicaçãoPipeline Bus
  • 24. Códigoplayer = gst.Pipeline("player")source = gst.element_factory_make("filesrc")decoder = gst.element_factory_make("mad")conv = gst.element_factory_make("audioconvert")sink = gst.element_factory_make("alsasink")player.add(source, decoder, conv, sink)gst.element_link_many(source, decoder, conv, sink)
  • 25. GstBin● Container de GstElements● Camada de abstração
  • 26. Decodebin Audio Decodebin Video
  • 27. PlaybinPlaybin
  • 28. Encodebin Audio EncodebinVideo Perfil
  • 29. Camerabin Filtros Zoom ImagemVideo Resolução Formatos Snapshot
  • 30. ToolsFerramentas
  • 31. gst-inspect● Listar elementos● Listar propriedades dos elementos
  • 32. gst-launch● Prototipação rápida● Cria pipelines● Consolegst-launch elemento1 propriedade1=valor !elemento2 ! elemento 3
  • 33. Gst-SDK● Linux● Windows● OS/X
  • 34. Comunidade● IRC - #gstreamer @ freenode (thiagoss)● ML – commits / devel / bugs● Web - gstreamer.net / gstreamer.com● GStreamer Conference● Planet - gstreamer.freedesktop.org/planet/
  • 35. Referências● Grafos: wikipedia● Flickr: – http://www.flickr.com/photos/nocallerid_man/3638360458 – http://www.flickr.com/photos/evaekeblad/454220744/ – http://www.flickr.com/photos/freefoto/5982549938/ – http://www.flickr.com/photos/duckypipeliner/4281438859 – http://www.flickr.com/photos/m4tik/4687192723 – http://www.flickr.com/photos/matthewfch/835831228 – http://www.flickr.com/photos/florianric/7263382550
  • 36. Obrigado!● Perguntas?● thiagoss -> #gstreamer @ freenode● thiago.sousa.santos@collabora.com● thiagossantos@gmail.com

×