Showing posts with label HDMI. Show all posts
Showing posts with label HDMI. Show all posts

Friday, July 7, 2017

EDID will get you every time...

I was helping to configure a new board room. This one is a tiny bit different by having two nice big TVs mounted on the walls and the cable run to each is at least 30m. So - HDMI does not reliably go that far over copper cable (I know - somebody always has an example where they've made it work, but this has to be reliable!). It's probably why so many training/presentation rooms still have SVGA on the desk plate; it's reliable.
The other requirement was that with no operational changes you should be able to plug an HDMI laptop into the desk plate and "...it just works"!
So - Barnfind are my favourite fibre parts and so a couple of BarnMini03 & 04s with single-mode fibre between (spliced, of course!) takes the HDMI up to 80km. I used these nice wall-termination panels from ADC Krone.



I also bought one of those cheap no-name HDMI splitter/DAs from Amazon as I've had no trouble with them in the past - they even work well as HDCP removers. However in this case as soon as I plugged in the second TV the system would fall over with the "signal present" light on the DA going out - TV A or B could be fed individually but not together. Sticking the EDID analyser on the feed to the DA i/p showed the DA was generating and EDID exchange ever second or so and alternating between the two different EDIDs - first Mr. Sony then Mr. LG (different models of screens).

So, after a bit of head-scratching I put one of these on the input of the DA - it essentially answers EDID enquiries without forwarding them upwards. Works like a charm;


My next test will be to see if the DA pulling the hotplug detect pin low and triggering the erroneous EDID exchanges. For this I need to dig out one of my famous Root6 Spoof'o'matics which we had manufactured in quantity after a similar problem with Avid and how it reacts to different monitors.

Wednesday, October 5, 2016

HDMI, HDCP and SDi out from Bluray players

It's been a few years since the master HDCP key escaped into the wild and so it seems that particular content protection system is fundamentally wounded (if not dead!) but reputable manufacturers still respect the HDCP flag (even if no encryption is present) and the MPAA are still issuing device keys to manufacturers and volume keys to content producers.
So - I have been installing some Oppo Bluray players (nice, high end machines) and they support HDCP rather too aggressively; on a non-compliant display you don't even get the boot screen or any menus! So - an SDi converter is out of the question. 
The usual trick is to use one of these cheap'n'cheerful HDMI splitters which present a device key to terminate the signal but then send it to two outputs having done the decryption. 


Works perfectly with Backmagic HDMI->SDi converters with the exception of the audio; the Blackmagic knows nothings about DTS+ or DolbyDigital (or any of their variants) - it only understands the basic PCM stereo part of the bitstream and so that's what you get in the SDi stream.

However - in the case of these Oppo 103D players they have decoders on board and present the de-compressed audio out of the back as good old analogue feeds;

In these rooms I've fed them to the analogue inputs of the Tektronix WVR8200 test set and hence by selecting a different audio input you can toggle the TC Electronix ClarityX controller between 7.1 from the Avid and surround sound from the Oppo.

Tuesday, July 26, 2016

Fuji IS-Mini software for colour space conversion

For patch generation and LUT testing the Fuji IS-mini is hard to beat for sub-£1k. LightSpace will drive it for profiling monitors and since it has both HD/SDi and HDMI outputs it is very useful all the way to 1080 lines at 60P.

The software that comes with it is kinda utilitarian but can speak to multiple IS-minis over either USB or ethernet. So you can load LUTs to several units from a single computer and it will even listen to the commands from a Tangent Wave control panel and you have a very canny little grading system (all be with no memory!) - but for live colour correction it is used everywhere from HDR cameras feeding BT.1886 productions to folks who need to correct for unusual cameras in an otherwise standard OB environment.


Having said all that it isn't a patch (pardon!) on LightSpace but they have just released an unlocked beta that feature colour space conversion LUTs which might be of interest to general colour-tinkerers.

From Fuji's site;

The rapid adoption of 4K Rec2020 and the development of HDR has necessitated an increased need for colour space conversions, such as color gamut, various LOG curves and numerous other standards. As requests for products to handle this have increased, FUJIFILM has begun to develop a system for IS-mini users that will allow greater flexibility with colour spaces.

And the obligatory bullet points;
  • Convert the content of Rec709 to Rec2020. 
  • Convert the image data of SLog3 / SGamut shooting to HDR ST2084 / Rec2020. 
  • Convert Legal range to Full range 
  • Convert the image data of the various cameras to SLog3 / Rec2020. etc... 

Grab it here.

Thursday, June 9, 2016

Stuck pixels on LCD & OLED monitors

Because they're semiconductors (and pretty tiny ones at that!) the pixels on modern HD monitors can become "stuck" such that you get a dot that is either black or white (in the case of all three sub-pixels; R, G, and B being stuck on or off) OR a primary (or secondary) colour where less than three of the sub-pixels have stuck. It usuall looks something like this;

see how the blemish aligns perfectly with the pixel raster

You have to get your face about an inch away from the screen to see a single stuck pixel on a 1920x1080 25" display, not exactly edit/grading viewing distance!
 
A piece of software that has helped me in the past is JScreenFix which is a little Java app that allows you to hook up your laptop to the monitor - thankfully all current model broadcast displays have HDMI but you might have to make arrangements (DVI to SDi converter, for example). 

Here's the interface as I used it today to mark three dead pixels on a broadcast OLED;


This is the random pattern (video noise) that it fires at the hundred or so pixels around the area of interest. The idea is that you leave it running for a while and hopefully it will provoke the thin-film-transistor (in the case of an LCD) and the diode (in the case of an OLED) to recover it's ability to start switching again.


In the case of the monitor I had a go at today I was able to clear down two of the three stuck pixels, but the final one that remained resistant to repair was interesting; a photo shows it to be probably some contaminant in the panel rather than dead pixels or sub-pixels;

the blemish seems to be in the inter-pixel space?

Friday, May 27, 2016

Boland's new hi-brite 7" camera/on-set monitor

It seems to be a thing for small on-set/camera monitors that they should have a hi-bright mode when being used in non-edit environments. The Boland BVB7a is an excellent little monitor and can be powered from the camera's 12v battery feed as well as coming with a DC PSU. It can take SDi (single or dual-link) as well as HDMI and composite (yes!). I shot a little video of me profiling it's colour capabilities.

Wednesday, May 4, 2016

BM UHD/4k converters - some gotchas

https://www.blackmagicdesign.com/products/miniconverters/techspecs/W-CONM-17

I've used a few of these guys recently - Blackmagic's quad HD/SDi input to HDMI 2.0 output for taking the UHD / 4k (either tile or 2SI standard) and making something that will display on a 4k domestic TV.

They seem to work quite well, but here are a few things that I had to get around;

  1. Firmware - I had two identical ones and I initially tested both with Quad-SDi out of Avids at UHD (3840x2160 at 25 & 30P) - all good. But when I started a 4k project (4096x2160 at 24P) only one worked - the other showed nothing on it's HDMI output. Eventually discovered only one of them had current (v.7 as of May 2016) firmware!
  2. Power cycle if colour space wrong - both have periodically decided they are going to mistranslate Y, Cb, Cr -> R, G, B - power cycling fixing it; hopefully the next firmware update will stop this?
  3. Four signals are always interpreted as UHD; if the Avid is running an HD project the four SDi feeds out of the back are all identical and the converter has no way of knowing it's not quad-link. The Tektronix 8200-series and the Canon VP3010 monitor both have to be told (and I set presets for just this) but the BM converter needs to see three or fewer signals to realise it's only a 1920x1080 raster. In the case of this job setting up two macros on the video router (one to route all four, one to send a non-used input to i/p's B, C, & D of the BM).
  4. Glad I'm rocking a MacBook Pro! I would not have been able to update the firmware otherwise as I've yet to move on from Windows 7 - and the workshop PC is still 32-bit Windows 7!

Thursday, February 11, 2016

Shooting & editing HDR via Avid using CLog gamma

We've got BVE2016 coming up and one of the things Root6 will be showing is an HDR workflow via Media Composer using Canon monitors.
HDR is still a bit of a crap-shoot as far as standardisation is concerned with the BBC/NHK system, Dolby Vision, Sony's SLog3 and Canon's camera-native CLog. The principle of using an alternate gamma so that you concentrate the bit-depth where you want the extra range is well established;


The hope is that all of these manufacturers will coalesce around ST.2084 which (amongst other things) defines how you handle the specular highlights; those very bright parts of the picture which give a real addition to the look of the pictures. These are typically defined to be >500 Cd/m2 which is MUCH brighter than broadcast white! The idea is that the last bit of dynamic range (10th bit - all values above 512) represent the highlights and everything up to 50% is akin to the usual video dynamic range. You calibrate the monitor such that 50% is set at 100Cd/m2 and just hope that the colourimetry of the highlights tracks RGB-wise!

So - Root6's own Dave Skeggs and I set off around Soho and London Bridge to capture some night time and daytime footage. We were using a Canon C300 mk.2 set to UHD (3840 x 2160) at 25P (no interlaced fields at UHD and no high framerates at that resolution unfortunately). We set the colour space to an optimistic Rec.2020 and gamma to Clog. In that mode the camera shoots 410mBit/s XAVC codec MXF files.
We've been using Media Composer v 8.5 on an HP Z840 workstation & the new Avid/BlackMagic DNXio video hardware; we had to update the firmware to get it to generate quad-link SDi. Although HDMI works it is nobbled down to eight-bit and so would not be suitable for this test. I would put a link to the video but none of the video sharing sites support HDR and neither does the screen of your tablet/laptop/TV! I took all the monitor photos with my Fuji bridge-camera in a very bright office; you'll have to take my word for it!

Notice the headlights of the taxi - you can see details inside the light!


exactly the same frame; notice the dark details in the trees against the night-sky.

 Of course on Media Composer's GUI display you get the CLog gamma rendered as if it was Rec.709 and so it looks very washed out and lacking in detail


You can have Avid flatten the gamma of source clips so that it looks OK on the GUI - that doesn't affect sequences that the clip mas been used in.

 
Quite a large range of alternate gamma and colour spaces

 It shows up in the bin-view which is useful

 
So now clicking the source window and setting the monitor to regular HD gamma (BT. 1886 fact fans) shows you what the same material shot on a "regular" camera would look like; very little detail in the blacks and none in the whites.
 
 Root6's own DOP; Dave "is that in focus?" Skeggs

I'd forgotten how limited a normal video-camera's dynamic range was. The Canon monitors top out the specular highlights at 400Cd/m2 which is somewhat less than a Sony BVM-X300 (1,000 Cd/m2!) but for €10k less than the Sony (and losing only a stop-and-a-half of specular highlights) the Canon 30" UHD/4k IPS panel represents superb value. I was a bit disappointed that the camera tops out at 29.97P at >2k resolution so I couldn't see how nice fluid video motion looked at high res; everything has a jerky film-look to it.
Steve Shaw at Light Illusion has a very good article exploring some of the fundamentals of HDR.

Thursday, December 10, 2015

4k and UHD cabling and signal standards

I've had to dig into signal transport for 4k/UHD over the last week or so. Essentially I have a test-signal generator (SRI Visualizer TG100) running at a maximum raster of 4096x2160 at a maximum of 25 progressive frames/sec (and only 4:2:2 colour sampling; Y, Cr, Cb) with a 6G single-link output (so really 4 x 1.5G links) and HDMI 1.4 (so the same raster as the SDi). The monitors are the 24" and 30" Canon IPS 4k native monitors.
The Canon monitors will take quad-link HD/SDi and (in the case of the 24") HDMI. So, feeding the SRI single-link into a Blackmagic 4k multiplex (to produce quad-link) and then into the Canon produces four quads in the wrong colour-space!


 For an insight into what the multiplex is doing it's worth looking at the two standards for quad-link SDi. Put aside if it's 4 x 1.5G or 4 x 3G (that allows an increase to 50 or 60P OR 4:4:4 colour). But, in this case we're de-mux'ing a 6G to 4 x 1.5G signals. 

The original 4k-over-four-BNCs standard


The more recent standard; each link looks like an HD version

Clearly the converter is producing 2SI but the Canon expects SD quad-link. In fact the guys at Canon tell me they have a firmware update early in 2016 to address this. The other error is that the Canon has mistaken the 4:2:2 video as RGB - but it has at least got the raster correct.
So, what to do? Well, by throwing in another converter and taking the HDMI out of the SRI means the BM mux will get an older SD quad-link input;


This produced what we need; clearly HDMI has not concept of mutliplexed pixels and so we're now fully in SD quad-link;

tugging BNC no.4 shows the monitor is now in quad mode

The monitor gets it all right

The other thing that you have to pay attention to in "True 4k" displays (for the film snobs!) is that feeding 3840x2160 signal into a 4096x2160 monitor and letting the monitor scale-up to fill the line risks killing your resolution;
The aliasing should only the present in the top-most block, the other alias frequencies you can see here are due to my iPhone's camera!

Some very strange aliasing when a 3840-pixel line is mapped to 4096 pixels

As ever with display devices, pixel-pixel (native resolution) is always preferred

Friday, December 4, 2015

Barnfind integration with third party control panels

Barnfind are one of the products I'm responsible for at Root6 and I love them for their forward looking attitude and the fact they embrace open standards; if you see an SFP hole or a BNC connector you know that it will work with any other manufacturers (unlike Evertz who re-define the standard and put an X at the start of the product name!).


So - the BarnOne BTF1-07 is the chassis I have in my demo kit and at IBC this year Wiggo and the guys were showing a much wider set of third party control panels they have integrated to work with their cross-point router. So, to make our demo more compelling I bought a BlackMagic VideoHub Smart control panel and set about making it talk to the BarnOne.

Since I have to rock-up at customers' facilities to show this gear I figured it's daft to rely on their networks and so I've included a TP-Link travel router to dish out IP addresses to the panel and the BarnFind; it also allows you to use a wireless laptop to then run the demo. These little gadgets have single WAN and LAN facing ports but rather splendidly the BlackMagic panel has a little ethernet hub inside so you can loop the network connection to the Barnfind. 
This screen-grab is from BarnStudio - the config/control software for Barnfind products. It has a discovery protocol so it can find any chassis on the same LAN segment. However - I discovered a couple of gotchas;

  • When upgrading the chassis you can either attach a USB stick to the front and the embedded Linux machine will grab the image OR you can use BarnStudio. Initially I couldn't get either to work! 
  • Barnstudio just instructs the Linux machine to do an apt-get (or similar) and so it has to be able to see out to the internet; connect the WAN-side of the little router to the workshop network!
  • If you do the USB route then the installer checks the signature on the package; again, it needs to get out to the web to verify the cryptographic signature.
  • The Blackmagic panel does not have any host-discovery protocol built in and so it seemed only sensible to set the router to always dish out the same MAC/IP address combinations by using the DCHP reserved assignment page in the router. Then assign those number in the BlackMagic config software.
After that it really is very simple - you set the virtual buttons to be whatever sources and destinations you want. You can even reserve some to be macros (which are then just a list of route assignments) - in fact that is how you would do duplex signals; Ethernet etc. You have to assign both the in and out of each SFP (Tx and Rx). You don't have to have sequential sources or destinations and I can't honestly see how they could have made it any better!

So - with BNCs 17 & 18 on the front of the Barnfind defined as 3G HD/SDi video in and out and these button assignments on the BM panel I've got proper router control. These forty-button panels will be very useful for controlling all the synchronous broadcast signals (HD/SDi, HDMI, MADI etc.) and asynchronous data signals (Ethernet, fibre-channel etc) running through a Barnfind router (and then out and over CWDM fibre?).

The only criticism is that the software matrix takes a second or so to update after panel changes are made; but I can't honestly see when that would be an issue - this software matrix is  tool for the engineer, not the operator.

As an aside they have recently published a very complete integration guide with lots of examples and advice.

http://media.barnfind.no/marketing/BarnGuide%202.0.pdf

Tuesday, October 21, 2014

Digital path & SDi does not colour-accurate pictures make...

Recent years have seen many prosumer camcorders with HDMI outputs so that you can get access to the uncompressed RGB sensor output rather than having to make do with the H.264 (typically) encoded Y, Cb, Cr data (from the flash or disk-based recorder). This makes lots of sense and has given rise to HDMI -> SDi converters like the ones Mr. Blackmagic sells;


These take any HDMI 1.4 resolution (all the way to 4k UHD - 3840 x 2160 at a maximum of 30P in 4:2:2 colour space) and convert to single-link (1.5G, 3G or BM's home-brewed 6Gbit/sec) SDi. Excellent, you'd think; and they are so long as you only use them for video-type sources - camcorders etc. Don't assume they are of any use in turning the output of your computer into SDi!

So, here's the test rig; my Macbook Pro 15" running Mavericks with a Thunderbolt -> DVI breakout connecting to the HDMI input of the BM converter.


The SDi output is fed to my trusty Tektronix WFM7100-series and I'm running a known-good recording of 10-bit, 1080 50i 100% EBU colour bars on the 2nd display.


Now let's take a look at the state of the bars; not pretty - the luminance response is all over the place with a very funky gamma that has really gone awry in the bright parts of the picture. The blue colour-difference channel is not so bad, but the Cr (red colour difference) is really crushed in the cyan end of it's response; look at the vector display (top-left).


That's not to say that the pictures don't look good on the monitor; but they aren't colour accurate in the way they need to be if you're using this as a method of profiling an SDi display - and I have seen people use this method with Light Illusion to derive the colour space of a display and then generate a LUT to make the display look how they want.


So, my first thought was, head over to the display profile and see if it's just using the wrong RGB numbers; OS-X and Windows both support standard profiles like Adobe RGB or sRGB which are more suited to print and web graphics prep but not necessarily our beloved broadcast Rec.709 colour space. Imagine my horror when I realised that the colour display profile that OS-X had used was the one that shipped with the Blackmagic! How did they not even get that right?!

To be fair even the 709 profile that comes with the OS is wrong; the take-away is don't use these kinds of gadgets if you need accurate colourimentry. For XBoxes or just getting a high-quality desktop feed as SDi they are fine, but not if accurate broadcast pictures are needed.

Monday, August 25, 2014

Barnfind's high-speed data router and optical CWDM for TV infrastructure

I've been a very slack blogger over the last five weeks due to work (installations, running training, getting trained!) and holiday (splendid). I spent a few days last week in Norway as the guest of Barnfind in Sandefjord.
Norway seems to be a lovely country if not a tad expensive (£24 for a round of three pints).  Barnfind are a small company whose engineers used to be with Nevion - you've probably come across their VikinX range of HD/SDi and other facilities routers. 

I had a long Skype chat with Barnfind a month ago and kind of 'got' their range. It's not a one-for-one replacement for any other specific products rather a platform that nicely ties together all digital signals within a facility; synchronous (SDi, MADI, AES, etc) and asynchronous (ethernet - copper & fibre, fibre-channel). They also make CWDM very do'able in a broadcast environment. As we move towards an entire IP infrastructure these are the kind of platforms that allow an easy transition. 

The basic product (the BarnOne BTF1-01) is a 32x32 generic data router and 16 bi-directional SFP ports. The SFPs can be any MSA-compliant units but Barnfind manufacture their own at very reasonable costs (much less than Cisco!). You could insert Ethernet, SDi i/o, fibre or any of around 150 variations they offer. This allows you to route SDi in and out over fibre, insert AES into an SDi stream, convert ethernet to/from fibre etc etc. 
3G HD/SDi input/output SFP

Clearly some signal types don't sensibly convert; routing an SDi stream to a fibre channel-equipped port won't replace an HP workstation running Avid! But where is does make sense everything is taken care of for you. In the case of all video signals (composite, SDi and HDMI are all supported) the signal is converted in the SFP to 3G SDi before it is passed to the 32x32 router.

The BarnOne range extends to several variations - the lower board which carries the router and the first sixteen ports can be joined by two upper boards carrying BNCs, more SFP holes or (more interestingly) CWDM fibre modules. Essentially having BNCs on an upper board allows you to avoid SDi SFPs (it's marginally cheaper to do it on an 8-way board than an extra 8-holes with video-SFPs).
 
The other end of the link could be easily served by their BarnMini units - essentially replacing Blackmagic or AJA converters but integrating very nicely with the BarnOne. For less than £400 you can get either two BNCs with an SFP hole or two SFPs. 

The whole thing makes sense when you realise that all the signal intelligence is in the SFPs - the dual-port BarnMini can do anything that makes sense; maybe you need to route some ethernet coming in on single-mode fibre and send it out over existing multi-mode cable. Again, AES, SDi, MADI as well as all fibre and copper networking are supported. 

Before I start banging on about Course Wave Division Multiplexing it is worth including a photo of the insides of a BarnOne so you can see the control card they use.

That's right! It's a RaspberryPi! When re-invent the wheel; they claim they tested a few Linux SOC boards and found the humble Pi to be the most reliable and they make use of the watchdog timer to ensure it's always listening for config updates. Their BarnStudio software not only allows you to configure the system (including all the monitoring via SNMP) but you can also control the router. They also support several manufacturers generic control panels if that's what's needed.

CWDM

Single mode cable (more often than not) is used to carry a network feed, a 3G video feed or some other data. We quote wavelengths for fibre (typically 1310nM) rather than frequency and so often forget that the sidebands of the signal we put down a fibre are tiny relative to the centre frequency. 1400nM of wavelength is around 200Thz (yes, 200 x 10^12 Hz!) which makes the 4.5Ghz bandwidth of the best-quality HD video coax look very modest. So, we could divide up the single-mode range into many wavelengths and use each for a different purpose; a bit like the radio stations on the VHF band.
These are the standard wavelengths for CWDM working; sixteen channels and by convention the two colours run in different directions (SDi input/output or ethernet Tx and Rx for example). This allows you to have SFPs that put the signal they send/receive onto specific wavelengths. Then, with a simple passive optical splitter/combiner (which is all a CWDM multiplexer is). With all this in place you can use your Banrfind kit to multiplex sixteen functions in and out of a single 9/125u fibre. If that's all you have between premises then this is a lifesaver. The multiplexers are in the £400 range. 

We opened one up last week and it was a thing of beauty; all passive optical engineering with tiny dichroic filters. So, by careful planning you could send multiple SDi signals, ethernet, fibre channel and other things to and from a remote site over a single strand of mono-mode fibre. It could be up to 80kms away. 
There is a further development of the multiplexing technology called Dense Wave Division Multiplexing - DWDM which allows up to 192 channels and very far distances (by the use of Eridium-doped optical amplifier - but in the case of Barnfind (and other manufacturers) the cost of DWDM vs CWDM is fivefold!


The BTF1-07 is the box I've ordered as my demo unit; it has sixteen SFP holes, eight bi-directional BNCs as well as a CWDM multiplexer.