Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
personal:portfolio:vcat-script [2019/01/02 14:12] antonello |
personal:portfolio:vcat-script [2019/01/02 14:52] (current) antonello Allowed decimal of seconds |
||
---|---|---|---|
Line 47: | Line 47: | ||
clips=[] | clips=[] | ||
for iFile in iFiles: | for iFile in iFiles: | ||
- | subclip = re.search(r" | + | subclip = re.search(r" |
if subclip is None: | if subclip is None: | ||
clips.append(VideoFileClip(iFile)) | clips.append(VideoFileClip(iFile)) | ||
Line 55: | Line 55: | ||
printerror(" | printerror(" | ||
iFile = iFile.replace(" | iFile = iFile.replace(" | ||
- | clips.append(VideoFileClip(iFile).subclip(int(dims[0]),int(dims[1]))) | + | clips.append(VideoFileClip(iFile).subclip(float(dims[0]),float(dims[1]))) |
f = concatenate_videoclips(clips) | f = concatenate_videoclips(clips) |