Replacing paths in Blender’s Sequence Editor

Sometimes, when it comes to editing video in Blender, you might want to move your footage media files from one location to another. Such manipulations usually breaking the project file, because the sequence strips still referencing the old paths. Of course it is possible to fix the paths manually by rewriting it for each strip, but that’s really tedious for big projects.

So, we have created a simple script, which  searches the paths of all sequence strips for particular text and replaces it with another text.

Download script:

How to use it:

  • Open the script in Blender’s Text Editor window.
  • Change the ‘oldpath’ and ‘newpath’ variables according to your needs. The ‘oldpath’ variable represents the text to search, this text will be replaced with the value of ‘newpath’ variable.
  • Then choose “Text” -> “Run Script” in the menu of Text Editor window, or just hit Alt+P.

Below you can see a video demonstration with detailed explanation of how it works.

Liked it? Take a second to support us on Patreon!
Posted in Blender, Blender Tutorials and tagged .


  1. Do you thing your script is still working? I got some error … Thank you for help

    Traceback (most recent call last):
    File “/Users/filip/Dropbox/Public/master.blend/”, line 31, in
    File “/Users/filip/Dropbox/Public/master.blend/”, line 15, in do_replace
    AttributeError: ‘SoundSequence’ object has no attribute ‘filepath’
    Error: Python script fail, look in the console for now…

  2. OK, so your script can be used for video only. OK. Primarily it wa say goal. Sometimes I have also image used in more than one strip, but not so often. Would be great to have one simple function for replacing external link. OK. I will try your script on video file. Thank you

Leave a Reply