gstreamer1.0 python documentation
Serhiy Stetskovych
patriotyk at gmail.com
Wed Nov 13 04:31:13 PST 2013
Thank you, the http://lazka.github.io/pgi-docs/api/Gst_1.0/ is exactly what
I need.
2013/11/12 Dylan Broome <dylan at blackmoth.com.au>
> I know what you mean. One must remember that Pygi is a computer generated
> binding and not created by us mortals. Its worth reading up on GObject
> Introspection.
>
> I found this that has been (somewhat) useful :
> http://lazka.github.io/pgi-docs/api/Gst_1.0/
>
> Using the python interpreter and the dir command you can look at the
> objects directly then match the calls up to the formal Gst 1.0
> Documentation. Ie :
>
> $> python
> Python 2.7.3 (default, Sep 26 2013, 16:38:10)
> [GCC 4.7.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from gi.repository import Gst
> >>> Gst.init(None)
> []
> >>> buf = Gst.Buffer()
> >>> print(dir(buf))
> ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__',
> '__format__', '__ge__', '__getattribute__', '__gt__', '__gtype__',
> '__hash__', '__info__', '__init__', '__le__', '__lt__', '__module__',
> '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__',
> '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__',
> 'add_meta', 'append', 'append_memory', 'append_region', 'copy',
> 'copy_into', 'copy_region', 'dts', 'duration', 'extract', 'fill',
> 'find_memory', 'foreach_meta', 'get_all_memory', 'get_memory',
> 'get_memory_range', 'get_meta', 'get_size', 'get_sizes', 'get_sizes_range',
> 'insert_memory', 'iterate_meta', 'map', 'map_range', 'memcmp', 'memset',
> 'mini_object', 'n_memory', 'new', 'new_allocate', 'new_wrapped',
> 'new_wrapped_full', 'offset', 'offset_end', 'peek_memory', 'pool',
> 'prepend_memory', 'pts', 'remove_all_memory', 'remove_memory',
> 'remove_memory_range', 'remove_meta', 'replace_all_memory',
> 'replace_memory', 'replace_memory_range', 'resize', 'resize_range',
> 'set_size', 'unmap']
> >>> mem = Gst.Memory()
> >>> print(dir(mem))
> ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__',
> '__format__', '__ge__', '__getattribute__', '__gt__', '__gtype__',
> '__hash__', '__info__', '__init__', '__le__', '__lt__', '__module__',
> '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__',
> '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__',
> 'align', 'allocator', 'copy', 'get_sizes', 'is_span', 'make_mapped', 'map',
> 'maxsize', 'mini_object', 'new_wrapped', 'offset', 'parent', 'resize',
> 'share', 'size', 'unmap']
>
>
> On Tue, Nov 12, 2013 at 9:40 AM, Charlie X. Liu <charlie at sensoray.com>wrote:
>
>> Just by googling, you would be able to find:
>> https://wiki.ubuntu.com/Novacut/GStreamer1.0 ,
>>
>> from: https://github.com/rubenrua/GstreamerCodeSnippets
>>
>>
>>
>>
>>
>> *From:* gstreamer-devel-bounces at lists.freedesktop.org [mailto:
>> gstreamer-devel-bounces at lists.freedesktop.org] *On Behalf Of *Serhiy
>> Stetskovych
>> *Sent:* Monday, November 11, 2013 2:43 PM
>> *To:* Discussion of the development of and with GStreamer
>> *Subject:* gstreamer1.0 python documentation
>>
>>
>>
>> Hello, could me tell someone where I can found the gstreamer1.0 python
>> documentation, why it is so difficult to found in the web? Anywhere is only
>> about porting.
>>
>> Thank you so much.
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131113/753f07ca/attachment.html>
More information about the gstreamer-devel
mailing list