Opened 14 months ago

Last modified 13 months ago

#7405 new defect

[ffmpeg-qsv][vc1_decode]vc1 decode drop frames on iHD driver.

Reported by: zhuqingliang Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: qsv
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

The number of ffmpeg-qsv decode frame is less than  yamidecode.

environment

SKL OS: ubuntu 16.04 kernel: 4.15.0 
libva b6c50dad4d7d14c507108d9f468662e2d7ae1c4d ​https://github.com/01org/libva.git 
VPG_Driver ed04556a6676fd77ff845508bc54bfc60915450c ​https://github.com/intel/media-driver
libva-utils 9a10ad663349732decd668a426cfc349b0010d1d ​https://github.com/01org/libva-utils.git
Mediasdk 7ea683585f0f84f1bea035a405855312c92c46c0 ​https://github.com/Intel-Media-SDK/MediaSDK
FFMPEG 56f68a099cc607658118e00cad30569103ae3751 ​https://git.ffmpeg.org/ffmpeg.git

How to reproduce:

1.build env as above lists
2.ffmpeg -hwaccel qsv -hwaccel_device /dev/dri/renderD128 -v verbose -c:v vc1_qsv -i /media//yami_vc1/SA00046.vc1 -vf hwdownload,format=nv12 -pix_fmt yuv420p -f rawvideo -vsync 0 -y ./dump.yuv
3. message:
frame=   29 fps=0.0 q=-0.0 Lsize=    1682kB time=00:00:01.24 bitrate=11113.5kbits/s speed=49.4x
4. yamidecode -i /media//yami_vc1/SA00046.vc1 -m0
5. message:
30 frame decoded, fps = 4285.71. fps after 5 frames = 5000.00.

failed case

SA00046.vc1
SA00048.vc1
SA00052.vc1
SA00058.vc1
SA00066.vc1
SA00067.vc1
SA00079.vc1
SA10090.vc1
SA10092.vc1
SA10094.vc1
SA10104.vc1
SA10106.vc1
SA10108.vc1
SA10110.vc1
SA10120.vc1
SA10131.vc1
SA20017.vc1
SA20018.vc1
SA20020.vc1
SA20021.vc1
SA20028.vc1
SA20030.vc1
SA40011.vc1
SA40013.vc1
SA00050.vc1

Attachments (16)

SA00046.vc1 (70.9 KB) - added by cehoyos 13 months ago.
SA00048.vc1 (66.5 KB) - added by cehoyos 13 months ago.
SA00052.vc1 (102.3 KB) - added by cehoyos 13 months ago.
SA00058.vc1 (69.8 KB) - added by cehoyos 13 months ago.
SA00066.vc1 (150.2 KB) - added by cehoyos 13 months ago.
SA00067.vc1 (121.7 KB) - added by cehoyos 13 months ago.
SA00079.vc1 (280.8 KB) - added by cehoyos 13 months ago.
SA10090.vc1 (317.3 KB) - added by cehoyos 13 months ago.
SA10092.vc1 (408.2 KB) - added by cehoyos 13 months ago.
SA10094.vc1 (343.6 KB) - added by cehoyos 13 months ago.
sa10104.vc1 (667.8 KB) - added by cehoyos 13 months ago.
SA10106.vc1 (538.0 KB) - added by cehoyos 13 months ago.
sa10108.vc1 (667.8 KB) - added by cehoyos 13 months ago.
SA10110.vc1 (538.0 KB) - added by cehoyos 13 months ago.
SA10120.vc1 (538.0 KB) - added by cehoyos 13 months ago.
SA10131.vc1 (452.8 KB) - added by cehoyos 13 months ago.

Change History (21)

comment:1 Changed 14 months ago by cehoyos

  • Keywords decode removed

comment:2 Changed 13 months ago by jkqxz

Please share the input files.

It would also help if you could compare to either the reference decoder or libavcodec rather than to yamidecode.

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

Changed 13 months ago by cehoyos

comment:3 Changed 13 months ago by zhuqingliang

ffmpeg -i /mediayami_vc1/SA00046.vc1 -pix_fmt yuv420p -f rawvideo -vsync 0 -y ./dump.yuv
message:
frame= 30 fps=0.0 q=-0.0 Lsize= 1740kB time=00:00:01.24 bitrate=11496.8kbits/s speed= 150x

comment:4 Changed 13 months ago by zhuqingliang

ffmpeg -i /mediayami_vc1/SA00046.vc1 -pix_fmt yuv420p -f rawvideo -vsync 0 -y ./dump.yuv
message:
frame= 30 fps=0.0 q=-0.0 Lsize= 1740kB time=00:00:01.24 bitrate=11496.8kbits/s speed= 150x

comment:5 Changed 13 months ago by cehoyos

Why do you think this issue is related to FFmpeg?

Note: See TracTickets for help on using tickets.