Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#7430 closed enhancement (fixed)

[ffmpeg-qsv][avc encode] option "repeatPPS" is not support

Reported by: a Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: qsv
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

environment

CFL	OS: ubuntu 17.04	kernel: 4.15.0
	KBL	OS: ubuntu 16.04	kernel: 4.14.0-rc1
	SKL	OS: ubuntu 16.04	kernel: 4.15.0
			
libva	b6c50dad4d7d14c507108d9f468662e2d7ae1c4d	 https://github.com/01org/libva.git  ( master )
iHD 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 -init_hw_device qsv=hw -filter_hw_device hw -v verbose -f rawvideo -video_size 720x480 -pix_fmt nv12 -i ./Test_720x480p.yuv -an -vf hwupload=extra_hw_frames=64,format=qsv -c:v h264_qsv -framerate 30 -repeatPPS 1 -y ./H264e_repeatPPS_480P.h264
3.error message:
Unrecognized option 'repeatPPS'

Change History (3)

comment:1 by Carl Eugen Hoyos, 6 years ago

Keywords: repeatPPS removed
Priority: normalwish
Type: defectenhancement

comment:2 by Zhong,Li, 5 years ago

Resolution: fixed
Status: newclosed

RepeatPPS is not necessary mostly and wasting encoding bits but it was enabled by default in libmfx.
I have given a patch to control it (option "repeat_pps") and turn it off by default: c9f0cff5efd8096caf8a6fa37b0640abddcde8e8

comment:3 by Carl Eugen Hoyos, 5 years ago

Component: undeterminedavcodec
Version: unspecifiedgit-master
Note: See TracTickets for help on using tickets.