[FFmpeg-trac] #7654(ffmpeg:new): hevc_amf does not honor -level option
FFmpeg
trac at avcodec.org
Fri Jan 4 20:02:24 EET 2019
#7654: hevc_amf does not honor -level option
----------------------------------------+----------------------------------
Reporter: Tupsi | Owner:
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: git-master | Resolution:
Keywords: hevc_amf level | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------------+----------------------------------
Comment (by Tupsi):
I manged to catch a glimpse of the error with -loglevel trace (I hope, no
clue about C sorry)
{{{
[AVFilterGraph @ 000001561e8dcb80] query_formats: 4 queried, 3 merged, 0
already done, 0 delayed
[hevc_amf @ 000001561e500380] AMFDeviceDX11Impl: 2019-01-04 18:59:02.231
1E58 [AMFDeviceDX11Impl] Debug: InitDX11() created HW DX11.1 device
[hevc_amf @ 000001561e500380] AMFDeviceDX11Impl: 2019-01-04 18:59:03.117
1E58 [AMFDeviceDX11Impl] Debug: InitDX11() created HW DX11 device
[hevc_amf @ 000001561e500380] AMF initialisation succeeded via D3D11.
[hevc_amf @ 000001561e500380] EncoderUVEHEVCImpl: 2019-01-04 18:59:03.133
1E58 [EncoderUVEHEVCImpl] Info: SetProperty HevcUsage:0
[hevc_amf @ 000001561e500380] EncoderUVEHEVCImpl: 2019-01-04 18:59:03.133
1E58 [EncoderUVEHEVCImpl] Info: SetProperty HevcFrameSize:1916,1076
[hevc_amf @ 000001561e500380] EncoderUVEHEVCImpl: 2019-01-04 18:59:03.134
1E58 [EncoderUVEHEVCImpl] Info: SetProperty HevcFrameRate:24000,1001
[hevc_amf @ 000001561e500380] EncoderUVEHEVCImpl: 2019-01-04 18:59:03.134
1E58 [EncoderUVEHEVCImpl] Info: SetProperty HevcProfile:1
[hevc_amf @ 000001561e500380] EncoderUVEHEVCImpl: 2019-01-04 18:59:03.134
1E58 [EncoderUVEHEVCImpl] Info: SetProperty HevcTier:1
[hevc_amf @ 000001561e500380] EncoderUVEHEVCImpl: 2019-01-04 18:59:03.134
1E58 [EncoderUVEHEVCImpl] Info: SetProperty HevcProfileLevel:-99
[hevc_amf @ 000001561e500380] PropertyStorageExImpl: 2019-01-04
18:59:03.135 1E58 [PropertyStorageExImpl] Error:
c:\constructicon\builds\gfx\six\18.50\drivers\amf\stable\public/common/PropertyStorageExImpl.h(286):AMF_ERROR
4 : AMF_INVALID_ARG: Property=HevcProfileLevel
[hevc_amf @ 000001561e500380] EncoderUVEHEVCImpl: 2019-01-04 18:59:03.135
1E58 [EncoderUVEHEVCImpl] Warning: SetProperty HevcProfileLevel failed in
AMFPropertyStorageExImpl with return code:0x4, and will not set driver
either, but return ok for now!
[hevc_amf @ 000001561e500380] EncoderUVEHEVCImpl: 2019-01-04 18:59:03.135
1E58 [EncoderUVEHEVCImpl] Info: SetProperty HevcQualityPreset:0
}}}
you see there, that the encoder wants the profile_level set to -99 (while
I tried 5.0 and then 186). Whatever you enter after -level gives you -99
here and the error afterwards.
From what it looks like, my current driver does not support the
profile_level option any more?
hope that helps in the bug hunting.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7654#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list