<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet title="XSL_formatting" type="text/xsl" href="/blogs/shared/nolsol.xsl"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>

<title>
BBC Internet Blog
 - 
Andy Quested
</title>
<link>http://www.bbc.co.uk/blogs/bbcinternet/</link>
<description>Senior staff from the BBC&apos;s online and technology teams discuss issues raised by you about BBC Online, BBC iPlayer, the BBC&apos;s digital and mobile services, and the technology behind them. </description>
<language>en</language>
<copyright>Copyright 2009</copyright>
<lastBuildDate>Fri, 11 Dec 2009 09:00:00 +0000</lastBuildDate>
<generator>http://www.sixapart.com/movabletype/?v=4.1</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs> 


<item>
	<title>The Hitchhiker&apos;s Guide to Encoding: The Salmon of Style (Or how programmes styles can change your view)</title>
	<description><![CDATA[<h3>Friday</h3>

<p><br />
<strong>Programme Styles</strong></p>

<p>The last area to talk about is programme style and the techniques used by producers.  The HD Channel is expanding the range of programmes made and transmitted in high definition all the time. As the number of programmes grows we are bound to show some that don't appeal to everyone in the audience, just as any multi-genre channel would. Similarly some of the techniques and styles used will not match some viewers' expectations of what is or is not HD.  </p>

<p>Posts have suggested we are changing the bit rate depending on the programme because individuals have seen something they really like the look of while others have suggested programmes are up-converted when they don't like the look. Neither is true.  The bit rate has been constant since the change in August and the amount of up-conversion (or non-HD) allowed is still 25%. There is though a correlation between comments posted and some of the production techniques used to make HD programmes.<br />
Techniques that cause the most debate are:<br />
<ul><li>Motion portrayal (using 25p or so called "Film Motion")</li><li>Depth of field or focus</li><li>Noise & Grain</li><li>Softness & Smear</li></ul></p>

<p><strong>Motion Portrayal</strong> - Many programmes are shot using a camera's 25p option i.e. film motion.  Drama and Natural History moved to HD from film and wanted to keep the same look.  Technically there is more detail in a progressive image than the equivalent interlace image. I have mentioned this before in several posts.</p>

<p><em>Temporal resolution</em> describes the motion of a sequence i.e. the duration of each frame in a moving sequence and therefore how far an object moves between frames.</p>

<p><em>Spatial resolution</em> describes the detail of the image and is about the content of a frame.  <br />
The <a href="http://downloads.bbc.co.uk/rd/pubs/whp/whp-pdf-files/WHP169.pdf">BBC R&D white paper WHP169: <em>High Frame-Rate Television</em></a> gives a very interesting insight on the relationship between the two.  </p>

<p>At the moment though we leave the decision about motion type to the Producer and Director of Photography of the programme but there are times when we do comment on the inappropriate choice of 25i or 25p.  </p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="train_aq.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/train_aq.jpg" width="267" height="210" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></span><em>Caption: These two images are from the white paper.  They are frame grabs of a moving train shot at 300fps (bottom image) and translated to 50fps (top image).</p>

<p>It is worth <a href="http://downloads.bbc.co.uk/rd/pubs/whp/whp-pdf-files/WHP169.pdf">reading the paper</a> if you want to know how the detail you can see in an image is very much dependant on the frame rate - unless there is no movement.  However we are not talking 25 to 50fps to make the difference in clarity you see here it's more like 25 to 300fps!</em></p>

<p><strong><em>Depth of Field</em></strong> - Drama productions often use focus to move the point of interest in a frame. Programmes such as Cranford and Wallander also use feature film style cameras with a very small or shallow depth of field which allows the point of focus to play a major role in the story. </p>

<p>There have been many comments about HD being pin sharp and some people believe an HD image should be in focus from the nose of the person in close up to the trees on the horizon. I think many people would find that incredibly distracting and (as some of the posts lead me to believe) people would just be looking at the image quality not the programme. Focus is a very useful programme-making tool, and when used well it adds to the look and feel of a programme.<br />
<ul><li><a href="http://en.wikipedia.org/wiki/Depth_of_field">Depth of Field entry on Wikipedia</a> </li><li>Alan Roberts' book <a href="http://www.ebu.ch/en/union/news/2009/tcm_6-66133.php">Circles of Confusion</a> is a far more in-depth look at HD cameras and covers depth of field in Chapter 11.</li></ul></p>

<p><em><strong>Noise & Grain</strong></em> - as the range of programmes on the channel increases, we get programmes that are deliberately made to look "dirty" either by style of shoot or during post production. This technique is often used in the cinema too.  However if overdone for television it will stretch the encoder and cause unpredictable quality changes. Programmes that do this will usually fail a technical review. </p>

<p><em><strong>Softness & Smear</strong></em> - some programme makers do not want extremely sharp images and choose to soften the picture either with lens filters or in post production. Both series of Criminal Justice for example used softening to create a very distinctive look. However if this is overdone it will significantly reduce the image resolution and can increase the amount of noise in the image. We do try to limit the amount of lens filtering programmes use but if extreme image softening is required, we encourage people to it in post production so that if the end result is unsatisfactory at least we can ask for it to be removed.</p>

<p>Motion blur (or smearing) is another matter.  It usually occurs when the camera shutter is not set appropriately. A programme shot at 25p should use a shutter speed around 1/50th sec (or 180˚). If the shutter is not turned on or is set too long, the images will smear. This doesn't look very nice and we do try and stop people doing it. If the producer wants to add motion blur, again it is always better to do it in post production. Doing it in camera is usually fatal!</p>

<p><strong>Last thoughts:</strong><br />
It has been a marathon blog and has taken me a long time to write! But there was a lot to go through and a lot to check before I published. Over the last six days I have covered most of the technical issues raised in the four key picture quality blogs. I hope it has answered the questions you've asked and laid to rest some of the rumour.<br />
<strong><br />
Running through the sections day by day</strong></p>

<p>I decided audio is always forgotten or left 'till last <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod.html">so I put it right at the front</a>. I covered the recent audio issues we've had and some of the measures put in place to prevent them happening again if at all possible. More programmes are being delivered in surround sound now and I hope some of the recommendations due from the EBU next year will give people more confidence to try it out.  </p>

<p><em>There is one thing that does crop up from time to time that I need you to watch (or should that be, listen) out for. Very occasionally the 5.1/2.0 switching gets stuck. It works very well for months then for no apparent reason sticks in 5.1. This has no effect on the audio but it's annoying for anyone using the switch information go to the Pro Logic option on an AV amplifier. Please keep letting me know if you spot it though and which programme is affected.</em></p>

<p>On <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_1.html">Monday</a> and <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_2.html">Tuesday</a> I looked at the history of HD encoding on the channel and the EBU recommendations covering programme making and transmission decision we made when the channel started.  We review these decisions regularly and changes are made as and when the technology allows us to so.</p>

<p><a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_3.html">Wednesday's</a> and <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_4.html">Thursday's</a> posts covered how the tests are set up and the much requested PSNR and expert viewing tests results. It is fairly clear now that the new encoder is a lot more efficient than the old and more importantly, capable of many further upgrades as the technology continues to develop. </p>

<p>There is no doubt this series will cause much comment and raise more questions about image quality and encoding generally. I will try and answer as many as I can but in the end we may have to admit we will never be able to satisfy all of you when it comes to what is or isn't high definition. </p>

<p><br />
<em>Andy Quested is Principal Technologist, HD, BBC Future Media and Technology.</em></p>

<ul><li><em>Read part 1 of Andy Quested's HD guide:<a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod.html"> The Hitchhiker's Guide to Encoding: Before we start</a></em></li><li><em>Read part 2: <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_1.html">The Hitchhiker's Guide to Encoding: Life, Encoders and Everything (Or a brief history of HD encoding)</a></em></li><li>Part 3: <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_2.html">The Hitchhiker's Guide to Encoding: So Many Tests, and Thanks for All the Recommendations (Or the BBC and the EBU)</a></li><li>Part 4: <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_3.html">The Hitchhiker's Guide to Encoding: Mostly Testing (Or how to set up an encoder test)</a></li><li>Part 5: <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_4.html">The Hitchhiker's Guide to Encoding: And Another Test...(Or PSNR and all that...)</a></li></ul>]]></description>
         <dc:creator>Andy Quested 
Andy Quested
</dc:creator>
	<link>http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_5.html</link>
	<guid>http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_5.html</guid>
	<category>hdtv</category>
	<pubDate>Fri, 11 Dec 2009 09:00:00 +0000</pubDate>
</item>

<item>
	<title>The Hitchhiker&apos;s Guide to Encoding: And Another Test...(Or PSNR and all that...)</title>
	<description><![CDATA[<h3>Thursday</h3>

<p><br />
<strong><a href="http://en.wikipedia.org/wiki/Peak_signal-to-noise_ratio">PSNR Measurements</a></strong></p>

<p><br />
This bit is all maths and I make no apologies for it! It is one of the methods used to evaluate the effect processing has on signals and ultimately picture quality. PSNR is a derivative of the Signal to Noise Ratio comparing the maximum possible signal energy to the noise energy <sup><a href="#foot1">[1]</a></sup>.</p>

<p>PSNR has been shown to have a high correlation to subjective picture quality (eyeballs) when a single codec is used and cross-references between sequences are not made <sup><a href="#foot2">[2]</a></sup>.</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="diag_01.gif" src="http://www.bbc.co.uk/blogs/bbcinternet/img/diag_01.gif" width="600" height="170" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></span></p>

<p><strong><em>Equation 1</em></strong>- the Mean Square Error (MSE) of the <em>m</em>th frame is calculated <sup><a href="#foot3">[3]</a></sup>. Y<sub>in</sub> and Y<sub>out</sub> represent the luminance of the input signal from the play out server and output from the encoder respectively, and Y(I,j,m) is the luminance value of the pixel in position (I,j) in the <em>m</em>th frame.</p>

<p><strong><em>Equation 2</em></strong> - the PSNR of the mth frame is calculated <sup><a href="#foot3">[3]</a></sup>. B is the number of bits per sample used in representing the video. The test procedure uses 8-bit linear pulse code quantisation.</p>

<p>In accordance with industry recommendations, only the luminance PSNR is measured <sup><a href="#foot3">[3]</a></sup>. Typical values for the luminance PSNR for emission encoding are between 30 and 40dB.</p>

<p>This is capped to a maximum figure because an 8 bit system cannot accurately represent the original, analogue video image. In practice, the industry recommendation uses a cap of 50 dB <sup><a href="#foot3">[3]</a></sup>, almost 10dB lower than the theoretical maximum. Above 50dB the quality of the coded image is more than sufficient for all but the most critical applications.</p>

<p>The median PSNR is the value of the 50th percentile of the individual frame PSNRs of a sequence listed in ascending order. The accepted critical value for this type of measurement (as used by the Moving Picture Experts Group (MPEG) in deciding if a toolset should be included in an implementation) is 0.5dB.</p>

<p>0.5dB represents a visible difference in picture quality across the range of PSNR values. As the PSNR increases and coding errors become less visible, the visibility threshold increases above 0.5dB.<br />
<ul><li> <sup><a name="foot1">[1]</a></sup> L. Hanzo, P. Cherriman, and J. Streit, <em>Wireless Video Communications - Second to Third Generation Systems and Beyond</em>, ser. Digital and Mobile Communication. 3 Park Avenue, New York, NY, USA: The Institution of Electrical and Electronic Engineering Press, 2001.</li><li><sup><a name="foot2">[2]</a></sup> Q. Huynh-Thu and M. Ghanbari, <em>Scope of validity of PSNR in image/video quality assessment</em>, IET Electronics Letters, vol. 44, no. 13, pp. 800-801, June 2008.</li><li><sup><a name="foot3">[3]</a></sup> <em>Objective perceptual multimedia video quality measurement in the presence of a full reference</em>, International Telecommunications Union Telecommunication Standardization Sector - Pre-published Recommendation J.247, August 2008</li></ul></p>

<p><strong>PSNR of the current encoder setting compared to the old encoder.</strong></p>

<p>The material used to test the encoders was a selection from the EBU test sequence and clips from the BBC HD Channel promotion.</p>

<p>All test material is copied to the playout server (100Mbs MPEG2 I-frame coding) and then onto the transmission encoder.  The Final Cut Pro computer is used as a store for the transmission decoded material. </p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="diag_02.gif" src="http://www.bbc.co.uk/blogs/bbcinternet/img/diag_02.gif" width="600" height="453" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></span></p>

<p>The results are displayed as curves on a cumulative graph. The x-axis is the measured PSNR and the Y-axis indicates the percentage of frames with a PSNR value less than or equal to that PSNR:</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="diag_03.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/diag_03.jpg" width="600" height="448" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></span></p>

<p>The new encoder has a median PSNR figure 0.5dB greater then the old, a just noticeably improvement in perceived picture quality for the majority of the test sequences. However the very easiest, least critical material, where coding artefacts are usually not visible, coded with a better PSNR on the Old Encoder.  We are looking into this at the moment but one explanation could be the new encoder handles image noise differently to the old encoder.</p>

<p>Reading PSNR curves is not straight forward. A difference of about 0.3dB is just visible to an expert viewer at normal viewing distance while a non-expert viewer will see a difference of 0.5dB or more, as mentioned in the last paragraph of the PSNR explanation.</p>

<p>Where differences occur in the curve is important, at the lower end (the further left you go) the more critical the measurement. At normal viewing distance a non-expert may see a difference in quality for a change of 0.5dB or slightly less. At the far right of the curve the picture quality is much higher and differences are more difficult to see so an expert may not see a difference under 0.5dB and a non-expert may not see any difference below around 0.75dB or even 1dB.</p>

<p><strong>Mix/Fade problem</strong></p>

<p>We were aware of a problem with mixes before the new encoder went into action.  During tests it only appeared in certain modes and wasn't severe.  The overall improvement in quality outweighed the degradation it caused.</p>

<p>Unfortunately one of the first live programmes to be transmitted was also a programme that would highlight the mix/fade problem.</p>

<p>The Match of the Day, West Bromwich Albion vs. Newcastle United game kicked off with a very high contrast change almost dead centre of the pitch. As the game moved from bright sun to deep shadow the cameras had to be racked over several stops (opening and closing the iris).</p>

<p>A mix as you know is a transition between two different images. Coding errors caused by the mix tend to be hidden by the changing images however racking a camera is actually a mix between two different brightness levels of the same image so there's no where for the errors to hide and they become very visible. I apologised and explained we were applying a temporary fix.  </p>

<p>Although the temporary fix is still in place we have now seen an update that improves mixes, fades and lighting changes and are just waiting for it to be incorporated into a software upgrade.<br />
 <br />
While we had the location recordings of the match to analyse the mix error, we had a chance to compare the PSNR curves through the new and old encoders:</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="diag_04.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/diag_04.jpg" width="600" height="377" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></span></p>

<p>For the majority of the sequence, the new encoder has a higher PSNR than the old with a median increase of about 0.2 dB (not a noticeable difference). The old encoder is better for approximately 8% of easy to encode scenes and 1% of difficult to encode scenes, but this is most likely due to the camera racking i.e. the mix/fade issue itself!</p>

<p>PSNR testing shows the new encoder is doing better than the old except where the source material has a significant amount of noise.  To help this we are testing the encoder's noise reduction options to see if adding a small amount improves the look of noisy images.  I will update the blog as soon as we have some results. </p>

<p><strong>Subjective expert viewer evaluation</strong></p>

<p>The second part of the testing process is all about looking at pictures.  We use 42" plasma and LCD displays to do this, comparing the quality of the new and old encoders against the original material on the play-out server.  </p>

<p>Expert viewing is a tricky business and as one of our experts discovered a risky one too!  It involves watching the same set of images again and again and again and...</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="diag_05.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/diag_05.jpg" width="600" height="351" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></span></p>

<p>To minimise the risk of complete insanity, it is usually better not to have the audio on. </p>

<p>However even this didn't prevent someone coming in to work one day and asking to be taken off picture evaluation for a while. He said was on the train just looking at the country side passing by when he was convinced he saw compression blocking in the leaves of trees. This is not something you want to happen - so be warned! </p>

<p>Evaluating picture quality this way means a long time spent in darkened rooms.  We watched a lot of images from the EBU test material and the BBC HD promo tape, comparing the new encoder with the old encoder and the play-out server on each sequence.  It is important to have the EBU standard sequences to judge picture quality but we also have a test sequence made up from material that has known problems and shots that are difficult to code, to test the encoders to the "limit". </p>

<p>The new encoder produces images that correlate quite closely to the PSNR results.  Programmes with low or no noise are noticeably better than they were on the old encoder.  However, where the original images have noise we can see it on the new encoder's output but not on the old, suggesting that the new encoder is attempting to pass on more of the original image and confirming that a bit of noise reduction should be tested.</p>

<p>Dark pictures are inherently noisy, either because there is gain in the camera or the signal has been stretched too far in colour grading.  We actually have a very noisy sequence that has too much camera gain and was stretched too far in post production.  We used it during the tests to push the system, and even turning the bit rate up to just over 16Mbs made no difference to the image.  We are trying a few new and different parameters that seem to improve noise handling and reduce the effect on screen.  Again I will keep you posted.</p>

<p>Tomorrow is the last part of this epic, I will look at some of the techniques programme makers use that can have an impact on perceived picture quality.</p>

<p><em>Andy Quested is Principal Technologist, HD, BBC Future Media and Technology.</em></p>

<ul><li><em>Read part 1 of Andy Quested's HD guide:<a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod.html"> The Hitchhiker's Guide to Encoding: Before we start</a></em></li><li><em>Read part 2: <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_1.html">The Hitchhiker's Guide to Encoding: Life, Encoders and Everything (Or a brief history of HD encoding)</a></em></li><li>Part 3: <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_2.html">The Hitchhiker's Guide to Encoding: So Many Tests, and Thanks for All the Recommendations (Or the BBC and the EBU)</a></li><li>Part 4: <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_3.html">The Hitchhiker's Guide to Encoding: Mostly Testing (Or how to set up an encoder test)</li></a></ul>
]]></description>
         <dc:creator>Andy Quested 
Andy Quested
</dc:creator>
	<link>http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_4.html</link>
	<guid>http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_4.html</guid>
	<category>hdtv</category>
	<pubDate>Thu, 10 Dec 2009 08:50:00 +0000</pubDate>
</item>

<item>
	<title>The Hitchhiker&apos;s Guide to Encoding: Mostly Testing (Or how to set up an encoder test)</title>
	<description><![CDATA[<h3>Wednesday</h3>
So what testing do we do and how do we do it?

<p><br />
Test results can only be seen to be accurate if as many variables as possible have been removed or at least minimised, and the methodology produces repeatable results.</p>

<p>Our picture quality assessment is based on a combination of Peak Signal to Noise Ratio (PSNR) measurement and expert viewing. Obviously, if done correctly PSNR measurements are accurate and repeatable within a very small tolerance range but the results are in the end only numbers.  Eyeballs on the other hand, even expert ones, are slightly less predictable but can still produce repeatable results within an agreed tolerance but eyeballs are essential to judging overall picture quality of any device.</p>

<p><strong>Removing Variables</strong><br />
Ideally the only variable in a test should be the device actually being tested.  In a delivery chain with domestic devices from many manufacturers this is not as easy as it sounds and testing every combination of is just not possible.</p>

<p>To minimise the number of variables we use:</p>

<p><strong>Test material</strong> - EBU test sequences used by all members for subjective picture quality testing. </p>

<p><strong>Test Path</strong> - this is a duplicate of the actual transmission chain and includes the playout server and the continuity path. The playout server can also be bypassed to simulate live studio programmes.</p>

<p><strong>Encoder</strong> - the bit we are testing!</p>

<p><strong>Receivers</strong> - this is slightly more difficult because processing in set top boxes varies between different manufacturers and different models from the same manufacturer.  For encoder comparison testing though we can use broadcast quality receivers. We also use domestic set top boxes from several different manufacturers to make sure the domestic receiver technology does not cause unexpected results.</p>

<p><strong>Displays</strong> - this is even more difficult than dealing with receivers.  We should use a graded broadcast monitor (a display where all the parameters are know and are adjustable to give a stable accurate image). There is still some debate around flat screen Grade 1 displays - until recently CRT was the only option and they're not easy to get hold of now!  <br />
<ul><li><a href="http://broadcastengineering.com/test_measurement/broadcast_monitors_video_801/">http://broadcastengineering.com/test_measurement/broadcast_monitors_video_801/</a></li><li><a href="http://broadcastengineering.com/news/replacing-crt-1005/index.html">http://broadcastengineering.com/news/replacing-crt-1005/index.html</a></li></ul></p>

<p>In practice we have to think about what people are actually watching at home so we use 42" Plasma displays for comparisons and Plasma and LCD for quality assessment. </p>

<p>A 42" display is slightly bigger than the current highest selling TV size so this gives us a bit of head room during the assessments.  The results will remain valid until the TV size passes 42" or the panel display technology changes dramatically (e.g. OLED or Laser etc.) and a new one takes over as the primary panel technology.<br />
<strong><br />
Viewing distance</strong> - The ITU has set out criteria for viewing distance in the document ITU-R BT.500<em> "Methodology for the subjective assessment of the quality of television pictures" </em><br />
In the section<em> "General viewing conditions for subjective assessments in home environment"</em> it suggests preferred viewing distance (PVD) measured in screen heights (h) for assessment of picture quality.</p>

<p>The PVD suggested for 16:9 screens are:<br />
<span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="table1_600.gif" src="http://www.bbc.co.uk/blogs/bbcinternet/img/table1_600.gif" width="600" height="91" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></span></p>

<p>The BBC HD Channel expert viewing is done at 4h (four times the height of the display used) so slightly closer than the ITU recommendations. This is based on the premise that the average domestic viewing distance is somewhere between 4 and 6h. Some interesting work done by BBC Research (<a href="http://downloads.bbc.co.uk/rd/pubs/whp/whp-pdf-files/WHP090.pdf">WHP090</a>) suggests the most common viewing distance is actually 2.7m no matter what the screen size. This is not a "serious" piece of work, more an observation of current viewing habits! <br />
<strong><br />
How to calculate your viewing distance?</strong></p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="pic1_horizontal.gif" src="http://www.bbc.co.uk/blogs/bbcinternet/img/pic1_horizontal.gif" width="600" height="202" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></span></p>

<p>There are two ways to calculate the height of a 16:9 television:</p>

<p><strong>1.</strong> Televisions size always refers to the diagonal so first calculate the angle of the diagonal (&Theta;&deg;):</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="diag1_600.gif" src="http://www.bbc.co.uk/blogs/bbcinternet/img/diag1_600.gif" width="600" height="68" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></span></p>

<p>&Theta;&deg;= 29.36˚ All 16:9 televisions should have the same angle no matter what the screen size.</p>

<p>Using the angle calculate the height (h) of the television knowing the screen size:</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="diag2_600.gif" src="http://www.bbc.co.uk/blogs/bbcinternet/img/diag2_600.gif" width="600" height="123" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></span></p>

<p>so (h) is near enough half the (Screen Size).  Multiply this by 4 to get the viewing distance. </p>

<p>Unfortunately this assumes all televisions are actually 16:9 which they are not - so just in case method 2 might be more accurate!</p>

<p><strong>2.</strong> Use a tape measure <br />
Or just use the table below! </p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="table2.gif" src="http://www.bbc.co.uk/blogs/bbcinternet/img/table2.gif" width="543" height="252" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></span><BR clear=all><br />
<em>When the 4 - 6h criterion was originally devised, screen sizes around 42" would have been considered extremely unusual.  Now 42" screens are common and could soon be the highest selling set size.  Due to the distance between the television and the back wall of the room you watch it in; WHP090 may prove to be spot on!</em></p>

<p>In the quality viewing area at BBC Research there is a mix of set top boxes and display types.  Viewing distance is set at 4h. </p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="pic2.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/pic2.jpg" width="600" height="289" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></span></p>

<p><strong>Eye sight </strong>- before the BBC HD test channel started, a few of us spent several days in a very hot room above a shop by Oxford Circus doing viewer testing of HD and SD. We had two top end (at that time) 40" flat screens and a 28" CRT, the highest selling TV size at the time. We also had a selection of BBC HD test material as this was before the EBU had agreed test sequences. </p>

<p>The pictures were coded in HD using the encoder profile we proposed to go on air with and also in SD using the BBC 1 encoder and bit rate.  The HD signal was fed to one LCD and the SD signal to the other LCD and the CRT.</p>

<p>After the first day we had a number of results that suggested no difference between the SD and HD LCD - quite confusing because even viewing at a considerable distance there was a marked difference between the two LCD images.</p>

<p>The next day we took a standard eye test chart and asked anyone who couldn't see a difference between the two LCD screens if they would mind taking an eye test.  Everyone who took the test should not have been driving without glasses and many of them didn't event realise they should see an optician!  </p>

<p>Anyway the expert viewers do have eyesight within the normal sight range (with glasses if they usually use them for watching TV).</p>

<p>This sets out the criteria for visual picture quality assessment but as I said earlier, testing uses a combination of visual assessment and a Peak Signal to Noise Ratio (PSNR) measurement.  </p>

<p>Tomorrow will be all about the picture quality tests and the PSNR test results.</p>

<p><em>Andy Quested is Principal Technologist, HD, BBC Future Media and Technology.</em></p>

<ul><li><em>Read part 1 of Andy Quested's HD guide:<a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod.html"> The Hitchhiker's Guide to Encoding: Before we start</a></em></li><li><em>Read part 2: <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_1.html">The Hitchhiker's Guide to Encoding: Life, Encoders and Everything (Or a brief history of HD encoding)</a></em></li><li>Part 3: <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_2.html">The Hitchhiker's Guide to Encoding: So Many Tests, and Thanks for All the Recommendations (Or the BBC and the EBU)</a></li>
</ul>
]]></description>
         <dc:creator>Andy Quested 
Andy Quested
</dc:creator>
	<link>http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_3.html</link>
	<guid>http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_3.html</guid>
	<category>hdtv</category>
	<pubDate>Wed, 09 Dec 2009 09:00:00 +0000</pubDate>
</item>

<item>
	<title>The Hitchhiker&apos;s Guide to Encoding: So Many Tests, and Thanks for All the Recommendations (Or the BBC and the EBU) </title>
	<description><![CDATA[<h3>Tuesday</h3>
Many posts have mentioned <a href="http://www.ebu.ch/">EBU</a> documents and recommendations. The <a href="http://www.bbc.co.uk/">BBC</a> is a founder and very active member of the EBU. We take part in every aspect of the EBU's technical activities. I have been a group chair and currently lead the camera work of the P-HDTV group. We not only test using EBU standards, we were part of the groups that wrote the standards and recommendations in the first place.

<p><br />
<a href="http://www.bbc.co.uk/blogs/researchanddevelopment/">BBC Research and Development</a> is one of a diminishing number of European laboratories with the expertise and facilities to carry out testing for, and make contributions to the EBU's technical committee. I am extremely proud to work with the experts in BBC R&D and for the opportunity to contribute to the work they do.</p>

<p>Many of you have mentioned our current frame size and said:<br />
<em><strong>"1440 Horizontal pixels is not HD"</strong></em></p>

<p>To answer this I can point to several EBU documents that cover this point:<br />
<em><blockquote>EBU - TECH 3328 Current Status of High Definition Television Delivery Technology (May 2008)<br />
...In addition, the Sony HD-CAM and Panasonic DVCPROHD formats record only 1440 samples per line (with camera scanning at 1920 x 1080i/25). There is arguably no point in broadcasting material derived from this format at more than 1440 samples per line (although on the HD-SDI interfaces, a 1920x1080i/25 signal is carried). <br />
A similar situation exists with the DVCPROHD format that horizontally sub samples (down-filters) the 1280 x 720p/50 format to 960 x 720p/50 (though on the HD-SDI interface, the signal is 1280x720p/50).</blockquote></em></p>

<p>This document mentions 1440 and 960 as used in production. The HDCam tape format and some cameras that record to the DVCPro100 format use pre-filtering to reduce horizontal resolution before the signal is compressed. These cameras and formats are still widely used but are gradually being replaced by cameras and recorders that can compress the full 1920 or 1280 horizontal resolution.</p>

<p>Another document:<br />
<em><blockquote><strong>EBU - TECH 3333 EBU HDTV Receiver Requirements (March 2009)</strong><br />
The following image sampling structures shall be supported (see TS 101 154 V1.9.1, which defines further formats beyond those listed here).<br />
1920 x 1080, interlaced, 25 frame/s (50 fields)<br />
1920 x 1080, progressive, 25 frame/s<br />
1440 x 1080, interlaced, 25 frame/s (50 fields)<br />
1440 x 1080, progressive, 25 frame/s<br />
1280 x 1080, interlaced, 25 frame/s (50 fields)<br />
1280 x 1080, progressive, 25 frame/s<br />
1280 x 720, progressive, 50 frame/s<br />
1280 x 720, progressive, 25 frame/s</blockquote></em></p>

<p>Tech 3333 is about receivers and shows 1440x1080 is an acceptable standard for high definition transmission.   </p>

<p>It is worth pointing out that <em>HD-Ready</em> does not actually specify the horizontal resolution for an HD display. HD displays must have a minimum vertical resolution of 720 pixels and display 16:9 images correctly. There is no mention of the required number of horizontal pixels!</p>

<p>Several other posts have suggested the BBC is not meeting EBU standards for transmission with the current bit rate and have said:<br />
<em><strong>"9.5Mbs is not in line with the EBU recommended high definition bit rates"</strong></em></p>

<p>Again there are several EBU documents covering this point but the key thing to take account of is the date of the references. This document for example:<br />
<em><blockquote><strong>EBU Tech 3334 Accommodation of HDTV in the GE06 Plan (Feb 2009)</strong><br />
EBU tests of stand-alone MPEG-4 encoders of different vendors have suggested <sup>[5]</sup> the following minimum fixed bitrates in order achieve an HDTV image quality providing a significantly better quality perception compared to good quality SDTV (e.g. 6 Mbit/s MPEG-2) for a wide range, including critical content:<br />
<ul><li>For the 1080i/25 HDTV format and horizontal sub-sampling to 1440 samples a minimum bitrate of 12 Mbit/s is recommended</li><li>For the 1080i/25 HDTV format and no horizontal sub-sampling a minimum bitrate of 12 - 14 Mbit/s is recommended</li><li>For the 720p/50 HDTV format and no horizontal sub-sampling a minimum bitrate of 10 Mbit/s is recommended.</li></ul></blockquote></em></p>

<p>The key here is the <sup>[5]</sup> after "suggested". Reading the bibliography, point [5] refers to:<br />
<em><strong>EBU Tech 3328 (Current Status of High Definition Television Delivery Technology)</strong></em></p>

<p>Tech 3328 is dated May 2008, and was published long before we started tests on the new encoders for the BBC HD Channel.</p>

<p>Bit rates are also mentioned in an EBU presentation by Adi Kouadio (Asian Broadcasting Union symposium in March 2009).<br />
<em><blockquote><br />
<strong>Trends & implementations of HDTV Broadcasting</strong><br />
...Minimum (video) bit rate to provide HD quality (from EBU tests - BPN085-087):<br />
<ul><li>720p/50 - 10Mbps</li><li>1080i/25 - 12-14Mbps...</li></ul></blockquote></em></p>

<p>EBU test documents BPN085 to BPN087 detail tests carried out on specific encoders.  These tests were undertaken over the last two years but <em>none</em> refer to the encoder we are currently using.</p>

<p>Tests have demonstrated that at transmission bit rates, H264 encoders should deliver approximately a 2:1 efficiency over MPEG2 encoders. Depending on the manufacturer and their current stage of development good HD at 8-10Mbs is achievable now.</p>

<p>The BBC has made contributions to most of the documents mentioned above and many others besides. We are also involved in testing and trials for high definition production, contribution and transmission compression and were one of the earliest activists in the latest round of HD activity in the EBU.  </p>

<p>The majority of the documents produced by the EBU are Technical Recommendations and are based on work done at a specific point in time by the members.  After publication many groups continue to work on revisions and updates to the recommendations as the technology behind the encoders (in this case) continues to develop and improve.  EBU Tech 3334 acknowledges that:<br />
<blockquote>...with the expected future developments in video coding, it is assumed that HD fixed bit rate requirements will be reduced to 8-10 Mbit/s per programme. There will also be advances in the transmission system such as DVB-T2...</blockquote></p>

<p>For some strange reason the encoder manufacturers don't all bring their latest offering to market at the same time! Two or three times a year they do show off concepts or the next generation prototypes at the main trade shows but products to the broadcasters arrive as and when they are stable and ready. This year for example, several manufactures were showing early versions of HD coding at 4-6Mbs (average not minimum).</p>

<p>One final point worth noting here is the life cycle of the hardware. As I mentioned earlier, the old encoders had reached the end of their life but the new encoders are at the beginning. They exploit more of the AVC toolset than the old encoders even though we are on version 1 of the firmware. We will continue to add improvements as and when they are available. </p>

<p>Tomorrow I want to concentrate on picture quality analysis and how we set up the encoder tests.<br />
<em><br />
Andy Quested is Principal Technologist, HD, BBC Future Media and Technology.</em></p>

<p><br />
<ul><li><em>Read part 1 of Andy Quested's HD guide:<a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod.html"> The Hitchhiker's Guide to Encoding: Before we start</a></li><li>Read part 2: <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_1.html">The Hitchhiker's Guide to Encoding: Life, Encoders and Everything (Or a brief history of HD encoding)</a></li></em></ul></p>]]></description>
         <dc:creator>Andy Quested 
Andy Quested
</dc:creator>
	<link>http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_2.html</link>
	<guid>http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_2.html</guid>
	<category>hdtv</category>
	<pubDate>Tue, 08 Dec 2009 08:50:00 +0000</pubDate>
</item>

<item>
	<title>The Hitchhiker&apos;s Guide to Encoding: Life, Encoders and Everything (Or a brief history of HD encoding)</title>
	<description><![CDATA[<h3>Monday</h3>
There has been a lot of discussion, speculation, rumour and some complaints about picture quality in blogs and posts ever since the BBC HD Channel trial started in 2006. When we started, real-time H264 coding was quite new and the early versions of encoders were not that much more efficient than the existing MPEG2 HD encoders.

<blockquote><em><strong>EBU - TECH 3328 Current Status of High Definition Television Delivery Technology (May 2008)</strong>

<p>... EBU investigations in 2005 showed that some MPEG-4 H.264/AVC hardware encoders did not show any bitrate advantage over MPEG-2 and in some cases even performed less well than MPEG-2 encoders. This situation improved by September 2006, and continued to improve in 2007 and 2008.</em></blockquote></p>

<p>The original encoders ran at around 19Mbs and struggled to maintain the quality we wanted for a mixed genre channel.</p>

<p>Early in 2007 tests began on the new firmware.  This was a substantial upgrade, introducing new software tools that helped the encoder cope with the wider range of programmes and programme styles the channel now had.  It also allowed us to reduce the bit rate to 16Mbs with no noticeable loss of quality.  The new version went live just before Wimbledon 2007 giving us an ideal opportunity to compare the image quality with the previous year's tournament.  Direct comparisons between the 2006 and 2007 tournaments were very encouraging especially when matches went on late into the evening and camera gain (and therefore camera noise level) was higher than I would really like to see.</p>

<p>After the change I did a couple of blogs about TV set-up and about the different programme styles we were transmitting, particularly about the use of film motion (25p) and shallow depth of field (I will talk more about programme styles in a future post):<ul><li><a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/10/the_scourge_of_scart.html">The Scourge of SCART</a></li><li><a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/11/bbc_hd_picture_quality_and_dol.html">Picture Quality and Dolby ResearchPicture Quality and Dolby Research</a></li></ul><br />
There were some complaints about the new bit rates and a few centred on the Angel Falls sequence from the Planet Earth series. This was a great sequence and it was no surprise it was one of the first to be used in the "Great Moments" promotions the channel still shows. The Great Moments promotions started after the change to 16Mbs whereas the programme was first shown with the original encoder settings shortly after the trial started.  </p>

<p>The Angel Falls sequence was an early use of the helicopter set-up that gave the series such iconic shots but after seeing the rushes we were worried about what looked like interference on the tapes.   </p>

<p>When the sequence first went out, the original encoder and software didn't resolve the noise but when the clip was used later, the noise was clearly visible.</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="angelfalls_600.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/angelfalls_600.jpg" width="600" height="335" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></span></p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="angelfalls_blowup_300.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/angelfalls_blowup_300.jpg" width="300" height="219" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></span><em>Above: The Angel Fall sequence from Plant Earth from the programme tape.</p>

<p>Left: This is a blow up of the rocks in the picture above. The horizontal lines are noise on the original tape.<br />
</em><br />
<BR clear=all><br />
This leads me on to taking screen grabs or capturing still frames from the channel's transmission signal. It has been fascinating to see some of the stills grabbed off air. Still frames are an interesting analysis tool for picture quality and for making comparisons but they do have to be completely identical and the stills format used must either be uncompressed or the native file format of the coded frame to eliminate additional artefacts as a result of concatenation with the stills format itself.</p>

<p>This is an old, but useful article if you want to read more about concatenation and digital broadcasting:</p>

<p><a href="http://www.ebu.ch/en/technical/trev/trev_271-dalton.pdf">http://www.ebu.ch/en/technical/trev/trev_271-dalton.pdf  </a></p>

<p>Getting identical stills from an MPEG signal to use for quality comparison is not straight forward. Ideally the image should be the same to make comparisons easier but it is more important that the frame type matches. Typically MPEG 4 encodes frames as one of three types; I-Frames, P-Frames or B-Frames.<br />
 <br />
<blockquote>I-Frames are coded in isolation without reference to any other frame.  <br />
 <br />
P- Frames (Predicted frames) are made up from the differences between the current frame and previous I or P frames, known as "reference" frames.<br />
 <br />
B-Frames (Bidirectional-predicted frames) are made up from differences between the current frame and preceding and following reference frames.  Unlike MPEG2, reference frames for B-frames can be I, P or even B-frames themselves.</blockquote></p>

<p><a href="http://en.wikipedia.org/wiki/Video_compression_picture_types">http://en.wikipedia.org/wiki/Video_compression_picture_types</a><br />
 <br />
A group of pictures may be made from a sequence of I, P and B frames starting with an I-Frame e.g. IBBPBBPBBPBB - IBBPBBPBBPBB etc.  The exact order can be adapted to take account of shot changes and motion within a sequence.  This grouping of frames is known colloquially as a GOP structure (Group of Pictures) - imaginative aren't we!</p>

<p>Although still frames are a useful tool for picture analysis, quality comparison using stills is best done with reference to the original source and using the appropriate I-Frames.</p>

<p>Looking through the stills that have been posted it has been really interesting to see quality of some of them, including the odd one or two that suggested the new encoder is better!</p>

<p>Tomorrow is a chance to look at some of the EBU documents on HD and the BBC's involvement with EBU Recommendations. </p>

<p><em>Andy Quested is Principal Technologist, HD, BBC Future Media and Technology.</em></p>

<p><em>Read part 1 of Andy Quested's HD guide: <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod.html">The Hitchhiker's Guide to Encoding: Before we start</a></em><br />
</p>]]></description>
         <dc:creator>Andy Quested 
Andy Quested
</dc:creator>
	<link>http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_1.html</link>
	<guid>http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod_1.html</guid>
	<category>hdtv</category>
	<pubDate>Mon, 07 Dec 2009 09:00:00 +0000</pubDate>
</item>

<item>
	<title>The Hitchhiker&apos;s Guide to Encoding: Before we start</title>
	<description><![CDATA[<h3>Friday</h3>
It's been sometime since <a href="http://www.bbc.co.uk/blogs/bbcinternet/2009/03/bbc_hd_nyquist_limit.html">my last post on the blog</a> but I have tried to be as active as I could on the existing ones. I read all the posts and my thanks go to <a href="http://www.bbc.co.uk/blogs/profile/?userid=13728493">Paul Eaton</a> who has listed many of <a href="http://www.bbc.co.uk/blogs/profile/?userid=8205870">my comments</a> just to prove I do exist! I try to answer points raised in the blogs but unless there is a specific issue, I just can't answer each post individually. 

<p>Because there's a lot to say, I thought it would be better to serialise this blog over the next week with each episode covering a different topic. I will make no apologies for the titles and many thanks to the memory of <a href="http://en.wikipedia.org/wiki/Douglas_Adams">Mr Adams</a>.<br />
<strong><br />
Today: Opening and audio issues <br />
Monday: HD encoder history<br />
Tuesday: The EBU<br />
Wednesday: PSNR and all that<br />
Thursday: New encoder evaluation<br />
Friday: Programme styles and closing thoughts</strong></p>

<p>The <a href="http://www.bbc.co.uk/bbchd/">BBC HD channel </a>is two this weekend and in that short time we have developed one of the widest ranges of programmes you could find anywhere in a single HD package. No one is going to say it's all been perfect and in the past I have had to make a couple of very confessional blog posts when we've "just got it wrong", for example:</p>

<p><a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/07/bbc_hdtv_the_bbcs_bold_trial_o.html">BBC HDTV: "The BBC's Bold Trial Of Reverse Karaoke!"</a><br />
<a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/08/bbc_hd_olympics_opening_ceremo.html">BBC HD: Olympics Opening Ceremony Surround Sound</a></p>

<p>We take every aspect of the channel very seriously and consider you to be a valuable asset when it comes to problem solving, trouble shooting or just "plain" talking! I'm sure Paul won't mind if I quote a section from Roly Keating's reply to his email:<br />
<blockquote>"...Andy Quested has himself been considering the most recent exchanges on this subject, in consultation with the BBC's R&D teams, and will be posting further messages in response very shortly.  Please consider my comments in conjunction with his: I hope that between us we can at least persuade you that we are paying the closest possible attention to the debates on this subject, and working constantly to keep standards as high as possible."</blockquote><br />
I want to make sure everyone who reads this blog can understand it - well maybe with the exception of the PSNR section that even leaves me with a bit of a headache! But I hope it will be clear enough so first time readers as well as those who have been posting since the beginning have an equal opportunity to comment, so I hope some of you will understand if you find it's going over old ground or in some way is not technical enough.</p>

<p>Before I start, it's worth saying encoder testing takes a long time because it's not just about picture quality. Before any testing starts a new encoder is checked for full compliance with the MPEG4 standards. Then it's tested for a considerable time to make sure it's compatible with existing set top boxes from different manufacturers and with the Sky platform. Then for audio compatibility (surround sound and stereo), for audio description, for subtitles and for interactive services.</p>

<p>Although we test the encoders on as many receivers as possible, we can only commit to a guarantee of compatibility with the supported platforms, so for satellite that's Sky and Freesat. I know several of you use DVB cards in PCs and Macs and have had problems.  However there are so many different devices, options, versions and software variables, it's just not possible to check everything and therefore we cannot support these receivers properly. If you do use a DVB decoder card, have a look at this site for more help:<br />
<a href="http://thegreenbutton.com/forums/t/73544.aspx?PageIndex=8">http://thegreenbutton.com/forums/t/73544.aspx?PageIndex=8</a></p>

<p>The next few days will give you a glimpse of some of the work done to maintain the quality of the BBC HD Channel by BBC Research & Development, our partners and to a lesser extent, me!  </p>

<p>So to begin... Audio!<br />
 <br />
<H3>The Holes at the End of the Chain</H3><br />
(Or, why do s the aud o have so many h les)</p>

<p>Back in 2008, <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/12/a_christmas_present_from_the_h.html">Rowan led a detailed overhaul of the HD Channel's audio system</a> to make sure the new AV Sync test signal would really be sync when it arrived at your set top box!</p>

<p>We made sure the Channel's AV sync was within 5ms and we check it regularly to keep it there. The number of complaints about AV sync dropped to virtually zero after the signal was first shown and, with the exception of a couple of live programmes, it's been that way ever since. We've also completed thorough training sessions with all our main service suppliers to make sure they understand the issues of distribution and transmitting surround sound signals and metadata.</p>

<p>Recently though, we've had a couple of weeks where nothing seemed to work properly.  It started with holes in the audio during <em>Strictly Come Dancing</em>. Your posts suggested they were on satellite and cable, so the investigation started in Television Centre. I was convinced it wasn't the right place to start, call it professional pride but we had gone through the chain pretty thoroughly, and as I said, it's checked regularly.</p>

<p>So I kept listening and a couple of days later I heard holes during the live<em> Later with Jools</em> and in the promo but this time they were much smaller.  I asked our playout people to keep repeating the clip in the promo while we listened on every receiver we could find.</p>

<p>This proved the holes were only on the satellite output and we quickly tracked the problem to one of the HD Channel's "resilience" circuits. As soon as it was isolated, the holes stopped. We knew what had caused the problem but are still investigating why!  </p>

<p>For 48 hours we had nice clean audio but just when I thought I could breath again and we had audio under control it promptly failed again, not once but five times!</p>

<p>As the first <em>Electric Prom</em> went to air the holes reappeared. I was watching at home so was on the phone in about 10 seconds. This time the play-out centre could hear them and they sounded like the surround signal was not synchronous with the video reference.  </p>

<p>The Channel director went to emergency cut mode that removes all play-out processing, stopping the holes but not curing the problem. While we investigated, I decided we should use the reprocessing unit in the central switching area put in after the <em>2008 Eurovision Song Contest</em>. This cleans up signals and modifies metadata if required, before transmission. It solved the problem for the next transmissions but we had not identified the cause. Timing issues are notoriously difficult to track down especially in mobile systems, but we will find it!</p>

<p>There was another audio problem during Thursday's prom. The programme started well but I had been warned it would be edited on site and it would be very tight to transmission, so tight in fact that the play-out machine hadn't finished caching the audio as the second half of the edit started to go out and guess what - holes in the audio.  They were "real holes" that is no audio at all, and they could be clearly heard on BBC2 as well as the HD Channel, no consolation I know but we had to put this down to machine failure and unlikely to be repeated.</p>

<p>Back to <em>Strictly</em> and a live OB from Blackpool, not the sort of show you want to mix from the back end of an OB truck no matter how big! Due to running around all day and several accidents in front of me on the M40, I didn't get to a TV in time for the start and then it was BBC One only. It didn't take long for me to find out there were serious audio level problems on the HD Channel but what was worrying was no one in the broadcast chain could hear it, to me that shouts <strong><em>metadata</em></strong>!  </p>

<p>Later that evening I listened to the programme at home and it sounded like the set top box was being over driven. <em>Strictly</em> has a pretty tough mix and if the metadata isn't right it will cause major problems with the dynamic range control in the set top box. By Tuesday morning, I had the tape from the OB and could see the metadata and knew what settings the sound team thought they were mixing to and, more importantly, what they actually set.  </p>

<p>It was quite amazing hearing the difference when I switched between the two metadata settings. We have now gone through the metadata requirements for the programme and made sure they are fully implemented.</p>

<p>What next? The <em>Remembrance Day service</em> is a very important event and due to the complexity of the OB it was going to be in stereo. When the programme started I just couldn't believe I was hearing production talkback and what turned out to be Radio 4's sound.  Sending a non-broadcast audio circuit, or another networks audio to air is just wrong and should never happen. The seriousness of this incident meant an immediate investigation.  </p>

<p>On the day the links had been established in good time and a problem with the incoming talkback circuit was identified. The stream coming back from the OB contains several audio channels and communications circuits embedded into the video signal. This is quite usual and guarantees the audio and video paths are the same and therefore always sync. The stream contained the main audio, clean audio (no commentary), Radio 4 audio and communications. To help fix the talkback problem the audio channels were "shuffled" so talkback appeared in place of the main programme along with Radio 4 - this should never be done. During the final line up phase the talkback was muted and the Radio 4 audio at that point would have sounded identical to the TV audio. In other words the channel director would have had no idea anything was wrong.  </p>

<p>Last - and it better be! Yes, <em>Doctor Who</em> should have been in 5.1! </p>

<p>Something the dubbing mixer pointed out quite forcefully on the Monday morning after transmission. Before he contacted me I had discovered the programme was only in stereo on the server but the delivered tape had the full surround audio. After a bit of investigation we discovered someone had routed one of the server ingest video tape players to another area and changed the audio replay options to a non-standard mode. When the machine was routed back to its normal role the audio set-up was not reset and the next programme in the stack for loading was <em>Doctor Who</em>.  </p>

<p>Machine or circuit failure is one thing that we all have to accept happens occasionally and we apologise if it does. But I have made it clear we must stick to agreed practice and procedures because they are there to prevent errors. I hope the action we have taken will keep the audio on the channel running smoothly with no more mistakes.</p>

<p>In my next post I want to talk about the Channel's HD coding in general as an opener to the main encoder testing posts. </p>

<p><em>Andy Quested is Principal Technologist, HD, BBC Future Media and Technology.</em></p>]]></description>
         <dc:creator>Andy Quested 
Andy Quested
</dc:creator>
	<link>http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod.html</link>
	<guid>http://www.bbc.co.uk/blogs/bbcinternet/2009/12/the_hitchhikers_guide_to_encod.html</guid>
	<category>hdtv</category>
	<pubDate>Fri, 04 Dec 2009 09:24:48 +0000</pubDate>
</item>

<item>
	<title>BBC HD: Nyquist Limit</title>
	<description><![CDATA[<p><em>(Editor's note - <a href="http://www.bbc.co.uk/blogs/bbcinternet/andy_quested/">Andy Quested </a>was going to add this as a comment responding to tagmclaren's <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/12/a_christmas_present_from_the_h.html#comment129">question about frequency gatings </a>but as you can't put pictures in comments I thought it would be better to publish it as a new post)</em></p>

<p>Dear <a href="http://www.bbc.co.uk/blogs/profile/?userid=12904457">tagmclaren</a> </p>

<p>Thanks for<a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/12/a_christmas_present_from_the_h.html#comment129"> the comment</a>.  </p>

<p>After speaking to my colleagues in Research I have some bad news for you.  </p>

<p>The <a href="http://en.wikipedia.org/wiki/Nyquist_frequency">Nyquist limit </a>for the <a href="http://www.bbc.co.uk/hd/">BBC HD Channel</a> is 27.84375 MHz so there is nothing above that frequency.  </p>

<p>As I said <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/12/a_christmas_present_from_the_h.html">in the blog</a>, if you have a 50" 1920x1080 display you will get the 4th (20MHz) but you will also get some (but not all) of the 5th (25MHz) grating.  However the 6th is just not there!  What you are seeing unfortunately is an alias that's folded back at around 26MHz. </p>

<p><img alt="frequencies.jpg" src="http://www.bbc.co.uk/blogs/knowledgeexchange/img/frequencies.jpg" width="429" height="241" /></p>

<p>Here is your picture with the original 25 and 30MHz gratings added - if you look at the off-air and original 25MHz grating you can see they line up but the 30MHz original does not match the off-air grating.</p>

<p>I am pleased you can see the 25MHz grating though!! </p>

<p><em>Andy Quested is Principal Technologist, HD, BBC Future Media & Technology</em></p>]]></description>
         <dc:creator>Andy Quested 
Andy Quested
</dc:creator>
	<link>http://www.bbc.co.uk/blogs/bbcinternet/2009/03/bbc_hd_nyquist_limit.html</link>
	<guid>http://www.bbc.co.uk/blogs/bbcinternet/2009/03/bbc_hd_nyquist_limit.html</guid>
	<category>hdtv</category>
	<pubDate>Sun, 01 Mar 2009 13:00:06 +0000</pubDate>
</item>

<item>
	<title>A Christmas Present from the HD Channel!</title>
	<description><![CDATA[<p>So, <a href="http://www.bbc.co.uk/bbchd/">the channel </a>is just over <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/12/happy_birthday_bbc_hd.html">a year old </a>- and what a year it's been! After looking back at some of the <a href="http://www.bbc.co.uk/blogs/bbcinternet/hdtv/">blogs</a> and posts I can see how much we've done and worry about how much there's still to do.</p>

<p>Many of you have been asking for a test signal to help line up your own HD TVs, we have been listening but it's taken a while to get it sorted.</p>

<p> From this week the HD promo has two test signals and I want to talk about how to find them and how to use them to line up and check your home systems. I also wanted to share a fascinating mathematical proof that some people (<a href="http://www.bbc.co.uk/drama/heroes/characters_cast/hiro.shtml">Heroes style</a>) can change the flow of time!</p>

<p>As many of you have noticed BBC test card has been going out for a couple of weeks, this has now been joined by an Audio/Video Sync test signal. The test card seems to have been given the name "Test Card X" but not by us, it is in fact a modified high definition version of test card W (named because it was widescreen!) and for those interested in the history of test cards, there is an <a href="http://en.wikipedia.org/wiki/List_of_BBC_test_cards">interesting "romp" through it here</a> - it even includes the current incarnation!</p>

<p>The HD version uses the very famous picture of Carole (George Hersee's daughter) <a href="http://www.barney-wol.net/video/testcardw/testcardw.html">re-scanned in high definition</a> and added to an HD version of Richard Russell's well known widescreen test card.</p>

<p>Now for the purists there's a bit of a disappointment coming. No, not the fact the test card's only there for 90 seconds every two hours! Talking of that, I was with a group of people looking at the promo last week when the test card came up - they all said "does this have to up for so long" and "what's that noise on the sound track" I did attempt to explain how much it was wanted but it just made things worse! I said I had wanted 5 minutes and many of the posts had asked for up to 30 minutes - at that point I felt like I came from another planet and decided to get on with other things! But there is a test card going out and I hope we can all celebrate its reappearance after many years! </p>

<p>The disappointment is a technical one. I am going to admit I have doctored the test card - much to the disgust of many of my Research colleagues. Why? Two reasons actually. A high quality test signal like the HD test card is a very valuable asset and unlike the SD transmission chain the HD one is quite good and quite capable in the being "purloined"! Already some of the posts on digital spy have already gone into great detail with the exact measurements of the card. </p>

<p>This version of the test card can be easily identified as it's the only version with the HD DOG logo at the bottom. Now, I want no DOG posts in this blog, I will ignore them as the DOG debate goes on <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/10/dogs_on_the_blog.html">elsewhere</a>.</p>

<p>What have I done and how useful is this version of the test card? First, white level has been reduced so the peak white box is not 100% (level 235 or 0.7v). The super white spot is now <a href="http://www.flickr.com/photos/bbccouk/3113496182/" title="image002 by bbccouk, on Flickr"><img src="http://farm4.static.flickr.com/3063/3113496182_710f007b4a_t.jpg" width="100" height="74" alt="image002" align="right" /></a>100% and the linearity of the grey scale is now slightly inaccurate. However no domestic displays have the level of adjustment we expect a broadcast monitor to have, so I this does not affect the usefulness of the test card to help you line up a "normal" TV. Also the colour bars are slightly lower in colour level. My apologies go out to people like Richard Russell and all the others who made these test charts possible - but this does protect the value of the work.</p>

<p>The second reason is to help protect screens from burn in. The full level test card will burn a screen in quite a short period so please heed this warning:</p>

<p><strong>DO NOT leave the test card on screen for more than 2 minutes if your screen is less than three months old or more than 5 minutes on older screens. Make sure you go back to the promo for several minutes before using the test card again.</strong></p>

<p>If you want more detail of the changes there is a<a href="http://www.digitalspy.co.uk/forums/showthread.php?t=942385&page=4"> very good post </a>on Digital Spy. If you do have a broadcast style display at home it is quite easy to <a href="http://www.digitalspy.co.uk/forums/showthread.php?t=942385&page=4">calculate the offsets</a> to apply to a colorimeter to make sure the readings are correct.</p>
 
<p>Now for a bit of an explanation about the test card and how to use it to line up your TV, I have done this at home so can say it does work. But before you start to line your set up please take note of the following:</p>

<p>1. Make sure you have the user manual and know where the controls are.</p>

<p>2. Do not do this if you are unsure of any of the controls or there effect on your television picture.</p>

<p>3. It is best to do this in a darkened room, it doesn't need to be completely dark but if it's too bright or there is a lot of light falling on the screen the results will not be good.</p>

<p>4. Many modern flat screen televisions have presets for sound and picture. Write down which one you use so if you get lost you can always go back and start again.</p>

<p>5. If you have a PVR it would be a good idea to record the test card section of the promo. Most of the line up can be carried out on a freeze frame of the test card. If you do this please be mindful of the warning above about screen burn.</p>

<p>6. If your TV has it, change the picture settings mode to "manual" or the equivalent, so any inactive controls become active allowing you to change the settings on the TV.</p>

<p>7. Turn the sharpness setting to off or zero. If there are any picture enhancing options, make sure they are turned off or to zero (if you can). Remember, on some TVs the sharpness control has a centre zero allowing you to soften pictures - please don't do that!</p>

<p>So to start:</p>
<p><strong>
BRIGHTNESS AND CONTRAST</strong></p>

<p><a href="http://www.flickr.com/photos/bbccouk/3113496226/" title="image004 by bbccouk, on Flickr"><img src="http://farm4.static.flickr.com/3001/3113496226_4623ffd05b_m.jpg" width="85" height="240" alt="image004" align="right" /></a>There is a GREY SCALE to the left of the picture on the test card. It's there to show the correct black and white levels of the picture. Broadcast displays have the ability to adjust the grey level independently so there is a linear grey scale between the black and white blocks. I am not going into how to use this here if you are interested <a href="http://en.wikipedia.org/wiki/Test_Card_F">start with this</a>.</p>

<p>The top white block has two spots. As I said earlier, usually the white block is peak white with the right spot higher (super white) and the left spot slightly lower. On our test card, the levels are slightly reduced.</p>

<p>The bottom black bock has two spots, the right hand one is below black level (sub black) and the left is slightly above black. The modifications to the test card have not change these levels.</p>
<p><strong>
BRIGHTNESS</strong></p>

<p>To set the brightness:</p>

<p>1. Turn your brightness control up <a href="http://www.flickr.com/photos/bbccouk/3112664121/">until you can see both spots</a>.</p>

<p><img alt="Black spots - Brightness high.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/blackspots_brightnesshigh.jpg" width="430" height="280" /></p>

<p><br />
<p>2. Turn the brightness down until the sub-black spot disappears but make sure you can still <a href="http://www.flickr.com/photos/bbccouk/3113496304/">see the left slightly brighter spot</a>.</p></p>

<p><img alt="Black spots - Brightness correct.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/blackspots_brightness_correct.jpg" width="430" height="281" /></p>

<p><strong>CONTRAST</strong></p>

<p>When a broadcast monitor is lined-up properly, we use a meter to check the white level however on a domestic television contrast is more a matter of personal choice and will be different on different types of display (LCD, Plasma, Projector etc.)</p>

<p>Adjust the contrast until you like the overall look of the test card while you are doing this, keep an eye on the spots in the top white block to make sure you can still see the left hand one. It doesn't matter if you cannot see the super white spot so don't worry if it's not there.</p>

<p><strong>COLOUR</strong></p>

<p>Again colour level is very much down to personal taste but most TVs have too much of it! Too much colour makes pictures look very odd. It will also make some colours bleed into each other or appear to move so the colour smears over the edge of the object - in other words someone wearing bright colours clothes may have the colour slightly off to one side! The best bit of the test card to use to set colour is the picture of Carole.</p>

<p><a href="http://www.flickr.com/photos/bbccouk/3113496392/" title="image009 by bbccouk, on Flickr"><img src="http://farm4.static.flickr.com/3014/3113496392_66b3808319_m.jpg" width="240" height="231" alt="image009" align="right" /></a>The centre of the test card has all you need to get the colour right. Carole's face should look natural and the primary colours in the picture (red dress and green and blue of the clown) should not be very bright. Colour is a subjective setting so just make sure you like it. Remember, if your colour setting was previously set very high you may not like the correct level until you get used to it!</p>

<p>One of the experts at BBC Research suggested another way to adjust colour level.</p>

<p>Get some Lee Lighting Filters No.181 Congo Blue and place it over the screen. This has the same effect as turning off the Green and Red leaving the Blue component of the picture. Looking at the colour bars around the edge to the test card, adjust the colour control until they all look the same brightness. There are some commercially available line up DVDs that use this method.</p>

<p>When you have adjusted the BRIGHTNESS, CONTRAST and COLOUR have a look at the promo again to see what you think. Watch it for some time so you get used to the new settings and see several different type of programme.</p>

<p><strong>SHARPNESS</strong></p>

<p>I have the sharpness control on my TV set to zero but some of you may want to add a little bit if the picture looks very soft. </p>

<p>To the right of the picture of Carole is a set of "frequency gratings" The frequencies are:</p>

<p><a href="http://www.flickr.com/photos/bbccouk/3113496466/" title="image011 by bbccouk, on Flickr"><img src="http://farm4.static.flickr.com/3125/3113496466_2bc4a68a72_m.jpg" width="84" height="240" alt="image011" align="right" /></a>1. 5MHz
2. 10MHz
3. 15MHz
4. 20MHz
5. 25MHz
6. 30MHz</p>

<p>The BBC HD transmission system will pass frequencies 1 - 4.  Most domestic displays will show 1-3 correctly but the 4th might not look quite right. A 50' 1080p display should be able to resolve the 4th grating satisfactorily.</p>

<p>PICTURE SIZE AND POSITION</p>

<p>Not all TVs offer menu setting that allow you to change picture size and position. Even if your TV does allow you to adjust size and position, it's not a good idea not to make anything but small changes unless you know what you are doing. Make a note of the current setting BEFORE you change anything!</p>

<p>Most displays lose a small amount of picture all round. This is called "overscan", it is perfectly normal and programmes have always been made taking this into account.</p>

<p><a href="http://www.flickr.com/photos/bbccouk/3112664391/" title="image013 by bbccouk, on Flickr"><img src="http://farm4.static.flickr.com/3084/3112664391_b6ebfbabc8_m.jpg" width="240" height="134" alt="image013" align="right" /></a>Some flat screens do have the option to either turn overscan off or reduce the picture size. </p>

<p>It is perfectly safe to use the "overscan off" option on you TV but you should not use the picture size controls for anything more than small changes. </p>

<p><a href="http://www.flickr.com/photos/bbccouk/3113496672/" title="image015 by bbccouk, on Flickr"><img src="http://farm4.static.flickr.com/3073/3113496672_3a4706de55_m.jpg" width="240" height="135" alt="image015" align="right" /></a>The full test card should look like this, with the diamond points just touching the edge of the screen all the way round.</p>

<p>As a mater of interest, the cross on the Noughts and Crosses game is the centre of the picture!</p>

<p><a href="http://flickr.com/photos/bbccouk/3113496824/" title="image017 by bbccouk, on Flickr"><img src="http://farm4.static.flickr.com/3130/3113573170_5df64e7e2d_o.jpg" width="430" height="241" alt="image017" /></a> </p>

<p>You should now have a picture that looks fairly close to the one we see before transmission. Again watch some of the promo to get used to the new settings. Also if you have turned overscan off, you might want to look at some SD channels to make sure you don't see extra bit of the picture you don't like. You may see some white lines at the top of the screen on some News programmes for example. This happens when signals are brought back that don't fully meet the broadcast standards, but have to go to air too quickly (if not live) so it isn't possible to correct them.</p>

<p><strong>AUDIO VIDEO SYNC</strong></p>

<p>The second test signal is there to help you check and adjust audio/video synchronisation.  AV sync has been the bane of my life ever since the test channel started. Remember we have rebuilt the HD Channel infrastructure round a service running 24 hours a day, 7 days a week so occasionally we have had to put new sections into service without being able to fully test them.</p>

<p>A couple of months ago, <a href="http://rowan.depomerai.com/about/">Rowan</a> stated <a href="http://rowan.depomerai.com/2008/10/welcome-to-bbc-hd/">working with me to try and clear up our surround sound and AV sync problems</a>. It has been a joy watching him dive headlong into the issues and some of you may <a href="http://rowan.depomerai.com/category/bbchd-audio/">have visited Rowan's blog to see how his work is progressing</a>. </p>

<p>The last time I saw him, he was waist deep in diagrams of installations and programme signal routes to see if each video process had a suitable audio delay and each Dolby process had an appropriate video delay in circuit. The idea audio processing "takes time" is relatively new to television and we have to remind people to compensate for processing delay in the appropriate place so we can make sure everything is correct it if anything needs to be changed - I hope the message is getting through!</p>

<p>However even when we get it completely correct, some home setups can cause A/V sync problems of their own. The second test signal should help you check and adjust the sync timing of your AV system. This does not work on audio fed through the HDMI cable to the televisions own speakers. Any delays in that situation should be compensated for inside the TV. A/V sync is only adjustable when you use a AV systems connected by the optical/SPDIF output of a set top box or for AV amps that can us the HDMI output and have their own delay controls.</p>

<p>As some systems could have two ways to adjust AV sync - the set top boxes will have an audio delay option in the set up menus and good AV amplifiers may also have audio delay options, you need to start by setting all delays to zero. Again, please make a note of the settings BEFORE you start.</p>
 
<p>Why is there a need for A/V sync adjustment now? Most flat screen displays introduce a delay while they process the picture before it's displayed. Inside the TV the audio is delayed to match the processing delay but if you connect your set top box to an external audio system, the sound can be one or two frames ahead of the picture. In nature this is not normal and we can detect sound ahead of vision very quickly and it is "just not right"! </p>

<p>Our transmission system can also introduce delay to both audio and video signals. Some of the delay is obvious e.g. if we send the audio through a Dolby E decode/recode process, the sound is delayed by 2 frames so we must add a 2 frame video delay. Other process aren't so easy to check as the delay occurs inside a device that's processing audio and video together so the reason the A/V sync signal was not transmitted two weeks ago was to allow us time to test our whole system to make sure what we send you is actually in sync!</p>

<p>So it's time to introduce the BBC Research sync check signal...</p>

<p><a href="http://flickr.com/photos/bbccouk/3113496946/" title="image019 by bbccouk, on Flickr"><img src="http://farm4.static.flickr.com/3289/3112747497_e703530c0f_o.jpg" width="430" height="241" alt="image019" /></a></p>
 
<p>The audio is actually two blocks of wood being banged once a second - nothing to beat the real thing! The video is made up from three components:</p>

<p>1. A travelling bar marked in frames starting 12 frames before the audio clap and going on for 12 more frames after.
2. Three Sync Flash Lines.
3. A sync "plunger" or "clapper bar" (acting like a clapper board)</p>

<p>Before I tell you how to use the signal, you might like to know what we did to make sure the signal itself was synchronised and the transmission system did not put it out of sync. We - or I should say Rowan - have been measuring the signal at every point in the chain to make sure it is as accurate as possible when it arrives at your set top box.</p>

<p>This is the task I set Rowan to about three weeks ago!</p>

<p><a href="http://flickr.com/photos/bbccouk/3112664875/" title="image021 by bbccouk, on Flickr"><img src="http://farm4.static.flickr.com/3239/3112751773_16f6520409_o.jpg" width="430" height="224" alt="image021" align="right" /></a></p>

<p>Why so complex? I needed to make sure the signal followed the routes many of our programmes do through post production and audio mixing, playout and transmission. </p>

<p>What is sync though? If you think about the speed of light vs. the speed of sound it's fairly obvious that sound arrives a lot later that the image of the "thing" making it. A rough rule is audio takes slightly less than 3ms to travel 1 metre so if you sit 2 and a half metres from your TV the audio takes nearly 7.5ms to reach you - nearly a quarter of a frame.</p>

<p>The effect of AV sync has been measured and tested quite extensively by the international broadcast standards bodies and we usually work to a tolerance of +20ms to -40ms (+half to - 1 frame) for a programme delivered to the BBC. This tolerance has been well tested in SD but there has not been enough work done to see if it's still OK in HD. To make sure there were no major surprises we have tightened the delivery specification to +10ms to -20ms while we do more tests.</p>

<p>In one of my previous blogs I explained that during the trial we found sync varied during a programme, especially live programmes, depending on how hard some of the early equipment was working. Now we are a lot more stable and have had a chance to go through the system from end to end to make sure it's sync. We have just finished testing the chain with an "off air" test of the signal and have a timing error of 0.86ms or 0.0125 of a frame!</p>

<p>Those of you who work or have worked in the business know the phrase "it's alright leaving me". A translation of that is "I'm OK, it's your problem"! To make sure you can use the signal to check your home system, we have gone one step further and made sure the signal is "alright arriving at you", not just "alright leaving me".</p>

<p><a href="http://www.flickr.com/photos/bbccouk/3113497164/" title="image023 by bbccouk, on Flickr"><img src="http://farm4.static.flickr.com/3249/3113497164_647627a888_m.jpg" width="240" height="139" alt="image023" align="right" /></a>The final measurements of the off-air signal were made by looking at the digital signal from the transmitter - or in this case, the one received from the satellite. </p>

<p>This is what the test signal looks like in the transport stream from the satellite.</p>

<p>Rowan has a more detailed explanation of how and why we did this in his blog. </p>

<p>Part 1: <a href="http://rowan.depomerai.com/2008/11/dont-forget-the-kitchen-sync/">Don't forget the kitchen sync</a></p>

<p>Part 2: <a href="http://rowan.depomerai.com/2008/12/testing-the-test/">Testing the test</a></p>
<p>
<strong>
How do you use the signal to check audio/video (AV) sync?</strong></p>

<p>Remember this only works if you are connected to an external AV system. Check the audio delay setting in the set top box is 0ms and if your AV amplifier has a delay check that is set to zero.</p>

<p><strong>Method 1</strong></p>

<p>Look at the travelling bar at a point before the centre - look say at 10 on the left of screen. Listen to the clap and see if you think the bar has passed this point before you hear the sound. You might want to mask the right side with a bit of paper or put your finger on the number to help. </p>

<p>If the audio seems to happen after the bar has passed, move on a number and repeat until you think the audio and the point the bar passes your maker coincide. The sync point could be between two numbers but most devices only make corrections in half frame increments you will have to decide if you think it's closer to a number or closer to a half way position.</p>

<p>You should still be on the "video late" side of the zero mark. Read the number (or closest half number) and multiply by 40.</p>

<p>If your number is 3, the audio delay you need is 3 x 40 = 120ms. 
If your number is 1 and a half, the audio delay you need is 1.5 x 40 = 60ms</p>

<p>If your sync point is on the right hand side of the zero mark, I'm sorry to say there is nothing we can do to help. Before panicking - check you have no audio delay set then wait for the test signal to come round again.</p>

<p><strong>Method 2</strong></p>

<p>For those who like a challenge there is an electronic method. The white lines flash for 1 frame at the start of the audio waveform.</p>

<p>I am sure you can think of many ways to use this information to measure AV sync accurately,  but here is a simple option for all of you with a dual beam oscilloscope, a photocell and a microphone lying around!</p>

<p>If you place the photocell over the top sync flash line and the microphone on one of your front speakers, connect them to separate input of the scope (with any amplification devices needed to boost or power them) you will get two spikes. Make sure your scope is configured to display the two traces at the same time and measure the difference in ms. Apply this delay to either the set top box or the AV system. If you have a very good AV system you may be able to get this exactly right instead of the nearest 20ms. </p>

<p>If you can't decide between two settings, it is always better to make the audio slightly late than have it in front of the pictures.</p>

<p>Why are there three sets of white flashes? The top line is the reference line, i.e. 0ms A/V offset when measured on an HD CRT. However sometime it is difficult to accurately measure the very top of active picture, possibly because the TV's casing gets in the way of the photocell. The second line is 1ms later (as measured on a CRT) and is usually easier to get an accurate reading from. The third line is in the centre of the active picture so should read 10ms A/V offset on a CRT.</p>

<p>On the various LCD and plasma displays we have tried this on, some show a difference between the three lines and some don't - not much help to you, but I would go for the second line if you can and minimise the delay there!</p>

<p>Please let me know how you get on.</p>

<p><strong>How to record the BBC HD test signals</strong></p>

<p>The HD test card is just over 1 hour into the promo and the AV sync signal is 50 minutes later.  To record both signals, check the time the last programme finishes and add 1 hour.  So if the last programme ends at 01:30 set your PVR to record from 02:25 to 02:45 for the test card and 03:15 to 03:35 for the AV sync signal.</p>

<p>My last thoughts this time are around phenomena I have discovered that manifests itself around my daughter and what used to be my phone. When she is on the phone I have discovered time slows down!</p>

<p>How do I know this? Simple maths!</p>

<p>Let's take a telephone billing period - call it Tm. A Tm can only have 4 values 28, 29 (every fourth year) 30 or 31. Each Tm is made up from telephone charging units, let's call them Tu. </p>

<p>Each Tu is charged at various rates but I am going to use the maximum UK rate £UK (premium numbers etc are barred).</p>

<p>So my maximum phone bill can only be Tu x £UK. As the Tm can have four values the total bill can vary between each Tm. So why have my bills been consistently two to three times this amount?</p>

<p>My thought are, as the rate £UK is fixed in any Tm (but in general is always rising) and the periods of charging Tm are fixed to one of four values the only thing that can change is the Tu! As this is measured in time, I can only conclude time around my daughter changes as she uses the phone. Oh! I forgot to say, we are on the free weekends and evenings tariff so this time dilation effects occurs in the brief period between the end of school and 18:00!</p>

<p>I think Douglas Adams spotted this change to the laws of maths in the Hitch Hikers Guide - other explanations welcome!</p>

<p>Have a very merry, in sync and well lined-up Christmas and we will speak again in the New Year.</p>

<p>Andy</p>

<p>P.S. When she is on the phone to us each Tu is very long period of time of course.</p>

<p><em>Andy Quested is Principal Technologist, HD, BBC Future Media and Technology.</em></p>]]></description>
         <dc:creator>Andy Quested 
Andy Quested
</dc:creator>
	<link>http://www.bbc.co.uk/blogs/bbcinternet/2008/12/a_christmas_present_from_the_h.html</link>
	<guid>http://www.bbc.co.uk/blogs/bbcinternet/2008/12/a_christmas_present_from_the_h.html</guid>
	<category>hdtv</category>
	<pubDate>Wed, 17 Dec 2008 13:17:27 +0000</pubDate>
</item>

<item>
	<title>BBC HD: Picture Quality and Dolby Research</title>
	<description><![CDATA[<p>Over the months we have had many comments about the <a href="http://www.bbc.co.uk/bbchd/">BBC HD</a> channel on <a href="http://www.bbc.co.uk/blogs/bbcinternet/hdtv/">this blog</a>, other <a href="http://www.digitalspy.co.uk/forums/showthread.php?t=917883">chat rooms</a> and directly to the BBC HD team.</p>

<p>Not all of them are negative in fact many of them are very positive.</p>

<p>Whenever I see negative technical comments I do always look at the issues.</p>

<a href="http://www.flickr.com/photos/deltamike/148725274/" title="dolbysurround190 by bbccouk, on Flickr"><img src="http://farm4.static.flickr.com/3066/3004564453_d05ec2505b_o.jpg" width="190" height="150" alt="dolbysurround190" align="right" /></a><p>Only last week <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/10/dogs_on_the_blog.html#comment90">hobwell spotted </a>the 5.1/2.0 switching had stopped some time during the evening.  I hadn't watched the stereo programme concerned and I didn't see the comment until 18:30 the following day but I watched the channel start and as I knew the first programme was stereo I was on the phone to the duty engineers in a few minutes. We had the problem fixed, put out an on air apology very quickly and I posted <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/10/dogs_on_the_blog.html#comment91">some comments in Danielle's DOG Blog</a>!</p>

<p><em>(Dolby labs<a href="http://www.flickr.com/photos/deltamike/148725274/"> picture </a>from <a href="http://www.flickr.com/photos/deltamike/">deltamike</a> on flickr) </em> </p>

<p>Other comments on quality do take some investigation.</p>

<p>As a slight change to my usual commentary I wanted to share some of a reply I gave recently to a more general complaint about picture quality on the BBC HD channel.</p>

<p>It also allows me to introduce <a href="http://rowan.depomerai.com/about/">Rowan de Pomerai</a>, a <a href="http://www.bbc.co.uk/rd/index.shtml">BBC Research</a> graduate who is working with me for the next few months on <a href="http://rowan.depomerai.com/category/bbchd-audio/">a project </a>to improve <a href="http://www.dolby.com/index.html">Dolby</a> E sound on BBC HD.</p>

<p>Rowan has <a href="http://rowan.depomerai.com">his own blog</a> so you can keep up to date with his project and his thoughts there!</p>

<p>Here is an edited version of the response to the complaint:</p>

<p><blockquote>"Thank you for your comments about the quality of programmes on the BBC HD Channel...</blockquote></p>
 
<p>I want to assure you we do take picture quality very seriously and use a rigorous quality check before any programme delivered on tape is transmitted.  Whenever we can we also work with studio and outside broadcast companies to make sure live programmes meet the highest standard too.</p>

<p>You mentioned <a href="http://www.bbc.co.uk/amazon/">Amazon</a> was "colour merging". I am not sure what you mean by this but I have not seen anything similar on my home display.  I have spotted one other post that compares Amazon to the <a href="http://sky1.sky.com/">Sky 1</a> series <a href="http://www.skyoneonline.co.uk/rosskempgangs/">"Ross Kemp on..." </a>saying the latter has much higher picture quality.</p>

<p>I have watched both series in HD and must say they are similar in several respects, they both have very good HD content mixed with standard definition material and some sequences that have obviously been shot under very challenging conditions.</p>

<p>I agree some of the low light and night sequences in Amazon are not up to the standard of the majority of the programme.</p>

<p>Programmes like Amazon will always have sequences where conditions mean no matter how good the broadcast technology, domestic cameras that are always much smaller and less conspicuous will be used to reduce risk to the crew with a resulting loss in picture quality.</p>

<p>We are always looking at new technologies that will improve the picture quality in challenging environments but it will take some time before it is uniformly high.  In the mean time programmes must limit the amount of standard definition or low quality high definition to 25% of their duration.</p>

<p>Your comment about the <a href="http://www.bbc.co.uk/programmes/b00cx1cv">Tudors</a> is one I cannot understand or agree with.  I still have the series on my PVR and watched quite a bit before writing this.  The <a href="http://www.sho.com/site/tudors/home.do">Tudors</a> is extremely well shot, has very little if any video noise and is beautifully colour balanced.</p>

<p>If this programme looks poor on your television could I ask you to re-check your settings?  I would recommend turning the sharpness setting to zero, not to use any of the preset picture modes and to turn off, or reduce to zero all picture enhancement options.  I would also recommend turning the contrast setting of your set top box to medium or low before adjusting the brightness and contrast on your display.</p>

<p>If you are looking at some of the chat rooms commenting on the quality of the BBC's HD Channel you will have seen threads discussing our transmission bit rate. The channel's bit rate has remained constant at just over 16Mbs since early last year. I don't often recommend external websites but you might find <a href="http://www.linowsat.de/0282/all/10847V.html">this one interesting</a>.</p>

<p>I am always watching the channel and do make recommendations to any programme that has variable or substandard sequences to see if we can improve it.  All programmes have to meet the technical standards of the channel before they can be transmitted but occasionally even we are caught out by a problem that does not come to light until the actual transmission.</p>

<p>The quality of some several recent programmes has been outstanding.  The <a href="http://www.bbc.co.uk/electricproms/2008/artists/goldfrapp/">Goldfrapp Electric Prom</a> was one of the best I've seen, <a href="http://www.bbc.co.uk/tess/">Tess Of The Durbervilles </a>was beautifully shot and from the sections I've seen <a href="http://www.bbc.co.uk/littledorrit/">Little Dorrit </a>should be stunning.</p>

<p>The range of programmes made in high definition will continue to increase over the next few years and we will explore what works and what is just not worth it until high definition is the normal mode of operation.</p>

<p>Many of our high definition programmes use the 25 frame progressive standard (film style).  I know some people do not like this and think it degrades the resolution of the picture, while others think it contributes to the quality and style of the programme.  This mode does actually have more resolution than the 25 frame interlace standard.  Amazon, <a href="http://www.bbc.co.uk/silentwitness/?">Silent Witness</a>, Tess, in fact virtually all drama, Natural History and many documentaries use this standard.</p>

<a href="http://www.flickr.com/photos/bbccouk/3005579258/" title="silentwitness by bbccouk, on Flickr"><img src="http://farm4.static.flickr.com/3226/3005579258_95fee6b388_o.jpg" width="190" height="142" alt="silentwitness" align="right" /></a><p>Cranford, Silent Witness (right), Tess and other dramas are also using the latest large image format cameras.  Theses cameras use a single image sensor that is about the same size as a 16:9 35mm film frame and gives the image a very shallow depth of field.  A shallow depth of field will put all but the key subject out of focus and allows a director to use focus as a story telling tool.  Again some people think high definition pictures should be pin sharp from the nose of a person in close-up to the trees on the horizon, others find all this visual information distracting and a drama director will use focus to point you to the action they want you to watch.</p>

<p>Here lies another point of confusion; sharpness is not the same as resolution.  A picture can be very sharp but contain very little detail.  This is especially true in standard definition where electronic sharpening is added in cameras to make the image seem clearer.  We do not encourage the use of electronic sharpening in high definition cameras and prefer images to look more natural.</p>

<p>I am currently working on an issue we (and other broadcasters) are having with the Dolby E signal that's used move up to eight channels of audio in the space of two.  I have a research graduate from BBC Research working with me, this is very exciting as it is an opportunity not only to deal with problems but to delve deeply into the underlying technology and maybe make improvements that all broadcasters can benefit from.  <a href="http://rowan.depomerai.com/about/">Rowan</a> has his own blog and he will be <a href="http://rowan.depomerai.com/category/bbchd-audio/">posting comments on the project</a> when he can - <a href="http://rowan.depomerai.com/2008/11/down-the-sync">here is the latest</a>.</p>

<p>To finish, there are many comments praising the quality of the HD Channel's quality.  I am also aware of the many threads berating the channel's lack of quality, I do read them all and try to address some of the concerns in my blogs and as they come up.</p>

<p>If you would like to read more about BBC Research you can <a href="http://www.bbc.co.uk/rd/index.shtml">find them here</a></p>

<blockquote>Yours sincerely...."</blockquote>

<p>As I said at the begining of the letter we do take comments seriously and try to address complaints and enquiries.  I hope this sparks off a lively debate and look forward to your thoughts on <a href="http://rowan.depomerai.com/category/bbchd-audio/">Rowan's work</a>.</p>

<p><em>Andy Quested is Principal Technologist, HD, BBC FM&T.</em></p>]]></description>
         <dc:creator>Andy Quested 
Andy Quested
</dc:creator>
	<link>http://www.bbc.co.uk/blogs/bbcinternet/2008/11/bbc_hd_picture_quality_and_dol.html</link>
	<guid>http://www.bbc.co.uk/blogs/bbcinternet/2008/11/bbc_hd_picture_quality_and_dol.html</guid>
	<category>hdtv</category>
	<pubDate>Thu, 06 Nov 2008 11:17:12 +0000</pubDate>
</item>

<item>
	<title>The Scourge Of SCART</title>
	<description><![CDATA[<p>I thought it was time to give you a quick update on some of the technical issues that have come up around <a href="http://www.bbc.co.uk/bbchd/">BBC High Definition </a>over the last couple of months and what has been happening since the Olympics. </p>

<p>We have taken some time to look at a lot of the issues bought up by you and a few of the things I wanted to investigate myself.</p>

<p><strong>Audio</strong></p>

<p>The big issue of <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/07/bbc_hdtv_the_bbcs_bold_trial_o.html">5.1 / 2.0</a> switching. Thanks to everyone commenting on this blog and elsewhere to give feedback while we were trying switching options. It's now working, but not as well as we would like - for example, we still have more work to do before we can move between stereo and surround programmes without having to put silence between them.</p>

<p>When things are changed, then no matter how well you plan there's always something that tries to catch you out. While we where upgrading some of the <a href="http://www.dolby.com/about/index.html">Dolby</a> equipment, we came across an "interesting" problem - fortunately, it didn't go to air!  </p>

<p>Some of you may know that we use <a href="http://www.dolby.com/professional/pro_audio_engineering/solutions_dolbye.html">Dolby E</a> to move surround sound and metadata through the playout area (and if you read <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/07/bbc_hdtv_the_bbcs_bold_trial_o.html">my post about the Eurovision Song Contest</a>, you will know how important the metadata are!).</p>

<p>Dolby E is a frame-based data stream - in other words, it comes in packets timed to the video signal. If any packet is corrupt or mistimed, the whole frame is invalid. Some devices can deal with this, but others don't recognise the corrupted package for what it is and think it's a chunk of <a href="http://en.wikipedia.org/wiki/Pulse-code_modulation">PCM audio</a>. A Dolby E packet contains a lot of data and if any device treats it as digital audio, it comes out as a very loud "splat". Fortunately for your ears, it's only around 40ms long -  this is, however, somewhat unfortunate for your speakers!</p>

<p>The work to get surround and stereo to work together is still going on and I will update whenever we have more to report.</p>

<p><strong>Picture quality</strong></p>

<p>Danielle talked about some of the quality issues you reported on <a href="http://www.bbc.co.uk/programmes/b006m99d">Friday Night With Jonathan Ross</a> in her <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/09/bbc_hd_what_works_best.html">What Works Best?</a> post. We have looked at the whole studio, post-production and transmission chain to see what was causing the problems. </p>

<p>There were a couple of processes that made some of the cameras quite noisy: these have now been addressed and <a href="http://www.bbc.co.uk/programmes/b00drsc6">last Friday's show (October 3rd)</a> looked a lot better, but we are still trying to find ways to improve the quality across all programmes.</p>

<p>Picture quality issues bring me to another story. I'm sure you are getting used these stories from <a href="http://www.bbc.co.uk/blogs/bbcinternet/andy_quested/">my previous posting</a> about the thoughts of my daughter - who, by the way, is now officially a stroppy teenager! </p>

<p>Actually, this is about a trip to pick her up from one of her school friends' and getting invited in for a coffee while I waited. "You work for the BBC" was the opening from the other dad - "do you have anything to do with this high definition stuff?". My answer was a bit muted, thinking, "what's next?"! He then said he didn't see what all the hype was about: the pictures were a bit better but nothing to get excited about.</p>

<p>I asked the usual questions about type of TV and how he received HD. As expected, it was a new 50" plasma - quite a nice one actually, and a Sky HD box with the full subscription package. "Come and have a look" - so, shoes off, coffee mug in hand, we go through.  </p>

<p>He turned the telly on and, after wincing from the volume of one of the music channels left on by his daughter, we went to the <a href="http://www.bbc.co.uk/bbchd/faqs.shtml">BBC HD channel</a>, which looks - to put it politely - "crap".  </p>

<p align="center"><img alt="scart_computerjoe430.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/scart_computerjoe430.jpg" width="430" height="286" /><br><small><em>Image by <a href="http://joeanderson.co.uk/blog/">Joe Anderson</a> on <a href="http://www.flickr.com/photos/webbysworld/354207515/">Flickr</a> under a <a href="http://creativecommons.org/licenses/by-sa/2.0/deed.en_GB">Creative Commons licence</a></em></small></p>

<p>At this point I had to put down the coffee mug and admit to my job title. The diagnosis took about five seconds - so, trying to look very professional, I reached round the back of the TV and pulled out the <a href="http://en.wikipedia.org/wiki/SCART">SCART</a> lead. After the usual bumps and flashes, the pictures re-established themselves looking like the high definition I would expect. </p>

<p>There was a short "Ah!" and we went back to coffee and chat about the length of time two teenage girls can spend on a phone after they've only just been at school with each other!</p>

<p>This was not the first instant repair I've done and I doubt it will be the last. One of the things I'm always doing is taking TVs out of "Vivid" or "Dynamic" or some other mode that makes the screen hot enough to do toast on. Others changes include setting the contrast and brightness levels to something resembling normal and most important, turning the sharpness down to zero and finally setting all the picture enhancing modes to "off". That usually results in reasonable pictures on any telly and tends to make HD look like HD! </p>

<p>I'm not sure what to do about the SCART lead. It seems to be the biggest single quality filter in the chain, especially as the default setting for the SCART output on many set-top boxes is <a href="http://en.wikipedia.org/wiki/PAL">PAL</a>. My recommendation is not to have them at all, but there are still a lot of devices out there that seem to need them.</p>

<p>Over the next few weeks, we are looking at some new cameras and field recorders: we will keep looking at picture quality issues as they come up and talking to Dolby about a better way to mix 5.1 and 2.0 programmes - please keep letting me know how it sounds at home. I have a Sony AV system, but I need feedback from as many systems as possible.  </p>

<p>Also, if you know anyone with a SCART lead connected to their HD set-top box, either pull it out or make sure that the SCART switching menu option is set to "OFF"!</p>

<p><em>Andy Quested is Principal Technologist, BBC Future Media & Technology.</em></p>]]></description>
         <dc:creator>Andy Quested 
Andy Quested
</dc:creator>
	<link>http://www.bbc.co.uk/blogs/bbcinternet/2008/10/the_scourge_of_scart.html</link>
	<guid>http://www.bbc.co.uk/blogs/bbcinternet/2008/10/the_scourge_of_scart.html</guid>
	<category>hdtv</category>
	<pubDate>Tue, 14 Oct 2008 10:44:58 +0000</pubDate>
</item>

<item>
	<title>BBC HD: Olympics Opening Ceremony Surround Sound </title>
	<description><![CDATA[<p>This is a really boring post - no clamour of phone calls at home, <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/07/bbc_hdtv_the_bbcs_bold_trial_o.html">no daughter discussing the relevance of the Eurovision Song Contest</a> for Saturday evening viewing in one ear and no chance of anything like <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/07/bbc_hdtv_the_bbcs_bold_trial_o.html">reverse karaoke</a>!</p>

<p>So <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/08/bbc_hdtv_your_comments.html#comment5">why wasn't the opening of the Olympics</a> on <a href="http://www.bbc.co.uk/bbchd/">BBC HD</a> television in surround sound?</p>

<p>We had been having problems with the Dolby E stream on the line back from Beijing.  </p>

<p>You have to remember we are sending back many video, audio and data streams from the games for all the interactive outputs, so it is a very busy set of circuits - but all seemed well just before the opening.<br />
 <br />
During a final rehearsal about 20 minuets before transmission, <a href="http://en.wikipedia.org/wiki/Red_Bee_Media">Red Bee</a> noticed that the surround sound kept "popping"; meanwhile in the <a href="http://www.bbc.co.uk/pressoffice/keyfacts/stories/television_centre.shtml">Television Centre</a> switching area, they heard one or two pops - but not at the same time as Red Bee.  </p>

<p>The problem was looked into at both ends and at about ten minutes before transmission, there were only a couple of options left - as these required a reboot of a large chunk of the system, you would naturally ask a couple of questions:<ul><li> <strong>1. would it cure the problem?</strong> and</li><li> <strong>2. how long would it take? </strong></li></ul> </p>

<p>As the answers were "maybe" and "more than ten minutes", I think the next step was obvious.  </p>

<p><a href="http://www.flickr.com/photos/timo_w2s/305714664/"><img alt="bbc_hdtv_truck.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/bbc_hdtv_truck.jpg" width="215" height="242" /></a>In my <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/07/bbc_hdtv_the_bbcs_bold_trial_o.html">last post</a> about the Eurovision Song Contest, I said we were putting in failsafe systems so that we could at least  keep the high definition pictures if we had to use the stereo audio. Well, as promised, the infrastructure is in and the "failsafe" worked. <em>(<a href="http://www.flickr.com/photos/timo_w2s/305714664/">Photo</a> of BBC truck at Helsinki World Athletic Championship in 2006 from<a href="http://www.flickr.com/photos/timo_w2s/"> timo_sw</a> on Flickr)</em></p>

<p>We tried a couple of times during the opening to go back to what looked like a stable surround signal, but along would come another "bump" and in the end it stayed stereo.<br />
 <br />
Overnight (Beijing time) the systems engineers worked backwards through the chain to find the cause and the report back was during a check of a rack of equipment it stopped - that's it so far.  </p>

<p>The next programme went on air in surround and it's been there ever since.  </p>

<p>We are still looking into the issue to see if it was equipment failure, a problem with the link back from Beijing or a problem with the incoming audio from the host. Maybe I'll write another full post later!<br />
 <br />
Just for information, the host broadcaster is distributing 4.0 audio to all broadcasters taking surround. The sections from tape, archive material and the studio are in stereo.</p>

<p><em>Andy Quested is Principal Technologist, BBC Future Media & Technology.</em></p>]]></description>
         <dc:creator>Andy Quested 
Andy Quested
</dc:creator>
	<link>http://www.bbc.co.uk/blogs/bbcinternet/2008/08/bbc_hd_olympics_opening_ceremo.html</link>
	<guid>http://www.bbc.co.uk/blogs/bbcinternet/2008/08/bbc_hd_olympics_opening_ceremo.html</guid>
	<category>hdtv</category>
	<pubDate>Tue, 12 Aug 2008 13:25:47 +0000</pubDate>
</item>

<item>
	<title>BBC HDTV: &quot;The BBC&apos;s Bold Trial Of Reverse Karaoke!&quot;</title>
	<description><![CDATA[<p><a href="http://www.bbc.co.uk/blogs/bbcinternet/hdtv/"><img alt="logo_bbc_hd.png" src="http://www.bbc.co.uk/blogs/bbcinternet/img/bbc_hd175x65white.png" height="65" width="170"></a>I finished <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/05/how_to_start_an_hd_channel_fro.html">my last post</a> with the sentence "Two days later the World Cup kicked off and then the fun really started...". </p>

<p>I wasn't joking. It's been an amazing two years, with many successes and a few disasters!  </p>

<p>Top of the list for "must try harder", though, is audio - with surround sound causing more problems than anything else. I couldn't decide what to call this post - I started out with: "Surround Sound is easy... ...to get wrong!"  </p>

<p>But then there was an <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/06/bbc_hd_eurovision_sound_proble.html">incident with the Eurovision Song Contest</a> and I had a different idea. So, welcome to:  </p>

<p><strong>The BBC's Bold Trial Of Reverse Karaoke!<br>(Or, We Send The Vocals; You Provide The Accompaniment)</strong></p>

<p>I'm sure that, like me, you've been to at least one Eurovision Song Contest party where you either had to dress up as one of the qualifiers, take a dish or bottle of the country you've been allocated, or been given a song sheet so you can sing along. This year, due to a technical fault, we had the ideal opportunity to try something new, so for around half an hour we sent the vocals for everyone to gather round the telly and provide their own instrumental accompaniment! From the comments in the many <a href="http://www.digitalspy.co.uk/forums/showthread.php?t=802407">HD forums</a>, I gather not many people took the opportunity, oh! well.   </p>

<p>A couple of weeks ago, I was speaking to the technical director of <a href="http://en.wikipedia.org/wiki/Discovery_Channel">Discovery</a>: he said that over 75% of their quality control failures are due to <a href="http://en.wikipedia.org/wiki/Surround_sound">surround sound</a> problems.  </p>

<p>Then you realise that Discovery are at least five years further down the HD road than <a href="http://www.bbc.co.uk/bbchd/">us</a> and they don't do that many live programmes!  No excuse for getting it wrong, but it does put it into perspective.</p>

<p>So why and how does it go wrong and why isn't everything in surround?</p>]]><![CDATA[<p>Audio is a lot more complex than video and, for live programmes, the complexity is multiplied many times over. When we do live HD transmissions, the HD video feed goes directly to the HD channel and a down converted signal is sent to send to the <a href="http://en.wikipedia.org/wiki/Standard-definition_television">SD</a> channel for SD transmission. The SD channel has stereo audio, but we don't mix it down from the surround audio (yet); it is actually a separate mix at the moment.  </p>

<p>It's worth remembering that well over 95% of the audience of any live programme is watching in standard definition with stereo sound and the standard definition audience must get the best possible service. This means, however, that we've just multiplied the problems by two.</p>

<p>On the day of the <a href="http://www.bbc.co.uk/eurovision/">Song Contest</a>, I had been providing my usual daughter taxi service and arrived home around 20:15. It did take a few moments to realise that something was wrong and that there should be a least a bit of music to go with the vocals.  </p>

<p>My AV amp was saying 1.1 and this was a bit of a surprise because the transmission chain is supposed to be locked to 5.1 at the moment. This is another area for forum discussion and the BBC has been the subject of much derision, accusations that we don't know what we're doing and "what would Dolby say?" statements. So before going on with the Song Contest story, I'll give a bit of an explanation.</p>

<p>The <a href="http://www.bbc.co.uk/bbchd/">HD channel</a> only transmits one audio stream, and this is encoded either as 2.0 for stereo or 5.1 for surround. When we transmit a surround sound programme, the set-top box does a down-mix to stereo for anyone who listens via the analogue outputs or <a href="http://en.wikipedia.org/wiki/HDMI">HDMI</a> via the TV speakers. We send metadata in the audio stream to control the mixdown. It's worth remembering the metadata as they will come back to haunt us later!</p>

<p>When the trial service launched, we only had a few surround sound programmes - but I noticed, as we switched between 2.0 and 5.1, there were a few clicks on the audio when I listened at home. We tracked these for a while to try and find out what was happening, but they weren't serious and I initially put it down to my cheap AV system. Also there were no comments from the audience and even <a href="http://www.digitalspy.co.uk/forums/">DigitalSpy</a> was quiet. Anyway, we had bigger audio issues to deal with at the time.</p>

<p>As we started to get more surround sound programmes and were switching between live, pre-recorded, surround and stereo in every direction, the clicks began to get a bit more annoying and there were a few forum comments, so now I knew others were hearing them too. We started doing some investigation and I even recorded every junction on my home set-top box over a weekend - sad or what? I had to programme it all manually as the guys at Sky wouldn't do an upgrade to allow me to record every programme junction, but not the programmes - advertisers' dream option, I thought!</p>

<p>Connecting my box to a few home cinema systems produced some very interesting results. Every box did something different - the more expensive ones actually muted the output for 2-3 seconds over each mode change; this was something we just couldn't tolerate. At the time, we were talking to Dolby about the problem, trying to find out whether our switching technology was at fault, but it looked like this was a home cinema system issue.</p>

<p><a href="http://www.dolby.com/about/">Dolby</a> has also done some investigation and there seems to be a problem with the way some home cinema systems switch between surround modes. It's very similar to the aspect ratio switching issues we had in the early days of widescreen, i.e. unpredictable and variable between manufacturer and model.  Dolby kindly sent us a release that explains the issues in more detail and we are looking at possible solutions to the problem. However, in the meantime we are staying locked to 5.1 - well, that's what I thought until the Song Contest came along!</p>

<p>I said earlier, I was distracted by other audio problems. Domestic audio systems use something called Dolby Digital or Dolby D to receive and decode multi-channel audio.   We use another Dolby format, Dolby E, to carry up to 8 audio tracks in the space of a stereo pair. It's a very useful compression system, especially for outside broadcasts where there's limited capacity on the link back to BBC Television Centre. The Dolby E stream also carries all the metadata the sound supervisor has added to control levels and the stereo down mix. We can pass this onto the Dolby D encoder and then on to the decoder in a Dolby home cinema system or set-top box.  </p>

<p>Audio signals are usually embedded into the video stream now, and Dolby E uses virtually every available bit in a PCM stereo pair - sending any measuring devise straight into the red zone! Because of this, every device we use to either pass or process the signal has to be properly aligned, timed and to carry the signal as specified by the standards bodies.</p>

<p>During the first summer of the trial, we had been trying surround sound on different events - not only to get experience capturing, but also to try moving the signal around our infrastructure. Wimbledon had been a great success, and we were looking forward to the Last Night Of The Proms being the climax to a summer of live HD.</p>

<p>The way we get signals back to TVC is now critical not just for the quality of the video but also for the successful delivery of surround audio. During Wimbledon, we used a fibre link and, if you remember <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/05/how_to_start_an_hd_channel_fro.html">my last post</a>, our issues were all about getting the fibre into the switching centre and were nothing to do with the quality of the signal it carried! To get signals back from the Royal Albert Hall, we used a microwave link to the PO Tower and then our permanent connections back to TVC. Not much of a problem - we've been doing it in SD for years and it only needs a few more Mbs for the video and an additional Dolby E stream for the surround sound. What we discovered during tests, though, was that the video and the stereo went in and popped out the other end with no problems but the Dolby stream just didn't go anywhere.</p>

<p>It was during these tests my <a href="http://www.sky.com/portal/site/skycom/home">Sky</a> programme guide dropped through the letterbox at home, and it was advertising (on the same night as Last Night Of The Proms, no less), a live HD concert by a beat combo led by someone called "Robbie Williams". This was to come from Manchester, if I remember correctly, and I would have laid money that it would be in surround and the whole package would come down to Osterley via a satellite link.  </p>

<p>After a few phone calls and a couple of beers, I discover that just like us, the Dolby E stream was going into Sky's sat link and resolutely refusing to come out at the other end!  Both of us had identified the broadcast MPEG2 encoder as the culprit but we were not getting anywhere with a solution. Needless to say, we pushed very hard and a few days before the Saturday night, an updated version of the firmware arrived and the surround burst out of the other end of the chain.</p>

<p><a href="http://www.flickr.com/photos/thurm/2522434856/"><img alt="eurovision.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/eurovision.jpg" width="240" height="180" /> </a>By now (I hope), you have forgotten what this post is all about! But just in case you still want an explanation about the Song Contest...  At 20:20, I was on the phone to the duty engineers asking why I hadn't been told we were doing a karaoke trial! They were very well aware of what was going on and were desperately trying to find the problem, but they did put me through to the HD network director and we decided to go immediately to an up-converted BBC ONE feed - this gave us properly mixed stereo audio, but of course we lost the HD. I said I would call the engineers back in ten minutes to see how the fault-finding was going. <small>[<a href="http://www.flickr.com/photos/thurm/2522434856/">Photo</a> by <a href="http://www.flickr.com/photos/thurm/">johnthurm</a>on Flickr]</small></p>

<p>Now, the next question you want to know is: "Why couldn't you take the HD pictures with stereo sound?". For that, you'll need to read on...</p>

<p>At 21:00, I was talking to the <a href="http://en.wikipedia.org/wiki/Red_Bee_Media">Red Bee</a> duty engineers who had traced the audio back through the chain, but could find nothing wrong. It is worth a bit of time to tell you how the Eurovision Song Contest was passed through the chain from the venue to you.   </p>

<p>The UK is a voting member so we have to feed ourselves back to the venue for the voting section of the programme as well as mixing <a href="http://www.bbc.co.uk/eurovision/news/33.shtml">Terry</a> into the main clean feed coming in. To do this, we use a studio gallery. The engineers had traced the audio all the way back to the studio and listened to the direct feed from the venue, and at every point it was all there and correctly mixed. Everyone at every monitoring point could hear perfectly mixed surround sound and because of this, everyone was convinced it was a problem with the Dolby-E-to-Dolby-D conversion - the very last process in the chain. Meanwhile, the studio team (the very first point in the chain) was sure that all the settings were correct and that they could decode the Dolby E properly to prove it - but the Dolby D encoders were telling us we were sending 1.1 and nothing we could say would convince them otherwise!</p>

<p>Time (and contestants) were passing fast, so it was time for a change of tack and I am not one to believe the obvious - especially when two devices are saying something different to everyone else!</p>

<p>Earlier, I asked you to remember metadata, and by now I was thinking metadata not audio. I went back through the chain, but this time asked about the metadata that were nothing to do with operations (eg mix-down settings, dial-norm, etc).  </p>

<p>I was getting grief all through this, as my daughter had now decided the Song Contest was not on her viewing list for a Saturday night and how she was to call several boys she had promised to call back if I was on the phone and she had to use the landline as I had deliberately let her mobile credit run out!  </p>

<p>Anyway, and despite this going on in the other ear, several areas reported an inconsistency in some of the set up metadata readings but were not sure if it was a fault or a misreading as the results were different when monitored in different areas.  </p>

<p>Before we did anything else, I needed to know what the actual metadata settings were leaving TVC and I also need to check lip sync because each Dolby E process delays the audio by 1 frame and we have to compensate by delaying the stereo and video to match.  We had been checking and changing so much, by now there was no guarantee even if we did correct the fault anything useful would come out at home!</p>

<p><a href="http://en.wikipedia.org/wiki/Lip_sync">Lip sync</a> is probably the second biggest issue we've had during the last two years. Each device or process that a signal passes through introduces some delay from a few lines or microseconds up to several frames. This is one of the reasons embedded audio is so useful but even embedders and de-embedders introduce delay.</p>

<p>From the comments on some of the forums, you would think we had people sitting back watching out-of-sync feeds and doing nothing about it. We do take sync very seriously and every sync complaint is always investigated. We have an off-air recording of the HD channel so that we can go back and check if we need to. But what is sync really?</p>

<p>A while ago, C4, five, ITV, Sky, Virgin and the BBC met and agreed how we would define sync. "Easy", you say - "lips and voice should match!". Balls should hit rackets; boots should hit footballs etc at the right time! Not quite as easy if one of your signals is encoded and it takes one frame to decode it to see whether it's sync. Also, in a chain that has known video and audio delays, do you add all these together and compensate at the front of the chain, or at the back? Or, as we decided, do you insist that all audio is sync with the video as it leaves each area, no matter how it's processed?</p>

<p>We define sync as "in sync encoded" for Dolby E signals, so if you cut an embedded stream on a frame boundary, the Dolby E and the PCM stereo will cut in exactly the same place in the dialogue. Each area is responsible for correctly aligning signals to meet this requirement, including any material recorded to or played back from tape.</p>

<p>One other thing we've noticed is sync drifts in some devices depending on how hard the device is working. In a complex chain, there could be ten or more processing units and if they're all working flat out, a signal path that was in sync during line up can suddenly be noticeably out of sync. Also, it's worth noting that you probably have to include how hard the home set-top box is working too when looking at end to end AV sync issues!</p>

<p>The <a href="http://www.ebu.ch/">EBU</a> and other standards bodies are looking into sync specifications to see if the current standards are good enough for HD. We hope to see a tightening of the AV tolerance in all equipment soon.</p>

<p>Back to the Song Contest! To check exactly what our current state was, I asked the network director to switch back to the HD output so I could see what my AV amp did.  That's why some of the forums reported a few seconds HD with mono audio! The metadata were still saying 1.1 on one of my boxes and 1.0 on another (please don't ask why I have two).  </p>

<p>Now I had someone in the studio looking at the main Dolby E encoder, I was looking at a set up guide on the Dolby website (no, I don't have manuals at home) and I was talking through the settings I wanted to check. I really wanted them to check what the Dolby D metadata setting was, but no one could find it in the menu. Then one engineer asked if it could be the setting "AC3 metadata" - same thing I said, "What's it set to?". "Disable", was the reply - a quick change to "enable" and a phone chase back up the chain where everyone reported consistent metadata reading <emand</em> the Dolby D encoder said 5.1. The rest was easy, but the paperwork was hell.</p>

<p>So why did it ever get to air, what was wrong and why couldn't we do HD video with stereo audio?  </p>

<p>Well, to start with, there was nothing wrong with the signal or the metadata and because of that the system did exactly what it as told to do - what was that? Simply put, we had told the system to ignore everything we told it to do! The embedded audio and metadata were not faulty, so the very simple system we put in place for the trial would not allow a non-standard change.</p>

<p>During the trial, we had to put in place a simple setup, but it was very well engineered to do a very simple job without intervention. Now we've been given permission for the HD Channel, we can spend the money needed to upgrade the system and to put in place all of the safeguards, monitoring and protection that a full channel requires. This has been going on around the "live" channel, and one of my first thoughts had been that some part of the upgrade was interfering with the main output.  </p>

<p>The target for completion (including testing and acceptance) of the new infrastructure is the opening of the <a href="http://news.bbc.co.uk/sport1/hi/olympics/default.stm">Olympics</a> in August, which I gather is 8:08:08 pm on the 8/08/08! But we have just about got everything in place now, so from now on, we have the same type of transmission resilience in the chain as any other BBC channel. We also have the capacity to carry out the testing and trial we need to do whilst still on air.</p>

<p>It's my sincere hope that we are at the end of the first stage of our HD migration and that we can start to consolidate and to improve. So maybe this is not the sort of post you expected, but I hope it's given a bit more of the background of what we are up to and I would welcome comment or suggestions for what to do next.</p>

<p><em>Andy Quested is Principal Technologist, BBC Future Media & Technology</em></p>]]></description>
         <dc:creator>Andy Quested 
Andy Quested
</dc:creator>
	<link>http://www.bbc.co.uk/blogs/bbcinternet/2008/07/bbc_hdtv_the_bbcs_bold_trial_o.html</link>
	<guid>http://www.bbc.co.uk/blogs/bbcinternet/2008/07/bbc_hdtv_the_bbcs_bold_trial_o.html</guid>
	<category>hdtv</category>
	<pubDate>Thu, 17 Jul 2008 16:07:31 +0000</pubDate>
</item>

<item>
	<title>How To Start An HD Channel From Scratch</title>
	<description><![CDATA[<p>It's been a mad mad time for High Definition TV over the last two years!  </p>

<p>At the start of May 2006, there was no UK HD and by the World Cup two months later, BSkyB and BBC HD channels were up and running. Now there are 18 HD channels in the UK, with <a href="http://news.bbc.co.uk/1/hi/entertainment/7384928.stm">Freesat</a> offering two free-to-air HD Channels with no need for a subscription.</p>

<p>Now I think the time is right to talk about the history of the BBC HD channel (technically, that is) by winding back to 2005 and sharing some of the stories of the unsung heroes who put together the technology. For anyone who wants to know more about the nuts and bolts of the HD standards have a look at the EBU document <a href="http://www.ebu.ch/CMSimages/en/tec_doc_t3299_tcm6-23327.pdf">Tech 329E</a>. I can recommend it as bedtime reading!</p>

<p><a href="http://www.bbc.co.uk/bbchd/what_is_hd.shtml"><img alt="hd_setup.png" src="http://www.bbc.co.uk/blogs/bbcinternet/img/hd_setup.png" width="430" height="123"></a></p>

<p>At the end of 2005, the BBC had just announced its intention to run an HD trial on the three broadcast platforms which was an interesting technical challenge to say the least. Sky was working on its <a href="http://sky.com/hd/what-do-i-need.htm">HD satellite set-top box</a> and Virgin had its <a href="http://allyours.virginmedia.com/html/dtv/vplus/">V+ box option</a>, but for digital terrestrial we had to start from scratch. <a href="http://www.digitaluk.co.uk/">DTT spectrum</a> is very tight and a national trial was out of the question, but we did manage to negotiate permission to use one of the channels reserved for use after analogue switchoff in the London area from the <a href="http://www.flickr.com/photos/osde-info/555225629/">Crystal Palace transmitter</a>. The BBC HD channel was allowed to use channel 31 that sits between the C4 and BBC2 analogue services. It had to use relatively low power and it was monitored carefully to make sure there was no interference.</p>

<p>So, now we had the ability to transmit HD - but what was going to receive it?</p>]]><![CDATA[<p>There weren't really any off-the-shelf HD terrestrial set-top boxes around that we could use if HD was ever going to be possible on DTT. Conversations were started with all the key manufactures to see if they could develop a prototype box and deliver the number we needed for a very limited trial - and do it in the six months before the World Cup.</p>

<p>I can only image the conversations John Zubrzycki (BBC Research) had with set-top box manufactures in late December:</p>

<p><em><strong>John</strong>: We are going to do a trial of HD on digital terrestrial and need to develop a set top box.</p>

<p><strong>Manufacturer</strong>: Great, we can get our development team across it. What's your timescale and how many units do you need?</p>

<p><strong>John</strong>: Well... it would be good to have. say. 500 for a trial in June.</p>

<p><strong>Manufacturer</strong>: June, that's June 2008?</p>

<p><strong>John</strong>: No, this June - in time for the World Cup.</em></p>

<p>That was probably followed by the sound of the phone going down!  </p>

<p><img alt="hd_tv_testing01.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/hd_tv_testing01.jpg" width="430" height="283"><br />
<small>Picture: Richard Salmon testing set top boxes and televisions</small></p>

<p>However, two manufactures rose to the challenge and by May, BBC R&D <a href="http://www.bbc.co.uk/heritage/in_depth/buildings/kingswood_warren.shtml">Kingswood Warren</a> was overrun with HD boxes and televisions being tested. Richard Salmon reckons he watched nearly a week's worth of television and test signals every time there was a software update - and there were many, many updates.</p>

<p>The boxes were finally delivered to the trial participants in time for kickoff of the <a href="http://news.bbc.co.uk/sport1/hi/football/world_cup_2006/default.stm">World Cup</a>.</p>

<p><img alt="hd_tv_testing02.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/hd_tv_testing02.jpg" width="430" height="269"><br />
<small>Picture: Just a few of the HD Ready TVs under test!</small></p>

<p><img alt="hd_tv_testing03.jpg" src="http://www.bbc.co.uk/blogs/bbcinternet/img/hd_tv_testing03.jpg" width="430" height="338"><br />
<small>Picture: The Humax and ADB Terrestrial HD set-top boxes under test</small></p>

<p>Moving on to programmes, one of my jobs before we had an HD service was to help production teams deliver their programmes in HD to some of our major co-producers.  Very early on, we discovered that no-one would accept Super <a href="http://en.wikipedia.org/wiki/16_mm_film">16mm film</a> as an HD format. I did a lot of work with post-production facilities to try to come up with a way to make it possible, but there was no compromise: Super 16 was just not HD.  </p>

<p>So when our own channel came up, I thought we should have another go. After all, we would be using <a href="http://en.wikipedia.org/wiki/MPEG-4">MPEG4</a> not MPEG2 (like our US co-producers), we would have a high enough <a href="http://en.wikipedia.org/wiki/Bit_rate">bit rate</a> and we could look at drama as well as documentaries.</p>

<p>I think I spent two solid weeks looking at different trials, transfer routes and transmission simulations before I had to tell <a href="http://www.bbc.co.uk/blogs/bbcinternet/seetha_kumar/">Seetha Kumar</a> (Head HDTV) that about 25% of the programmes we thought we could transmit couldn't be called HD. The problem was that the MPEG4 transmission system did a very good job of removing all the grain from the film but after that the picture looked soft and there was no way we could call them high definition. It was a tough time and we are still working on the problem.   </p>

<p>Still, the HD Channel would have the World Cup and Wimbledon to open, followed closely by the Proms - and though they were themselves major challenges, if we could get the pictures back, they would be a great launch for HD.</p>

<p>That brings me to the engineering planning for Wimbledon (2006). We could not cover the whole Wimbledon site in HD but we could do Centre and No.1 courts - and, even better, we could do it with surround sound. Everything was going well until we discovered that the fibre which carried the 100Mbs link from site back to <a href="http://www.bbc.co.uk/pressoffice/keyfacts/stories/television_centre.shtml">Television Centre</a> popped up in a room on the wrong side of a wall! There was plenty of standard definition connectivity between the room and the main switching matrix - but no HD.  </p>

<p>Someone suggested that we could down convert the pictures to standard definition and route them through the up convert for transmission - I'm not sure what his job is now! The discussion went round and round for a while trying to resolve the problem until the OB Engineering Manager suggested their solution would be a power drill and a large hammer! I'm not sure that everyone around the table appreciated it, but it did focus minds to come up with a reasonable solution!<br />
 <br />
The guys in the central apparatus area are always innovative when it comes to providing a quick and temporary solution. I found out exactly what "quick and temporary" meant when I went to see the first test pictures arriving from the World Cup site. All the original World Cup planning had been done when there were no thought of HD transmission and everyone had worked incredibly hard to move the whole operation to HD.  </p>

<p>For the BBC coverage, this was made more complex because we had the main studio in Berlin while the International Broadcast Centre (IBC) was in Munich. The first shot we saw was a rather stunning view of the Brandenburg Gate through the glass wall of the studio and it was really good to see everything working. After a while, I was shown some of the equipment recently installed to route HD to <a href="http://en.wikipedia.org/wiki/Red_Bee_Media">Red Bee</a> for transmission and, as you would expect, it was all neat and shiny with plenty of blue lights - except when I asked what the rather dirty video cable hanging from the ceiling was for. I was told it was the main (and at that time only) HD feed coming in from Germany. I wished I hadn't asked.</p>

<p>So, other than the "odd" bit of routing, all seemed well three days before the World Cup: the channel had launched and the promo loop was playing and getting a big audience! I had even managed to get away early on a sunny afternoon, then I had a call from an old editing colleague - "did you know your channel was out of sync and it looks like it looks like it's getting worse?".</p>

<p>Okay - don't panic - just call Red Bee to see what's happening.  </p>

<p>They checked and told me that all seemed fine but that they would keep an eye. I trusted my source and needed to know more and as my Sky HD box had arrived the day before and I spent the evening watching the promo as it cycled and yes, by about 10pm it was defiantly out of sync.</p>

<p>The next morning it was still out when I checked just before I left for work. The previous night, I had e-mailed Seetha to say that we may have a problem - I could just imagine her reaction when <a href="http://news.bbc.co.uk/sport1/hi/tv_and_radio/match_of_the_day/882132.stm">Gary Lineker</a> started to speak at the opening of the World Cup and a second or so later his mouth moved.  </p>

<p>The more we checked the more confusing it got. The promo was definitely in sync on the original tape and on the server original server file and there was no point in the chain that could put the signal out of sync. We needed to see some live pictures through the chain and they needed to see sync on and we needed to do it quickly. So for all those people who contacted the BBC audience helpline (and me), the reason the London news went out on the HD channel in two short bursts one afternoon was so that three guys at Kingswood Warren could stare at the newsreader's mouth!</p>

<p>To the relief of everyone, the news was in sync - so the footie was safe. </p>

<p>But that didn't explain why the promo was going out over a period of time, would it do the same when we started transmitting real programmes from the server? Mike Taylor from Red Bee did some sterling work and tracked it to an "oddity" in the playout software. It's quite unusual to play out a programme again and again (and again and again) from a broadcast server and after a few days a very small error had built up, enough to see. Simple to fix once you knew what it was - but for 24 hours it wasn't an experience I want to have again!  </p>

<p>Two days later, the <a href="http://news.bbc.co.uk/sport1/hi/football/world_cup_2006/default.stm">World Cup</a> kicked off and then the "fun" really started...</p>

<p><em>Andy Quested is Principal Technologist, BBC Future Media & Technology.</em></p>]]></description>
         <dc:creator>Andy Quested 
Andy Quested
</dc:creator>
	<link>http://www.bbc.co.uk/blogs/bbcinternet/2008/05/how_to_start_an_hd_channel_fro.html</link>
	<guid>http://www.bbc.co.uk/blogs/bbcinternet/2008/05/how_to_start_an_hd_channel_fro.html</guid>
	<category>hdtv</category>
	<pubDate>Wed, 07 May 2008 12:04:50 +0000</pubDate>
</item>


</channel>
</rss>

 
