[FFmpeg-trac] #5821(avcodec:new): jerky result when using hevc_vaapi encoding on Skylake cpu

FFmpeg trac at avcodec.org
Tue Oct 25 14:09:35 EEST 2016


#5821: jerky result when using hevc_vaapi encoding on Skylake cpu
-------------------------------------+-------------------------------------
             Reporter:  trivita      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  h265, hevc,  |               Blocked By:
  vaapi                              |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by mani):

 Hi

 Did you resolve this, i am struggling with the same problem and am
 attaching the mediainfo of the input and the jerky output got through
 hevc_vaapi. If this is not yet resolved can anybody please have a look
 into this and see if more experienced people can find the issue.

 '''the input file from mediainfo'''

 {{{

 mediainfo input.mp4
 General
 Complete name                            : input.mp4
 Format                                   : MPEG-4
 Format profile                           : Base Media
 Codec ID                                 : isom (isom/iso2/avc1/mp41)
 File size                                : 11.2 GiB
 Duration                                 : 3h 8mn
 Overall bit rate mode                    : Variable
 Overall bit rate                         : 8 496 Kbps
 Encoded date                             : UTC 1904-01-01 00:00:00
 Tagged date                              : UTC 1904-01-01 00:00:00
 Writing application                      : Lavf56.40.101

 Video
 ID                                       : 1
 Format                                   : AVC
 Format/Info                              : Advanced Video Codec
 Format profile                           : High at L4.1
 Format settings, CABAC                   : Yes
 Format settings, ReFrames                : 4 frames
 Codec ID                                 : avc1
 Codec ID/Info                            : Advanced Video Coding
 Duration                                 : 3h 8mn
 Bit rate mode                            : Variable
 Bit rate                                 : 8 361 Kbps
 Maximum bit rate                         : 35.0 Mbps
 Width                                    : 1 920 pixels
 Height                                   : 1 080 pixels
 Display aspect ratio                     : 16:9
 Frame rate mode                          : Constant
 Frame rate                               : 24.000 fps
 Color space                              : YUV
 Chroma subsampling                       : 4:2:0
 Bit depth                                : 8 bits
 Scan type                                : Progressive
 Bits/(Pixel*Frame)                       : 0.168
 Stream size                              : 11.0 GiB (98%)
 Writing library                          : x264 core
 Encoded date                             : UTC 1904-01-01 00:00:00
 Tagged date                              : UTC 1904-01-01 00:00:00
 Color range                              : Limited
 Color primaries                          : BT.709
 Transfer characteristics                 : BT.709
 Matrix coefficients                      : BT.709

 Audio
 ID                                       : 2
 Format                                   : AAC
 Format/Info                              : Advanced Audio Codec
 Format profile                           : LC
 Codec ID                                 : 40
 Duration                                 : 3h 8mn
 Duration_LastFrame                       : -11ms
 Bit rate mode                            : Constant
 Bit rate                                 : 128 Kbps
 Channel(s)                               : 2 channels
 Channel(s)_Original                      : 6 channels
 Channel positions                        : Front: L C R, Side: L R, LFE
 Sampling rate                            : 48.0 KHz
 Frame rate                               : 46.875 fps (1024 spf)
 Compression mode                         : Lossy
 Stream size                              : 173 MiB (2%)
 Default                                  : Yes
 Alternate group                          : 1
 Encoded date                             : UTC 1904-01-01 00:00:00
 Tagged date                              : UTC 1904-01-01 00:00:00
 }}}


 '''Encoded file using hevc_vaapi from mediainfo'''

 {{{

 $ mediainfo output.mp4
 General
 Complete name                            : output.mp4
 Format                                   : MPEG-4
 Format profile                           : Base Media
 Codec ID                                 : isom (isom/iso2/mp41)
 File size                                : 5.51 MiB
 Duration                                 : 25s 259ms
 Overall bit rate mode                    : Variable
 Overall bit rate                         : 1 830 Kbps
 Encoded date                             : UTC 1904-01-01 00:00:00
 Tagged date                              : UTC 1904-01-01 00:00:00
 Writing application                      : Lavf57.48.102

 Video
 ID                                       : 1
 Format                                   : HEVC
 Format/Info                              : High Efficiency Video Coding
 Codec ID                                 : hev1
 Codec ID/Info                            : High Efficiency Video Coding
 Duration                                 : 25s 42ms
 Bit rate                                 : 1 659 Kbps
 Width                                    : 1 920 pixels
 Height                                   : 1 080 pixels
 Display aspect ratio                     : 16:9
 Frame rate mode                          : Constant
 Frame rate                               : 24.000 fps
 Scan type                                : Progressive
 Bits/(Pixel*Frame)                       : 0.033
 Stream size                              : 4.95 MiB (90%)
 Encoded date                             : UTC 1904-01-01 00:00:00
 Tagged date                              : UTC 1904-01-01 00:00:00

 Audio
 ID                                       : 2
 Format                                   : AAC
 Format/Info                              : Advanced Audio Codec
 Format profile                           : LC
 Codec ID                                 : 40
 Duration                                 : 25s 259ms
 Bit rate mode                            : Variable
 Bit rate                                 : 180 Kbps
 Maximum bit rate                         : 341 Kbps
 Channel(s)                               : 2 channels
 Channel(s)_Original                      : 6 channels
 Channel positions                        : Front: L C R, Side: L R, LFE
 Sampling rate                            : 48.0 KHz
 Frame rate                               : 46.875 fps (1024 spf)
 Compression mode                         : Lossy
 Stream size                              : 554 KiB (10%)
 Default                                  : Yes
 Alternate group                          : 1
 Encoded date                             : UTC 1904-01-01 00:00:00
 Tagged date                              : UTC 1904-01-01 00:00:00
 }}}



 Thanks
 Mani

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


More information about the FFmpeg-trac mailing list