Settings > Proxy Editing

Introduction

Proxy editing is the process of creating and using low resolution videos and images in places of the original or optimized (Convert to Edit-friendly) files. This provides the advantage that your computer has less work to do in realtime while editing: decoding, scaling, and effects. This is, quite simply, because there are less pixels to compute. Then, when you are ready to export, it will use the original (or optimized) files for full quality.

Performance is optimal when the preview resolution matches the files it is working with. So, this feature is designed to work in conjunction with Preview Scaling. You can still use the proxy mode without Preview Scaling, however, in case something is not working absolutely correct with Preview Scaling.

Proxy editing was added in version 20.06.

The format of a proxy file can be hotly debated because they typically have a number of goals that is difficult to achieve simultaneously: low resolution, small file size, fast to generate, fast to seek and decode, and decent image quality to do understand your work. Not everyone has these goals, but these are Shotcut’s goals, and the format is not configurable. If you do not like how Shotcut generates proxy files, you can still create them with a different process (including Shotcut) if you understand where proxies are stored and how they are named. You are not required to use the MP4 file format for videos, but the name must end with .mp4 for video and .jpg for images. Shotcut can almost always handle a video file whose name does not match the format (but almost never for an image). Fortunately, most people will be happy with JPEG for a proxy image even if not happy with our choice of MP4. A convenience of MP4 is that most media players can play them making it convenient when troubleshooting proxy files.

Settings > Proxy > Use Proxy

This either turns on or off the usage of proxy files for either the current project or the next project you open or start. When you turn this on and open a project, Shotcut looks for proxy files that already exist on your file system and uses them automatically and dynamically. However, it does not automatically
generate a proxy file at this point if there are any missing. Any files added to the Playlist or Timeline will, however, generate a proxy file if one does not exist according to the following rules:

  • It is a video (optionally with audio) or an image file.
  • It is not an image sequence.
  • It does not have an alpha channel (transparency).
  • The video is not only cover art.
  • It does not already have a proxy.
  • Proxy for this file has not been disabled in Properties.
  • Both the image width and image height are more than 1.3X the preview scaling resolution (or 540 if preview scaling is off).
  • A proxy job for this file was not yet created.

It generates a proxy by queuing a job in Jobs. You can continue working with the original at this point. When this proxy job completes, it uses the Replace command to asynchronously update matching clips in Source, Playlist, or Timeline. In doing so, it tries very hard to retain all changes thus far including trimming, filters, and transitions. The vertical resolution of the proxy will be the same as your current Preview Scaling resolution. If Preview Scaling is set to None, then it uses 540p. The width of the proxy will be whatever matches the display aspect ratio for
the target height.

If you turn off proxy with a project opened, Shotcut automatically reopens the project. This causes it to no longer look for proxies during reopen, but it does take time for the project to reload, it clears undo history, and it resets selected clips. It does this without requiring you to save your current project,
however.

If you turn on proxy with a project opened, Shotcut also automatically reopens the project as well while locating whatever proxies are currently available. Then, it prompts if you want to generate proxies for files that do not currently have them subject to the same rules above. These proxy jobs will not do a replace operation as they complete successfully. As the Replace command is still immature, we do not want someone to open a big old project, generate proxies for nearly everything and have it murder your project! Rather, once all of the jobs are done, reopen the project to pick up the proxies.

Settings > Proxy > Storage

Proxy files can be stored in one of two locations: a global folder or a project folder. When opening a project, it looks in both places. The global folder defaults to a sub-folder named “proxies” of your App Data Directory. The project folder is a sub-folder named “proxies” of a project folder created with New
Project > Start
on Shotcut’s startup screen.

Choose Settings > Proxy > Storage > Set to change your global project folder to a new location.

Choose Settings > Proxy > Storage > Show to open a folder view from your operating system’s file manager to see which folder is currently in use. This is where newly generated proxies are saved. The result of this action depends on whether you have a project currently opened or started and whether it has a project folder.

Choose Settings > Proxy > Storage > Use Project Folder to control whether you want proxies to be generated in a project folder, if in use, or always in the global folder.

Settings > Proxy > Hardware Encoder

You have the option to use your configured hardware encoder to generate proxies. The lead developer of Shotcut has not found much of an advantage in using it for these low resolution files if you have a strong CPU. Some systems with a weak CPU and compatible GPU may benefit from using it. For most users, do not expect it to significantly improve the speed. Since most hardware encoders tend to create larger files for the same quality as a software encoder, it uses HEVC to keep the file size reasonable. With that said, do not expect them to be much smaller than the software-generated H.264. In fact, they are going to be slower to decode. Still, it is there for your option and experimentation.

Properties

The Properties panel for video clips and images display (PROXY) next to the resolution when it is using a proxy file. You may also notice that Properties shows information about the proxy file instead of the original/converted except for the clip name, duration, frame rate, aspect ratio, and color range. Properties should continue to reflect any overrides where possible.

The Properties panel also has a Proxy menu button with the following options:

  • Make Proxy - forces a proxy to be generated without adhering to the rules above. If you choose not to batch convert a project to proxies, use this to selectively generate proxies. The proxy job this generates will do a replace operation.
  • Delete Proxy - Unfortunately, this is not available on Windows due to file locking prevents it from working (file is likely in use). Otherwise, this does what it says.
  • Disable Proxy - prevents a proxy from being generated for this file. It only applies within the current project and not globally. Also, replaces all matching clips in the project with the original if it using a proxy. Re-enabling does not create or replace with proxy; you need to either reopen the project (if proxy exists) or choose Make Proxy.
  • Copy Hash Code - shows a dialog with a 32 character alpha-numeric code that has also been copied to the system clipboard. This is helpful to track down problems with proxy files or to generate proxy files externally.

Export

Normally when you export, the proxy clips are replaced with their original or converted. However, if you go into Advanced mode and turn on Video > Use preview scaling, not only does export use the preview scaling resolution, but also it uses proxy clips and images to further speed up export! This is intended to more quickly make a rough draft for review, not as a final output, of course.

Known Problems

  1. A proxy can hide a problem with the actual source media, for example, frame accurate seeking on video.

  2. There is no obvious way to add a proxy to a clip-only project. It is by design not to load or create a proxy until you add it to the playlist or timeline since the Source player can be used to quickly preview clips to decide whether to use one. However, it is possible. If you know the proxy already exists, you can save the project and reopen it to pick it up. Otherwise, choose Properties > Proxy > Make Proxy.

  3. File > Export Frame… exports using the proxy up-scaled to project resolution it since uses the current image from the player.

  4. It does not work with File > Open MLT XML As Clip. It does not replace the clips in the sub-project with proxies.

14 Likes
How to "proxy" edit with Shotcut
Why is my shotcut lagging...?
Is Integrated Graphics Enough for 4k on Shotcut?
V20.06 BETA 2 is available
V20.06 BETA is available
Lentitud del video al reproducir con filtros
How to speed up the export time?
How to Reduce Memory Usage
Letter P appear on the thumbnails
Shotcut work slow
Shotcut work slow
Видео тормозит при редактировании
Shotcut seems to not create proxies
Editing 60FPS video creates lag in shotcut
When I read a video in shotcut, it skip frames at some places, this bug is still there when compressing the read video
Freezing when two videos are in the output
Cannot create proxies for videos
Impending doom: Shotcut is slowly destroying my work and it doesn't let me fix it back!
Start time and end time in seconds in the currently selected clip of the file
How to replace proxy files with original files for export
Proxy for image sequence
360 Transform and Maybe Motion Tracker Combo
Tips for working with large video files?
A problem - lag
I need help to be able to export my videos!
Decrease in video quality while editing
Jagging back and forth in exported(mp4) video, but also runs really slow in preview
How To Rid Of Glitches & Stutters When Play Head Is Moving From One Clip To Another Clip It Is Really Annoying
Export using the available Proxies
Lag at transitions
Different export resolutions
Is Shotcut broken now?
Low end pc
Will hardware upgrades improve my editing time?
My laptop crashes while exporting video?
Extremely slow when selecting adding or selecting anything in the timeline
Fowards/Backwards really struggles with high-quality videos
How to fix sound weird
Is my PC not powerful enough?
Performance question (again)
New to Shotcut How to change proxy clip size
Audio gets distorted after trimming the beginning of a video
Proxy file managment
Video slow then jumping
Smooth work
Sound is fine when played in windows, but sounds distorted in shotcut editing
Shotcut takes forever to load playback and continuously crashes
21.03.21 audio stutter in .MOV
Why is my audio distorted?
Filter On / Off Toggle
Does a MLT opened as clip still uses proxies?
Replacing image footage, maintaining keyframe settings
When I generate a slideshow Shotcut just keeps freezing
Why is my shotcut lagging?
Using MLTs as clips - pre-rendering
Shotcut running slowly
Need too much memory (RAM)
Preview Scaling - 270p
Shotcut slows down and blocs everything
Audio issue
Very poor playback performance for 4K video, while VLC is fast
Video and sound is skipping before I export
Smooth panning and framerate issues
Help please Proxy editing
I'm slow 😀
Constant Crashes
Extreme lag (in Preview) to the point of unusability in Shotcut
Shotcut crashing when dragging a video to the timeline
Videos stuttering while using negative audio offset
Playback extremely slow
Shotcut too much memory and crashing
Singapore's "Cruise to Nowhere"
Export is blurry except for parts from reversed clips
Imported videos receive a quality drop
Size, Position and Rotate filter is very laggy
Can you edit a video in 720 and export in 4k?
Jerky images when viewing the timeline / Images saccadées lors du visionnage des pistes
How do I make the project 1080p?
Pic in pic and split screen cause unusable latency and stuttering
Friendly Editing format issue
Built in proxy generation
Age old export and preview speed
Getting Started - MP4 compressed during import
Newbie Q: my title blocks run veeerrrryyyy slow
Xeon 8 core 16 threads lagging on a simple project
El editor no fluye
Software stuck
Opacity keyframe not working
Mi surface 6 pro i7 no puede con el programa
Have proxy editing enabled as default
My system lag when playing videos
Saving Preset Text - Titles
Shotcut not responding when cutting playhead
Lagging fix
Preview video lags/stutters at certain points
Why Is my shotcut playback so laggy
Video is laggy and audio is very choppy
Ffmpeg best setting for x264 or x265 for easier decoding
Rotate+scale filter not as expected in exported movie
Editor Stutters on slightly larger files or more overlays
Playback mp4 video
Gopro and Shotcut Newbie
Preview very choppy even if set at 360p
Image Properties
Settings > Display Method
Force Shotcut to *re*create proxy?
Help me understnad the right way to set up a project folder so that shotcut recognizes proxies already made for converted clips - newbie edition!
User Guide - Table of Contents
Settings > Preview Scaling
Audio problems with mp3 files
Bad rendering slowed down videos
Filter editing performance issues when there are many clips
How do I replace a proxy?
Simple Shape Mask tanking performance, lagging, and crashing?
Put format to edit manual
Shotcut "time" runs slower than actual time
Letter P appear on the thumbnails