Giter Site home page Giter Site logo

Comments (4)

saki4510t avatar saki4510t commented on July 16, 2024

Hi,
I'm not sure what actually you want to do and how you do it.
If you try to playback from local storage after capturing and finish saving video images to local storage, I assume you will misunderstand how to use VideoView and use wrong way to initialize, load and start playback.
Because all VideoView, MediaPlayer and MediaCodec decoder can playback regardless the movie file is streamable or not if it is on local storage.
I assume most possible reason is you use wrong path, url and/or you will call VideoView#start just after calling VideoView#setVideoPath etc. without waiting to finish preparing.

FYI, if you really need streamable format, you need to convert it by yourself after saving movie file(s)
using FFMPEG etc.

saki

from uvccamera.

ChrisSosa1337 avatar ChrisSosa1337 commented on July 16, 2024

FYI, it looks like I got the videos to work using ExoMedia, a VideoView-style wrapper for ExoPlayer. Thanks for your response anyway.

from uvccamera.

saki4510t avatar saki4510t commented on July 16, 2024

Hi,
As I mentioned before, I'm not sure how you try to do it, but as I tested, VideoView can play generated movie files well on all my devices(from Android4.1.2-Android6). Did you try to play video over network?
saki

from uvccamera.

saki4510t avatar saki4510t commented on July 16, 2024

closed due to inactivity.

from uvccamera.

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.