#5972: Zscale st_2084 transfer function from ZIMG -------------------------------------+------------------------------------ Reporter: muxketeer | Owner: Type: enhancement | Status: reopened Priority: wish | Component: avfilter Version: git-master | Resolution: Keywords: libzimg | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by muxketeer): The command I want to use is as follows: {{{ ./ffmpeg -loglevel debug -y -start_number $startNumber -f image2 -r 23.976 -i $input -vf showinfo,zscale=rangein=full:primariesin=smpte432:transferin=smpte2084:matrixin=input:range=full:primaries=2020:transfer=smpte2084:matrix=2020_ncl:filter=lanczos:dither=error_diffusion,format=yuv420p10 ~/myfifo.yuv & }}} According to ffprobe the pixel format is rgb48le (see below). I think the 'yuv444p16' is the pixel format it gets "up-converted" to (basically, just adding empty bits) before being converted to yuv420p. {{{ root@71cd9cfee65a:~/ffmpeg_sources/ffmpeg_hdr/ffmpeg# ./ffprobe -show_frames -show_format -show_streams -print_format json -i /path/to/just/onetiff/inTIFFsequence0001.tiff ffprobe version N-82665-gbda6f29 Copyright (c) 2007-2016 the FFmpeg developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3) configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra- ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable- libzimg --enable-nonfree libavutil 55. 41.101 / 55. 41.101 libavcodec 57. 66.108 / 57. 66.108 libavformat 57. 58.101 / 57. 58.101 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 67.100 / 6. 67.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 { [tiff_pipe @ 0x2d91bc0] Stream #0: not enough frames to estimate rate; consider increasing probesize Input #0, tiff_pipe, from '/path/to/just/onetiff/inTIFFsequence0001.tiff': Duration: N/A, bitrate: N/A Stream #0:0: Video: tiff, rgb48le, 1920x1080, 25 tbr, 25 tbn, 25 tbc "frames": [ { "media_type": "video", "stream_index": 0, "key_frame": 1, "pkt_pts": 0, "pkt_pts_time": "0.000000", "pkt_dts": 0, "pkt_dts_time": "0.000000", "best_effort_timestamp": 0, "best_effort_timestamp_time": "0.000000", "pkt_duration": 1, "pkt_duration_time": "0.040000", "pkt_pos": "0", "pkt_size": "12441758", "width": 1920, "height": 1080, "pix_fmt": "rgb48le", "pict_type": "?", "coded_picture_number": 0, "display_picture_number": 0, "interlaced_frame": 0, "top_field_first": 0, "repeat_pict": 0 } ], "streams": [ { "index": 0, "codec_name": "tiff", "codec_long_name": "TIFF image", "codec_type": "video", "codec_time_base": "0/1", "codec_tag_string": "[0][0][0][0]", "codec_tag": "0x0000", "width": 1920, "height": 1080, "coded_width": 1920, "coded_height": 1080, "has_b_frames": 0, "sample_aspect_ratio": "0:1", "display_aspect_ratio": "0:1", "pix_fmt": "rgb48le", "level": -99, "refs": 1, "r_frame_rate": "25/1", "avg_frame_rate": "0/0", "time_base": "1/25", "nb_read_frames": "1", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 } } ], "format": { "filename": "/path/to/just/onetiff/inTIFFsequence0001.tiff", "nb_streams": 1, "nb_programs": 0, "format_name": "tiff_pipe", "format_long_name": "piped tiff sequence", "size": "12441758", "probe_score": 51 } } }}} I'll get one .tiff from the sequence to you. -- Ticket URL: <https://trac.ffmpeg.org/ticket/5972#comment:15> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker