website tracking Jump to content

MAG & Enigma2 Video Output Fix: 4K HEVC, HDR & Aspect Ratio Setup (2026)


Recommended Posts

Posted

MAG & Enigma2 Video Output Fix: 4K HEVC, HDR & Aspect Ratio Setup (2026)

Connecting Infomir MAG boxes (MAG 424, 540) and Enigma2 4K receivers (Vu+, Octagon, Dreambox) to modern 4K HDR displays can sometimes result in distorted screen scaling, black borders (letterboxing), washed-out HDR colors, or video stuttering on high-bitrate 60fps channels.

These playback anomalies usually stem from incorrect HDMI Handshake EDID negotiations, improper color space sub-sampling (YUV420 vs. YUV444), or uncalibrated Linux framebuffer resolution scaling.

This technical guide explains how to calibrate video output parameters, fix 4K HEVC decoding errors, and eliminate video frame stretching across Enigma2 and MAG Linux environments.

 

MAG & Enigma2 Video Output Fix: 4K HEVC, HDR & Aspect Ratio Setup (2026)

 

Display & Video Calibration Matrix

Parameter / Metric Enigma2 Linux OS (Vu+ / Dreambox) Infomir MAG Linux System
Output Resolution Target 2160p (4K UHD) @ 50Hz / 60Hz 2160p (4K UHD) @ 50Hz / 60Hz
Aspect Ratio Standard 16:9 (Letterbox / Just Scale) 16:9 (Fit / Stretch Mode)
Color Space Sampling YCbCr 4:2:0 / YCbCr 4:2:2 Auto EDID / YUV 4:2:0
HDR Mode Processing Auto (HDR10 / HLG Passthrough) Auto Passthrough
Frame Rate Sync (AFR) Native Auto Refresh Rate Plugin System Video Output Sync

 

1. Fix Screen Stretching & Aspect Ratio Black Borders

When switching between old 4:3 SD feeds, 16:9 HD sports channels, and 21:9 ultra-wide VOD movies, video players can misinterpret aspect ratio tags, stretching video frames or adding vertical black sidebars.

Calibration Steps:

  • On Enigma2 (OpenATV / OpenPLi):

    1. Go to Menu > Setup > Audio/Video > Video Settings.

    2. Set Display Aspect Ratio to 16:9.

    3. Set Display Content > 16:9 Content to Just Scale (prevents overscan cropping).

    4. Set Display Content > 4:3 Content to Pillarbox (maintains native non-stretched format).

  • On MAG Boxes (Linux WebKit):

    1. Go to System Settings > Video Settings.

    2. Set Video Output Mode to 2160p-50Hz (for Europe/International sports) or 2160p-60Hz.

    3. Set Graphic Resolution to 1920x1080 or 3840x2160.

    4. Set Auto Frame Rate / Aspect Ratio to Fit / Auto Scale.

 

2. Calibrate Color Space & Fix Washed-out HDR Colors

Streaming 4K HDR10 or HLG broadcasts on non-HDR displays or incorrect HDMI ports can cause flat, washed-out colors with dull contrast ratios.

Color Sub-sampling & HDR Calibration:

  1. HDMI EDID Handshake: Ensure your box is connected to an HDMI 2.0/2.1 port on your TV that supports HDMI Ultra HD Deep Color or Enhanced Format.

  2. Enigma2 Color Space Setup: Go to Menu > Setup > System > A/V Settings and set Color Space to YCbCr 4:2:0 or Auto. Turn HDR10 Display Mode to Auto.

  3. MAG Box Color Output: In System Settings > Video, toggle Deep Color to Auto to let the device pass raw HDR metadata directly to the TV display panel without software downscaling.

 

3. Fix 4K HEVC (H.265) Video Stuttering & Frame Drops

Uncompressed 4K HEVC channels require direct hardware decoder access. If system resources are overloaded, live feeds will stutter or drop keyframes every few seconds.

Hardware Decoding Optimization:

  • Enigma2 Frame Rate Matching: Install the AutoAdjustFrameRate plugin (opkg install enigma2-plugin-systemplugins-autoadjustframerate). This automatically matches the HDMI output frequency (e.g., switching to 24Hz for movies and 50Hz for European broadcast TV), eliminating motion judder.

  • MAG Box Buffer Setup: In Embedded System Settings > Playback, increase the Stream Buffer Size from Default to 2000 ms to absorb Wi-Fi network latency spikes during 4K high-bitrate playback.

 

Frequently Asked Questions (FAQ)

Q1: Should I set my Enigma2 / MAG box output resolution to 1080p or 2160p?

A: If you own a high-end 4K TV with an advanced AI upscaling engine (e.g., Sony OLED or LG OLED), setting output resolution to 1080p50/60 allows your TV to handle image upscaling. If you stream native 4K broadcast feeds, hardcode the output resolution to 2160p.

Q2: Why does the TV screen go blank for 2 seconds when switching channels?

A: This short black screen is caused by Auto Frame Rate (AFR) adjusting the HDMI refresh rate (e.g., jumping from 50Hz live sports to 24Hz VOD content). This handshake is normal and ensures smooth motion rendering.

Q3: How do I remove black borders on older 4:3 satellite channels?

A: Press the Aspect / Ratio button on your remote control and switch from Pillarbox to Pan & Scan or Full Screen. Note that this will zoom into the frame slightly.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

We noticed you're using an Ad Block. Honestly? We understand. Nobody likes intrusive pop-ups. However, the content you enjoy here is fueled by those tiny ads.

By whitelisting us, you aren't just seeing an ad; you're supporting the creators, the hosting, and the late nights spent building this for you.

 

Could you do us a favor and disable your Ad Block for this site? It’s a small click for you, but a huge help for us. Thanks for being part of our community!

Sure, I'll help