Video Processing

Compresses video files previously recorded.

class filers2.compression.CompressionManager(**kwargs)

Bases: EventDispatcher

apply_config_property(name, value)

(internal) used by the config system to set the sources.

fraction_done

By memory.

get_config_property(name)

(internal) used by the config system to get the list of config sources.

increment_in_kivy_thread(obj, prop, value=1)

Schedules kivy to increment the property by the specified value in the kivy thread.

Parameters
  • obj – The object with the property to increment

  • prop – The object property name to increment.

  • value – The value by which it will be incremented.

process_queue_in_kivy_thread(*largs)

Method that is called in the kivy thread when trigger_run_in_kivy is triggered. It reads messages from the thread.

setattr_in_kivy_thread(obj, prop, value)

Schedules kivy to set the property of the object to the specified value in the kivy thread.

Parameters
  • obj – The object with the property to be set.

  • prop – The object property name to set.

  • value – The value the property will be set to.

class filers2.compression.CompressionWidget(**kwargs)

Bases: BoxLayout

class filers2.compression.MediaItemView(**kwargs)

Bases: RecycleKVIDsDataViewBehavior, GridLayout

class filers2.compression.SourcePath(manager: CompressionManager, **kwargs)

Bases: EventDispatcher

set_source(source)

May only be called from Kivy thread.

Parameters

source – Source file/directory.

class filers2.compression.SourceWidget(source_obj=None, manager=None, **kwargs)

Bases: BoxLayout

set_source(paths)

Called by the GUI to set the filename.