User Tools

Site Tools


tinypy:avidemux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tinypy:avidemux [2013/04/27 10:08]
fx [Editing]
tinypy:avidemux [2013/04/27 10:10]
fx [Example]
Line 80: Line 80:
  For example :  For example :
    ​adm.addSegment(0,​ 0, 191668)    ​adm.addSegment(0,​ 0, 191668)
- Means add the chunk from video starting from the beginning with a duration of 191 seconds (3mn11)+ Means add the chunk from video 0(the first video) ​starting from the beginning with a duration of 191 seconds (3mn11)
  If you dont call clearSegments or addSegments,​ by default, when adding a video a segment of the whole video  If you dont call clearSegments or addSegments,​ by default, when adding a video a segment of the whole video
  is automatically appended.  is automatically appended.
Line 141: Line 141:
  
  
 +===== Headline =====
 ==== Example ==== ==== Example ====
  
Line 152: Line 153:
    ​adm.markerB = 33400000    ​adm.markerB = 33400000
  
- +==== Example 2  ==== 
 +  adm = Avidemux() 
 +  adm.loadVideo("/​work/​samples/​avi/​2mn.avi"​) 
 +  adm.clearSegments() 
 +  adm.addSegment(0,​ 0, 191524668) 
 +  adm.markerA = 0 
 +  adm.markerB = 191524668 
 +  adm.videoCodec("​ffMpeg4",​ "​params=2PASSBITRATE=500"​) # truncated line 
 +  adm.audioClearTracks() 
 +  adm.audioAddTrack(0) 
 +  adm.audioCodec(0,​ "​Aften"​);​ 
 +  adm.audioSetDrc(0,​ 0) 
 +  adm.audioSetShift(0,​ 0,0) 
 +  adm.setContainer("​MKV",​ "​forceDisplayWidth=False",​ "​displayWidth=1280"​) 
 +  ​
tinypy/avidemux.txt · Last modified: 2013/11/12 08:07 by mean