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

Paul B Mahol onemda at gmail.com
Sat Mar 9 01:18:02 EET 2019


On 3/8/19, Ulf Zibis <Ulf.Zibis at gmx.de> wrote:
> 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
>
>

tiff is encoded with alpha, which is not initially available. Filter
is working fine.


More information about the ffmpeg-user mailing list