title: FFMPEG: Convert input rec709 to sRGB
body: <p>I would like to use ffmpeg to convert an image-sequence of <strong>tiff 16bit rec709</strong> to an image-sequence of <strong>JPEG sRGB</strong>.</p>
  
  <pre><code># How would I indicate ffmpeg source is rec709 and output is srgb?
  ffmpeg -start_number 1001 -i input_seq_rec709.%04d.tif output_seq_srgb.%04d.jpg
  </code></pre>
  
  <p>From ffmpeg docs, I can see the conversion options (<code>colorspace</code> and <code>colormatrix</code>). From what I gather rec709 is like bt709. but I'm not sure what sRGB would be, any idea?
  <a href="https://ffmpeg.org/ffmpeg-filters.html#colorspace" rel="nofollow noreferrer">https://ffmpeg.org/ffmpeg-filters.html#colorspace</a></p>
  
  <p>I was hoping to use one of these flags, but srgb is not a valid option for FFMPEG.</p>
  
  <ul>
  <li><code>-vf "scale=in_color_matrix=bt709:out_color_matrix=srgb"</code></li>
  <li><code>-colormatrix=bt709:srgb'</code></li>
  </ul>
  
  <p>Thank you</p>