Android :: Overlaying One Video Playback On Top Of Another Video
Aug 13, 2010
Does android support overlaying of one video playback on top of another video ?
For example, let's say one media is getting played in android player in full screen and on top of this i want to overlay another video.
View 2 Replies
Mar 1, 2013
i have the golf channel app installed, on telus network. I cant get the videos to play, keep getting message "cant play video at this time:
View 4 Replies
View Related
Aug 4, 2010
I have an application with a lot of media data (images and videos) that were previously stored on the sdcard. With that, images and videos are displayed fine in my app.
Now, in order to secure the content more, I wanted to move the content to the internal storage / data dir of the app, which I did. I copied all media with a routine within my app to the data folder (/data/data/com.myapp/some/folders/video.mp4) and adjusted the path in my app so that it would look for the media in the internal storage data directory and not the sdcard anymore.
Everything works fine, images are being displayed (decoded) properly, but videos don't play. They files do exist though - I do not get a FileNotFound exception. But an IOException: java.io.IOException: Prepare failed.: status=0xFFFFFFFC
Why is that? Everything is handled within my one app and the videos have been copied with the same routine as the images, thus having the same permission settings. Looking at the stack trace, it all runs in process id 18060).
Why I cannot playback the video from internal storage? Or how can I?
CODE:......................
View 2 Replies
View Related
Aug 27, 2010
Been struggling with this since receiving my X. Seems like no matter what player I use the playback is jerky. It's very subtle, almost as if the video is dropping a frame or so every second. I've tried the stock player, Astro, Rockplayer, mPlayer, Zimly, Act, and the list goes on and the problem still persists.
I've encoded (using handbrake) with all of the settings suggested on the boards and have tweaked things on my own trying to find the proper setting, but still no luck. The strange and frustrating thing is that the exact same files play just fine on my 1st gen iPod touch (clearly an inferior piece of hardware) and on my wife's incredible. These encodes are of standard def DVDs at average settings (a full movie is about 1.3gb, all h.264 mp4 files.
I was able to improve playback by rebooting the X and then playing the video, but this doesn't seem like an acceptable solution every time I want to watch something. I tend to encode and watch a lot of stuff on my commute to/from work, and I'd really like to replace my touch with the X, but the media capabilities are falling way short. Considering switching to the Inc as I know it's able to play my media properly, but I'd prefer to keep the X for the larger screen size (though the Inc does seem to feel better when using one-handed). I'm on the fence right now, but if the X can't function as expected then it might be going back. Unfortunately I only have until the 1st to return it so I don't think I can hold out and see if 2.2 fixes this issue.
View 1 Replies
View Related
Jun 26, 2010
iPhone 4 vs Galaxy S, part deux: HD video playback (video)
View 16 Replies
View Related
Oct 5, 2010
I'm trying to build a live streaming player by downloading video segments (which are generated in real-time) and then playing them back in sequence. While I can get the segments to play, I need to get it so that there isn't a pause between playback of successive segments. I've tried using both MediaPlayer (with an appropriate SurfaceView) and VideoView, but there's always a small gap between segments.
If I try to load a new video into a MediaPlayer when the first segment finishes playing, it seems to take half a second or so before the next segment is loaded and starts playing. I have also tried having multiple SurfaceViews within a single ContentView (with only the active one being visible), but it seems like you can't prepare a video until the associated SurfaceView is visible. I also tried having multiple ContentViews that I switch between, but again, this has similar issues.
Any ideas or suggestions? Is it possible to somehow get the next segment to begin decoding as soon as the first one is decoded (which could be before it finishes playing)? Am I going to need to build a custom video player in order to do this?
View 3 Replies
View Related
Aug 28, 2009
I never used an android phone before and i'm thinking to get myself a samung galaxy, but before that I'd like to know a couple of things concerning video playback on android. First of all, is there any way to play DIVX and XVID on an android phone WITHOUT converting? Do you need some particular paid application from the market or you can do it with the default player? How much this application would cost?
Another question: lot of my movies are quite big in resolution (you know the normal size that you use for pc's). Is there any need of resizing the movie to let it play on an android phone? I used to have a samsung omnia (rip); winmo sucked badly but it can play any video at almost any resolution very smoothly with free players also.
View 7 Replies
View Related
Aug 19, 2010
I have noticed that during playback of video I take with my Motorola droid, I hear a sort of a pop every now and then. The first time I heard it, I thought it was something going on around me when taking the video, but it's not, it appears that the sound is coming from the droid, though I do not hear the pop when recording. There is no rhyme or reason to it. Sometimes you don't hear it at all, sometimes it's every 30 seconds, and a lot of times, I hear the pop right at the end of the video, but sometimes it happens right in the middle.
View 2 Replies
View Related
Nov 9, 2010
How to scale down a video playback as there is a memory constraint and the video playback uses software codecs...
View 3 Replies
View Related
Feb 14, 2012
I recently switched to CM7 on my Galaxy S I9000 and it seems I lost all the codecs Samsung bundled with their phone. Video playback is choppy and buggy. I have Googled for possible solutions and tried most of the available players on the market but the problem remains. So how do other non-Samsung Android phone owners cope with this situation?
View 1 Replies
View Related
Aug 5, 2010
What is the best format to playback video through the HDMI onto the tv? It claims you can stream it in 720p to the tv, but I can't get any better than 480p. I'm using the old iphone 3gs format. mp4 480x320.
View 1 Replies
View Related
Mar 22, 2010
I am developing a video rating tools which use Android's MediaPlayer class to playback the video sequences. I used the APIdemo at Android SDK to playback my encoded sequences but the picture stalled at the first frame on the emulator. Since I didn't have the commercial Android phone so I don't know whether this problem comes from my video coding profiles or the emulator itself. Here are the two sequences I used to test:
http://www.megaupload.com/?d=5I4AGSCX [url] I use x264 to encode, with baseline profile and bitrate=400k, fps=30or25.
And by the way, how can I install an apk package to the Zoom2 MDP, besides using the adb tools. I am wondering there's someone who is familiar with Zoom2 and Android so I put the question here.
View 5 Replies
View Related
Oct 15, 2009
I am trying to play a video in my app. It has to be embedded.I am able to play my video using VideoView as mentioned in this discussion. But there are a few problems.
1. I need full screen video, how to stretch videoview to full screen ? will that stretch the video too ?
2. i dont need the default play forward stop buttons at all. basically I need continuous loop playing of the video.
What is the string format should look like if i have my video file in res/raw directory ? I really dont want video file played from sdcard. how can it be bundled along with the app ?if any of these 2 approaches works, i will be better off.
View 2 Replies
View Related
Sep 17, 2009
We have a clent that has videos online that stream. we are taking the same videos an converting them to MPEG4 for mobile playback. they work for fine for most of the phones that we tested except the Andiod Phone? Does anyone have any solutions. the test allowed audio playback but the video was black?
View 6 Replies
View Related
Dec 8, 2009
How can implement video rotation during playback (or before starting playing)? I tried: private SurfaceView video = null; video = new SurfaceView(); video.getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); video.getHolder().lockCanvas().rotate(90);
it gives me error: 12-08 15:39:54.551: WARN/System.err(17811): android.view.SurfaceHolder $BadSurfaceTypeException: Surface type is SURFACE_TYPE_PUSH_BUFFERS.
If somebody could give me simple example or just references how to establish it, that would be great. Maybe Android does not support video rotation at all. Could somebody confirm that?
View 3 Replies
View Related
Jun 1, 2009
I am using Tablet skin for running emulator output. All the menu and list items are displayed properly e.g. Horizontally whereas Videos are being played vertically. How can I change the direction of video? Kindly reply as soon as possible.
View 2 Replies
View Related
Nov 17, 2010
I've got the Google phone (Huawei IDEOS 8150, froyo 2.2) and would like an advice whats the best way to watch my FLV videos in my phone, perhaps convert FLV to MP4 first (to reduce the size) and then use VLC player or Real Player in my Google phone, if they are available for free download in MarketPLace ?
View 2 Replies
View Related
Jul 14, 2010
I was just wondering how people play their video files as I cannot find a media player on the Desire. I am currently using a file manager app and then selecting the file, but I would have thought the phone had some kind of standard app installed that would let me browse and play my content.
View 11 Replies
View Related
May 6, 2010
I have some videos that I have encoded for use on my iPod. I'd love to get them working on the DI; however, only the audio works when they videos are going. Tried it using the stock video player and the Act 1 player. I converted them using Handbrake as mp4 videos. I have been poking around with different settings for about an hour now and nothing has worked.
View 5 Replies
View Related
Aug 5, 2010
A few nights ago I brought up the camcorder to record some video, everything recorded very smoothly after it was done I went to the gallery to check out my video but upon play back the video was very hic uppy. And maybe I thought it was just that portion but it wasnt the whole video plus all my videos play hic uppy now. Anyone else having the same problem? Is this issue happening because of the froyo update.
View 5 Replies
View Related
Sep 23, 2010
I need to know that if Reverse landscape (Changing phone direction in clockwise direction) is possible in android.If yes please give some pointers on that topic. Currently video playback is possible in normal landscape mode. Can I change that from applications side or it needs support from framework.
View 2 Replies
View Related
Aug 11, 2010
What codec settings will produce valid videos for playback on Android (videoView) and iOS UIWebView)?
View 1 Replies
View Related
Sep 17, 2010
I am developing the application which displays Video on the SurfaceHolder. When i run my video it plays well. But if i switch my application using "Home key", & go to some other application. Now if i come back by long Home key press to my application, my video does not get displayed but audio continues.
This happens because, onPause() is called for Activity when Application is switched. Thus the "SurfaceHolder" is destroyed, & next time no video is displayed.
View 2 Replies
View Related
Apr 26, 2010
I am workin on a video player app in which I want only the landscape orientation active coz right now when the user tilts the phone during video runtime, it restarts playback in that orientation.
How can I easily avoid this?
You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
View 4 Replies
View Related
Jul 22, 2010
What could be the reason that a mp4 video file without sound doesn't play correctly when using the VideoView class? The video plays just fine in vlc, mplayer and ubuntu media player. It has been created on the device using ffmpeg. It is like 5 seconds long, so nothing especially big. Codec is H263 with AAC-Audio, though the audio signal is just empty. The problem is, that the video plays, but the image doesn't change, or at least doesn't change a lot. It seems more like a still image, though small movements is sometimes visible but not at all what has been encoded. I noticed that the VideoView stops playing but the time continues to step up, so it doesn't stop counting after 5 seconds but just goes on counting.
I'm using the emulator. Can that be related? I see the following messages in logcat:
CODE:......................
View 3 Replies
View Related
Jul 9, 2010
I am working on an Android application which is supposed to play videos over HTTP on Android devices. Before we setup a server to host the video files just wanted a few things clarified: As per the developer documentation, Android supports .mp4 and .3gp container formats for video.
The audio-video codec used for our media files is H.263(video) and AAC LC (Audio). I did a little experiment and passed URL of one of the video files to the MediaPlayer class and got the following error: Command PLAYER_INIT completed with an error or info PVMFErrContentInvalidForProgressivePlayback.
From the docs, I came to know that for progressive playback, the video's index (e.g moov atom) should be at the start of the file. How do we make our videos Android-ready? What are the different considerations that we need to make?
View 4 Replies
View Related
Jul 9, 2010
I am working on an Android application which is supposed to play videos over HTTP on Android devices. Before we setup a server to host the video files just wanted a few things clarified: As per the developer documentation, Android supports .mp4 and .3gp container formats for video. If we use H.263(video) - AAC LC (Audio) audio-video codec used for our media files will we be able to play the video by passing the URL to MediaPlayer class?
I did a little experiment and passed URL of one of the video files(.mp4) to the MediaPlayer class and got the following error:
Command PLAYER_INIT completed with an
error or info
PVMFErrContentInvalidForProgressivePlayback
From the docs, I came to know that for progressive playback, the video's index (e.g moov atom) should be at the start of the file. Questions:
1. How do we make our videos Android-ready?
2. What are the different considerations that we need to make?
View 1 Replies
View Related
Jun 8, 2010
I have two Activities: one with VideoView attached to MediaPlayer and the second one.
I start watching a video in the first Activity, then during playback I start second Activity.
After going back to first Activity I can hear sound but see no picture.
My Video Layout...
Do you have any ideas why video doesn't appear?
View 2 Replies
View Related
Aug 12, 2009
How can get a list of the codecs for video playback that Android will support?
View 2 Replies
View Related
Jul 19, 2010
Question about video playback. Do you have to convert everything to .3GP ? I drop some movies onto the SD card and play them just fine. Then went back to play them it was REALLY choppy. Not exactly sure what is causing this. I would rather not covert everything to a different codec.
View 17 Replies
View Related