GithubHelp home page GithubHelp logo

lbasek / live-video-streaming Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 2.0 2.09 MB

Video streaming example using FFmpeg framework and Android application.

License: MIT License

Kotlin 100.00%
android video-streaming decoding h264-decoder h264-parser ffmpeg video-player mediacodec

live-video-streaming's People

Contributors

lbasek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

live-video-streaming's Issues

Render Image is not clear

Hi
Getting Render the data getting below the screen as below

image

below is the cmd run on windows laptop

ffmpeg -f gdigrab -video_size 640x480 -framerate 10 -i desktop -b:v 4M -maxrate 6M -bufsize 3M -pix_fmt yuv420p -tune zerolatency -f h264 tcp://172.20.32.103:9090

Rendering Issue

Hi i am trying to run same application on two diff android devices both are give difference set of results as below

image

In Android 10 Device 1 data is not rendering proper , currently using private const val H264 = MediaFormat.MIMETYPE_VIDEO_AVC decode , also same MedicaFormate if use for Android 10 device 2 where data is rending smooth and clear.

Following the cmd use in windows for sending data

ffmpeg-master-latest-win64-gpl-shared\bin>ffmpeg -f gdigrab -i desktop -ac 2 -f x11grab -framerate 60 -video_size 640x480 -c:v libx264 -preset veryfast -b:v 1984k -maxrate 1984k -bufsize 3968k -vf "format=yuv420p" -g 60 -c:a aac -b:a 128k -ar 44100 -f h264 tcp://172.20.32.82:8080

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.