[FFmpeg-user] Problem with -vf fillborders on 16 bit image

Ulf Zibis Ulf.Zibis at gmx.de
Sat Mar 9 00:48:46 EET 2019


Hi,

I do some experiences with 16 bit input and I discover a colour problem
(see attached screenshot).
The input image is from https://samples.ffmpeg.org/image-samples/

Here is what I did:
$ ./ffmpeg -i debug/flower-separated-contig-16.tif -vf
fillborders=6:6:6:6:smear debug/flower-contig-16_smear-6-6-6-6.tif
ffmpeg version N-93301-gf95aee2b72 Copyright (c) 2000-2019 the FFmpeg
developers
  built with gcc 7 (Ubuntu 7.3.0-27ubuntu1~18.04)
  configuration:
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 47.103 / 58. 47.103
  libavformat    58. 26.101 / 58. 26.101
  libavdevice    58.  6.101 / 58.  6.101
  libavfilter     7. 48.100 /  7. 48.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
Input #0, tiff_pipe, from 'debug/flower-separated-contig-16.tif':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: tiff, rgba64be, 73x43 [SAR 1:1 DAR 73:43], 25
tbr, 25 tbn, 25 tbc
File 'debug/flower-contig-16_smear-6-6-6-6.tif' already exists.
Overwrite ? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (tiff (native) -> tiff (native))
Press [q] to stop, [?] for help
Output #0, image2, to 'debug/flower-contig-16_smear-6-6-6-6.tif':
  Metadata:
    encoder         : Lavf58.26.101
    Stream #0:0: Video: tiff, rgba64le, 73x43 [SAR 1:1 DAR 73:43],
q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.47.103 tiff
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
speed=0.644x   
video:25kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown

-Ulf

-- 
Von meinem Seibert gesendet

-------------- next part --------------
A non-text attachment was scrubbed...
Name: flower-separated-contig-16.tif
Type: image/tiff
Size: 25483 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20190308/f3fe2106/attachment.tif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flower-contig-16_smear-6-6-6-6.tif
Type: image/tiff
Size: 25562 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20190308/f3fe2106/attachment-0001.tif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: in+out_16bit.jpg
Type: image/jpeg
Size: 84316 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20190308/f3fe2106/attachment.jpg>


More information about the ffmpeg-user mailing list