This is an old revision of the document!
Tinypy has been extended with some avidemux bindings. These bindings are available through some new classes tinypy:avidemux
Assuming you created an instance with adm=Avidemux()
Load the video given as parameter
Append the video given as parameter
Return the width of loaded videos
Return the height of loaded videos
Return average frame par second multiplied by 1000 So a 25 fps video will return 25000
Return the video codec as a string, for example 'DX50'
Purge previously loaded editing
adm.markerA and adm.markerB Set/get the marker position. They are in microseconds
Here is the typical beginning of an avidemux tinyPy project
adm = Avidemux() adm.loadVideo("/work/samples/avi/ac3_5channel.avi") adm.clearSegments() adm.addSegment(0, 0, 33400000) adm.markerA = 0 adm.markerB = 33400000