Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hardware:tronsmart_pavo_m9 [2017/03/31 14:43] derpeterhardware:tronsmart_pavo_m9 [2017/12/04 22:57] (current) andi
Line 1: Line 1:
 = Tronsmart Pavo M9 = Tronsmart Pavo M9
 Also known as "Android Box" or "the tronsmart". Also known as "Android Box" or "the tronsmart".
 +
 +This seems to be out of production, but some vendors might still sell them. See [[hardware:android-hdmi-in]] for similar devices.
 * Vendor website [[http://www.tronsmart.com/products/tronsmart-pavo-m9]] * Vendor website [[http://www.tronsmart.com/products/tronsmart-pavo-m9]]
 * Teardown [[https://blog.danman.eu/using-tronsmart-pavo-m9-for-hdmi-input-streaming/]] * Teardown [[https://blog.danman.eu/using-tronsmart-pavo-m9-for-hdmi-input-streaming/]]
Line 39: Line 41:
   * [[https://github.com/danielkucera/ZidoStreamer]]   * [[https://github.com/danielkucera/ZidoStreamer]]
  
-To be able to use ZidoStreamer an ffmpeg binary compiled for the ARM CPU needs to be placed ''/mnt/sdcard'' +To be able to use ZidoStreameran ffmpeg binary compiled for the ARM CPU needs to be placed at ''/mnt/sdcard''. 
-Such an binary can be found e.g. [[https://github.com/hiteshsondhi88/ffmpeg-android/releases/download/v0.3.3/prebuilt-binaries.tar.gz|here]]+Such binary can be found e.g. [[https://github.com/hiteshsondhi88/ffmpeg-android/releases/download/v0.3.3/prebuilt-binaries.tar.gz|here]]
  
-==== scripts +==== Scripts 
-Here are some example command lines for ffmpeg that we use +Here are some example command lines for ffmpeg that we use
-<code>+ 
 +===== on android box 
 + 
 +stream to ngnix on encoder box 
 +<code bash>
 /mnt/sdcard/ffmpeg -i - -c copy -absf aac_adtstoasc -f flv rtmp://100.122.3.243:1935/source/tronsmart /mnt/sdcard/ffmpeg -i - -c copy -absf aac_adtstoasc -f flv rtmp://100.122.3.243:1935/source/tronsmart
 </code> </code>
-ZidoStreamer ist auf eine Videobitrate von 20Mbit/s und 26 fps eingestelltBei 25 fps flackert'in voctomix. Audio staht auf 320kbit/s, wird aber nicht ausgenutzt.+ZidoStreamer is set to a video bitrate of 20 Mbit/s and 26 fps. With 25 fps, there is flicker in voctomix. Audio is set so 320 kbit/s, but isn't used. 
 + 
 + 
 + 
 +====== on encoder cube 
 + 
 +   cd /opt/voctomix 
 +   wget https://raw.githubusercontent.com/voc/voctomix/master/example-scripts/default-config.sh   
 + 
  
-RTMP stream to voctomix: +======= ffmpeg variant 
-<code>+RTMP stream to voctomix – e.g. as script in /opt/voctomix/scripts/forward-stream.sh 
 +<code bash>
 #!/bin/sh #!/bin/sh
 confdir="`dirname "$0"`/../" confdir="`dirname "$0"`/../"
Line 72: Line 88:
         tcp://localhost:10002         tcp://localhost:10002
 </code> </code>
-Dieses Skript hat den Vorteil, dass Audio, was über die HDMI Verbindung geschickt wird im voctomix zur Verfügung steht und synchron mit dem Video istBietet sich vor allem dann ann, wenn der Vortragende ein Video abspielt und viel im Video gesprochen wird, da man Voctomix dann auf diese Audioquelle umstellen kann.+This script has the advantage of making audio from the HDMI stream available to voctomix, so that audio and video are in syncThis is particularly useful when the lecturer plays a video with a lot of spoken text. This audio source can then be selected in voctomix.
  
-Oder alternativ mit gstreamer: + 
-<code>+======= gstreamer variant 
 + 
 +Alternative version using gstreamer: 
 +<code bash>
 #!/bin/sh #!/bin/sh
 confdir="`dirname "$0"`/../" confdir="`dirname "$0"`/../"
Line 99: Line 118:
                 tcpclientsink host=localhost port=10002                 tcpclientsink host=localhost port=10002
 </code> </code>
 +
 +== Bild Rot/Grün/Schwarz an Decklink MiniRecorder
 +
 +Wir haben öfters das Problem beobachtet, dass die Bildausgabe des Tronsmart am HDMI-In einer Decklink MiniRecorder komplett Dunkelrot, Dunkelgrün oder komplett Schwarz ist, obwohl der Tronsmart nachweißlich auf die korrekte Auflösung eingestellt ist und am Beamer oder Fernseher korrekt funktioniert. Das Problem kann durch zwischenschalten des HDMI-to-SDI-Wandlers und grabben der Slides vom SDI-In der MiniRecorder behoben werden.
 +
 +Tests zeigten, dass manchmal das Tauschen des HDMI-Kabels hilft, manchmal aber auch nicht. Auch das Tauschen des Tronsmarts hilft nicht immer. Diese Beobachtungen legen nahe, dass das Problem nicht alleine am Kabel noch am Tronsmart und vmtl. auch nicht an der Karte liegt. Warscheinlicher ist eine Kombination der Faktoren mit Umgebungs-RF, Temperatur, Shielding oä. 
 +
 +--Mazdermind, Dez 2017
  
  • hardware/tronsmart_pavo_m9.1490964226.txt.gz
  • Last modified: 2017/03/31 14:43
  • by derpeter