DATV: How to encode in h.265 with an external HDMI encoder

Paramétrons l'encodeur

  1. Connect to the encoder from a web browser by typing its IP address which is 192.168.1.120. The login to enter is admin and the password is 12345.

  2. After logging in, on the Live view page, and validating the browser warning to authorize Flash player

  3. In the integrated window on this page, you can view the video stream captured by the encoder. In my case, this is screen number 3.

Controlling the video encoder

There are two ways to use the PlutoDVB and External Encoder couple :

  • The PlutoDVB directly controls the bitrate (CBR) and image definition values that the encoder should encode and send to it. It is the PlutoDVB that determines these parameters according to the expected transmission characteristics. We will call this method: Automatic method, and we will deal with it in a second step.
  • Another option is to set the definition and the audio/video bitrates that you send to the plutoSDR yourself. Let’s call this the manual method.

We will study both methods. Let’s look at the manual method first.

Bad news for audio encoding ?

Some of you have of course already tested the box and have probably noticed some issues. Indeed the injected audio channel does not reach the PlutoDVB. Rejoice, solutions exist for both methods (manual and automatic). It makes the use a bit more complex but as usual, by following the steps below, you will get the expected result: H265 images with audio.

Let’s clarify the technical issue of the audio: By default, the encoder does not transmit audio on the streaming channel. To unblock this situation, we need to set it to “audioen” for “audio enable”. But this parameter is curiously not available on the encoder web interface. We will be able to send it through its “computer” interface, its API server (this is the channel used by PlutoDVB in automatic method).

10 thoughts on “DATV: How to encode in h.265 with an external HDMI encoder

  1. Merci pour ce guide.
    Concernant la mise à jour des fichiers système par la clé USB, il faut un hub dit “OTG”, dans mon cas j’utilise un HAMA Hub USB 2 OTG (ou un hub standard + un câble OTG). Il semble également que le disque USB se monte pas automatiquement forcément sous /media/sda… Sur mon Pluto, il apparaît sous /media/sda1.
    Voir nos discussions à ce sujet ici : https://forum.batc.org.uk/viewtopic.php?f=15&t=6626
    73 qro de michel, hb9dug

    (Translation)
    Thank you for this guide.
    Concerning the update of the system files by the USB key, you need a hub called “OTG”, in my case I use a HAMA Hub USB 2 OTG (or a standard hub + an OTG cable). It also seems that the USB disk doesn’t automatically mount itself under /media/sda… On my Pluto, it appears under /media/sda1.
    See our discussions on this subject here: https://forum.batc.org.uk/viewtopic.php?f=15&t=6626
    73 qro de michel, hb9dug

    1. Merci Michel pour votre contribution intéressante,
      73 Christian

      (Translation)
      Thank you Michel for your interesting contribution,
      73 Christian

  2. Greetings from New Zealand.

    I notice that you have done some work with this inexpensive h264 encoder.
    I have been trying to find out if it can encode 1080i50 as well as 1080p50
    Would this be something you could test? It seems to be very difficult to find.

    Best Regards,
    Stuart.

    (Traduction)
    Salutations de la Nouvelle-Zélande.

    Je remarque que vous avez fait un peu de travail avec ce codeur h264 peu coûteux.
    J’ai essayé de savoir s’il pouvait encoder aussi bien le 1080i50 que le 1080p50
    Serait-ce quelque chose que vous pourriez tester ? Il semble très difficile à trouver.

    Bonne chance,
    Stuart.

    1. Stuart,
      Here is a capture where we see that the output is indicated 1080p. Concerning the input I have no way to test the variant. I use a notebook, and I have no other source available. Sorry for the poor help.
      Chris
      H264 H265 ecnoder 1080p
      (Traduction)
      Stuart,
      Voici une capture où l’on voit que la sortie est indiquée 1080p. Concernant l’entrée je n’ai pas moyen de tester la variante. J’utilise un notebook, et je n’ai pas d’autre source disponible. Désolé pour le peu d’aide.
      Chris

  3. Advertisements
  4. Hi all,
    have got recently an encoder box ON-DMI-16E and there is on the video setup screen the option audio on / off and it works …
    73 de Walter
    OE2CAL

    (Traduction)
    Bonjour à tous,
    J’ai récemment installé un encodeur ON-DMI-16E et il y a sur l’écran de configuration vidéo l’option audio on / off et ça marche …
    73 de Walter
    OE2CAL

    1. Walter,
      Yes it works since then thanks to the corrections made on the latest PlutoDVB alpha version firmware : https://www.f5uii.net/en/patch-plutodvb/
      But it didn’t work with the brave versions mentioned in the article.
      This would be a new article on my blog, especially with the new features brought by these recent alpha versions.
      Good tests. 73

      (Traduction)
      Walter,
      Oui cela fonctionne depuis avec les corrections apportés sur les derniers firmware PlutoDVB version alpha : https://www.f5uii.net/en/patch-plutodvb/
      Mais cela ne fonctionnait pas avec les versions brave cité dans l’article.
      Cela mériterait un nouvel article sur mon blog, notamment avec les nouvelles fonctions apportés par ces récentes versions alpha.
      Bons tests. 73

  5. Advertisements
  6. Hi Christian,
    Thankyou for the EXCELLENT! Perseverance firmware now using 0303
    Is there a simple explanation on how to update the encoder with “patch.tgz 2021-02-14 16:42 4.1M”
    Or is this not necessary when using Perseverance firmware?
    So many new features like to try them all with my limited Knowledge.
    Regards
    Martin
    G8KOE

    1. Martin,

      from a console this should be done by running /root/h265box/autotelnet.sh But I don’t know exactly on which version of the encoder this can be implemented…
      Question may to be post on PlutoDVB group for a more detailed informations.
      73

      1. Hi Christian,
        Followed your advice and now have the patch installed.
        Just trying to understand using the encoder with patch.
        Thanks again for your help.
        73’s
        Martin

Leave a Reply

Your email address will not be published. Required fields are marked *