Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| personal:portfolio:vcat-script [2019/01/02 13:12] – antonello | personal:portfolio:vcat-script [2025/05/02 09:41] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| 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) | ||
