Opened 6 years ago

Closed 6 years ago

#6064 closed defect (invalid)

hevc encoded file size and hevc_vaapi filesize is not same

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


i tried to reduce bitrate and matain good quality able to achive it in hevc
but vaapi im getting incresed bitrate and poor quality

code is

ffmpeg -vaapi_device /dev/dri/renderD128 -i "input" -vf 'format=nv12,hwupload,scale_vaapi=720:576' -preset slow -c:v hevc_vaapi -b:v 600k -maxrate 600k -bufsize 300 -codec:a aac -b:a 96k

vainfo is


libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/
libva info: Found init function vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Skylake - 1.7.0
vainfo: Supported profile and entrypoints

VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice

Change History (2)

comment:1 by cold1746, 6 years ago

Type: enhancementdefect

comment:2 by Carl Eugen Hoyos, 6 years ago

Component: ffmpegundetermined
Priority: criticalnormal
Reproduced by developer: unset
Resolution: invalid
Status: newclosed
Version: 3.2.1unspecified

Generally, neither "file size" nor "poor quality" indicate valid bug reports, even less so for hardware accelerated encoding.

Note: See TracTickets for help on using tickets.