Giter VIP home page Giter VIP logo

zidostreamer's Introduction

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 signed.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
  • (optional) Install Startup Manager from Google Play and set ZidoStreamer to start after boot
  • 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. After compiling, run sign.sh because it needs to signed by MStar key to gain access to required hardware.

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

  • start after android boot
  • automatic start on boot not workink, use 3rd party app for now (e.g. Startup Manager)
  • bind remote control to start/stop/restart streaming
  • automatic stream restart after network or encoding failure
  • indicate recording with blinking status LED

Output screenshot

ScreenShot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.