Package flumotion :: Package component :: Package consumers :: Package icystreamer :: Module icymux :: Class IcyMux
[hide private]

Class IcyMux

source code

object --+            
         |            
??.GObject --+        
             |        
    gst.Object --+    
                 |    
       gst.Element --+
                     |
                    IcyMux

I mux the metadata with title changes into audio stream.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_reset(self) source code
 
_broadcast_title_handler(self, object) source code
 
_tag_event_cb(self, pad, event) source code
 
_recountMetaint(self) source code
 
do_get_property(self, property) source code
 
do_set_property(self, property, value) source code
 
do_change_state(self, transition) source code
 
chainfunc(self, pad, buffer) source code
 
_getTitleForMetadata(self) source code
 
outputMetadata(self) source code
 
_setCapsAndFlags(self, buf) source code

Inherited from gst.Element: __iter__, __repr__, __str__, abort_state, add_pad, change_state, continue_state, create_all_pads, do_get_index, do_provide_clock, do_query, do_release_pad, do_request_new_pad, do_send_event, do_set_bus, do_set_clock, do_set_index, flags, found_tags, found_tags_for_pad, get_base_time, get_bus, get_clock, get_compatible_pad, get_compatible_pad_template, get_factory, get_index, get_pad, get_pad_template, get_pad_template_list, get_query_types, get_request_pad, get_start_time, get_state, get_static_pad, implements_interface, is_indexable, is_locked_state, link, link_filtered, link_pads, link_pads_filtered, link_pads_full, lost_state, lost_state_full, no_more_pads, pads, post_message, provide_clock, provides_clock, query, query_convert, query_duration, query_position, release_request_pad, remove_pad, request_pad, requires_clock, seek, seek_simple, send_event, set_base_time, set_bus, set_clock, set_index, set_locked_state, set_start_time, set_state, sink_pads, src_pads, sync_state_with_parent, unlink, unlink_pads

Inherited from gst.Object: debug, default_error, error, fixme, get_name, get_name_prefix, get_parent, get_path_string, has_ancestor, info, log, memdump, set_flag, set_name, set_name_prefix, set_parent, set_property, unparent, unset_flag, warning

Inherited from unreachable.GObject: __copy__, __deepcopy__, __delattr__, __eq__, __gdoc__, __ge__, __gobject_init__, __gt__, __hash__, __le__, __lt__, __ne__, __new__, __setattr__, chain, connect, connect_after, connect_object, connect_object_after, disconnect, disconnect_by_func, emit, emit_stop_by_name, freeze_notify, get_data, get_properties, get_property, handler_block, handler_block_by_func, handler_disconnect, handler_is_connected, handler_unblock, handler_unblock_by_func, notify, props, set_data, set_properties, stop_emission, thaw_notify, weak_ref

Inherited from object: __format__, __getattribute__, __reduce__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables [hide private]
  _DEFAULT_FRAMESIZE = 256
  _DEFAULT_NUMFRAMES = 16
  _MAX_INT = 1073741824
  __gproperties__ = {'frame-size':(int, 'size of the frame in by...
  __gsignals__ = {"broadcast-title":(gobject.SIGNAL_RUN_LAST, go...
  __gstdetails__ = 'IcyMux', 'Codec/Muxer', 'Icy format muxer', ...
  _sinkpadtemplate = gst.PadTemplate("sink", gst.PAD_SINK, gst.P...
  _srcpadtemplate = gst.PadTemplate("src", gst.PAD_SRC, gst.PAD_...
  __gtype__ = <GType flumotion+component+consumers+icystreamer+i...
Properties [hide private]

Inherited from gst.Object: __gstrefcount__

Inherited from unreachable.GObject: __grefcount__

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

do_change_state(self, transition)

source code 
Overrides: gst.Element.do_change_state

Class Variable Details [hide private]

__gproperties__

Value:
{'frame-size':(int, 'size of the frame in bytes', 'The size in bytes o\
f the frame', 1, _MAX_INT, _DEFAULT_FRAMESIZE, gobject.PARAM_READWRITE\
), 'num-frames':(int, 'number of frames per data block', 'The number o\
f frames per data block', 1, _MAX_INT, _DEFAULT_NUMFRAMES, gobject.PAR\
AM_READWRITE), 'icy-metaint':(int, 'number of bytes per data block', '\
The length of data block', 1, _MAX_INT, _DEFAULT_FRAMESIZE* _DEFAULT_N\
UMFRAMES, gobject.PARAM_READABLE), 'iradio-title':(str, 'title of curr\
ently playing song', 'Title of currently playing song', None, gobject.\
...

__gsignals__

Value:
{"broadcast-title":(gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, [])}

__gstdetails__

Value:
'IcyMux', 'Codec/Muxer', 'Icy format muxer', 'Flumotion Dev Team'

_sinkpadtemplate

Value:
gst.PadTemplate("sink", gst.PAD_SINK, gst.PAD_ALWAYS, gst.caps_from_st\
ring("audio/mpeg;application/ogg"))

_srcpadtemplate

Value:
gst.PadTemplate("src", gst.PAD_SRC, gst.PAD_ALWAYS, gst.caps_from_stri\
ng("application/x-icy, "+ "metadata-interval= (int)[0, MAX]"))

__gtype__

Value:
<GType flumotion+component+consumers+icystreamer+icymux+IcyMux (304402\
120)>