当前位置:网站首页>Practical guide to GStreamer application development (I)

Practical guide to GStreamer application development (I)

2022-06-09 05:34:00 Geek. Fan

        GStreamer Is a very powerful and versatile framework , For creating streaming media applications .GStreamer Many of the advantages of the framework come from its modularity :GStreamer Can seamlessly integrate new plug-in modules . however , Because modularity and power consumption usually come at the cost of more complexity , So writing new applications isn't always easy .

         This article mainly explains GStreamer frame , So that you can develop applications based on it . The previous chapters will focus on the development of a simple audio player GStreamer Concept . Later chapters will cover media playback and other forms of media processing ( Capture , Editor, etc ) Related more advanced topics .

         This guide is an introduction from the perspective of application developers GStreamer Of . It describes how to use GStreamer Library and tool authoring GStreamer Applications .

        because GStreamer follow GObject Programming model , So we need to understand  GObject  and  glib  Basic knowledge of programming . especially :

  • G Object instantiation

  • GObject attribute (set/get)

  • Object conversion

  • GObject quote / Dereference

  • glib memory management

  • glib Signals and callbacks

  • glib Main circuit

         This guide is mainly divided into several parts . Each section deals with GStreamer Specific broad topics for application development . The sections of this guide are listed in the following order :

GStreamer Design principles and basis of

         Building applications covers GStreamer The basics of application programming . At the end of this section , You should be able to use it GStreamer Build your own audio player .

        stay Advanced GStreamer The concept of , We will switch to advanced subjects , send GStreamer Stand out from competitors . We will discuss applications that use dynamic parameters and interfaces - Pipeline interaction , We'll talk about threads and thread pipelines , Scheduling and clocks ( And synchronization ). Most of these topics are not just meant to introduce you to their API, But mainly for a deeper understanding of the use of GStreamer Solve application programming problems and understand their concepts .

         Next , stay  GStreamer In the higher-level interface of the application , We will introduce GStreamer A higher level of programming API. You don't need to know all the details in the previous section to understand this , But you need to know the basics GStreamer Concept . Among other things , We will discuss playbin and autopluggers.

         Last , In the appendix , You will find some information about GNOME,KDE,OS X or Windows Integrated random information , Some debugging help and improvements and simplifications GStreamer General tips for programming .

原网站

版权声明
本文为[Geek. Fan]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/160/202206090522316802.html