Shotcut proxy videos auto creation auto replace tool for fast smooth editing

Hello all

Edit : woops, I now realize that it’s a windows project … will see if I can find how to make this work natively in/with Linux (no wine)

Thanks @KKnBB for this tool … I’m going to try it, as I currently edit a 4k video … which means stuttering playback at some point.

First question : do you know if filters such as Stabilize (or any other one) could be impacted by this ?
Or does the analysis part is actually redone when exporting the project ?
Maybe @shotcut can also advise :slight_smile:

2nd question : why not move

  • originals to an “unused” folder and the proxy files into the original location when activating the proxy feature
  • and switch them back / move then the other way around before exporting
    Because, using the proxy files right from the beginning actually prevents me from using it with an already started project :-S

Maybe I’m missing something :slight_smile:

Thanks a lot
GLLM

Ah ha, glad to know! My old pc said “hi”.

If you got time, can you post a random mlt file created in Linux and let me take a look at the “source file location syntax”? So I may improve the “replace proxy back to original” to work better with files created on Linux.

1, okey, that is a simple line of code, I add it today or tomorrow when I got time.
2, maybe, I will quickly review the existing codes, if no conflicts I will add the recurse.
3, it doesn’t remember the “location” simply by change of the text. You have to click some “execute” button. If I improve this, I may do something even better, like a drop down of all history location :smiley:

Edit:
1, added, check update
2, will be no recurse, for some reasons.
3, add a “save user config” action on when it exit.

5 posts earlier a forum member say it worked find in wine. Some earlier posts we have discussed if we can make it Linux native, the short answer is: it is easier to rewrite this little tool in python or something.

Most filters will work fine, except some special ones, like Stabilize where the filter needs to analyze the actual picture to auto-setup its own parameters, you have to be careful. Or use 1080p+ high quality proxy to minimize the impacts.
I don’t think the analysis/self-configuration will be redone when exporting.

It is a crime to move around the users existing files’ locations.
Some may get confused after apply it multiple times, some may use this tool against the camera SD card and the camera will reject playback of the converted files…

A new tool, save its shit in a new folder, don’t mess around the existing data, called the Best Practice Principles. :joy:

A minor update 2.022 :
remember users folder location / selection etc. for next run, before exit.
some cosmetic text changes: more info, more guide, less confusion.
Download url is the same in the first post.

1 Like

Hello again @KKnBB.

The mtl file uses absolute paths, both for your files and, for example, the files in the custom setting in transitions. You know, something like /home/user/Video/my-resources/mymotionbackground.mp4

Your tool works exactly the same as in Windows. I imagine using the windows ffmpeg that comes with it, and not native linux.

It works great, really.

Regards!

Thanks @KKnBB for your reply.

And for the last point, well : you are absolutely right :slight_smile: !!

Ah ha, good to know. Yea I checked my own code, it should work fine, no need to patch.

Hope ffmpeg doesn’t lose too much performance running under Linux-Wine.

1 Like

Hello! I am having trouble with last Shotcut (linux). I create a project 1920x1080, and then use the proxified files. After edition, made the substitutions with the tool, and every zoom in (Rotate and Scale) in the main video track is ‘changed’, not in scale, but in X and Y. This was ok with the 20.02 version.

That’s the word I am looking for!

And unfortunately, I have read the new version changelog saying:

  • Fixed Offset X and Y parameters of Rotate and Scale filter with Preview Scaling .

I believe 20.04 may change to absolute X Y instead of relative X Y… And nothing I can do to get it fixed.

One thing you can consider is, using my tool → 1080p intermediate option, to use the proxy as direct editing source.

(unlike the 360/720p, the “1080p intermediate” option is fine-tuned for high quality, and still smooth for editing on good computers)

Ooooh. It’s a pity. With my old AMD A10 APU from 2012 + 8 GB I really was happy with the 360 butter smooth. I was thinking the way to get proxies integrated in Shotcut is the relative values path…

Anyway, I bought yesterday an used Xeon 2620v3 3 cores 6 threads (for overclock it) from China, 13€! plus motherboard plus memory. Waiting the end of May to have my hands on it!

Best regards!
PD Size and position is working ok, but mask:simple shape has the same ‘bug’.

:worried:

Give the 1080p intermediate a try, the smoothness may surprise you. And export from the intermediate can be few times faster as a bonus.

I also encountered the same problem.
A solution was given by @Austin so as not to lose the project.
See here :
https://forum.shotcut.org/t/multi-format-editing/16874
On the other hand in my case the same problem already existed with the V 20-02

1 Like

Smart solution. Thank you.

Actually I noticed this issue since the beginning.(even before I write this gadget)
The first week I use Shotcut, I made a 1080p video, later I decided that I want to publish it in 4K. Changing the video mode mess up all the filter X/Y offsets. (I was used to photoshop it is like when shrinking/resizing everything will follow the scale change, even the font sizes) I realize that Shotcut is using absolute X/Y offsets everywhere.

And that’s why I made the tool with the “1080p intermedia” and “full resolution” convert options.

So basically we have only 2 options here:
1, Edit with 360P proxy, substitutions, open again and fix the clips with offset filters, =>export;
2, Edit with 1080P edit-friendly intermediate, no need to replace, =>export.

Well, I will try option 2, as you suggested. If it does not work for my old pc, I will take the 1st option.

Thank you again.

How it goes?

@shotcut, if “proxy” is planed in future, maybe you should think about changing all the position offsets (eg. in text filter, rotate and scale filter) into percentage values that relative to video mode resolutions X/Y.

1 Like

yes … adding this tool inside of shotcut will help us a lot !

Proxy is already in Shotcut. It was added back in June.

1 Like