[FFmpeg-trac] #4187(avfilter:new): PSNR filter not returning error with different input formats
FFmpeg
trac at avcodec.org
Sun Dec 14 10:48:00 CET 2014
#4187: PSNR filter not returning error with different input formats
----------------------------------+--------------------------------------
Reporter: govind | Type: defect
Status: new | Priority: minor
Component: avfilter | Version: git-master
Keywords: PSNR | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
I am expecting the psnr-filter to return with error message "Inputs must
be of same pixel format." if I try to run it on two inputs with different
pixel format. But it is going ahead with the processing.
I don't know if this is the default behavior. But even if one of the
input, again it is not sure which one, is undergoing reformatting before
being fed to the psnr-filter, shouldn't it warn user about what is
happening internally?
How to reproduce:
{{{
% ffmpeg -f rawvideo -s:v 1280x720 -pix_fmt yuv422p -i input1.yuv -f
rawvideo -s:v 1280x720 -pix_fmt yuv420p -i input2.yuv -filter_complex psnr
-f null -
ffmpeg version 2.5.git Copyright (c) 2000-2014 the FFmpeg developers
built on Dec 14 2014 15:08:09 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration:
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 14.100 / 56. 14.100
libavformat 56. 15.105 / 56. 15.105
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 3.101 / 5. 3.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
built on Ubuntu14.04
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4187>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list