Giter VIP home page Giter VIP logo

Comments (6)

belly42 avatar belly42 commented on June 9, 2024

I'm guessing in VideoEncoders.java,

` if (caseAccel.isSelected() && comboAccel.getSelectedItem().equals("Nvidia NVENC"))
{

					if (comboFonctions.getSelectedItem().toString().equals("H.264"))
					{	
						gpu = " -qp " + debitVideo.getSelectedItem().toString();
					}
					else
						gpu = " -cq " + debitVideo.getSelectedItem().toString();
				}

`

the -cq should be -qp?
( from https://x265.readthedocs.io/en/master/cli.html#cmdoption-qp )

from shutter-encoder.

paulpacifico avatar paulpacifico commented on June 9, 2024

That's strange, I've tested the H.265 encoding with an Nvidia GPU using CQ before uploading the new version and it was working well.

I check that monday on my company and keep you informed,
Paul.

PS: x265 is not the same as hevc_nenc encoder parameters.

from shutter-encoder.

belly42 avatar belly42 commented on June 9, 2024

I've done a bit of testing with various of the advanced features, and CQ does work if and only if force profile is set to main 5.0 or 5.1.
It does not work with 4.2 or lower (because I'm testing with 4k video), or with 5.2 or higher.
Profile 5.2 and 6.0 generate the exact same 347MB file (to the bit) as having force profile not set at all.
Profile 6.1 generates the same 494MB file (to the bit) no matter the CQ setting.
Profile 6.2 generates the same 499MB file (again, to the bit) no matter the CQ setting.

from shutter-encoder.

belly42 avatar belly42 commented on June 9, 2024

More testing:

CQ works if the video is rescaled down to 1080p.

Since the original file is HDR, I set colorimetry to HDR -> SDR and Rec.2020 -> Rec.709 - CQ did not work.

from shutter-encoder.

belly42 avatar belly42 commented on June 9, 2024

Testing other files, same issues (almost).
Original file was h265 10bit HDR (3840x1920 24fps)
Second file h264 8bit SDR (3840x1748) - same CQ issue
Third file - 1920x818 upscaled to 3840x2160 (letterboxed) - same CQ issue
Fourth file - 1440x1080 upscaled to 3840x2160 (pillarboxed) - CQ works.

from shutter-encoder.

paulpacifico avatar paulpacifico commented on June 9, 2024

Thanks for all this tests, I've run a couple of encoding and I get some differences with your results be it's true most of the time.

Long story short, I will switch to -qp for the next release as for H.264

For info I was using -cq because of this FFmpeg output:
-cq Set target quality level (0 to 51, 0 means automatic) for constant quality mode in VBR rate control (from 0 to 51) (default 0)

from shutter-encoder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.