<p>Ok, so your input is full-range <code>(pc, bt709)</code> which is unusual, so let's try to correct that.</p>

<pre><code>ffmpeg -i ffmpeg.MOV -vf scale=in_range=pc:out_range=tv -c:v prores -c:a copy prores_auto.mov
</code></pre>

CC BY-SA 4.0
2018-10-18T13:09:17.507Z
This seems to work for the contrast (still a tiny bit more contrast thought. But with this command the colour in the output has changed every so slightly.
sirbaxx
CC BY-SA 4.0
2018-10-18T13:15:21.110Z
screenshot of Lumetri Scopes of original footage:
https://www.dropbox.com/s/twk01qcojhsvoa1/original%20footage.png?dl=0

screenshot of Lumetri Scopes of transcoded footage:
https://www.dropbox.com/s/ul9t7rg798x70gt/ProRes%20footage.png?dl=0
sirbaxx
CC BY-SA 4.0
2018-10-18T13:37:46.823Z
Change to `scale=in_range=pc:out_range=tv:out_color_matrix=bt709`
Gyan
CC BY-SA 4.0
2018-10-18T15:10:32.677Z
The output is still the same with that command (colour shift). The footage is recorded in LOG in 10bit by the way. Not in Rec.709. Don't know if that helps?
sirbaxx
CC BY-SA 4.0
2018-10-17T19:29:21.247Z
2018-10-17T19:29:21.247Z
Gyan
<pre><code>ffmpeg -i &quot;source.mov&quot; -map_metadata 0 -pix_fmt yuv422p10le -c:v prores_ks -profile:v 4 -c:a pcm_s24le -movflags write_colr &quot;out.mov&quot;
</code></pre>
<p>this will create ProRES (10bit) MOV file (<code>-map_metadata</code> allows to keep recording dates). Audio will be PCM 24bit. Timecode will be also copied by default.</p>
<p>If you want to flag ProRES as full range you add: <code>-color_range pc</code>. By default it's always flagged as limited range (even if FFmpeg properly reads the color range).</p>

CC BY-SA 4.0
2020-01-01T20:29:41.667Z
2023-08-01T21:38:46.330Z
2023-08-01T21:38:46.330Z
2PassingBy
<p>I'm trying to convert H.264 footage from a Panasonic EVA1 camera to Apple ProRes with ffmpeg. However no matter which setting I use, the output file has slightly more contrast than the original input file.</p>

<p>Some of the commands I've tried are:</p>

<pre><code>ffmpeg -i /Users/roy/Desktop/devnull/ffmpeg\ test/ffmpeg.MOV -vcodec prores -acodec copy /Users/roy/Desktop/devnull/ffmpeg\ test/prores_auto.mov

ffmpeg -i /Users/roy/Desktop/devnull/ffmpeg\ test/ffmpeg.MOV -c:v prores_ks -profile:v 2 -c:a copy /Users/roy/Desktop/devnull/ffmpeg\ test/prores_ks_standard.mov
</code></pre>

<p>When I convert the input footage with the Quicktime Animation codec first ffmpeg does not introduce extra contrast in the output footage.</p>

<p>Is there an extra flag that I'm supposed to be using? Does is it have something to do with a wrongly interpreted colourspace in ffmpeg?</p>

<p>The log for the first command:</p>

<pre><code>&gt; Roy-iMac:~ roy$ ffmpeg -i /Users/roy/Desktop/devnull/ffmpeg\
&gt; test/ffmpeg.MOV -vcodec prores -acodec copy
&gt; /Users/roy/Desktop/devnull/ffmpeg\ test/prores_auto.mov ffmpeg version
&gt; 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers   built with Apple LLVM version 9.1.0 (clang-902.0.39.2)   configuration:
&gt; --prefix=/usr/local/Cellar/ffmpeg/4.0.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma   libavutil      56. 14.100 / 56. 14.100   libavcodec     58. 18.100 / 58. 18.100   libavformat    58. 12.100 / 58. 12.100   libavdevice    58.  3.100 /
&gt; 58.  3.100   libavfilter     7. 16.100 /  7. 16.100   libavresample   4.  0.  0 /  4.  0.  0   libswscale      5.  1.100 /  5.  1.100   libswresample   3.  1.100 /  3.  1.100   libpostproc    55.  1.100 /
&gt; 55.  1.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd96c800000] decoding for stream 0 failed Guessed Channel Layout for Input Stream #0.1 : stereo
&gt; Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
&gt; '/Users/roy/Desktop/devnull/ffmpeg test/ffmpeg.MOV':   Metadata:
&gt;     major_brand     : qt  
&gt;     minor_version   : 537986816
&gt;     compatible_brands: qt  pana
&gt;     creation_time   : 2018-10-12T13:49:01.000000Z
&gt;     com.panasonic.Semi-Pro.metadata.xml: &lt;?xml version="1.0" encoding="UTF-8" standalone="no" ?&gt;
&gt;                     : &lt;ClipMain xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
&gt; xmlns="urn:schemas-Professional-Plug-in:Semi-Pro:ClipMetadata:v1.0"&gt;
&gt;                     :   &lt;ClipContent&gt;
&gt;                     :     &lt;GlobalClipID&gt;060A2B340101010501010D431300000060F44F8E038405C6008045821D6BD519&lt;/GlobalClipID&gt;
&gt;                     :     &lt;Duration&gt;420&lt;/Duration&gt;
&gt;                     :     &lt;EditUnit&gt;1/25&lt;/EditUnit&gt;
&gt;                     :     &lt;EssenceList&gt;
&gt;                     :       &lt;Video&gt;
&gt;                     :         &lt;Codec BitRate="150"&gt;H264_422_LongGOP&lt;/Codec&gt;
&gt;                     :         &lt;ActiveLine&gt;2160&lt;/ActiveLine&gt;
&gt;                     :         &lt;ActivePixel&gt;3840&lt;/ActivePixel&gt;
&gt;                     :         &lt;BitDepth&gt;10&lt;/BitDepth&gt;
&gt;                     :         &lt;FrameRate&gt;25p&lt;/FrameRate&gt;
&gt;                     :         &lt;TimecodeType&gt;NonDrop&lt;/TimecodeType&gt;
&gt;                     :         &lt;StartTimecode&gt;03:19:16:01&lt;/StartTimecode&gt;
&gt;                     :         &lt;StartBinaryGroup&gt;00000000&lt;/StartBinaryGroup&gt;
&gt;                     :       &lt;/Video&gt;
&gt;                     :       &lt;Audio&gt;
&gt;                     :         &lt;Channel&gt;2&lt;/Channel&gt;
&gt;                     :         &lt;SamplingRate&gt;48000&lt;/SamplingRate&gt;
&gt;                     :         &lt;BitsPerSample&gt;24&lt;/BitsPerSample&gt;
&gt;                     :       &lt;/Audio&gt;
&gt;                     :     &lt;/EssenceList&gt;
&gt;                     :     &lt;ClipMetadata&gt;
&gt;                     :       &lt;UserClipName&gt;A014C005_181012_K7B3&lt;/UserClipName&gt;
&gt;                     :       &lt;Access&gt;
&gt;                     :         &lt;CreationDate&gt;2018-10-12T14:49:01+01:00&lt;/CreationDate&gt;
&gt;                     :       &lt;/Access&gt;
&gt;                     :       &lt;Device&gt;
&gt;                     :         &lt;Manufacturer&gt;Panasonic&lt;/Manufacturer&gt;
&gt;                     :         &lt;SerialNo.&gt;K7TAA0323&lt;/SerialNo.&gt;
&gt;                     :         &lt;ModelName&gt;AU-EVA1&lt;/ModelName&gt;
&gt;                     :       &lt;/Device&gt;
&gt;                     :       &lt;Shoot&gt;
&gt;                     :         &lt;StartDate&gt;2018-10-12T14:49:01+01:00&lt;/StartDate&gt;
&gt;                     :       &lt;/Shoot&gt;
&gt;                     :     &lt;/ClipMetadata&gt;
&gt;                     :   &lt;/ClipContent&gt;
&gt;                     :   &lt;UserArea&gt;
&gt;                     :     &lt;AcquisitionMetadata xmlns="urn:schemas-Professional-Plug-in:P2:CameraMetadata:v1.2"&gt;
&gt;                     :       &lt;CameraUnitMetadata&gt;
&gt;                     :         &lt;ISOSensitivity&gt;2500&lt;/ISOSensitivity&gt;
&gt;                     :         &lt;WhiteBalanceColorTemperature&gt;4500K&lt;/WhiteBalanceColorTemperature&gt;
&gt;                     :         &lt;Gamma&gt;
&gt;                     :           &lt;CaptureGamma&gt;V-Log&lt;/CaptureGamma&gt;
&gt;                     :         &lt;/Gamma&gt;
&gt;                     :         &lt;Gamut&gt;
&gt;                     :           &lt;CaptureGamut&gt;V-Gamut&lt;/CaptureGamut&gt;
&gt;                     :         &lt;/Gamut&gt;
&gt;                     :       &lt;/CameraUnitMetadata&gt;
&gt;                     :     &lt;/AcquisitionMetadata&gt;
&gt;                     :   &lt;/UserArea&gt;
&gt;                     : &lt;/ClipMain&gt;
&gt;                     :    Duration: 00:00:16.80, start: 0.000000, bitrate: 150123 kb/s
&gt;     Stream #0:0(eng): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuv422p10le(pc, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 147693 kb/s, 25
&gt; fps, 25 tbr, 90k tbn, 50 tbc (default)
&gt;     Metadata:
&gt;       creation_time   : 2018-10-12T13:49:01.000000Z
&gt;       timecode        : 03:19:16:01
&gt;     Stream #0:1(eng): Audio: pcm_s24be (lpcm / 0x6D63706C), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
&gt;     Metadata:
&gt;       creation_time   : 2018-10-12T13:49:01.000000Z
&gt;       timecode        : 03:19:16:01
&gt;     Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
&gt;     Metadata:
&gt;       creation_time   : 2018-10-12T13:49:01.000000Z
&gt;       reel_name       : A014
&gt;       timecode        : 03:19:16:01 File '/Users/roy/Desktop/devnull/ffmpeg test/prores_auto.mov' already
&gt; exists. Overwrite ? [y/N] y Stream mapping:   Stream #0:0 -&gt; #0:0
&gt; (h264 (native) -&gt; prores (native))   Stream #0:1 -&gt; #0:1 (copy) Press
&gt; [q] to stop, [?] for help [prores @ 0x7fd96e003a00] encoding with
&gt; ProRes standard (apcn) profile [prores @ 0x7fd96e006200] encoding with
&gt; ProRes standard (apcn) profile [prores @ 0x7fd96e008a00] encoding with
&gt; ProRes standard (apcn) profile [prores @ 0x7fd970066400] encoding with
&gt; ProRes standard (apcn) profile [prores @ 0x7fd9700cf800] encoding with
&gt; ProRes standard (apcn) profile [prores @ 0x7fd96e00b200] encoding with
&gt; ProRes standard (apcn) profile [prores @ 0x7fd96e00da00] encoding with
&gt; ProRes standard (apcn) profile [prores @ 0x7fd96e806200] encoding with
&gt; ProRes standard (apcn) profile [prores @ 0x7fd96c80a400] encoding with
&gt; ProRes standard (apcn) profile Output #0, mov, to
&gt; '/Users/roy/Desktop/devnull/ffmpeg test/prores_auto.mov':   Metadata:
&gt;     major_brand     : qt  
&gt;     minor_version   : 537986816
&gt;     compatible_brands: qt  pana
&gt;     com.panasonic.Semi-Pro.metadata.xml: &lt;?xml version="1.0" encoding="UTF-8" standalone="no" ?&gt;
&gt;                     : &lt;ClipMain xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
&gt; xmlns="urn:schemas-Professional-Plug-in:Semi-Pro:ClipMetadata:v1.0"&gt;
&gt;                     :   &lt;ClipContent&gt;
&gt;                     :     &lt;GlobalClipID&gt;060A2B340101010501010D431300000060F44F8E038405C6008045821D6BD519&lt;/GlobalClipID&gt;
&gt;                     :     &lt;Duration&gt;420&lt;/Duration&gt;
&gt;                     :     &lt;EditUnit&gt;1/25&lt;/EditUnit&gt;
&gt;                     :     &lt;EssenceList&gt;
&gt;                     :       &lt;Video&gt;
&gt;                     :         &lt;Codec BitRate="150"&gt;H264_422_LongGOP&lt;/Codec&gt;
&gt;                     :         &lt;ActiveLine&gt;2160&lt;/ActiveLine&gt;
&gt;                     :         &lt;ActivePixel&gt;3840&lt;/ActivePixel&gt;
&gt;                     :         &lt;BitDepth&gt;10&lt;/BitDepth&gt;
&gt;                     :         &lt;FrameRate&gt;25p&lt;/FrameRate&gt;
&gt;                     :         &lt;TimecodeType&gt;NonDrop&lt;/TimecodeType&gt;
&gt;                     :         &lt;StartTimecode&gt;03:19:16:01&lt;/StartTimecode&gt;
&gt;                     :         &lt;StartBinaryGroup&gt;00000000&lt;/StartBinaryGroup&gt;
&gt;                     :       &lt;/Video&gt;
&gt;                     :       &lt;Audio&gt;
&gt;                     :         &lt;Channel&gt;2&lt;/Channel&gt;
&gt;                     :         &lt;SamplingRate&gt;48000&lt;/SamplingRate&gt;
&gt;                     :         &lt;BitsPerSample&gt;24&lt;/BitsPerSample&gt;
&gt;                     :       &lt;/Audio&gt;
&gt;                     :     &lt;/EssenceList&gt;
&gt;                     :     &lt;ClipMetadata&gt;
&gt;                     :       &lt;UserClipName&gt;A014C005_181012_K7B3&lt;/UserClipName&gt;
&gt;                     :       &lt;Access&gt;
&gt;                     :         &lt;CreationDate&gt;2018-10-12T14:49:01+01:00&lt;/CreationDate&gt;
&gt;                     :       &lt;/Access&gt;
&gt;                     :       &lt;Device&gt;
&gt;                     :         &lt;Manufacturer&gt;Panasonic&lt;/Manufacturer&gt;
&gt;                     :         &lt;SerialNo.&gt;K7TAA0323&lt;/SerialNo.&gt;
&gt;                     :         &lt;ModelName&gt;AU-EVA1&lt;/ModelName&gt;
&gt;                     :       &lt;/Device&gt;
&gt;                     :       &lt;Shoot&gt;
&gt;                     :         &lt;StartDate&gt;2018-10-12T14:49:01+01:00&lt;/StartDate&gt;
&gt;                     :       &lt;/Shoot&gt;
&gt;                     :     &lt;/ClipMetadata&gt;
&gt;                     :   &lt;/ClipContent&gt;
&gt;                     :   &lt;UserArea&gt;
&gt;                     :     &lt;AcquisitionMetadata xmlns="urn:schemas-Professional-Plug-in:P2:CameraMetadata:v1.2"&gt;
&gt;                     :       &lt;CameraUnitMetadata&gt;
&gt;                     :         &lt;ISOSensitivity&gt;2500&lt;/ISOSensitivity&gt;
&gt;                     :         &lt;WhiteBalanceColorTemperature&gt;4500K&lt;/WhiteBalanceColorTemperature&gt;
&gt;                     :         &lt;Gamma&gt;
&gt;                     :           &lt;CaptureGamma&gt;V-Log&lt;/CaptureGamma&gt;
&gt;                     :         &lt;/Gamma&gt;
&gt;                     :         &lt;Gamut&gt;
&gt;                     :           &lt;CaptureGamut&gt;V-Gamut&lt;/CaptureGamut&gt;
&gt;                     :         &lt;/Gamut&gt;
&gt;                     :       &lt;/CameraUnitMetadata&gt;
&gt;                     :     &lt;/AcquisitionMetadata&gt;
&gt;                     :   &lt;/UserArea&gt;
&gt;                     : &lt;/ClipMain&gt;
&gt;                     : 
&gt;     encoder         : Lavf58.12.100
&gt;     Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le, 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 0.04 fps, 12800 tbn,
&gt; 25 tbc (default)
&gt;     Metadata:
&gt;       creation_time   : 2018-10-12T13:49:01.000000Z
&gt;       timecode        : 03:19:16:01
&gt;       encoder         : Lavc58.18.100 prores
&gt;     Stream #0:1(eng): Audio: pcm_s24be (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
&gt;     Metadata:
&gt;       creation_time   : 2018-10-12T13:49:01.000000Z
&gt;       timecode        : 03:19:16:01 frame=  420 fps= 20 q=-0.0 Lsize= 1036081kB time=00:00:16.78 bitrate=505533.8kbits/s speed=0.797x    
&gt; video:1031347kB audio:4725kB subtitle:0kB other streams:0kB global
&gt; headers:0kB muxing overhead: 0.000812%
</code></pre>

CC BY-SA 4.0
2018-10-17T05:09:10.663Z
Share the full log of the first command. How are you checking the output file?
Gyan
CC BY-SA 4.0
2018-10-17T16:39:49.367Z
I've added the log for the first command.
I checked the files in Adobe Premiere Pro, but the increased contrast can also be seen in other video players
sirbaxx
<ffmpeg><codec><mac><prores>
Convert to ProRes with ffmpeg adds unwanted contrast to footage
sirbaxx
# Convert to ProRes with ffmpeg adds unwanted contrast to footage

(Asked by: username_0 on 2018-10-16)

I'm trying to convert H.264 footage from a Panasonic EVA1 camera to Apple ProRes with ffmpeg. However no matter which setting I use, the output file has slightly more contrast than the original input file.
Some of the commands I've tried are:
ffmpeg -i /Users/roy/Desktop/devnull/ffmpeg\ test/ffmpeg.MOV -vcodec prores -acodec copy /Users/roy/Desktop/devnull/ffmpeg\ test/prores_auto.mov

ffmpeg -i /Users/roy/Desktop/devnull/ffmpeg\ test/ffmpeg.MOV -c:v prores_ks -profile:v 2 -c:a copy /Users/roy/Desktop/devnull/ffmpeg\ test/prores_ks_standard.mov

When I convert the input footage with the Quicktime Animation codec first ffmpeg does not introduce extra contrast in the output footage.
Is there an extra flag that I'm supposed to be using? Does is it have something to do with a wrongly interpreted colourspace in ffmpeg?
The log for the first command:
> Roy-iMac:~ roy$ ffmpeg -i /Users/roy/Desktop/devnull/ffmpeg\
> test/ffmpeg.MOV -vcodec prores -acodec copy
> /Users/roy/Desktop/devnull/ffmpeg\ test/prores_auto.mov ffmpeg version
> 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers   built with Apple LLVM version 9.1.0 (clang-902.0.39.2)   configuration:
> --prefix=/usr/local/Cellar/ffmpeg/4.0.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma   libavutil      56. 14.100 / 56. 14.100   libavcodec     58. 18.100 / 58. 18.100   libavformat    58. 12.100 / 58. 12.100   libavdevice    58.  3.100 /
> 58.  3.100   libavfilter     7. 16.100 /  7. 16.100   libavresample   4.  0.  0 /  4.  0.  0   libswscale      5.  1.100 /  5.  1.100   libswresample   3.  1.100 /  3.  1.100   libpostproc    55.  1.100 /
> 55.  1.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd96c800000] decoding for stream 0 failed Guessed Channel Layout for Input Stream #0.1 : stereo
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
> '/Users/roy/Desktop/devnull/ffmpeg test/ffmpeg.MOV':   Metadata:
>     major_brand     : qt  
>     minor_version   : 537986816
>     compatible_brands: qt  pana
>     creation_time   : 2018-10-12T13:49:01.000000Z
>     com.panasonic.Semi-Pro.metadata.xml: 
>                     :  xmlns="urn:schemas-Professional-Plug-in:Semi-Pro:ClipMetadata:v1.0">
>                     :   
>                     :     060A2B340101010501010D431300000060F44F8E038405C6008045821D6BD519
>                     :     420
>                     :     1/25
>                     :     
>                     :       
>                     :         H264_422_LongGOP
>                     :         2160
>                     :         3840
>                     :         10
>                     :         25p
>                     :         NonDrop
>                     :         03:19:16:01
>                     :         00000000
>                     :       
>                     :       
>                     :         2
>                     :         48000
>                     :         24
>                     :       
>                     :     
>                     :     
>                     :       A014C005_181012_K7B3
>                     :       
>                     :         2018-10-12T14:49:01+01:00
>                     :       
>                     :       
>                     :         Panasonic
>                     :         K7TAA0323
>                     :         AU-EVA1
>                     :       
>                     :       
>                     :         2018-10-12T14:49:01+01:00
>                     :       
>                     :     
>                     :   
>                     :   
>                     :     
>                     :       
>                     :         2500
>                     :         4500K
>                     :         
>                     :           V-Log
>                     :         
>                     :         
>                     :           V-Gamut
>                     :         
>                     :       
>                     :     
>                     :   
>                     : 
>                     :    Duration: 00:00:16.80, start: 0.000000, bitrate: 150123 kb/s
>     Stream #0:0(eng): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuv422p10le(pc, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 147693 kb/s, 25
> fps, 25 tbr, 90k tbn, 50 tbc (default)
>     Metadata:
>       creation_time   : 2018-10-12T13:49:01.000000Z
>       timecode        : 03:19:16:01
>     Stream #0:1(eng): Audio: pcm_s24be (lpcm / 0x6D63706C), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
>     Metadata:
>       creation_time   : 2018-10-12T13:49:01.000000Z
>       timecode        : 03:19:16:01
>     Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
>     Metadata:
>       creation_time   : 2018-10-12T13:49:01.000000Z
>       reel_name       : A014
>       timecode        : 03:19:16:01 File '/Users/roy/Desktop/devnull/ffmpeg test/prores_auto.mov' already
> exists. Overwrite ? [y/N] y Stream mapping:   Stream #0:0 -> #0:0
> (h264 (native) -> prores (native))   Stream #0:1 -> #0:1 (copy) Press
> [q] to stop, [?] for help [prores @ 0x7fd96e003a00] encoding with
> ProRes standard (apcn) profile [prores @ 0x7fd96e006200] encoding with
> ProRes standard (apcn) profile [prores @ 0x7fd96e008a00] encoding with
> ProRes standard (apcn) profile [prores @ 0x7fd970066400] encoding with
> ProRes standard (apcn) profile [prores @ 0x7fd9700cf800] encoding with
> ProRes standard (apcn) profile [prores @ 0x7fd96e00b200] encoding with
> ProRes standard (apcn) profile [prores @ 0x7fd96e00da00] encoding with
> ProRes standard (apcn) profile [prores @ 0x7fd96e806200] encoding with
> ProRes standard (apcn) profile [prores @ 0x7fd96c80a400] encoding with
> ProRes standard (apcn) profile Output #0, mov, to
> '/Users/roy/Desktop/devnull/ffmpeg test/prores_auto.mov':   Metadata:
>     major_brand     : qt  
>     minor_version   : 537986816
>     compatible_brands: qt  pana
>     com.panasonic.Semi-Pro.metadata.xml: 
>                     :  xmlns="urn:schemas-Professional-Plug-in:Semi-Pro:ClipMetadata:v1.0">
>                     :   
>                     :     060A2B340101010501010D431300000060F44F8E038405C6008045821D6BD519
>                     :     420
>                     :     1/25
>                     :     
>                     :       
>                     :         H264_422_LongGOP
>                     :         2160
>                     :         3840
>                     :         10
>                     :         25p
>                     :         NonDrop
>                     :         03:19:16:01
>                     :         00000000
>                     :       
>                     :       
>                     :         2
>                     :         48000
>                     :         24
>                     :       
>                     :     
>                     :     
>                     :       A014C005_181012_K7B3
>                     :       
>                     :         2018-10-12T14:49:01+01:00
>                     :       
>                     :       
>                     :         Panasonic
>                     :         K7TAA0323
>                     :         AU-EVA1
>                     :       
>                     :       
>                     :         2018-10-12T14:49:01+01:00
>                     :       
>                     :     
>                     :   
>                     :   
>                     :     
>                     :       
>                     :         2500
>                     :         4500K
>                     :         
>                     :           V-Log
>                     :         
>                     :         
>                     :           V-Gamut
>                     :         
>                     :       
>                     :     
>                     :   
>                     : 
>                     : 
>     encoder         : Lavf58.12.100
>     Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le, 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 0.04 fps, 12800 tbn,
> 25 tbc (default)
>     Metadata:
>       creation_time   : 2018-10-12T13:49:01.000000Z
>       timecode        : 03:19:16:01
>       encoder         : Lavc58.18.100 prores
>     Stream #0:1(eng): Audio: pcm_s24be (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
>     Metadata:
>       creation_time   : 2018-10-12T13:49:01.000000Z
>       timecode        : 03:19:16:01 frame=  420 fps= 20 q=-0.0 Lsize= 1036081kB time=00:00:16.78 bitrate=505533.8kbits/s speed=0.797x    
> video:1031347kB audio:4725kB subtitle:0kB other streams:0kB global
> headers:0kB muxing overhead: 0.000812%

**Tags:** ffmpeg, codec, mac, prores

> **Comments:**
> **username_1**: Share the full log of the first command. How are you checking the output file?  
> **username_0**: I've added the log for the first command. I checked the files in Adobe Premiere Pro, but the increased contrast can also be seen in other video players  

---

## 2 answers

### Answer by username_1 on 2018-10-17. Score: 1

Ok, so your input is full-range (pc, bt709) which is unusual, so let's try to correct that.
ffmpeg -i ffmpeg.MOV -vf scale=in_range=pc:out_range=tv -c:v prores -c:a copy prores_auto.mov

> **Comments:**
> **username_0**: This seems to work for the contrast (still a tiny bit more contrast thought. But with this command the colour in the output has changed every so slightly.  
> **username_0**: screenshot of Lumetri Scopes of original footage: https://www.dropbox.com/s/twk01qcojhsvoa1/original%20footage.png?dl=0  screenshot of Lumetri Scopes of transcoded footage: https://www.dropbox.com/s/ul9t7rg798x70gt/ProRes%20footage.png?dl=0  
> **username_1**: Change to `scale=in_range=pc:out_range=tv:out_color_matrix=bt709`  
> **username_0**: The output is still the same with that command (colour shift). The footage is recorded in LOG in 10bit by the way. Not in Rec.709. Don't know if that helps?  

---

### Answer by username_2 on 2020-01-01. Score: 0

ffmpeg -i "source.mov" -map_metadata 0 -pix_fmt yuv422p10le -c:v prores_ks -profile:v 4 -c:a pcm_s24le -movflags write_colr "out.mov"

this will create ProRES (10bit) MOV file (-map_metadata allows to keep recording dates). Audio will be PCM 24bit. Timecode will be also copied by default.
If you want to flag ProRES as full range you add: -color_range pc. By default it's always flagged as limited range (even if FFmpeg properly reads the color range).


---

