Opened 3 years ago

Last modified 3 years ago

#4285 new defect

The "frame type" and the "q" are not being set in the -vstats_file when doing x265 encoding.

Reported by: kvssoft Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: libx265
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hi!

Summary of the bug:
When doing x265 encoding, the stats file (-vstats_file; see: stats.txt) doesn't contain information about frame types and "q"-s. Instead of values, there are question marks for frame types, and zeroes for "q"-s. For example:
frame= 181 q= 0.0 f_size= 1627 s_size= 68kB time= 7.458 br= 312.4kbits/s avg_br= 74.9kbits/s type= ?

Also, "q"-s are not set in the output as well (see: output.log and report.log).

How to reproduce:

ffmpeg.exe -r 24 -i "1080-png\sintel_trailer_2k_%04d.png" -c:v libx265 -x265-params "level=3.0:crf=28:keyint=48:min-keyint=48:scenecut=0" -r 24 -pix_fmt yuv420p -filter:v "scale='trunc(oh*a/2)*2:360'" -vstats_file "stats.txt" "360p-hevc.mp4"

Attachments (3)

output.log (4.0 KB) - added by kvssoft 3 years ago.
report.log (110.5 KB) - added by kvssoft 3 years ago.
stats.txt (144.2 KB) - added by kvssoft 3 years ago.

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by kvssoft

Changed 3 years ago by kvssoft

Changed 3 years ago by kvssoft

comment:1 Changed 3 years ago by Timothy_Gu

The frame types are now exported: 2ddedfd39c0d6b49e6396c535d5cb21846676a13.

comment:2 Changed 3 years ago by cehoyos

  • Component changed from ffmpeg to avcodec
  • Keywords libx265 added; x265 frame type q HEVC H.265 removed
Note: See TracTickets for help on using tickets.