Git Product home page Git Product logo

Comments (6)

hassount avatar hassount commented on May 27, 2024

@tnti
Thank you for your feedback. Can you please elaborate a little more on the failure that happened here ? is it a wrong output?
SVT-HEVC supports only the yuv420p10le format of a similar compressed format. please refer to sections 3.1 and 3.2 in the users guide.

from svt-hevc.

tnti avatar tnti commented on May 27, 2024

An example of the encoding command line is as follows:
"D:\Encoder\FFMPEG\ffmpeg.exe" -loglevel level+error -i "%~dpn1.avs" -pix_fmt yuv420p10le -strict -1 -f rawvideo -nostdin - | "D:\Encoder\SVT-HEVC\SvtHevcEncApp" -i stdin -encMode 9 -tune 0 -w 1920 -h 1080 -bit-depth 10 -compressed-ten-bit-format 1 -profile 2 -fps-num 24000 -fps-denom 1001 -q 30 -n 300 -b "%~dpn1_SVT-HEVC.hevc"

Turning on the CompressedTenBitFormat option will result in an error in the encoding result.
as the picture shows

Close the CompressedTenBitFormat option and the encoding result is correct.

from svt-hevc.

hassount avatar hassount commented on May 27, 2024

@tnti
Thank you for the additional information.
The two command lines you have are the following:

"D:\Encoder\FFMPEG\ffmpeg.exe" -loglevel level+error -i "%~dpn1.mp4" -pix_fmt p010le -strict -1 -f rawvideo -nostdin - | "D:\Encoder\SVT-HEVC\SvtHevcEncApp" -i stdin -encMode 9 -tune 0 -w 1920 -h 1080 -bit-depth 10 -profile 2 -fps-num 24000 -fps-denom 1001 -q 30 -n 300 -b "%~dpn1_SVT-HEVC.hevc"

and

"D:\Encoder\FFMPEG\ffmpeg.exe" -loglevel level+error -i "%~dpn1.avs" -pix_fmt yuv420p10le -strict -1 -f rawvideo -nostdin - | "D:\Encoder\SVT-HEVC\SvtHevcEncApp" -i stdin -encMode 9 -tune 0 -w 1920 -h 1080 -bit-depth 10 -compressed-ten-bit-format 1 -profile 2 -fps-num 24000 -fps-denom 1001 -q 30 -n 300 -b "%~dpn1_SVT-HEVC.hevc"

Does this mean that the first one is working fine? if so, I do not understand where the issue is.

The compressed-ten-bit-format option assumes the yuv input is in a specific format as shown in section 3 in the users guide. Feeding the yuv in a difference format will certainly cause the behavior you are seeing above.

from svt-hevc.

tnti avatar tnti commented on May 27, 2024

The second command line instruction works fine.
Maybe I should not use compressed-ten-bit-format? @hassount

from svt-hevc.

hassount avatar hassount commented on May 27, 2024

@tnti
the second command line has compressed-ten-bit-format to be set to 1 and that works?
basically compressed-ten-bit-format should only be used when the input yuv is in the specific format described in section 3 of the users guide.

from svt-hevc.

tnti avatar tnti commented on May 27, 2024

@hassount
thank you.
The above problem occurs when I use compressed-ten-bit-format.
Maybe I don't need to turn this feature on.

from svt-hevc.

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.