This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
tinypy:avidemux [2013/04/27 10:10] fx [Example] |
tinypy:avidemux [2013/05/02 16:39] fx [Loading and saving file] |
||
---|---|---|---|
Line 12: | Line 12: | ||
Append the video given as parameter | Append the video given as parameter | ||
- | __adm.saveVideo('fileName')__ | + | __adm.save('fileName')__ |
Save the video with given name | Save the video with given name | ||
Line 96: | Line 96: | ||
include ALL parameters. | include ALL parameters. | ||
+ | __adm.videoCodecSetProfile(codecName, profileName)__ | ||
+ | |||
+ | Load the profile "profileName" for the given codec. That also selects the codec. | ||
+ | adm.videoCodecSetProfile("x264","PSP") | ||
+ | | ||
__adm.changeVideoParam:videoCodecChangeParam(codecName, params)__ | __adm.changeVideoParam:videoCodecChangeParam(codecName, params)__ | ||
Change only one or several parameters for codecName. For example, you set all parameters using setVideoCodec | Change only one or several parameters for codecName. For example, you set all parameters using setVideoCodec | ||
and afterward only change bitrate | and afterward only change bitrate | ||
+ | |||
+ | |||
==== Video Filters ==== | ==== Video Filters ==== | ||
Line 141: | Line 148: | ||
- | ===== Headline ===== | + | |
==== Example ==== | ==== Example ==== | ||
Line 167: | Line 174: | ||
adm.audioSetShift(0, 0,0) | adm.audioSetShift(0, 0,0) | ||
adm.setContainer("MKV", "forceDisplayWidth=False", "displayWidth=1280") | adm.setContainer("MKV", "forceDisplayWidth=False", "displayWidth=1280") | ||
- | | + | |
+ | ==== Traps and pitfall ==== | ||
+ | |||
+ | Take care that a single line must not exceed ~ 256 chars. So instead of doing | ||
+ | function("blah blah foobar") | ||
+ | do | ||
+ | function("blah blah" | ||
+ | "foobar") | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | [[using:tinypy|Go back to tinypy]] |