Skip to content

While using "--vpp-resize amf_point" argument upscaler video stream gets broken to green screen.  #99

@DimkaTsv

Description

@DimkaTsv

Issue: When using "--vpp-resize amf_point" argument, upscaled video stream gets broken to green screen and basically no bitrate. This doesn't happen with any other type of upscaling, only amf_point. Issue appears even with latest Adrenaline 23.11.1 and both VCEEncC 8.16 and 8.17

Expected behaviour: video stream should be processed properly.

Used command (as drag and drop on top of .bat file):

%~dp0\VCEEncC64.exe -i %1 -o "%~n1_processed%~x1" --codec hevc --profile main --tier high --level 6.2 --preset slow --ref 4 --ltr 3 --vbr 10000 --max-bitrate 15000 --audio-copy --chapter-copy --vpp-resize amf_point --output-res 3840x2160 --log vceencc_log.txt --log-level info
pause

Log file of VCEEncC:
vceencc_log.txt

Resulting video:

General
Complete name                  : C:\Users\-----\Videos\test sample\Aion The Tower of Eternity_2023.10.07-19.06_processed.mp4
Format                         : MPEG-4
Format profile                 : Base Media / Version 2
Codec ID                       : mp42 (mp42/iso2/mp41)
File size                      : 1.46 MiB
Duration                       : 25 s 500 ms
Overall bit rate               : 479 kb/s
Frame rate                     : 60.000 FPS
Writing application            : VCEEnc (x64) 8.17

Video
ID                             : 1
Format                         : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                 : Main@L6.2@High
Codec ID                       : hvc1
Codec ID/Info                  : High Efficiency Video Coding
Duration                       : 25 s 500 ms
Bit rate                       : 153 kb/s
Maximum bit rate               : 200 kb/s
Width                          : 3 840 pixels
Height                         : 2 160 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Constant
Frame rate                     : 60.000 FPS
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.000
Stream size                    : 475 KiB (32%)
Color range                    : Limited
Codec configuration box        : hvcC

Audio
ID                             : 2
Format                         : AAC LC
Format/Info                    : Advanced Audio Codec Low Complexity
Codec ID                       : mp4a-40-2
Duration                       : 25 s 408 ms
Bit rate mode                  : Constant
Bit rate                       : 318 kb/s
Channel(s)                     : 2 channels
Channel layout                 : L R
Sampling rate                  : 48.0 kHz
Frame rate                     : 46.875 FPS (1024 SPF)
Compression mode               : Lossy
Stream size                    : 987 KiB (66%)
Default                        : Yes
Alternate group                : 1

image

If issue is related to AMF, just state it, i will redirect bug report to them (they already fixed 2 AMF bugs i reported)
There are 2 more questions about upscaling option.
Also @rigaya sorry for directly tagging you, but this question can only be answered by you as developer?

  1. What specific AMF FSR upscaling command amf_fsr option refers to? AMF_HQ_SCALER_ALGORITHM_VIDEOSR1_0 or AMF_HQ_SCALER_ALGORITHM_VIDEOSR1_1? I assume there should be quality difference between them?
  2. Is there any way to set upscaler sharpness through VCEEncC? Question rises because AMF allows it through using AMF_HQ_SCALER_SHARPNESS, but i don't see similar option here? AMF specifies default value as 0.5 and VCEEncC shows that it is set to 0.0 instead. If there isn't, can such feature be implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions