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 [2016/09/26 12:42] – tronsmart renamed to hardware:tronsmart_pavo_m9 andihardware:tronsmart_pavo_m9 [2017/12/04 22:57] (current) andi
Line 1: Line 1:
-====== Tronsmart Pavo M9 ====== += Tronsmart Pavo M9 
-Auch einfacher bekannt als "Android Box"+Also known as "Android Box" or "the tronsmart".
-[[http://www.tronsmart.com/products/tronsmart-pavo-m9]]+
  
-=== Overview === +This seems to be out of productionbut some vendors might still sell them. See [[hardware:android-hdmi-in]] for similar devices. 
-Diese kleine Boxerhältlich bei diversen Händlern aus Fernost ist eigentlich als Settopbox für den Nicht-Smart-TV gedachtZeichnet sich aber durch einen HDMI Eingang ausDadurch kann sie als günstige Alternative zu anderen Framegrabbern genutzt werden.+* Vendor website [[http://www.tronsmart.com/products/tronsmart-pavo-m9]] 
 +* Teardown [[https://blog.danman.eu/using-tronsmart-pavo-m9-for-hdmi-input-streaming/]]
  
-=== Beschaffung === +The left HDMI port is an input and the right one an output.
-* ~60$ [[http://www.geekbuying.com/item/Tronsmart-Pavo-M9-4K-TV-BOX-Android-4-4-2-Mstar-MSO9180D1R-1GB-8G-802-11-b-g-n-LAN-H-265-USB3-0-HDMI-347691.html]] +
-* [[https://www.amazon.de/Tronsmart-Recorder-MSO9180D1R-802-11-Android/dp/B0182CJSVO]] +
-* uvm.+
  
 +{{:hardware:tronsmart_pavo_m9.jpg?400|}}{{:hardware:tronsmart_pavo_m9_connectors.jpg?400|}}
  
-=== Software === +  * SoC – Mstar MSO9180D1R quad core Cortex A9 processor up to 1.5GHz with a Mali-450MP2 GPU 
-Auf der Box läuft ein Android 4.irgendwas+  * System Memory – 1GB DDR3 
-Mit der richtigen App kann man das Video, das aus dem Hardwareencoder fällt in ein ffmpeg auf der Box pipen lassen.   +  * Storage – 8GB eMMC flash + micro SD slot 
-[[https://blog.danman.eu/using-tronsmart-pavo-m9-for-hdmi-input-streaming/]]+  * Video Output / Input –  HDMI output up to 4KHDMI input with PVR and Time Shifting support (up to 1080p), and AV port (Composite + stereo audio) 
 +  * Audio I/O – HDMI Out and In, AV, and optical S/PDIF 
 +  * (Main) Video Codecs – H265, VC-1, WMV-HD, MPEG1/2/4 up to 4Kx2K, etc.. 
 +  * Audio Codec – MP3, AAC, AC3, DTS-HD Master, TrueHD 7.1 pass-through, etc… 
 +  * Connectivity – 10/100M Ethernet, 802.11 b/g/n Wi-Fi (Realtek 8188) 
 +  * USB – 1x USB 3.0, 2x USB 2.0 host ports. 
 +  * Misc – ON/OFF switch, IR receiver 
 +  * Power Supply – 12V/2A 
 +  * Dimensions – 15.24 x 15.24 x 4.06 cm 
 +  * Weight – ~260 grams 
 +  * Android 4.1*, root available without modification
  
-[[https://github.com/danielkucera/ZidoStreamer]]+== Overview 
 +This product seems to be out of production but is sometimes still available from chinese online stores. 
 +Its most important feature is the HDMI input which can be used to capture stream scale an HDMI signal
  
-Damit ZidoStreamer richtig funktioniert muss ein für android kimpiliertes ffmpeg-Binary an die richtige Stelle gelegt werdenz.Bvon [[https://github.com/hiteshsondhi88/ffmpeg-android/releases/download/v0.3.3/prebuilt-binaries.tar.gz|hier]] nach ''/mnt/sdcard''+== As a frame rate converter  
 +In 2016/2017 we changed the default [[:eventcases|event cases]] setupwe using the Pavo M5 to convert the projector signal to 1080p24, which we can feed into a [[Decklink]] Mini Recoder HDMI PCI capture cardIn contrast to a H264 stream over ethernet, the latency is much lower. 
 +To have this reboot save, one have to install an autostart app to run the "Recorder" app after boot. The autostart app is available in the aptoide store – which comes with the default firmware. 
 +[[https://apps.store.aptoide.com/app/market/com.autostart/222/6899286/AutoStart+-+No+rootAutoStart+-+No+root]]
  
  
-=== Skripte === +== As a ethernet stream source 
-Als ffmpeg Zeile für die App ZidoStreamer setze ich das folgende ein+=== ZidoStreamer 
-<code>+The ZidoStreamer app allows to stream the HDMI input via Ethernet / wifi to a stream sink 
 +  * [[https://blog.danman.eu/using-tronsmart-pavo-m9-for-hdmi-input-streaming/]] 
 +  * [[https://github.com/danielkucera/ZidoStreamer]] 
 + 
 +To be able to use ZidoStreamer, an ffmpeg binary compiled for the ARM CPU needs to be placed at ''/mnt/sdcard''
 +Such a binary can be found e.g. [[https://github.com/hiteshsondhi88/ffmpeg-android/releases/download/v0.3.3/prebuilt-binaries.tar.gz|here]] 
 + 
 +==== Scripts 
 +Here are some example command lines for ffmpeg that we use: 
 + 
 +===== 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   
 + 
  
-Folgende zwei Skripte kann man einsetzen um den RTMP Stream in voctocore zu schieben: +======= 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 52: 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 79: 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.1474886551.txt.gz
  • Last modified: 2016/09/26 12:42
  • by andi