[FFmpeg-trac] #7722(undetermined:new): [FFmpeg-vaapi][mpeg2 decode] failed setup for format vaapi_vld: hwaccel initialisation returned error

FFmpeg trac at avcodec.org
Fri Feb 15 20:23:29 EET 2019


#7722: [FFmpeg-vaapi][mpeg2 decode] failed setup for format vaapi_vld: hwaccel
initialisation returned error
-------------------------------------+-------------------------------------
             Reporter:  andreyor     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  vaapi        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by andreyor):

 Reproducable only with these streams:
 http://fate-suite.ffmpeg.org/mpeg2/hhi_burst_422_short.bits
 http://fate-suite.ffmpeg.org/mpeg2/xdcam8mp2-1s_small.ts

 With all other from http://fate-suite.ffmpeg.org/mpeg2/ - works fine.

 Output log:
 {{{
 ffmpeg -y -hwaccel vaapi -vaapi_device /de
 v/dri/renderD128 -hwaccel_output_format vaapi -i hhi_burst_422_short.bits
 -c:v h264_vaapi -b:v 3000k -minrate:v 3000k -maxr
 ate:v 3000k 0008_HD09_1_0.h264
 ffmpeg version N-93064-ged20fbcd48 Copyright (c) 2000-2019 the FFmpeg
 developers
   built with gcc 7 (Ubuntu 7.3.0-27ubuntu1~18.04)
   configuration: --prefix=/msdk/FFmpeg/ffmpeg_build --enable-libmfx
   libavutil      56. 26.100 / 56. 26.100
   libavcodec     58. 46.100 / 58. 46.100
   libavformat    58. 26.100 / 58. 26.100
   libavdevice    58.  6.101 / 58.  6.101
   libavfilter     7. 48.100 /  7. 48.100
   libswscale      5.  4.100 /  5.  4.100
   libswresample   3.  4.100 /  3.  4.100
 [mpegvideo @ 0x5594f5872500] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, mpegvideo, from 'hhi_burst_422_short.bits':
   Duration: 00:00:00.15, bitrate: 49999 kb/s
     Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv, top first),
 720x608 [SAR 608:405 DAR 16:9], 50000 kb/s, 25 fps, 25
 tbr, 1200k tbn, 50 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_vaapi))
 Press [q] to stop, [?] for help
 Impossible to convert between the formats supported by the filter
 'Parsed_null_0' and the filter 'auto_scaler_0'
 Error reinitializing filters!
 Failed to inject frame into filter network: Function not implemented
 Error while processing the decoded data for stream #0:0
 Conversion failed!
 }}}

 {{{
 ffmpeg -y -hwaccel vaapi -vaapi_device /de
 v/dri/renderD128 -hwaccel_output_format vaapi -i xdcam8mp2-1s_small.ts
 -c:v h264_vaapi -b:v 3000k -minrate:v 3000k -maxrate
 :v 3000k 0008_HD09_1_0.h264
 ffmpeg version N-93064-ged20fbcd48 Copyright (c) 2000-2019 the FFmpeg
 developers
   built with gcc 7 (Ubuntu 7.3.0-27ubuntu1~18.04)
   configuration: --prefix=/msdk/FFmpeg/ffmpeg_build --enable-libmfx
   libavutil      56. 26.100 / 56. 26.100
   libavcodec     58. 46.100 / 58. 46.100
   libavformat    58. 26.100 / 58. 26.100
   libavdevice    58.  6.101 / 58.  6.101
   libavfilter     7. 48.100 /  7. 48.100
   libswscale      5.  4.100 /  5.  4.100
   libswresample   3.  4.100 /  3.  4.100
 Input #0, mpegts, from 'xdcam8mp2-1s_small.ts':
   Duration: 00:00:01.00, start: 1.400000, bitrate: 4058 kb/s
   Program 1
     Metadata:
       service_name    : Service01
       service_provider: FFmpeg
     Stream #0:0[0x100]: Video: mpeg2video (4:2:2) ([2][0][0][0] / 0x0002),
 yuv422p(tv, progressive), 480x270 [SAR 1:1 DAR 1
 6:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
     Stream #0:1[0x101]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, fltp, 384 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_vaapi))
 Press [q] to stop, [?] for help
 Impossible to convert between the formats supported by the filter
 'Parsed_null_0' and the filter 'auto_scaler_0'
 Error reinitializing filters!
 Failed to inject frame into filter network: Function not implemented
 Error while processing the decoded data for stream #0:0
 Conversion failed!
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7722#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list