Mark M. |
how can I help you today?
|
Harish k. |
I am looking to build an app that will play a video and allow me to seek the video frame by frame. I looked into the Android Mediaplayer API that allows one to play videos. It doesnt seem to have the support to seek frame by frame. I am beginning to look at opensource video players for android that is based on FFMPEG to achieve this. Are there other approaches to this problem?
|
Mark M. |
well, if you can determine the FPS rate of the video, seeking by time is theoretically equivalent to seeking by frame
|
Mark M. |
beyond that, you're looking at a ton of work, I imagine, as apps like VLC probably are not designed to be forked as the basis for other apps
|
Mark M. |
sorry that I don't have more experience with other video engines for Android
|
Mark M. |
is there anything else that I can help with today?
|
Mark M. |
if you have another question, feel free to ask
|
Harish k. |
I am looking for a way to do the following. Two videos (v0 and v1) are being played fullscreen (screen's 100% width) with one overlayed on top of the other (V1 on V0). To start with, all that a user would see is the video V1 as V1 is on top of V0. I want to build a UI that would allow a user to choose how much of V1 and how much of V0 to be seen. What is the best way to achieve this? Is there an android layout to do this? Create a custom layout? OR is this best approached some other way? OpenGL?
|
Harish k. |
Tried my best to put in words what I had in mind !!
|
Mark M. |
I am not aware that this is possible, except perhaps using TextureView on API Level 14+
|
Mark M. |
I cannot rule out something in native code, perhaps using OpenGL or a framebuffer API, because that's not my area of expertise
|
Mark M. |
but in terms of standard Android SDK implementations, this might work with TextureView but almost certainly will not work well with SurfaceView (which underlies the stock VideoView widget)
|
Mark M. |
you also have to factor in that many devices will simply lack the CPU/GPU speed to play two videos at once, and you cannot readily filter on the Play Store for devices by performance
|
Mark M. |
that is a wrap for today's chat
|
Mark M. |
the transcript will be posted at http://commonsware.com/office-hours/ shortly
|
Mark M. |
the next chat is Tuesday at 4pm Eastern
|