Gstreamer 插件编写【二】高级特性
来源:互联网 发布:java获取每个月第一天 编辑:程序博客网 时间:2024/05/22 14:00
一、Request and Sometimes pads:
二、Different scheduling modes:(Push mode and pull mode)
三、Pads driving the pipeline:
四、Providing random access:
五、Caps negotiation:
Implementing a CAPS query function:
六、Memory allocation(GstBuffer):
七、Typefind:
八、Event:
All Events Together
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/section-events-definitions.html九、tagging(Metadata and Streaminfo):
Tags are pieces of information stored in a stream that are not the content itself, but they rather describe the content. Most media container formats support tagging in one way or another. Ogg uses VorbisComment for this, MP3 uses ID3, AVI and WAV use RIFF's INFO list chunk, etc. GStreamer provides a general way for elements to read tags from the stream and expose this to the user. The tags (at least the metadata) will be part of the stream inside the pipeline. The consequence of this is that transcoding of files from one format to another will automatically preserve tags, as long as the input and output format elements both support tagging.
Tags are separated in two categories in GStreamer, even though applications won't notice anything of this. The first are called metadata, the second are called streaminfo. Metadata are tags that describe the non-technical parts of stream content. They can be changed without needing to re-encode the stream completely. Examples are “author”,“title” or “album”. The container format might still need to be re-written for the tags to fit in, though. Streaminfo, on the other hand, are tags that describe the stream contents technically. To change them, the stream needs to be re-encoded. Examples are “codec” or “bitrate”. Note that some container formats (like ID3) store various streaminfo tags as metadata in the file container, which means that they can be changed so that they don't match the content in the file any more. Still, they are called metadata because technically, they can be changed without re-encoding the whole stream, even though that makes them invalid. Files with such metadata tags will have the same tag twice: once as metadata, once as streaminfo.
There is no special name for tag reading elements in GStreamer. There are specialised elements (e.g. id3demux) that do nothing besides tag reading, but any GStreamer element may extract tags while processing data, and most decoders, demuxers and parsers do.
A tag writer is called TagSetter
. An element supporting both can be used in a tag editor for quick tag changing (note: in-place tag editing is still poorly supported at the time of writing and usually requires tag extraction/stripping and remuxing of the stream with new tags).
- Gstreamer 插件编写【二】高级特性
- gstreamer 插件编写【一】基础知识
- 怎么编写并注册Gstreamer插件
- JAVA高级特性(二)
- JAVA高级特性(二)
- gstreamer插件
- 怎么编写并注册Gstreamer插件(一)
- logback高级特性使用(二)
- logback高级特性使用(二)
- JS高级特性(二)
- logback高级特性使用(二)
- (二)python高级特性
- logback高级特性使用(二)
- Gstreamer插件教程2.1—编写一个插件(Writing a Plugin):构建样板(Constructing the Boilerplate)
- Gstreamer插件教程2.2—编写一个插件(Writing a Plugin):详解pads(Specifying the pads)
- Gstreamer插件教程2.3—编写一个插件(Writing a Plugin):chain函数(The chain function)
- Gstreamer插件教程2.4—编写一个插件(Writing a Plugin):event函数(The event function)
- Gstreamer插件教程2.5—编写一个插件(Writing a Plugin):query函数(The query function)
- STL中vector、list、deque和map的区别
- 带通配符的数
- 【nyist】Personal Contest.2比赛总结
- ubuntu12.04 telnet配置
- Android中Context详解 ---- 你所不知道的Context
- Gstreamer 插件编写【二】高级特性
- 解决Clock skew detected.
- TCP扫描和UDP扫描以及它们的区别
- Java Thread 总结
- 程序员练级之路
- 数据挖掘常用的方法(分类,回归、聚类、关联规则)
- 学习Android之第二个小程序(startActivityForResult与onActivityResult)
- 【nyist】Personal Contest.2 (第二次比赛)
- 黑马程序员_正则表达式