+ Reply to Thread
Results 1 to 1 of 1

Thread: Improving encoding quality of Hantro H1 encoder (NXP i.MX8M Mini)

  1. #1

    Improving encoding quality of Hantro H1 encoder (NXP i.MX8M Mini)

    Hello,

    I'm using an i.MX8MMini to encode live video + overlays to H.264. I am trying to improve the video quality for a given bitrate.
    The SoC uses the Hantro H1 encoder.

    It defaults to Baseline profile and I've enabled CABAC and 8x8 transform in the vpu wrapper library, thus setting it to High profile. Those two are the only features that are more or less clearly documented. I've been able to verify that the changes were taken into account by the encoder using StreamEye and can see a modest improvement on the video quality. However, it's still not as good as other video encoders I'm comparing with. I'm testing encoding at 5Mbps, with auto Qp and Gop=15.

    I was wondering if anyone on this forum had any experience with the Hantro H1 encoder? If so, do you have any qualitative comparison with other encoders?

    The poor quality of the encoded video is particularly visible around the text overlay when the text is set on transparent background. I am using a non-smooth font so the pixels are either opaque or transparent, and there is no alpha-blending taking place, so the text is expected to be jagged. I have tried alpha-blending a smooth font, with similar outcome.

    I attach a 2 sec recording made with the encoder - gop=15, bitrate=5000, qp=-1 (auto). There are strong artefacts around the text. At the same bitrate, they do not appear with a competitor's encoder.

    I apologise if my post is a bit wooly; I'm on a learning curve when it comes to video encoding / H.264.

    I should add that I don't have access to the datasheet for the Hantro H1; just a list of sparsly documented registers.

    Thanks
    Attached Files
    Quote Quote  

+ Reply to Thread

Similar Threads

  1. Improving video quality
    By theeditor96 in forum Editing
    Replies: 4
    Last Post: 31st Mar 2019, 09:33
  2. x265 quality is not improving
    By Aludin in forum Video Conversion
    Replies: 11
    Last Post: 16th Nov 2018, 10:18
  3. Improving video quality
    By tyde in forum Video Conversion
    Replies: 10
    Last Post: 30th Apr 2018, 10:29
  4. How to get good quality improving video?
    By ciccioschumacher in forum Restoration
    Replies: 2
    Last Post: 6th Dec 2017, 04:00
  5. Improving Picture Quality
    By Teac23 in forum Restoration
    Replies: 5
    Last Post: 23rd Feb 2017, 09:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts