Advanced export has framerate, resolution and video ratio blocked

What is your operating system?
Windows 10

What is your Shotcut version (see Help > About Shotcut)?
24.09.13

Can you repeat the problem? If so, what are the steps?
The advanced export dialog in this version has the resolution, ratio and framerate fields all greyed out so that it is impossible to change them, you you were instead able to do in previous version.
I was forced to revert to 24.08.29, since I need to change some of that and in 24.09.13 I could not find a way to unblock them

You need to click Resample and read and answer the warning dialog in order to enable these now. It has been improved for the next version but still behind the button:

I was forced to revert to 24.08.29

That version has a serious regression over 24.06, from 24.09 release notes:

Fixed seeking and frozen video with some files or scenarios.

I am curious to know why you are changing Export > Video instead of using Video Mode.

Thanks,
Clicking on the “resample” button does display the warning dialog, however when you say “yes” it does nothing, you still have to go to settings>>video mode and create a personalized resampling setup, which is then shown in the “advanced” video properties of the export function. IMHO this obstacle is not that necessary in an “advanced” setting, since those using it should know what they’re doing… but it’s ok if you prefer it this way.
I never used to change the video mode in the setting menu due to the fact that I could prepare my export directly in the advanced export dialog, very easy and straightforward. I often use shotcut to prepare videoclips of lectures as screen captures, which in the orginal format are too HD and have a uselessly high framerate given the type of video I need (lightweight and with motion of things on the screen only). So after editing the content of the recorded video, I convert it from 1920x1080 to 1280x720 and from 25 fps to 8 fps

You need to click on “No” for the old behaviour.

1 Like

I see; your source is 1080p and you edit in 1080p to avoid the preview overhead of scaling. That’s valid, you can still do that, and soon you can silence the dialog.

I am trying to provide more guard rails and educate the user. But the warning dialog in v24.09 was too extreme. Here is what the new dialog looks like (you can get it from a daily build from our GitHub Actions page if you log into GitHub).

image

The primary use case for Resample is: no Playlist or Timeline (never touched in the project or session) and Video Mode = Automatic. In this mode, Shotcut is like a simple transcode or conversion tool. Only in this case is the export resolution and frame rate passed into the render stage that occurs before encoding (export = render + encode).

Otherwise, this is behind Resample now to make it more clear that it is resampling the render output. Secondary use cases:

  • Video Mode resolution = source, AND I want to down-sample to make a smaller file (your case).
  • Oops, I composed this project at resolution X but I need Y, AND I have some stuff sensitive to size and position, AND I do not want to take the time to adjust these by changing Video Mode. Best quality is not a concern.
  • I made this project at aspect ratio X but I want Y, AND I really do want black bars.
  • I made this project at frame rate X but I want Y, AND Y < X.
  • All my sources are <= Video Mode resolution, AND I am not using text or vector graphics, AND I want to upscale export in order to game YouTube’s encoding (or avoid some other upscaler such as in my TV).
1 Like

This confused me too. I’m in 24.09.13, and ended up having to use an old version to export half my project. I tried everything - restarting the app, rebooting, restoring a backup project. I was stumped.

I never thought to press either button, because I didn’t want to either reframe my project, or resample my project. I just wanted to render at a specified resolution without breaking the underlying project.

Why do I use this functionality… I create a ~1hr project at 4k 60fps exactly matching the input video resolution. I render it as one video at 4k 60fps for my website subscribers (and then use ffmpeg and shell scripts to convert to dash/m3u/etc and different resolutions for streaming). I render it in ~5 minute episodes at 4k for one pay-for-video platform (using markers - if we could get “render all markers to individlal files” that’d be great). I render it again as 1080p episodes for a different pay-for-video platform with stricter file size limits. And then I render a half dozen short snippets to make free previews for advertising releases (each platform gets different resolutions and size restraints), then one episode will get a 720p 30fps render for a free trial site, and then finally a few key moments get rendered as low res animated gifs because somehow that’s still a thing.

So in a given week, from a single project, I’ll render about ~50 videos, ~30 of which will be at a lower resolution or frame rate than the video mode.

Shotcut has never supported that. You are resampling. Have you considered to export an intermediate once and then produce all those derivatives from that? It will likely be faster instead of re-rendering the timeline each time.

if we could get “render all markers to individlal files” that’d be great

And from an intermediate file you can create a playlist project based on the markers and use Export > From > Each Playlist Item.

I added a tooltip over these fields:
image

Also, in case you find clicking the button inconvenient for your workflow, you can create custom presets that include only your resample values to bypass this button, for example:

image

You can choose this before choosing another encoding-oriented preset.

1 Like

That would’ve helped me greatly a few weeks back. Probably a good idea.

I think I mistook the resample button for something that’d break my project - having accidently changed the video mode once right before export, and losing hours of work as every filter is now in the wrong position, I interpreted resample as a verb “Lets resample your project”, rather than an adjective “the export will be a resampling of your project”.

I never want to create intermediate renders due to fear of lossy degradation, and would happily spend a few extra CPU hours to get higher quality results (And don’t have the hard drive space to do a lossless / super high quality intermediate render).

I will see if I can figure out the playlist workflow. That could be a massive timesaver. Thanks for the advice on that.

This has been further revised for the next version to relax it even more. Resample button is gone, and only a couple of possible warning messages appear that do not block any activity:

image

image

1 Like