Archive

Posts Tagged ‘hdcp’

Test Widevine & PlayReady DRM, HDCP 1.x/2.x, 4K VP9 and H.265 in Android with Exoplayer App

October 21st, 2016 2 comments

I first heard about ExoPlayer in an Android TV Overview presentation at Linaro Connect 2014, but I never really looked into it. The source code is available on Github, and I’ve been given ExoPlayer.apk as it can be used to test UHD H265 support, HDCP 1.x, HDCP 2.x compatibility, PlayReady & Widevine DRM using different format and so on.

ExoPlayer Demo - Click to Enlarge

ExoPlayer Demo – Click to Enlarge

So I installed it on Beelink GT1 Android TV box which I’m currently reviewing, and only include basic Widewine Level 3 DRM, and certainly does not support HDCP features.

There are 9 sections in the app to test various videos and DRM schemes:

  • YouTube Dash
  • Widevine Dash Policy Tests (GTS) – Widewine with or without HDCP, with or without secure video path
  • Widevine HDCP Capabilities Tests – NoHDCP, HDCP 1.0, HDCP 1.1, HDCP 2.0, HDCP 2.1, HDCP 2.2, and HDCP no digital output
  • Widevine Dash MP4, H264 – Various resolution (SD, HD, UHD) for clear or secure videos
  • Widevine Dash WebM, VP9
  • Widevine Dash MP4, H.265
  • SmoothStreaming – Super speed or Super speed (PlayReady)
  • HLS – Apple master playlist, Apple TS media playlist, Apple ID3 metadata, etc…
  • Misc – Various video & audio formats and codecs (MKV, FLV, Google Play videos…)

I tested a few the tests without HDCP nor secure data requirement will work just fine. Widevine secure SD (MP4, H.265) would work fine, but as expect Widevine Secure HD and UHD would not work, and only show a black screen with audio since Level 1 DRM is not supported by my device.

Then I switched to Widewine HDCP 2.2, and to my surprise the video could play… I later found out that HDCP does not kick-in immediately, and if I play the video for a longer time, the video will stop after 9 seconds because Beelink did not get the HDCP 2.2 license for their box.

AFAIC, there’s automatic testing, and each test must be started manually. But it’s still a useful if you are interested in copy protection schemes supported by your Android device.

I’ll complete the post with something unrelated with ExiPlayer, but still interesting to check HDCP support if you own an Amlogic device, as there are some commands to check the status of HDCP:

  • Show whether the TV is currently working with HDCP 2.x or HDCP 1.x:

22 = HDCP2, 11 = HDCP1, off = HDCP not enabled right now

  • Check HDCP authentication status:

1=authenticated ok, 0 = failed to authenticate.

  • HDCP keys for device

00 = no HDCP key, 14 = has HDCP1_key, 22 = has HDCP2_key

  • Check TV HDCP version

22 = TV supports HDCP2, 14 = TV supports HDCP1)

  • Disable HDCP protection:

HDFury Integral 4K60 HDMI 2.0 Splitter Promises to Fix HDMI 2.0 & HDCP 2.2 Issues

August 26th, 2015 6 comments

HDCP (High-bandwidth Digital Content Protection) has been developed by Intel to prevent copying of digital audio and video content as it travels across connections such as DisplayPort (DP), DVI, and HDMI. It’s used to protect contents’ creator work, but unfortunately in many cases it also breaks the experience of paying customer for example when they try to watch protected content of on hardware that’s not compliant, or only compliant with an older version of the standard. The latest version is HDCP 2.2 and target 4K content protection, but many 4K UHD TV sets sold in the last few years are not compatible, which means that some cases you may not be able to watch content. HDfury claims to have the solution with their Integral 4K60 HDMI splitter.

HDMI_2.0_SplitterSome of HDfury Integral 4K60 specifications include:

  • 2x Input / 2x Output Splitter (HDMI2.0a/HDMI1.4/DVI1.0 compatible)
    • 4K60 4:4:4 600MHz 18Gbps Pass through
    • 4K60 4:4:4 600MHz 18Gbps > 4K60 4:2:0 300MHz 10.2Gbps conversion
  • HDCP Doctor (HDCP Workaround solution) – HDCP 2.2 > HDCP 1.4 conversion, HDCP 1.4 > HDCP 2.2 conversion, HDCP x.x > HDCP x.x conversion
  • Dual HDMI2.0a & HDMI 1.4 combined,  Dual HDCP 1.4 & HDCP 2.2 combined
  • CEC
    • Support for inter-device control between both inputs and the primary output (TOP) HDMI channel.
    • USB configuration for automation, trigger via events, push button or via IR/Bluetooth
  • Audio
    • optical S/PDIF, stereo mini jack
    • Mic In (Line In) sampling at 44.1/48 Khz
    • External Audio Replacing – input external sound or switch sound between input
    • Audio Extracting: Audio De-Embedder of Optical & Analog L/R
    • Support for PCM up to 192 KHz, and Audio HD codec (True HD, DTS-MA, HBR, etc..)
  • EDID management via USB or BT
  • HDMI Booster/Extender – Capable of extending 1080p resolution up to 15m. in and 15m. out (30m. total for 1080p), UHD resolution up to 10m.
  • HDMI Doctor – Solves most HDMI integration issues such as HDCP, EDID, HPD, and audio breakout.
  • HDMI Equalevel – Precise signal equalization towards both input and output signals perfectly delivers the best possible picture quality.
  • Hot-Plug control – Force the input device to always see an active connection.
  • Licensing – Licensed and compatible with all HDMI and HDCP technologies.
  • 3D Ready – Capability to pass 3D stereoscopic signal formats.
  • Power Supply – 5V/2A (USB); Consumption: <2W
  • Dimensions – 9.14 x 6.35 x 2.54 cm
HDfury_Integral_4K60_HDMI_In_HDMI_Out

HDMI 2.0 Inputs and Outputs

Beside fixing HDCP issues, the device can also be used to display one 4K video source to two 4K TVs or monitors, extra audio from the HDMI signal and output it to S/PDIF or stereo jack output,  be controlled via Bluetooth with an Android or iOS mobile device, and more. One of the feature is conversion between 2160p 4:4:4: to 2160p 4:2:0, which would have solution the HDMI 2.0 issue I had with my LG UHD TV (limited to 4:2:0 colorspace) and Rockchip RK3288 boxes with an HDMI 2.0 port which only output 2160p @ 60Hz using 4:4:4 colorspace.

The USB port can also be used for firmware upgrades. If you go to HDfury Integral 4K60 product page, you’ll find links to some drivers, a user’s guide, the stock firmware, and Android and iOS, but most of these are not working yet.

This HDMI 2.0 splitter does not really come cheap at $199, although it goes down to $149.25 with “integral” coupon code for pre-orders to be delivered in October. If you are only using 1080p or lower output, there are existing HDMI splitters that can work around HDCP issues at a fraction of the cost, albeit with less features  (e.g. no audio extraction).

Categories: Android, Hardware, Video Tags: 4k, hdcp, hdfury, hdmi, switch