Android :: MPEG4 Playback - Black Video?

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?

Android :: MPEG4 playback - black video?


Samsung I7500 :: Laggy MPEG4 Playback

Nov 24, 2009

Recently I put an mpeg4 video into my galaxy and found it a little laggy while playing(the movie is 42min long). The video is quite smooth in my ipod touch 2G. What's your configuration while encoding a video for galaxy? (bit rate? format?)

View 6 Replies View Related

Android :: Video Stream - MPEG4 Video - Not Showing On Android Using MediaPlayer

Oct 12, 2010

There is an online stream that is 512Kb MPEG4 and total size of 312mb online and if I'm correct after looking over docs in order to play the movie I just simply put:

CODE:..................

It is triggered to play after a button press which after a few seconds after pressing the button it plays the audio BUT doesn't show the video, why not? Do I have to use a surface view or something for visual playback of the stream.

View 2 Replies View Related

Android :: Unable To Play MPEG4 Video Stream On SDK 1.6

Jul 16, 2010

I am sending a MPEG4 video stream in RTP format over RTSP to my android emulator using ffmpeg and ffserver. I use the Android VideoView to play the RTSP stream. I do not see the video. The error in LogCat is pasted below. Is there some specific that I need to do? If I use the Android 2.2 to run the same code, the video plays fine.

I also tried coding video using H263, but that stream does not play in 1.6/2.2 emulator ===========================================================================­======== 07-16 15:50:46.073: DEBUG/PlayerDriver(554): buffering (6) 07-16 15:50:46.273: DEBUG/PlayerDriver(554): buffering (6) 07-16 15:50:46.474: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:46.683: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:46.884: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.092: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.293: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.492: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.703: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.902: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:48.113: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:48.123: DEBUG/PlayerDriver(554): buffering (100) 07-16 15:50:48.162: ERROR/SW_DEC(554): PV SW DECODER is used for MPEG4 07-16 15:50:48.223: INFO/MP(807): onPrepared called 07-16 15:50:48.223: INFO/MP(807): vv start 07-16 15:50:48.252: INFO/mediaDuration3(807): -1 07-16 15:50:48.384: ERROR/PlayerDriver(554): HandleErrorEvent: PVMFErrCorrupt 07-16 15:50:48.652: WARN/PlayerDriver(554): PVMFInfoErrorHandlingComplete 07-16 15:50:48.652: ERROR/MediaPlayer(807): error (1, -10) 07-16 15:50:48.652: ERROR/MediaPlayer(807): Attempt to call getDuration without a valid mediaplayer 07-16 15:50:48.652: ERROR/MediaPlayer(807): error (-38, 0) 07-16 15:50:48.794: ERROR/MediaPlayer(807): Error (1,-10) 07-16 15:50:48.794: DEBUG/VideoView(807): Error: 1,-10 07-16 15:50:48.794: INFO/MP(807): onError called 07-16 15:50:49.063: ERROR/MediaPlayer(807): Error (-38,0) 07-16 15:50:49.072: DEBUG/VideoView(807): Error: -38,0 07-16 15:50:49.072: INFO/MP(807): onError called ===========================================================================­========

View 10 Replies View Related

Motorola Droid X :: Video Playback - Framerate - Jerky Playback

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

Motorola Droid X :: Video Recording / Options For Encoding (MPEG4 Or H.263)

Sep 23, 2010

I have two questions regarding video recording on the Droid X.

1. What options are there for encoding? On my HTC Hero I can encode in MPEG4 or H.263. What about the Droid X?

2. My friend sent me a video from her Droid X, but I can't hear anything as far as audio in a normal setting. The only way I can pick up anything she's saying is if I max out the Media volume and hold the speaker directly up to my ear. Is there something she's doing wrong when she's recording the video? This has happened twice now.

View 1 Replies View Related

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 View Related

General :: Video Playback / Can't Play Video At This Time

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

Android :: Cannot Playback Video From Internal Storage - Data-data-com.myapp-some-folders-video.mp4

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

Android :: Gapless Video Playback

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

Media :: Video Playback On Android

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

Android :: Noise During Video Playback

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

Android :: Scale Down Video Playback

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

General :: CM7 - Video Playback In Android

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

Android :: Video Playback - Apk Package To Zoom2 MDP

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

Android :: Video Playback Scratching My Head

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

Android :: How Can Implement Video Rotation During Playback

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

Android :: Change Direction Of Playback Video?

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

Samsung Galaxy S :: IPhone 4 Vs Galaxy S - Part Deux - HD Video Playback - Video

Jun 26, 2010

iPhone 4 vs Galaxy S, part deux: HD video playback (video)

View 16 Replies View Related

Android :: Reverse Landscape View For Video Playback

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

Android :: What Video / Audio Codec Settings For Playback IOS

Aug 11, 2010

What codec settings will produce valid videos for playback on Android (videoView) and iOS UIWebView)?

View 1 Replies View Related

Android :: SurfaceHolder Changed - Stops Video Playback

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

Android : Preventing Orientation Change During Video Playback

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

HTC EVO 4G :: Video Playback On Evo

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

Android :: Video Playback - Sound Doesnt Play Correctly

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

Android :: Making Video Files Ready For Playback Over HTTP

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

Android :: Video Files Playback Over HTTP - Supporting Formats

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

Android :: Video Playback On VideoView Disappears After Going Back From Another Activity / Why Is So?

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

Android :: List Of Codecs For Video Playback That Droid Will Support?

Aug 12, 2009

How can get a list of the codecs for video playback that Android will support?

View 2 Replies View Related

Media :: FLV Video Playback

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







Copyrights 2005-15 www.BigResource.com, All rights reserved