-
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
--pa not working when using VBR mode #56
Comments
I now have a test build which will allow using pre-analysis ( #54 ). Please test with the test build uploaded at the links below. |
I downloaded the x64 build you linked and placed the files in staxrip/apps/encoders/vceenc (replacing existing files) but ran into an error when trying to do a VBR test encode. Here are the settings, error and log. Log: ------------------------- System Environment ------------------------- StaxRip : v2.13.0 ----------------------- Media Info Source File ----------------------- C:\Users\Gary\Downloads\1080test.mp4 General Video Audio ----------------------------- Demux audio ----------------------------- MP4Box 2.1-DEV-rev79-gdf29bc8a0-x64-gcc11.2.0 Patman C:\Temp\StaxRip\Apps\Support\MP4Box\MP4Box.exe -single 2 -out "C:\Users\Gary\Downloads\1080test_temp\ID1 English.m4a" C:\Users\Gary\Downloads\1080test.mp4 Start: 9:05:18 AM General Audio ---------------------------- Configuration ---------------------------- Template : H265 VBR --------------------------- AviSynth Script --------------------------- AddAutoloadDir("C:\Temp\StaxRip\Apps\FrameServer\AviSynth\plugins") ------------------------- Source Script Info ------------------------- Width : 1920 ------------------------- Target Script Info ------------------------- Width : 1920 ---------------------- Media Info Audio Source 1 ---------------------- General Audio --------------------------- Video encoding --------------------------- VCEEnc 7.10 C:\Temp\StaxRip\Apps\Encoders\VCEEnc\VCEEncC64.exe --avsdll C:\Temp\StaxRip\Apps\FrameServer\AviSynth\AviSynth.dll --codec hevc --output-depth 10 --quality slow --tier high --pe --pa --pa-sc High --pa-ss High --pa-caq-strength High --colormatrix bt709 --colorprim bt709 --transfer bt709 --vbaq --vbr 4000 -i C:\Users\Gary\Downloads\1080test_temp\1080test_new.avs -o C:\Users\Gary\Downloads\1080test_temp\1080test_new_out.hevc C:\Users\Gary\Downloads\1080test_temp\1080test_new_out.hevcVCEEnc (x64) 7.01 (r1134) by rigaya, Jul 14 2022 12:57:39 (VC 1932/Win) Start: 9:09:48 AM General ------------------------- Error Muxing to MP4 ------------------------- Muxing to MP4 returned exit code: 1 (0x1) ---------------------------- Muxing to MP4 ---------------------------- MP4Box 2.1-DEV-rev79-gdf29bc8a0-x64-gcc11.2.0 Patman C:\Temp\StaxRip\Apps\Support\MP4Box\MP4Box.exe -fps 29.970030 -add "C:\Users\Gary\Downloads\1080test_temp\1080test_new_out.hevc#video:name=" -add "C:\Users\Gary\Downloads\1080test_temp\ID1 English.m4a#audio:lang=eng:name=" -itags cover=C:\Users\Gary\Downloads\cover.png -new C:\Users\Gary\Downloads\1080test_new.mp4 [FileIn] Asked to read 5000 but got only 0 ---------------------------- Muxing to MP4 ---------------------------- MP4Box 2.1-DEV-rev79-gdf29bc8a0-x64-gcc11.2.0 Patman C:\Temp\StaxRip\Apps\Support\MP4Box\MP4Box.exe -fps 29.970030 -add "C:\Users\Gary\Downloads\1080test_temp\1080test_new_out.hevc#video:name=" -add "C:\Users\Gary\Downloads\1080test_temp\ID1 English.m4a#audio:lang=eng:name=" -itags cover=C:\Users\Gary\Downloads\cover.png -new C:\Users\Gary\Downloads\1080test_new.mp4 [FileIn] Asked to read 5000 but got only 0 Start: 9:09:54 AM |
I've tested further for pre-analysis, it seems like pre-analysis seems to work only for H.264 encoding with RX5xxx series. (I've tested with RX5500XT). This might be hardware or driver limitation. I'm not sure for RX6xxx series as I don't have one. |
I can confirm pre-analysis in HEVC works on RX6xxx series with (in particular RX6800). Tested settings:E:\video\test\test_temp\test_new_out.hevcVCEEnc (x64) 7.01 (r1134) by rigaya, Jul 14 2022 12:57:39 (VC 1932/Win) |
@arctus256 Thank you for the information about RX6xxx series. Nice to hear it is supported for HEVC also in RX6xxx series. So I think pre-analysis supports looks like below at this time. (I've checked RX460 and pre-analysis did not work for H.264) Pre-analysis Support
|
VCEEnc 7.01 has the fix included for the pre-analysis issue, reflecting the test build change, I think I'll have this issue closed. Thank you for reporting and having interest on this issue. |
I saw a note that --pa only works with VBR mode encodes but when I tested this with VBR I saw the following in the log output:
Pre-analysis is not supported on this device, disabled.
VCEEnc (x64) 7.00 (r1066) by rigaya, Apr 30 2022 18:34:01 (VC 1931/Win)
OS: Windows 11 x64 (22000) [UTF-8]
CPU: AMD Ryzen 7 3700X 8-Core Processor [4.24GHz] (8C/16T)
GPU: AMD Radeon RX 5700 XT, AMF Runtime 1.4.25 / SDK 1.4.24
Input Info: AviSynth+ 3.7.2 r3661(yv12)->p010 [AVX2], 1920x1080, 30000/1001 fps
Vpp Filters copyHtoD
cspconv(p010 -> yv12(16bit))
unsharp: radius 3, weight 0.5, threshold 10.0
cspconv(yv12(16bit) -> p010)
Output: H.265/HEVC main @ Level 4 (high tier)
1920x1080p 0:0 29.970fps (30000/1001fps)
Quality: slow
VBR: 4000 kbps
Max bitrate: 30000 kbps
QP: Min: 0, Max: 51
VBV Bufsize: 30000 kbps
Bframes: 0 frames
Pre Analysis: off
Motion Est: Q-pel
Slices: 1
GOP Len: 300 frames
Others: deblock vbaq
The text was updated successfully, but these errors were encountered: