- GStreamer : Bin -
A bin is a container for a collection of element. A pipeline is a special subtype of a bin that allows execution of all of its contained child element. Since bins are sub-classes of elements themselves, you can mostly control a bin as if it were an element thereby abstracting away a lot of complexity for your application. You can, for example, change state on all elements in a bin by changing the state of that bin itself. Bins also forward bus messages from their contained children(such as error message, tag messages or EOS messages).
A pipeline is a top-level bin. As you set it to PAUSE or PLAYING state, data flow will start and media processing will take place. One started pipeline will run in a separate thread until you stop them or the end of the data is reached.
'Media Framework > GStreamer' 카테고리의 다른 글
Chapter 6. The Event Function(GStreamer 이벤트 함수) (0) | 2015.01.25 |
---|---|
GStreamer : Pad (0) | 2015.01.18 |
GStreamer : Element (0) | 2015.01.13 |
GStreamer : Element metadata (0) | 2015.01.11 |
GStreamer Introduction (0) | 2015.01.10 |