Skip to content

Lossless Quality in Config Not Working #139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
RZadmin1 opened this issue Apr 1, 2025 · 2 comments
Open

Lossless Quality in Config Not Working #139

RZadmin1 opened this issue Apr 1, 2025 · 2 comments

Comments

@RZadmin1
Copy link

RZadmin1 commented Apr 1, 2025

description
Using a quality value of 0 (lossless), the video processes but the output is broken. (Using V1.8)

According to the CRF quality explanation link provided in the README, 0 is lossless compression, and there is no indication that a value of 0 is not supported. 1 seems to be the lowest supported value for "quality" under "rendering" in the config. However, for 3D animations, I needed something higher quality than what 1 was providing. I'm not sure if this is due to other settings needing to change to compensate for CRF 0, or if 0 is just not supported. Is it supported in future versions?

steps

  1. Open blur application
  2. Drag your video into the application window
  3. Press 'y' (to confirm setting up default config file
  4. Open the created config file (in the same directory as your video)
  5. Change the "quality" value under "rendering" to 0
  6. Open the blur application again
  7. Drag and drop your video into the application window
  8. See the new resulting video (it isn't created properly)

screenshots
Image
Image
Image
Image
Image

system
Version: 1.8
OS: Windows 10

@RZadmin1 RZadmin1 added the issue label Apr 1, 2025
@f0e
Copy link
Owner

f0e commented Apr 3, 2025

This might be a video player issue, have you tried opening the file in something like VLC? My Windows 11 media player doesn't like 0 crf videos either, it just results in a black screen with audio. Playing them with mpv works fine though.

If not, I'd try the latest v2 preview. I've changed quite a lot in the rendering since 1.8 so that may fix your issue. I just corrected the lower bound on quality and made it 0 so it should all work.

You can also use the custom ffmpeg filters option to explicitly render in a lossless codec e.g. -c:v ffv1 with video container set to avi rather than using h264. I don't think Windows Media Player will like those either though. You could always use -c:v rawvideo and that'll be supported by everything, but expect huge output files.

Copy link

github-actions bot commented May 9, 2025

This issue has been automatically marked as stale due to inactivity. It will be closed soon if no further activity occurs.

@github-actions github-actions bot added the stale label May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants