This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tinypy:tinypybatch2 [2016/06/20 08:08] mean |
tinypy:tinypybatch2 [2016/06/20 08:15] mean |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | == Batch Processing 2 == | + | === Batch Processing 2 === |
The first step is to process one file manually and save the corresponding tinypy project. | The first step is to process one file manually and save the corresponding tinypy project. | ||
Line 37: | Line 37: | ||
"ratecontrol.lookahead=40") | "ratecontrol.lookahead=40") | ||
adm.addVideoFilter("swscale", "width=1280", "height=960", "algo=2", "sourceAR=1", "targetAR=1") | adm.addVideoFilter("swscale", "width=1280", "height=960", "algo=2", "sourceAR=1", "targetAR=1") | ||
+ | adm.audioCodec(0, "Faac"); | ||
adm.setContainer("MP4", "muxerType=0", "useAlternateMp3Tag=True") | adm.setContainer("MP4", "muxerType=0", "useAlternateMp3Tag=True") | ||
| | ||
Line 63: | Line 64: | ||
"ratecontrol.lookahead=40") | "ratecontrol.lookahead=40") | ||
adm.addVideoFilter("swscale", "width=1280", "height=960", "algo=2", "sourceAR=1", "targetAR=1") | adm.addVideoFilter("swscale", "width=1280", "height=960", "algo=2", "sourceAR=1", "targetAR=1") | ||
+ | adm.audioCodec(0, "Faac"); | ||
adm.setContainer("MP4", "muxerType=0", "useAlternateMp3Tag=True") | adm.setContainer("MP4", "muxerType=0", "useAlternateMp3Tag=True") | ||
# manual insert end | # manual insert end | ||
Line 80: | Line 82: | ||
convert(i) | convert(i) | ||
print("Done") | print("Done") | ||
+ | |||
+ | A couple of pitfals : | ||
+ | * The script is invalid, the x264 configuration line has been truncated. You must put a complete and valid line. | ||
+ | * Dont forget that a line cannot exceed 200 chars, split it and add "\" at the end of each split line. | ||
| |