[FFmpeg-trac] #9460(avfilter:new): ssim only 0.47 while PSNR is 37, and skimage's result is 0.914 (was: ssim issue)

FFmpeg trac at avcodec.org
Mon Oct 18 16:11:15 EEST 2021


#9460: ssim only 0.47 while PSNR is 37,  and skimage's result is  0.914
------------------------------------+------------------------------------
             Reporter:  xmufzy      |                    Owner:  (none)
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by xmufzy):

 * summary:  ssim issue => ssim only 0.47 while PSNR is 37,  and skimage's
     result is  0.914


Old description:

> Summary of the bug:
> How to reproduce:
> {{{
> %  ffmpeg.exe -i ./src0.png  -i src1.png  -lavfi ssim -f null -
> ffmpeg version
> ffmpeg version N-104375-g77970abb71-20211017 Copyright (c) 2000-2021 the
> FFmpeg developers
> N-104375-g77970abb71 (centos & ubuntu)
> built on ...
>
>   Stream #1:0: Video: png, rgb24(pc), 460x460, 25 fps, 25 tbr, 25 tbn
> Stream mapping:
>   Stream #0:0 (png) -> ssim:main
>   Stream #1:0 (png) -> ssim:reference
>   ssim -> Stream #0:0 (wrapped_avframe)
> Press [q] to stop, [?] for help
> Output #0, null, to 'pipe:':
>   Metadata:
>     encoder         : Lavf59.6.100
>   Stream #0:0: Video: wrapped_avframe, gbrp(pc, gbr/unknown/unknown,
> progressive), 460x460, q=2-31, 200 kb/s, 25 fps, 25 tbn (default)
>     Metadata:
>       encoder         : Lavc59.12.100 wrapped_avframe
> frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
> speed=1.45x
> video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
> muxing overhead: unknown
> }}}
> Patches should be submitted to the ffmpeg-devel mailing list and not this
> bug tracker.

New description:

 Summary of the bug:
 How to reproduce:
 {{{

 [Parsed_psnr_0 @ 0x13ac300] PSNR r:38.074962 g:39.999312 b:35.868513
 average:37.655646 min:37.655646 max:37.655646

 %  ffmpeg.exe -i ./src0.png  -i src1.png  -lavfi ssim -f null -
 ffmpeg version
 ffmpeg version N-104375-g77970abb71-20211017 Copyright (c) 2000-2021 the
 FFmpeg developers
 N-104375-g77970abb71 (centos & ubuntu)
 built on ...

   Stream #1:0: Video: png, rgb24(pc), 460x460, 25 fps, 25 tbr, 25 tbn
 Stream mapping:
   Stream #0:0 (png) -> ssim:main
   Stream #1:0 (png) -> ssim:reference
   ssim -> Stream #0:0 (wrapped_avframe)
 Press [q] to stop, [?] for help
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf59.6.100
   Stream #0:0: Video: wrapped_avframe, gbrp(pc, gbr/unknown/unknown,
 progressive), 460x460, q=2-31, 200 kb/s, 25 fps, 25 tbn (default)
     Metadata:
       encoder         : Lavc59.12.100 wrapped_avframe
 frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
 speed=1.45x
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

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


More information about the FFmpeg-trac mailing list