GithubHelp home page GithubHelp logo

Comments (7)

galad87 avatar galad87 commented on June 14, 2024

AMD AV1 encoder has a severe limitation, it can only works with widths and heights divisible by 64 (or 32?) if I remember correctly.
That's an hardware issue, and there is no way to fix it. A workaround would be to set the correct crop in the container, but then most players ignore container crop values.

However it should happen with AMD H.264 or AMD H.265.

from handbrake.

Acrivec avatar Acrivec commented on June 14, 2024

AMD AV1 encoder has a severe limitation, it can only works with widths and heights divisible by 64 (or 32?) if I remember correctly. That's an hardware issue, and there is no way to fix it. A workaround would be to set the correct crop in the container, but then most players ignore container crop values.

However it should happen with AMD H.264 or AMD H.265.

Interesting, but then I'd expect to see those bars when using amd codec acceleration in other apps, such as screen recording through ShareX (with random region size every time!), or adrenalin screen recording?
I remember that I've been also converting av1 to h264 or hevc with those random sizes and didn't get those green bars, though I've been using ffmpeg in command line to do that.

from handbrake.

sr55 avatar sr55 commented on June 14, 2024

It affects all apps being a hardware limitation.

Most screen resolutions won't be affected as they are usually divisible by 64 so not that surprising.

Looking at your encode, you might want to drop the cropping down to 0. I do wonder if that's a false positive crop detection. That would bring the resolution up.

from handbrake.

Acrivec avatar Acrivec commented on June 14, 2024

It affects all apps being a hardware limitation.

Most screen resolutions won't be affected as they are usually divisible by 64 so not that surprising.

Looking at your encode, you might want to drop the cropping down to 0. I do wonder if that's a false positive crop detection. That would bring the resolution up.

As I said, settings do not matter.

Also, I did say that recordings were with random region sizes, so the chances to hit n*64/32 every time is zero.

from handbrake.

sr55 avatar sr55 commented on June 14, 2024

Also, I did say that recordings were with random region sizes, so the chances to hit n*64/32 every time is zero.

If this is the issue your seeing, then your sod outa luck. AMD confirmed it was a problem on their end so in all likelihood we'll see it sorted with RNDA 5

However, are you able to share with us a sample file, I can run it here just in-case there is something more going on

from handbrake.

galad87 avatar galad87 commented on June 14, 2024

The live preview inside HandBrake doesn't seem to align the video properly sometimes, but I can't reproduce the issue when playing the encoded file in a separate app. I can't test AV1.

from handbrake.

sr55 avatar sr55 commented on June 14, 2024

on Windows? That's just an instance of the Windows media player. (Not entirely sure if it's using the legacy or modern API for it but it should then be reproducible in the native app)

from handbrake.

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.