Git Product home page Git Product logo

Comments (7)

saudet avatar saudet commented on June 11, 2024

FFmpeg supports a variety of protocols. Just put your URL in ffmpeg_link and see if it works or not.

from sample-projects.

saudet avatar saudet commented on June 11, 2024

Or maybe what you're looking for is this line?
https://github.com/bytedeco/sample-projects/blob/master/JavaCV-android-example/app/src/main/java/org/bytedeco/javacv_android_example/record/RecordActivity.java#L503

from sample-projects.

saudet avatar saudet commented on June 11, 2024

BTW, it's also possible to use FFmpeg or OpenCV to capture video on Android now, see bytedeco/javacv#1692.

from sample-projects.

qaisbayabani avatar qaisbayabani commented on June 11, 2024
            ((ByteBuffer) yuvImage.image[0].position(0)).put(data); is the line i think i  have to understand and i just want single image not video?

from sample-projects.

saudet avatar saudet commented on June 11, 2024

That uses the old deprecated Camera Preview API, but yes that's how it's doing it.

from sample-projects.

qaisbayabani avatar qaisbayabani commented on June 11, 2024

FFmpeg supports a variety of protocols. Just put your URL in ffmpeg_link and see if it works or not.

direct stream from android phone cam :) . Is a URL can attain it?

from sample-projects.

saudet avatar saudet commented on June 11, 2024

Yes, something like this: bytedeco/javacv#1692 (comment)

from sample-projects.

Related Issues (20)

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.