danielkucera / ZidoStreamer

Android app for live streaming of HDMI input on Zidoo X9 and Tronsmart Pavo M9 compatible TV boxes

Home Page:https://blog.danman.eu/using-tronsmart-pavo-m9-for-hdmi-input-streaming/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZidoStreamer

Android app for live streaming of HDMI input on Zidoo X9 and Tronsmart Pavo M9 compatible TV boxes. More info: https://blog.danman.eu/using-tronsmart-pavo-m9-for-hdmi-input-streaming/

Installation

  • Copy app/build/outputs/apk/app-debug.apk to your device and install it.
  • Copy ffmpeg binary to /mnt/sdcard/

Running

  • Start app from menu
  • Press menu button and edit and confirm all settings
  • Start streaming by pressing button "1" on remote
  • Restart your device

Configuration

  • Valid ffmpeg commands:
  • streaming to network in MPEG-TS:
/mnt/sdcard/ffmpeg -i - -codec:v copy -codec:a copy -bsf:v dump_extra -f mpegts udp://[IP]:1234
  • streaming to web (e.g. Youtube):
/mnt/sdcard/ffmpeg  -i - -strict -2 -codec:v copy -codec:a aac -b:a 128k -f flv rtmp://a.rtmp.youtube.com/live2/[Stream name/key]

Compilation

Open in Android studio and compile as usual.

Features

  • streaming as MPEG-TS to network (unicast/multicast)
  • streaming in FLV format to RTMP server (e.g. Youtube)
  • no need for intermediate recording file - thus no length limit
  • streaming runs in background

TODO

  • bind remote control to start/stop/restart streaming
  • automatic stream restart after network or encoding failure
  • indicate recording with blinking status LED (probably not possible)

Output screenshot

ScreenShot

About

Android app for live streaming of HDMI input on Zidoo X9 and Tronsmart Pavo M9 compatible TV boxes

https://blog.danman.eu/using-tronsmart-pavo-m9-for-hdmi-input-streaming/


Languages

Language:Java 100.0%