Answers.Body: <p>As per pg 12 of this BBC <a href="https://drive.google.com/file/d/0BxP5-S1t9VEEaTFsRGFldXZPdEE/view" rel="nofollow noreferrer">document</a>,</p>
  
  <p><strong>TECHNICAL STANDARDS FOR DELIVERY OF TELEVISION PROGRAMMES TO BBC</strong></p>
  
  <blockquote>
    <p>The limits of signal levels are defined by reference to a nominal
    black level and a nominal white level. Black level comprises R, G and
    B all at zero (or 0% or 0mV) and white level is all three components
    at 100 % or 700mV.</p>
    
    <p>In a picture signal, each component is allowed to range between 0 and
    100% (or 0mV and 700mV). This equates to digital sample levels 16 and
    235 (8-bit systems) or 64 and 940 (10 bit systems).</p>
  </blockquote>
  
  <p>You don't mention which encoder you wish to use, but my fallback answer is that if the input to ffmpeg is studio/limited range i.e. 16-235 luma and BT.709, so will the output.</p>
  
  <p>You can use either the <a href="https://ffmpeg.org/ffmpeg-filters.html#waveform" rel="nofollow noreferrer">waveform</a> (visual) or <a href="https://ffmpeg.org/ffmpeg-filters.html#signalstats-1" rel="nofollow noreferrer">signalstats</a> (text) filter to check for out-of-range values.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-07T09:57:07.117Z
Answers.Text: I updated the answer with my orginal prores input (bt.709 indeed). At this point maybe is better split the ffmpeg topic in a new question that I will link here.
Answers.UserDisplayName: user3450548
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-08T00:14:29.203Z
Answers.Text: This is the link to the new question: https://video.stackexchange.com/questions/21878/check-first-then-enforce-and-match-various-broadcaster-requests-with-ffmpeg
Answers.UserDisplayName: user3450548
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-07T05:10:27.710Z
Answers.LastActivityDate: 2017-07-07T05:17:26.070Z
Answers.LastEditDate: 2017-07-07T05:17:26.070Z
Answers.UserDisplayName: Gyan
Answers.Body: <p>To legalize video with the Video Limiter:</p>
  
  <ul>
  <li>Set the <strong>Reduction Axis</strong> to <a href="https://forums.adobe.com/thread/1944578" rel="nofollow noreferrer"><em>Chroma and Luma</em></a>.</li>
  <li>Set the <strong>Signal Minimum</strong> to <em>0%</em> (=0 mV).</li>
  <li>Set the <strong>Signal Maximum</strong> to <em>103%</em> (=700 mV + 3%).</li>
  </ul>
  
  <p>The rest of the settings may take some experimentation to find something that looks good for your project.</p>
  
  <p>I strongly recommend double checking you are within limits with a good gamut visualization. I'm partial to the Tektronix split diamond display, but other test equipment vendors have other good versions. If you are going to be delivering a lot of files, a file-based QC system will also be able to check for legal colors and some can even do the correction.</p>
  
  <p>Something to take in to consideration, depending on the broadcaster you are delivering to, they may not enforce the gamut requirements all that strictly. I know that most in the US don't, unless you are severely and noticeably out of gamut.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-07T09:37:39.797Z
Answers.Text: Thanks for your reply, I'm delivering to an european broadcaster, hence the pal setting I was trying to use in the broadcast colors filter. For what concern the other settings I have idea how to set them. I'm not part of the creative process of making the movie. I had only to join audio and video plus check the correct levels before delivery the final file. I also can't at all use hardware tools, all I can do is software with my workstation. Can you extend your reply trying to match also the other settings like: Reduction Method (i guess i have to use compress all) and Tonal Range Definition ?
Answers.UserDisplayName: user3450548
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-07T09:39:17.887Z
Answers.Text: Out of curiosity, what Broadcast Colors effect do? Should I use both Video Limiter and Broadcast Colors or just only the Limiter to obtain my purpose ? thanks!
Answers.UserDisplayName: user3450548
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-07T20:29:09.570Z
Answers.Text: The Broadcast Colors effect has been [deprecated](https://forums.adobe.com/message/7660258#7660258). It was for NTSC and PAL gamuts and probably won't give you good results with HD. As far as I know for the other Video Limiter settings, there aren't any specific settings to guarantee legal colors. You'll need to experiment based on the look of your project. There are software "meters" out there that are better than using a waveform monitor, but you can use a waveform in parade mode or isolating individual channels to confirm legality.
Answers.UserDisplayName: Michael Liebman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-08T09:18:02.677Z
Answers.Text: Interesting the consideration for Broadcast Colors, I will avoid using it then. My job this time was to do some post on titles and graphics but as I said I'm not part of the creative process that's why I'm looking for a file based checker or software to limit automatically everything inside the requested values. Is not something that I want to do frame per frame manually.. that's just crazy. I have to conform something like 25 episodes each time of a series, you can understand that what I set inside that parameters must be certain and not a thing that I can experiment each time :\
Answers.UserDisplayName: user3450548
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-08T17:51:31.090Z
Answers.Text: It definitely isn't something you need to do frame by frame, but blind application of legalizers can dramatically affect the overall look. For delivering that much material, consider looking at commercial products like [Tektronix Aurora](http://www.tek.com/aurora), [Interra Baton](http://www.interrasystems.com/file-based-qc.php), or [Telestream Vidchecker](http://www.telestream.net/vidchecker/overview.htm). One of those is likely to be the software that the broadcaster will be using to QC what you deliver.
Answers.UserDisplayName: Michael Liebman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-01T15:54:07.873Z
Answers.Text: Sorry to ask again but I tried to apply your solution. If I switch to Chroma and Luma, it happens that 4 settings appears, there's no "Signal Max" and "Signal Min" but "Luma Min", "Luma Max", "Chroma Min" and "Chroma Max". I do believe that I have to set Luma Min to 0% and Luma Max to 103% but I have no idea how to set Chroma Min and Chroma Max to meet the QC requirements.
Answers.UserDisplayName: user3450548
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-02T00:41:37.773Z
Answers.Text: ±350 mV for the color channels is the full range. The spec doesn't seem to specify accuracy, so you could probably get away with the same 3% margin of error. 0 and 103 would probably be good values and that matches with post linked to in the answer.
Answers.UserDisplayName: Michael Liebman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-02T08:03:51.503Z
Answers.Text: Normally chroma inside the video limiter ranges from -30% to 130%, if I put the lower limit to 0 instead of -30% the bars already start to become terrible looking. I think that the values should be different than 0-103 this time :(
Answers.UserDisplayName: user3450548
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-07T02:38:31.800Z
Answers.LastActivityDate: 2017-07-07T02:38:31.800Z
Answers.UserDisplayName: Michael Liebman
Body: <p>I have to export an MXF file for a program that have certain limitations:</p>
  
  <blockquote>
    <p><em>Conform to SMPTE 274M, “1920 x 1080 Scanning with no visible video impairment such as blocking errors or pixelization artefacts.
    <strong>Luminance and color difference signals must not exceed the bounds of legal gamut.</strong> Video technical standards are fully detailed in ITU-R
    BT.709.5.</em></p>
    
    <p><em>For the video levels, sync and blanking must be in accordance with EBU recommendations, <strong>the component video levels must not exceed
    700mV ±3% for the luminance channel and ±350 mV for the color
    difference channels.  No excursions below black level can be tolerated
    in the luminance, never below 0mV</strong>.</em></p>
  </blockquote>
  
  <p>I marked in bold the parts where I'm not confident with.</p>
  
  <p>Let's say that I have already exported an intermediate ProRes or DNxHD file and I want it to be used as input in the timeline for the new export as the definitive MXF.</p>
  
  <p>How can I meet that requests with Premiere ? I saw under the Color Correction filter category some plugins like Video Limiter and Broadcast Colors but the amount of tweaks given seems poor to me and I can't find values expressed in mV ..</p>
  
  <p><a href="https://i.sstatic.net/oQRbv.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/oQRbv.png" alt="Premiere Effects"></a></p>
  
  <p><a href="https://i.sstatic.net/UZhYV.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/UZhYV.png" alt="Premiere Effects II"></a></p>
  
  <p>What I am missing ?</p>
  
  <p><strong>My request is how to do it with Premiere.. and if is possible do the same also with ffmpeg, thanks!!</strong></p>
  
  <p>I'm already working in rec 709 environment:</p>
  
  <p>MediaInfo says:</p>
  
  <p><em>Color primaries             : BT.709<br>
  Transfer characteristics    : BT.709<br>
  Matrix coefficients         : BT.709<br>
  matrix_coefficients_Origina : BT.709</em></p>
  
  <p>This is my ProRes input.</p>
  
Tags: <ffmpeg><premiere><broadcasting><mxf>
Title: How match this broadcast standards with Premiere and ffmpeg
UserDisplayName: user3450548
ThreadText: # How match this broadcast standards with Premiere and ffmpeg
  
  (Asked by: username_0 on 2017-07-07)
  
  I have to export an MXF file for a program that have certain limitations:
  
  > *Conform to SMPTE 274M, “1920 x 1080 Scanning with no visible video impairment such as blocking errors or pixelization artefacts.
  > **Luminance and color difference signals must not exceed the bounds of legal gamut.** Video technical standards are fully detailed in ITU-R
  > BT.709.5.*
  >
  > *For the video levels, sync and blanking must be in accordance with EBU recommendations, **the component video levels must not exceed
  > 700mV ±3% for the luminance channel and ±350 mV for the color
  > difference channels. No excursions below black level can be tolerated
  > in the luminance, never below 0mV**.*
  
  I marked in bold the parts where I'm not confident with.
  
  Let's say that I have already exported an intermediate ProRes or DNxHD file and I want it to be used as input in the timeline for the new export as the definitive MXF.
  
  How can I meet that requests with Premiere ? I saw under the Color Correction filter category some plugins like Video Limiter and Broadcast Colors but the amount of tweaks given seems poor to me and I can't find values expressed in mV ..
  
  [![Premiere Effects](https://i.sstatic.net/oQRbv.png)](https://i.sstatic.net/oQRbv.png)
  
  [![Premiere Effects II](https://i.sstatic.net/UZhYV.png)](https://i.sstatic.net/UZhYV.png)
  
  What I am missing ?
  
  **My request is how to do it with Premiere.. and if is possible do the same also with ffmpeg, thanks!!**
  
  I'm already working in rec 709 environment:
  
  MediaInfo says:
  
  *Color primaries : BT.709  
  Transfer characteristics : BT.709  
  Matrix coefficients : BT.709  
  matrix\_coefficients\_Origina : BT.709*
  
  This is my ProRes input.
  
  **Tags:** ffmpeg, premiere, broadcasting, mxf
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2017-07-07. Score: 3 | Accepted answer
  
  To legalize video with the Video Limiter:
  
  * Set the **Reduction Axis** to [*Chroma and Luma*](https://forums.adobe.com/thread/1944578).
  * Set the **Signal Minimum** to *0%* (=0 mV).
  * Set the **Signal Maximum** to *103%* (=700 mV + 3%).
  
  The rest of the settings may take some experimentation to find something that looks good for your project.
  
  I strongly recommend double checking you are within limits with a good gamut visualization. I'm partial to the Tektronix split diamond display, but other test equipment vendors have other good versions. If you are going to be delivering a lot of files, a file-based QC system will also be able to check for legal colors and some can even do the correction.
  
  Something to take in to consideration, depending on the broadcaster you are delivering to, they may not enforce the gamut requirements all that strictly. I know that most in the US don't, unless you are severely and noticeably out of gamut.
  
  > **Comments:**
  > **username_0**: Thanks for your reply, I'm delivering to an european broadcaster, hence the pal setting I was trying to use in the broadcast colors filter. For what concern the other settings I have idea how to set them. I'm not part of the creative process of making the movie. I had only to join audio and video plus check the correct levels before delivery the final file. I also can't at all use hardware tools, all I can do is software with my workstation. Can you extend your reply trying to match also the other settings like: Reduction Method (i guess i have to use compress all) and Tonal Range Definition ?  
  > **username_0**: Out of curiosity, what Broadcast Colors effect do? Should I use both Video Limiter and Broadcast Colors or just only the Limiter to obtain my purpose ? thanks!  
  > **username_2**: The Broadcast Colors effect has been [deprecated](https://forums.adobe.com/message/7660258#7660258). It was for NTSC and PAL gamuts and probably won't give you good results with HD. As far as I know for the other Video Limiter settings, there aren't any specific settings to guarantee legal colors. You'll need to experiment based on the look of your project. There are software "meters" out there that are better than using a waveform monitor, but you can use a waveform in parade mode or isolating individual channels to confirm legality.  
  > **username_0**: Interesting the consideration for Broadcast Colors, I will avoid using it then. My job this time was to do some post on titles and graphics but as I said I'm not part of the creative process that's why I'm looking for a file based checker or software to limit automatically everything inside the requested values. Is not something that I want to do frame per frame manually.. that's just crazy. I have to conform something like 25 episodes each time of a series, you can understand that what I set inside that parameters must be certain and not a thing that I can experiment each time :\  
  > **username_2**: It definitely isn't something you need to do frame by frame, but blind application of legalizers can dramatically affect the overall look. For delivering that much material, consider looking at commercial products like [Tektronix Aurora](http://www.tek.com/aurora), [Interra Baton](http://www.interrasystems.com/file-based-qc.php), or [Telestream Vidchecker](http://www.telestream.net/vidchecker/overview.htm). One of those is likely to be the software that the broadcaster will be using to QC what you deliver.  
  > **username_0**: Sorry to ask again but I tried to apply your solution. If I switch to Chroma and Luma, it happens that 4 settings appears, there's no "Signal Max" and "Signal Min" but "Luma Min", "Luma Max", "Chroma Min" and "Chroma Max". I do believe that I have to set Luma Min to 0% and Luma Max to 103% but I have no idea how to set Chroma Min and Chroma Max to meet the QC requirements.  
  > **username_2**: ±350 mV for the color channels is the full range. The spec doesn't seem to specify accuracy, so you could probably get away with the same 3% margin of error. 0 and 103 would probably be good values and that matches with post linked to in the answer.  
  > **username_0**: Normally chroma inside the video limiter ranges from -30% to 130%, if I put the lower limit to 0 instead of -30% the bars already start to become terrible looking. I think that the values should be different than 0-103 this time :(  
  
  ---
  
  ### Answer by username_1 on 2017-07-07. Score: 2
  
  As per pg 12 of this BBC [document](https://drive.google.com/file/d/0BxP5-S1t9VEEaTFsRGFldXZPdEE/view),
  
  **TECHNICAL STANDARDS FOR DELIVERY OF TELEVISION PROGRAMMES TO BBC**
  
  > The limits of signal levels are defined by reference to a nominal
  > black level and a nominal white level. Black level comprises R, G and
  > B all at zero (or 0% or 0mV) and white level is all three components
  > at 100 % or 700mV.
  >
  > In a picture signal, each component is allowed to range between 0 and
  > 100% (or 0mV and 700mV). This equates to digital sample levels 16 and
  > 235 (8-bit systems) or 64 and 940 (10 bit systems).
  
  You don't mention which encoder you wish to use, but my fallback answer is that if the input to ffmpeg is studio/limited range i.e. 16-235 luma and BT.709, so will the output.
  
  You can use either the [waveform](https://ffmpeg.org/ffmpeg-filters.html#waveform) (visual) or [signalstats](https://ffmpeg.org/ffmpeg-filters.html#signalstats-1) (text) filter to check for out-of-range values.
  
  > **Comments:**
  > **username_0**: I updated the answer with my orginal prores input (bt.709 indeed). At this point maybe is better split the ffmpeg topic in a new question that I will link here.  
  > **username_0**: This is the link to the new question: https://video.stackexchange.com/questions/21878/check-first-then-enforce-and-match-various-broadcaster-requests-with-ffmpeg  
  
  ---
  
  