[FFmpeg-trac] #9560(undetermined:new): SSIM result will be lower than expected when use .mkv

FFmpeg trac at avcodec.org
Tue Dec 21 08:55:22 EET 2021


#9560: SSIM result will be lower than expected when use .mkv
-------------------------------------+-------------------------------------
             Reporter:  rxf91        |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  ssim         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by rxf91):

 Replying to [comment:5 pdr0]:
 > The timebase of mkv container is 1ms, so the timestamps will be
 different and you will get "jitter" , thus different results
 >
 > The examples in the documentation say differently - but it should be
 settb=1/AVTB ; not settb=AVTB for PSNR, SSIM calculations . Works here for
 normalizing the timebase
 >
 >
 Great thanks!
 "settb=1/AVTB" option works fine for SSIM curation.

 {{{
 D:\bin\ffmpeg>ffmpeg -i x264.mkv -i origin.m2ts -an -lavfi
 "[0:v]settb=1/AVTB,setpts=PTS-STARTPTS[main];[1:v]settb=1/AVTB,setpts=PTS-
 STARTPTS[ref];[main][ref]ssim" -f null -
 [Parsed_ssim_4 @ 00000203074e1140] SSIM Y:0.983138 (17.731021) U:0.992124
 (21.037030) V:0.993634 (21.961672) All:0.986385 (18.659951)
 }}}
 I hope that this information will be added to the examples in the
 documentation.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9560#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list