-
Notifications
You must be signed in to change notification settings - Fork 368
Closed
Description
For the same test clip, I use ffmpeg-vaapi vp8 decoder to decode on SKL and ICL. My OS is Ubuntu 18.04 and decoding passed on SKL but dropped frame on ICL. The cmd line log is as below:
- For SKL:
sakura@skl-sakura:~/sxp-workdir/ffmpeg$ ffmpeg -hwaccel vaapi -init_hw_device vaapi=hw:/dev/dri/renderD128 -filter_hw_device hw -v verbose -i /mnt/vp8/vp8_rev05_InterFrame_Profile1_121_shields0.webm -pix_fmt yuv420p -f rawvideo -vsync passthrough -vframes 2 -y /home/sakura/sxp-workdir/test_sample/dump.yuv
ffmpeg version N-95347-gc8813b1a98 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configuration: --enable-vaapi --prefix=/home/sakura/sxp-workdir/opt/X11R7/iHD/ffmpeg_mainline --pkg-config-flags=--static --enable-nonfree --enable-libmfx --enable-gpl --enable-libx264 --enable-libx265 --disable-optimizations --enable-debug=3
libavutil 56. 35.100 / 56. 35.100
libavcodec 58. 59.102 / 58. 59.102
libavformat 58. 33.100 / 58. 33.100
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 62.100 / 7. 62.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
[AVHWDeviceContext @ 0x55b61e10f340] libva: VA-API version 1.6.0
[AVHWDeviceContext @ 0x55b61e10f340] libva: va_getDriverName() returns 0
[AVHWDeviceContext @ 0x55b61e10f340] libva: User requested driver 'iHD'
[AVHWDeviceContext @ 0x55b61e10f340] libva: Trying to open /home/sakura/sxp-workdir/opt/X11R7/iHD/vpg_driver/lib/dri//iHD_drv_video.so
[AVHWDeviceContext @ 0x55b61e10f340] libva: Found init function __vaDriverInit_1_6
[AVHWDeviceContext @ 0x55b61e10f340] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x55b61e10f340] Initialised VAAPI connection: version 1.6
[AVHWDeviceContext @ 0x55b61e10f340] VAAPI driver: Intel iHD driver - 1.0.0.
[AVHWDeviceContext @ 0x55b61e10f340] Driver not found in known nonstandard list, using standard behaviour.
Input #0, matroska,webm, from '/mnt/vp8/vp8_rev05_InterFrame_Profile1_121_shields0.webm':
Metadata:
encoder : vpxenc v0.9.6
Duration: 00:00:00.07, start: 0.000000, bitrate: 162 kb/s
Stream #0:0(eng): Video: vp8, 1 reference frame, yuv420p(progressive), 48x48, SAR 1:1 DAR 1:1, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
Stream mapping:
Stream #0:0 -> #0:0 (vp8 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[LIBVA]:CRITICAL - DdiMedia_SyncSurface:3425: nullptr codecHal->pDecoder
[graph 0 input from stream 0:0 @ 0x55b61e17f980] w:48 h:48 pixfmt:nv12 tb:1/1000 fr:30/1 sar:1/1 sws_param:flags=2
[auto_scaler_0 @ 0x55b61e183080] w:iw h:ih flags:'bicubic' interl:0
[format @ 0x55b61e180340] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
[auto_scaler_0 @ 0x55b61e183080] w:48 h:48 fmt:nv12 sar:1/1 -> w:48 h:48 fmt:yuv420p sar:1/1 flags:0x4
Output #0, rawvideo, to '/home/sakura/sxp-workdir/test_sample/dump.yuv':
Metadata:
encoder : Lavf58.33.100
Stream #0:0(eng): Video: rawvideo, 1 reference frame (I420 / 0x30323449), yuv420p, 48x48 [SAR 1:1 DAR 1:1], q=2-31, 829 kb/s, 30 fps, 30 tbn, 30 tbc (default)
Metadata:
encoder : Lavc58.59.102 rawvideo
No more output streams to write to, finishing.
frame= 2 fps=0.0 q=-0.0 Lsize= 7kB time=00:00:00.06 bitrate= 829.4kbits/s speed=17.3x
video:7kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
Input file #0 (/mnt/vp8/vp8_rev05_InterFrame_Profile1_121_shields0.webm):
Input stream #0:0 (video): 2 packets read (981 bytes); 2 frames decoded;
Total: 2 packets (981 bytes) demuxed
Output file #0 (/home/sakura/sxp-workdir/test_sample/dump.yuv):
Output stream #0:0 (video): 2 frames encoded; 2 packets muxed (6912 bytes);
Total: 2 packets (6912 bytes) muxed
[AVIOContext @ 0x55b61e15ff80] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x55b61e1572c0] Statistics: 1341 bytes read, 0 seeks
- For ICL:
root@media_libva_icl2:~/build/ffmpeg# ffmpeg -hwaccel vaapi -init_hw_device vaapi=hw:/dev/dri/renderD128 -filter_hw_device hw -v verbose -i /root/xinpeng_test/vp8_rev05_InterFrame_Profile1_121_shields0.webm -pix_fmt yuv420p -f rawvideo -vsync passthrough -vframes 2 -y /root/xinpeng_test/dump.yuv
ffmpeg version N-95347-gc8813b1a98 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
configuration: --enable-vaapi --prefix=/opt/X11R7/iHD/ffmpeg_mainline --enable-nonfree --enable-shared --enable-libmfx --enable-gpl --enable-libx264 --enable-libx265 --disable-optimizations --enable-debug=3 --disable-stripping
libavutil 56. 35.100 / 56. 35.100
libavcodec 58. 59.102 / 58. 59.102
libavformat 58. 33.100 / 58. 33.100
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 62.100 / 7. 62.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
[AVHWDeviceContext @ 0x1551340] libva: VA-API version 1.6.0
[AVHWDeviceContext @ 0x1551340] libva: va_getDriverName() returns 0
[AVHWDeviceContext @ 0x1551340] libva: User requested driver 'iHD'
[AVHWDeviceContext @ 0x1551340] libva: Trying to open /opt/X11R7/iHD/vpg_driver/lib/dri//iHD_drv_video.so
[AVHWDeviceContext @ 0x1551340] libva: Found init function __vaDriverInit_1_6
[AVHWDeviceContext @ 0x1551340] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x1551340] Initialised VAAPI connection: version 1.6
[AVHWDeviceContext @ 0x1551340] VAAPI driver: Intel iHD driver - 1.0.0.
[AVHWDeviceContext @ 0x1551340] Driver not found in known nonstandard list, using standard behaviour.
Input #0, matroska,webm, from '/root/xinpeng_test/vp8_rev05_InterFrame_Profile1_121_shields0.webm':
Metadata:
encoder : vpxenc v0.9.6
Duration: 00:00:00.07, start: 0.000000, bitrate: 162 kb/s
Stream #0:0(eng): Video: vp8, 1 reference frame, yuv420p(progressive), 48x48, SAR 1:1 DAR 1:1, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
Stream mapping:
Stream #0:0 -> #0:0 (vp8 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[graph 0 input from stream 0:0 @ 0x15b9040] w:48 h:48 pixfmt:nv12 tb:1/1000 fr:30/1 sar:1/1 sws_param:flags=2
[auto_scaler_0 @ 0x15bda40] w:iw h:ih flags:'bicubic' interl:0
[format @ 0x15ba280] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format'
[auto_scaler_0 @ 0x15bda40] w:48 h:48 fmt:nv12 sar:1/1 -> w:48 h:48 fmt:yuv420p sar:1/1 flags:0x4
Output #0, rawvideo, to '/root/xinpeng_test/dump.yuv':
Metadata:
encoder : Lavf58.33.100
Stream #0:0(eng): Video: rawvideo, 1 reference frame (I420 / 0x30323449), yuv420p, 48x48 [SAR 1:1 DAR 1:1], q=2-31, 829 kb/s, 30 fps, 30 tbn, 30 tbc (default)
Metadata:
encoder : Lavc58.59.102 rawvideo
[MOS]: CRITICAL - Mos_Specific_GetResourceInfo:2401: Invalid (nullptr) Pointer.
[MHW]: CRITICAL - AddMfxPipeBufAddrCmd:999: MOS returned error, eStatus = 0x5
[CODEC]:CRITICAL - DecodeStateLevel:215: MOS returned error, eStatus = 0x5
[CODEC]:CRITICAL - Execute:1281: State level decoding failed.
[LIBVA]:CRITICAL - EndPicture:809: DDI:DdiDecode_DecodeInCodecHal return failure.
[vp8 @ 0x15a9a40] Failed to end picture decode issue: 23 (internal decoding error).
Error while decoding stream #0:0: Input/output error
No more output streams to write to, finishing.
frame= 1 fps=0.0 q=-0.0 Lsize= 3kB time=00:00:00.03 bitrate= 829.4kbits/s speed= 11x
video:3kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
Input file #0 (/root/xinpeng_test/vp8_rev05_InterFrame_Profile1_121_shields0.webm):
Input stream #0:0 (video): 2 packets read (981 bytes); 1 frames decoded;
Total: 2 packets (981 bytes) demuxed
Output file #0 (/root/xinpeng_test/dump.yuv):
Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (3456 bytes);
Total: 1 packets (3456 bytes) muxed
[AVIOContext @ 0x15a6780] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x156fc40] Statistics: 1341 bytes read, 0 seeks
Metadata
Metadata
Assignees
Labels
No labels