Stylesheet style.css not found, please contact the developer of "arctic" template.

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
personal:portfolio:vcat-script [2019/01/02 13:12] antonellopersonal: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"\[([0-9\-]+)\]", iFile)+        subclip = re.search(r"\[([0-9\-\.]+)\]", iFile)
         if subclip is None:         if subclip is None:
             clips.append(VideoFileClip(iFile))             clips.append(VideoFileClip(iFile))
Line 55: Line 55:
                 printerror("If a specific segment of a file is specified, this should be given as [startseconds-endseconds]")                 printerror("If a specific segment of a file is specified, this should be given as [startseconds-endseconds]")
             iFile = iFile.replace("["+subclip.group(1)+"]",'')             iFile = iFile.replace("["+subclip.group(1)+"]",'')
-            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)
personal/portfolio/vcat-script.1546434745.txt.gz · Last modified: (external edit)
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0