Comments (6)
@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.
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.
@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.
The second command line instruction works fine.
Maybe I should not use compressed-ten-bit-format? @hassount
from svt-hevc.
@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.
@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)
- FFMPEG compile failing again HOT 3
- Could Not Allocate Enough Memory For Channel 1 HOT 2
- Methods to improve the coding quality of SVtheVC encoder HOT 3
- [BUILD FAILED] Looking for some alternatives about `immintrin.h` HOT 1
- Is it possible to control bitrate by frame or window level? HOT 2
- Patching ffmpeg failed -> solution HOT 2
- Whether or not, at most only *two* pictures can be referenced by a frame?
- Whether or not, at most only *two* pictures can be referenced by a frame? HOT 2
- memory exhaustion when encodig 4K UHD 4:4:4 10-bit video HOT 3
- Reading from stdin don't work for me
- Reading from stdin doesn't work HOT 2
- The output stream of test using the same parameters inconsistent HOT 2
- the derivation of lambdaModeDecisionLdSad
- FFmpeg SVT-HEVC stress test failed HOT 1
- how obtain the YUV media files? HOT 1
- How to use ffmpeg svt-hevc encoding to start TileSliceMode mode, can you give an example of the command
- Can't apply patch on FFmpeg 6.0 HOT 10
- Feature request: log callback
- FFMPEG: Couldn't apply patch for SVT-HEVC encoder while building FFMPEG for 64 bit Windows. HOT 2
- Output(s) from FFmpeg's `libsvt_hevc` encoder wrapper cannot be packaged via `shaka-packager` unless `forced-idr 1` is set.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svt-hevc.