blur icon indicating copy to clipboard operation
blur copied to clipboard

Custom output resolution

Open Bzdhyp opened this issue 9 months ago • 8 comments

Please write a custom output resolution because I want to change it to 4k or something when exporting 请你写一个自定义输出分辨率 因为我想在输出时候改成4k什么的

Bzdhyp avatar Apr 11 '25 10:04 Bzdhyp

That would be cool, but I don't really know if there is any software for good video upscaling to add in the app. Would've been actually cool if you could enhance your video quiality (not talking about the "lossless quailty" setting)

G2Maiden avatar Apr 11 '25 16:04 G2Maiden

You can use custom ffmpeg filters for this, something like -vf "scale=3840:-2".

f0e avatar Apr 11 '25 16:04 f0e

You can use custom ffmpeg filters for this, something like -vf "scale=3840:-2".

-vf "crop=in_h0.5625:in_h:(in_w-in_h0.5625)/2:0"

Script evaluation done in 0.87 seconds rror: fwrite() call failed when writing frame: 1, plane: 0, errno: 32 Output 22 frames in 0.55 seconds (40.14 fps)

AV1 VEDIO

Fvr9W avatar Apr 21 '25 08:04 Fvr9W

You can use custom ffmpeg filters for this, something like -vf "scale=3840:-2".

-vf "crop=in_h0.5625:in_h:(in_w-in_h0.5625)/2:0"

Script evaluation done in 0.87 seconds rror: fwrite() call failed when writing frame: 1, plane: 0, errno: 32 Output 22 frames in 0.55 seconds (40.14 fps)

AV1 VEDIO

there's usually ffmpeg throwing it's error above that in white, can you check if that's there and if so share it?

couleurm avatar Apr 21 '25 10:04 couleurm

You can use custom ffmpeg filters for this, something like -vf "scale=3840:-2".

-vf "crop=in_h_0.5625:in_h:(in_w-in_h_0.5625)/2:0" Script evaluation done in 0.87 seconds rror: fwrite() call failed when writing frame: 1, plane: 0, errno: 32 Output 22 frames in 0.55 seconds (40.14 fps) AV1 VEDIO

there's usually ffmpeg throwing it's error above that in white, can you check if that's there and if so share it?

FYI this is fixed now - https://github.com/f0e/blur/issues/160 it was me not handling quoted arguments properly

f0e avatar Apr 21 '25 10:04 f0e

This should be fixed in https://github.com/f0e/blur/releases/tag/v2.11

f0e avatar Apr 21 '25 11:04 f0e

From #174

Assuming your input videos aren’t 4k - upscaling shouldn’t have any effect afaik on quality locally, I think it’s only beneficial when uploading to YouTube for example to unlock higher bitrate. For improving local render quality, you should just be able to lower the quality setting.

If you really want to you can upscale though, you can either:

  • (I recommend this) - Open config folder, open presets.cfg and modify/add a preset which includes -vf "scale=3840:-2". You can call it something like h265-upscaled. Then in blur you can pick that as your encode preset.
  • Use the custom ffmpeg filter option and include -vf "scale=3840:-2". You'll have to add any other quality arguments though since this option overwrites all the other preset ffmpeg arguments.

f0e avatar Jul 24 '25 08:07 f0e

cool

Bzdhyp avatar Jul 24 '25 08:07 Bzdhyp