2024-02-06, 01:31 AM
I had a similar error recently. In my case, I had HW transcoding enabled, but it urns out in my case, I had checked a codec that my GPU couldn't transcode. If you are running linux, you can use vainfo to see which codecs are supported by your cpu then double check that only those are ticked as HW transcode in the admin interface.
If not the codec type, it may be a bitrate issue. Do other files of the same codec work?
from your log:
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_qsv))
Stream #0:1 -> #0:1 (eac3 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[h264_qsv @ 0x557897ba5200] Selected ratecontrol mode is unsupported
[h264_qsv @ 0x557897ba5200] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[libfdk_aac @ 0x557897ba0980] 2 frames left in the queue on closing
Conversion failed!
If not the codec type, it may be a bitrate issue. Do other files of the same codec work?
from your log:
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_qsv))
Stream #0:1 -> #0:1 (eac3 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[h264_qsv @ 0x557897ba5200] Selected ratecontrol mode is unsupported
[h264_qsv @ 0x557897ba5200] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[libfdk_aac @ 0x557897ba0980] 2 frames left in the queue on closing
Conversion failed!