[FFmpeg-trac] #5321(undetermined:closed): strange SSIM and PSNR

FFmpeg trac at avcodec.org
Fri Mar 11 02:27:09 CET 2016


#5321: strange SSIM and PSNR
-------------------------------------+-------------------------------------
             Reporter:  ponpon       |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:  invalid
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by ponpon):

 thank you for your reply.
 i tested  "setpts=PTS-STARTPTS,split=2[a][b],[a][1:v]ssim;[b][1:v]psnr".
 And i got the correct result only in mkv without audio.

 previous test
 good: mp4 without audio
 bad: mkv without audio, mkv with audio, mp4 with audio, h264

 present test
 good: mkv without audio
 bad: mkv with audio, mp4 without audio, mp4 with audio, h264

 i don't understand whether these are normal.

 {{{
 ffmpeg -y -i test.flv  -i libx264_without_a.mkv -lavfi  "setpts=PTS-
 STARTPTS,split=2[a][b],[a][1:v]ssim;[b][1:v]psnr"  -f null -
 ffmpeg version N-78980-ga008a7c Copyright (c) 2000-2016 the FFmpeg
 developers
   built with clang version 3.7.0 (tags/RELEASE_370/final)
   configuration: --prefix=/sw --enable-gpl --enable-version3 --enable-
 nonfree --enable-pthreads --cc=clang-mp-3.7 --cxx=clang++-mp-3.7
 --optflags=-Ofast --target-os=darwin --arch=x86_64 --cpu=corei7-avx
 --enable-avresample --enable-libspeex --enable-libvpx --enable-libmp3lame
 --enable-libtheora --enable-libvorbis --enable-libfaac --enable-libfdk-aac
 --enable-libschroedinger --enable-libmodplug --enable-libxvid --enable-
 libopus --enable-lzma --enable-gnutls --enable-fontconfig --enable-
 libfribidi --enable-libsmbclient --enable-libopenjpeg --enable-libfreetype
 --enable-openssl --enable-libass --enable-libbluray --enable-
 libopencore_amrwb --enable-libopencore_amrnb --enable-libx264 --enable-
 librtmp --enable-libx265 --enable-opencl --enable-libzimg --enable-
 libvidstab --enable-libsoxr --enable-gcrypt --enable-gmp --enable-
 libdc1394 --enable-libcaca --enable-libcdio
   libavutil      55. 19.100 / 55. 19.100
   libavcodec     57. 28.100 / 57. 28.100
   libavformat    57. 28.100 / 57. 28.100
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 39.102 /  6. 39.102
   libavresample   3.  0.  0 /  3.  0.  0
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, flv, from 'test.flv':
   Metadata:
     starttime       : 0
     totalduration   : 136
     totaldatarate   : 340
     bytelength      : 5780639
     canseekontime   : true
   Duration: 00:02:15.74, start: 0.000000, bitrate: 340 kb/s
     Stream #0:0: Video: flv1, yuv420p, 426x240, 274 kb/s, 29.97 fps, 29.97
 tbr, 1k tbn, 1k tbc
     Stream #0:1: Audio: mp3, 22050 Hz, stereo, s16p, 65 kb/s
 Input #1, matroska,webm, from 'libx264_without_a.mkv':
   Metadata:
     CANSEEKONTIME   : true
     STARTTIME       : 0
     TOTALDURATION   : 136
     TOTALDATARATE   : 340
     BYTELENGTH      : 5780639
     ENCODER         : Lavf57.28.100
   Duration: 00:02:15.77, start: 0.033000, bitrate: 3252 kb/s
     Stream #1:0: Video: h264 (High 4:4:4 Predictive), yuv420p, 426x240,
 SAR 1:1 DAR 71:40, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
     Metadata:
       ENCODER         : Lavc57.28.100 libx264
       DURATION        : 00:02:15.769000000
 Output #0, null, to 'pipe:':
   Metadata:
     starttime       : 0
     totalduration   : 136
     totaldatarate   : 340
     bytelength      : 5780639
     canseekontime   : true
     encoder         : Lavf57.28.100
     Stream #0:0: Video: wrapped_avframe, yuv420p, 426x240, q=2-31, 200
 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.28.100 wrapped_avframe
     Stream #0:1: Video: wrapped_avframe, yuv420p, 426x240, q=2-31, 200
 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.28.100 wrapped_avframe
     Stream #0:2: Audio: pcm_s16le, 22050 Hz, stereo, s16, 705 kb/s
     Metadata:
       encoder         : Lavc57.28.100 pcm_s16le
 Stream mapping:
   Stream #0:0 (flv) -> setpts (graph 0)
   Stream #1:0 (h264) -> ssim:reference (graph 0)
   Stream #1:0 (h264) -> psnr:reference (graph 0)
   ssim (graph 0) -> Stream #0:0 (wrapped_avframe)
   psnr (graph 0) -> Stream #0:1 (wrapped_avframe)
   Stream #0:1 -> #0:2 (mp3 (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 frame= 4068 fps=1697 q=-0.0 Lq=-0.0 size=N/A time=00:02:15.91 bitrate=N/A
 speed=56.7x
 video:3877kB audio:11707kB subtitle:0kB other streams:0kB global
 headers:0kB muxing overhead: unknown
 [Parsed_psnr_3 @ 0x7f9900700d80] PSNR y:inf u:inf v:inf average:inf
 min:inf max:inf
 [Parsed_ssim_2 @ 0x7f9900700960] SSIM Y:1.000000 (inf) U:1.000000 (inf)
 V:1.000000 (inf) All:1.000000 (inf)

 ffmpeg -y -i test.flv  -i libx264.mkv -lavfi  "setpts=PTS-
 STARTPTS,split=2[a][b],[a][1:v]ssim;[b][1:v]psnr" -f null -
 ffmpeg version N-78980-ga008a7c Copyright (c) 2000-2016 the FFmpeg
 developers
   built with clang version 3.7.0 (tags/RELEASE_370/final)
   configuration: --prefix=/sw --enable-gpl --enable-version3 --enable-
 nonfree --enable-pthreads --cc=clang-mp-3.7 --cxx=clang++-mp-3.7
 --optflags=-Ofast --target-os=darwin --arch=x86_64 --cpu=corei7-avx
 --enable-avresample --enable-libspeex --enable-libvpx --enable-libmp3lame
 --enable-libtheora --enable-libvorbis --enable-libfaac --enable-libfdk-aac
 --enable-libschroedinger --enable-libmodplug --enable-libxvid --enable-
 libopus --enable-lzma --enable-gnutls --enable-fontconfig --enable-
 libfribidi --enable-libsmbclient --enable-libopenjpeg --enable-libfreetype
 --enable-openssl --enable-libass --enable-libbluray --enable-
 libopencore_amrwb --enable-libopencore_amrnb --enable-libx264 --enable-
 librtmp --enable-libx265 --enable-opencl --enable-libzimg --enable-
 libvidstab --enable-libsoxr --enable-gcrypt --enable-gmp --enable-
 libdc1394 --enable-libcaca --enable-libcdio
   libavutil      55. 19.100 / 55. 19.100
   libavcodec     57. 28.100 / 57. 28.100
   libavformat    57. 28.100 / 57. 28.100
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 39.102 /  6. 39.102
   libavresample   3.  0.  0 /  3.  0.  0
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, flv, from 'test.flv':
   Metadata:
     starttime       : 0
     totalduration   : 136
     totaldatarate   : 340
     bytelength      : 5780639
     canseekontime   : true
   Duration: 00:02:15.74, start: 0.000000, bitrate: 340 kb/s
     Stream #0:0: Video: flv1, yuv420p, 426x240, 274 kb/s, 29.97 fps, 29.97
 tbr, 1k tbn, 1k tbc
     Stream #0:1: Audio: mp3, 22050 Hz, stereo, s16p, 65 kb/s
 Input #1, matroska,webm, from 'libx264.mkv':
   Metadata:
     CANSEEKONTIME   : true
     STARTTIME       : 0
     TOTALDURATION   : 136
     TOTALDATARATE   : 340
     BYTELENGTH      : 5780639
     ENCODER         : Lavf57.28.100
   Duration: 00:02:15.93, start: 0.000000, bitrate: 3306 kb/s
     Stream #1:0: Video: h264 (High 4:4:4 Predictive), yuv420p, 426x240,
 SAR 1:1 DAR 71:40, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
     Metadata:
       ENCODER         : Lavc57.28.100 libx264
       DURATION        : 00:02:15.781000000
     Stream #1:1: Audio: vorbis, 22050 Hz, stereo, fltp (default)
     Metadata:
       ENCODER         : Lavc57.28.100 libvorbis
       DURATION        : 00:02:15.927000000
 Output #0, null, to 'pipe:':
   Metadata:
     starttime       : 0
     totalduration   : 136
     totaldatarate   : 340
     bytelength      : 5780639
     canseekontime   : true
     encoder         : Lavf57.28.100
     Stream #0:0: Video: wrapped_avframe, yuv420p, 426x240, q=2-31, 200
 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.28.100 wrapped_avframe
     Stream #0:1: Video: wrapped_avframe, yuv420p, 426x240, q=2-31, 200
 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.28.100 wrapped_avframe
     Stream #0:2: Audio: pcm_s16le, 22050 Hz, stereo, s16, 705 kb/s
     Metadata:
       encoder         : Lavc57.28.100 pcm_s16le
 Stream mapping:
   Stream #0:0 (flv) -> setpts (graph 0)
   Stream #1:0 (h264) -> ssim:reference (graph 0)
   Stream #1:0 (h264) -> psnr:reference (graph 0)
   ssim (graph 0) -> Stream #0:0 (wrapped_avframe)
   psnr (graph 0) -> Stream #0:1 (wrapped_avframe)
   Stream #0:1 -> #0:2 (mp3 (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 frame= 4068 fps=1689 q=-0.0 Lq=-0.0 size=N/A time=00:02:15.91 bitrate=N/A
 speed=56.4x
 video:3877kB audio:11707kB subtitle:0kB other streams:0kB global
 headers:0kB muxing overhead: unknown
 [Parsed_psnr_3 @ 0x7f83c2500d60] PSNR y:24.091316 u:36.333058 v:35.684405
 average:25.680279 min:6.083289 max:inf
 [Parsed_ssim_2 @ 0x7f83c2500940] SSIM Y:0.919136 (10.922455) U:0.984409
 (18.071169) V:0.983763 (17.894852) All:0.940786 (12.275757)

 ffmpeg -y -i test.flv -c:v libx264 -x264opts qp=0  -an
 libx264_without_a.mp4
 cd "/Users/m/Downloads/2016-03-10/"
 ffmpeg -y -i test.flv  -i libx264_without_a.mp4 -lavfi  "setpts=PTS-
 STARTPTS,split=2[a][b],[a][1:v]ssim;[b][1:v]psnr"  -f null -
 ffmpeg -y -i test.flv  -i libx264_without_a.mp4 -lavfi  "setpts=PTS-
 STARTPTS,split=2[a][b],[a][1:v]ssim;[b][1:v]psnr"  -f null -
 ffmpeg version N-78980-ga008a7c Copyright (c) 2000-2016 the FFmpeg
 developers
   built with clang version 3.7.0 (tags/RELEASE_370/final)
   configuration: --prefix=/sw --enable-gpl --enable-version3 --enable-
 nonfree --enable-pthreads --cc=clang-mp-3.7 --cxx=clang++-mp-3.7
 --optflags=-Ofast --target-os=darwin --arch=x86_64 --cpu=corei7-avx
 --enable-avresample --enable-libspeex --enable-libvpx --enable-libmp3lame
 --enable-libtheora --enable-libvorbis --enable-libfaac --enable-libfdk-aac
 --enable-libschroedinger --enable-libmodplug --enable-libxvid --enable-
 libopus --enable-lzma --enable-gnutls --enable-fontconfig --enable-
 libfribidi --enable-libsmbclient --enable-libopenjpeg --enable-libfreetype
 --enable-openssl --enable-libass --enable-libbluray --enable-
 libopencore_amrwb --enable-libopencore_amrnb --enable-libx264 --enable-
 librtmp --enable-libx265 --enable-opencl --enable-libzimg --enable-
 libvidstab --enable-libsoxr --enable-gcrypt --enable-gmp --enable-
 libdc1394 --enable-libcaca --enable-libcdio
   libavutil      55. 19.100 / 55. 19.100
   libavcodec     57. 28.100 / 57. 28.100
   libavformat    57. 28.100 / 57. 28.100
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 39.102 /  6. 39.102
   libavresample   3.  0.  0 /  3.  0.  0
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, flv, from 'test.flv':
   Metadata:
     starttime       : 0
     totalduration   : 136
     totaldatarate   : 340
     bytelength      : 5780639
     canseekontime   : true
   Duration: 00:02:15.74, start: 0.000000, bitrate: 340 kb/s
     Stream #0:0: Video: flv1, yuv420p, 426x240, 274 kb/s, 29.97 fps, 29.97
 tbr, 1k tbn, 1k tbc
     Stream #0:1: Audio: mp3, 22050 Hz, stereo, s16p, 65 kb/s
 Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'libx264_without_a.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf57.28.100
   Duration: 00:02:15.77, start: 0.000000, bitrate: 3251 kb/s
     Stream #1:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 /
 0x31637661), yuv420p, 426x240, 3250 kb/s, 29.97 fps, 29.97 tbr, 30k tbn,
 59.94 tbc (default)
     Metadata:
       handler_name    : VideoHandler
 Output #0, null, to 'pipe:':
   Metadata:
     starttime       : 0
     totalduration   : 136
     totaldatarate   : 340
     bytelength      : 5780639
     canseekontime   : true
     encoder         : Lavf57.28.100
     Stream #0:0: Video: wrapped_avframe, yuv420p, 426x240, q=2-31, 200
 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.28.100 wrapped_avframe
     Stream #0:1: Video: wrapped_avframe, yuv420p, 426x240, q=2-31, 200
 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.28.100 wrapped_avframe
     Stream #0:2: Audio: pcm_s16le, 22050 Hz, stereo, s16, 705 kb/s
     Metadata:
       encoder         : Lavc57.28.100 pcm_s16le
 Stream mapping:
   Stream #0:0 (flv) -> setpts (graph 0)
   Stream #1:0 (h264) -> ssim:reference (graph 0)
   Stream #1:0 (h264) -> psnr:reference (graph 0)
   ssim (graph 0) -> Stream #0:0 (wrapped_avframe)
   psnr (graph 0) -> Stream #0:1 (wrapped_avframe)
   Stream #0:1 -> #0:2 (mp3 (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 frame= 4068 fps=1684 q=-0.0 Lq=-0.0 size=N/A time=00:02:15.91 bitrate=N/A
 speed=56.2x
 video:3877kB audio:11707kB subtitle:0kB other streams:0kB global
 headers:0kB muxing overhead: unknown
 [Parsed_psnr_3 @ 0x7ffe8a700d80] PSNR y:27.102515 u:39.464014 v:38.874252
 average:28.696125 min:6.083989 max:inf
 [Parsed_ssim_2 @ 0x7ffe8a700960] SSIM Y:0.951372 (13.131097) U:0.991440
 (20.675277) V:0.991159 (20.534846) All:0.964681 (14.519899)

 ffmpeg -y -i test.flv  -i libx264.mp4 -lavfi  "setpts=PTS-
 STARTPTS,split=2[a][b],[a][1:v]ssim;[b][1:v]psnr"  -f null -
 ffmpeg version N-78980-ga008a7c Copyright (c) 2000-2016 the FFmpeg
 developers
   built with clang version 3.7.0 (tags/RELEASE_370/final)
   configuration: --prefix=/sw --enable-gpl --enable-version3 --enable-
 nonfree --enable-pthreads --cc=clang-mp-3.7 --cxx=clang++-mp-3.7
 --optflags=-Ofast --target-os=darwin --arch=x86_64 --cpu=corei7-avx
 --enable-avresample --enable-libspeex --enable-libvpx --enable-libmp3lame
 --enable-libtheora --enable-libvorbis --enable-libfaac --enable-libfdk-aac
 --enable-libschroedinger --enable-libmodplug --enable-libxvid --enable-
 libopus --enable-lzma --enable-gnutls --enable-fontconfig --enable-
 libfribidi --enable-libsmbclient --enable-libopenjpeg --enable-libfreetype
 --enable-openssl --enable-libass --enable-libbluray --enable-
 libopencore_amrwb --enable-libopencore_amrnb --enable-libx264 --enable-
 librtmp --enable-libx265 --enable-opencl --enable-libzimg --enable-
 libvidstab --enable-libsoxr --enable-gcrypt --enable-gmp --enable-
 libdc1394 --enable-libcaca --enable-libcdio
   libavutil      55. 19.100 / 55. 19.100
   libavcodec     57. 28.100 / 57. 28.100
   libavformat    57. 28.100 / 57. 28.100
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 39.102 /  6. 39.102
   libavresample   3.  0.  0 /  3.  0.  0
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, flv, from 'test.flv':
   Metadata:
     starttime       : 0
     totalduration   : 136
     totaldatarate   : 340
     bytelength      : 5780639
     canseekontime   : true
   Duration: 00:02:15.74, start: 0.000000, bitrate: 340 kb/s
     Stream #0:0: Video: flv1, yuv420p, 426x240, 274 kb/s, 29.97 fps, 29.97
 tbr, 1k tbn, 1k tbc
     Stream #0:1: Audio: mp3, 22050 Hz, stereo, s16p, 65 kb/s
 Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'libx264.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf57.28.100
   Duration: 00:02:15.96, start: 0.046440, bitrate: 3381 kb/s
     Stream #1:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 /
 0x31637661), yuv420p, 426x240, 3250 kb/s, 29.97 fps, 29.97 tbr, 30k tbn,
 59.94 tbc (default)
     Metadata:
       handler_name    : VideoHandler
     Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz,
 stereo, fltp, 131 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
 Output #0, null, to 'pipe:':
   Metadata:
     starttime       : 0
     totalduration   : 136
     totaldatarate   : 340
     bytelength      : 5780639
     canseekontime   : true
     encoder         : Lavf57.28.100
     Stream #0:0: Video: wrapped_avframe, yuv420p, 426x240, q=2-31, 200
 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.28.100 wrapped_avframe
     Stream #0:1: Video: wrapped_avframe, yuv420p, 426x240, q=2-31, 200
 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.28.100 wrapped_avframe
     Stream #0:2: Audio: pcm_s16le, 22050 Hz, stereo, s16, 705 kb/s
     Metadata:
       encoder         : Lavc57.28.100 pcm_s16le
 Stream mapping:
   Stream #0:0 (flv) -> setpts (graph 0)
   Stream #1:0 (h264) -> ssim:reference (graph 0)
   Stream #1:0 (h264) -> psnr:reference (graph 0)
   ssim (graph 0) -> Stream #0:0 (wrapped_avframe)
   psnr (graph 0) -> Stream #0:1 (wrapped_avframe)
   Stream #0:1 -> #0:2 (mp3 (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 frame= 4068 fps=1709 q=-0.0 Lq=-0.0 size=N/A time=00:02:15.91 bitrate=N/A
 speed=57.1x
 video:3877kB audio:11707kB subtitle:0kB other streams:0kB global
 headers:0kB muxing overhead: unknown
 [Parsed_psnr_3 @ 0x7f9203600d80] PSNR y:22.417777 u:34.467720 v:33.790665
 average:24.000120 min:6.083333 max:inf
 [Parsed_ssim_2 @ 0x7f9203600960] SSIM Y:0.896930 (9.868672) U:0.978251
 (16.625703) V:0.977157 (16.412444) All:0.923855 (11.183568)

 ffmpeg -y -i test.flv  -i libx264_without_a.h264 -lavfi  "setpts=PTS-
 STARTPTS,split=2[a][b],[a][1:v]ssim;[b][1:v]psnr"  -f null -
 ffmpeg version N-78980-ga008a7c Copyright (c) 2000-2016 the FFmpeg
 developers
   built with clang version 3.7.0 (tags/RELEASE_370/final)
   configuration: --prefix=/sw --enable-gpl --enable-version3 --enable-
 nonfree --enable-pthreads --cc=clang-mp-3.7 --cxx=clang++-mp-3.7
 --optflags=-Ofast --target-os=darwin --arch=x86_64 --cpu=corei7-avx
 --enable-avresample --enable-libspeex --enable-libvpx --enable-libmp3lame
 --enable-libtheora --enable-libvorbis --enable-libfaac --enable-libfdk-aac
 --enable-libschroedinger --enable-libmodplug --enable-libxvid --enable-
 libopus --enable-lzma --enable-gnutls --enable-fontconfig --enable-
 libfribidi --enable-libsmbclient --enable-libopenjpeg --enable-libfreetype
 --enable-openssl --enable-libass --enable-libbluray --enable-
 libopencore_amrwb --enable-libopencore_amrnb --enable-libx264 --enable-
 librtmp --enable-libx265 --enable-opencl --enable-libzimg --enable-
 libvidstab --enable-libsoxr --enable-gcrypt --enable-gmp --enable-
 libdc1394 --enable-libcaca --enable-libcdio
   libavutil      55. 19.100 / 55. 19.100
   libavcodec     57. 28.100 / 57. 28.100
   libavformat    57. 28.100 / 57. 28.100
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 39.102 /  6. 39.102
   libavresample   3.  0.  0 /  3.  0.  0
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, flv, from 'test.flv':
   Metadata:
     starttime       : 0
     totalduration   : 136
     totaldatarate   : 340
     bytelength      : 5780639
     canseekontime   : true
   Duration: 00:02:15.74, start: 0.000000, bitrate: 340 kb/s
     Stream #0:0: Video: flv1, yuv420p, 426x240, 274 kb/s, 29.97 fps, 29.97
 tbr, 1k tbn, 1k tbc
     Stream #0:1: Audio: mp3, 22050 Hz, stereo, s16p, 65 kb/s
 Input #1, h264, from 'libx264_without_a.h264':
   Duration: N/A, bitrate: N/A
     Stream #1:0: Video: h264 (High 4:4:4 Predictive), yuv420p, 426x240,
 29.97 fps, 29.97 tbr, 1200k tbn, 59.94 tbc
 Output #0, null, to 'pipe:':
   Metadata:
     starttime       : 0
     totalduration   : 136
     totaldatarate   : 340
     bytelength      : 5780639
     canseekontime   : true
     encoder         : Lavf57.28.100
     Stream #0:0: Video: wrapped_avframe, yuv420p, 426x240, q=2-31, 200
 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.28.100 wrapped_avframe
     Stream #0:1: Video: wrapped_avframe, yuv420p, 426x240, q=2-31, 200
 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
     Metadata:
       encoder         : Lavc57.28.100 wrapped_avframe
     Stream #0:2: Audio: pcm_s16le, 22050 Hz, stereo, s16, 705 kb/s
     Metadata:
       encoder         : Lavc57.28.100 pcm_s16le
 Stream mapping:
   Stream #0:0 (flv) -> setpts (graph 0)
   Stream #1:0 (h264) -> ssim:reference (graph 0)
   Stream #1:0 (h264) -> psnr:reference (graph 0)
   ssim (graph 0) -> Stream #0:0 (wrapped_avframe)
   psnr (graph 0) -> Stream #0:1 (wrapped_avframe)
   Stream #0:1 -> #0:2 (mp3 (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 frame= 4068 fps=1678 q=-0.0 Lq=-0.0 size=N/A time=00:02:15.91 bitrate=N/A
 speed=56.1x
 video:3877kB audio:11707kB subtitle:0kB other streams:0kB global
 headers:0kB muxing overhead: unknown
 [Parsed_psnr_3 @ 0x7fc111d02320] PSNR y:24.093409 u:36.335188 v:35.686523
 average:25.682373 min:6.083289 max:inf
 [Parsed_ssim_2 @ 0x7fc111d01ee0] SSIM Y:0.919171 (10.924350) U:0.984416
 (18.073267) V:0.983770 (17.896915) All:0.940812 (12.277668)
 }}}'

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


More information about the FFmpeg-trac mailing list