[FFmpeg-trac] #9705(undetermined:closed): Wrong value is written to *.pgm file
FFmpeg
trac at avcodec.org
Wed Mar 30 14:56:33 EEST 2022
#9705: Wrong value is written to *.pgm file
-------------------------------------+-------------------------------------
Reporter: Michael | Owner: (none)
Koch |
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: git-master | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Michael Koch):
Replying to [comment:1 Elon Musk]:
> Using 0 is better.
Why is 0 better? I'm making *.pgm files for the remap filter. In this case
0 is a valid output value. 65535 is not, and would force remap to use the
"fill" color. It's very difficult to debug complicated functions if a
wrong result is written to the output file and no error message is thrown.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9705#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list