-
Notifications
You must be signed in to change notification settings - Fork 24
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
VCEEnc HW Decoding not working #80
Comments
Can we at least see what source are you trying to transcode? |
rx 6xxx显卡似乎并不能解码10位HEVC,如果你的源是HDR之类,只能用avsw。而且StaxRip这些软件有点古怪,差不多的参数俺用VCEENC输入命令行可以执行,但用StaxRip却不能工作。 |
The rx 6xxx card doesn't seem to be able to decode 10-bit HEVC Source:
Definitely was HW decoded. Even with HDR. And i had transcoded it via VCEEncC without issues. Command: C:\Users-----\Videos\test sample>C:\Users-----\Desktop\Utilites\VCE_Encoder\VCEEncC_x64\VCEEncC64.exe -i "C:\Users-----\Videos\test sample\Test_softer.mkv" -o "Test_softer_processed.mkv" --avhw --codec hevc --profile main10 --tier high --level 6.2 --preset slow --ref 4 --ltr 3 --vbr 10000 --max-bitrate 15000 --qp-max 36 --vbaq --colorrange auto --colormatrix auto --colorprim auto --transfer auto --chromaloc auto --max-cll copy --master-display copy --atc-sei auto --audio-copy --chapter-copy Result:
That is why i asked person for his source file, maybe something is wrong with it. Decoding error for him was "resolution changed during decoding" |
WIN10内置播放器确实可以硬解SONY的汤加蓝鲸HDR-265视频,但我直接用VCEEenc就是这个结果,换成avsw才可以工作。 Windows 10 built-in player can indeed hard decode SONY's Tongan Blue Whale HDR-265 video, but I directly use VCEEenc is the result, replaced by avsw can work. Is it because I haven't been able to upgrade the drive? |
"Windows 10 built-in player can indeed hard decode SONY's Tongan Blue Whale HDR-265 video, but" Can you upload source somewhere linking it there and/or share it's mediadata. And/or enable logging for VCEEncC if you think that error it's on level of encoder application/API. You can do that by using --log-level debug "VCEEncC64 --avhw -i WhaleTongaHDR.mp4 --quality slow -u slow --cqp 15:17:19 --bframes 2 --ref 4 --profile high --level 4.1 --audio-codec aac:aac_coder=twoloop --audio-bitrate 192 -o lanj.mp4" Also... did you just used --profile high parameter? And you didn't specify that you want H.264/AVC output? HDR isn't naturally supported by H.264, so i place my bet that this source is H.265/HEVC or AV1, and it tries to use HEVC on auto mode with high preset which is impossible. By quote from internet: Moreover to encode HDR with H.264 video you would be needed to use --profile main10 or high10 or high422 high444 profiles... And looks like AMD encoder only supports high444 from this. You may also need to specify --output-depth 10 (and use HDR transfering parameters... A bunch of those) . But i won't guarantee success on H.264 anyways. |
You are right. 俺知道它是10bit的HDR,俺只是测试下VCE的能力。默认而不指定编码器的话,它就是264编码,当时确实忘掉了。因为俺DELL显示器只是8bit的老家伙,俺记得10bit是HDR的先决条件,所以并没有转码成HDR。俺记得好像是下载——https://4kmedia.org/sony-whale-in-tonga-hdr-uhd-4k-demo log-level debug就算了吧,俺看不懂,哈哈。俺只是个普通用户,不能和你们专家比…… Video Audio You are right. I know it is 10bit HDR, I just test the ability of VCE. By default, without specifying the encoder, it is 264 encoding, which was really forgotten at that time. Since my DELL display is only an 8bit old guy, I remember that 10bit is a prerequisite for HDR, so I did not transcode to HDR. I think it was download -- https://4kmedia.org/sony-whale-in-tonga-hdr-uhd-4k-demo log-level debug Forget it, I don't understand, haha. I am just an ordinary user, can not compare with you experts...... |
I tried using StaxRip and AMD VCEEnc to encode a video. Encoding using VCEEnc HW Encoding and CPU Decoding is working, but if in StaxRip i select VCEEnc as Decoder (in order to use GPU HW Decoding), encoding is not working and it crash with this error:
AMFDEC: ERROR: Resolution changed during decoding.
AMFDEC: Failed to load input frame: unknown error..
Break in task AMFDEC: unknown error..
encoded 0 frames, 0.00 fps, 0.00 kbps, 0.00 MB
encode time 0:00:00, CPULoad: 0.0
Finished with error in VCEEncC.
These are the parameter i'm using: --avhw --codec hevc --output-depth 10 --quality slow --max-bitrate 21000 --colorprim bt709 --vbr 18000 -i. This issue appear when using --avhw.
GPU: RX 6600 with latest 23.3.2 driver
I don't if this problem is caused by latest 23.3.2 driver.
The text was updated successfully, but these errors were encountered: