Android :: Play Video Using Opengles

Jan 5, 2010

How to play video using opengl es in android?

Android :: play video using opengles


Play Video File On Android Device But Getting Error - Cannot Play Video

Aug 7, 2011

Im using Eclipse created new android project.First thing i added to the menifest xml file two lines:

Code:
uses-permissionandroid:name="android.permission.INTERNET"></uses-permission>
<uses-permissionandroid:name="android.permission.STORAGE"></uses-permission>

And this is the complete menifest file code:

Code:
xmlversion="1.0"encoding="utf-8"?>
manifestxmlns:android="http://schemas.android.com/apk/res/android"
package="com.AllFormatsVideoPlay"
android:versionCode="1"
android:versionName="1.0">
[code]....

Now i tried to play a video file .3gp from the internet youtube link via my android device ! not emulator. And it worked! But when i tried to play a video file .3gp or .mp4( i converted the mp4 from 3gp ) its not working. Im getting error "Cannot play video Sorry, this video cannot be played"

Tried to play with the link to my device wich is: I:DCIM100MEDIAVIDEO0030.3gp or .mp4 or tried this: I:/DCIM/100MEDIA/VIDEO0030.3gp with "" like: "I:/DCIM/100MEDIA/VIDEO0030.3gp ";

I tried to remove the I: but it didn't change anything.This is the main code im using to play the video files on my device. And there some lines i marked with // wich i used to play from the internet and im not using now.

Code:
com.AllFormatsVideoPlay;
import
android.app.Activity;
import
android.graphics.PixelFormat;
import
[code]....

View 7 Replies View Related

Motorola Droid :: Video Player To Play Mp4 Video In Full Resolution For Phone?

Dec 10, 2009

If this is a repeat of another thread then i apologize .i need a video player that will play mp4 video in full resolution for the droid.m coming from bb.can you help me with this.i don't care if it is free or not.

View 8 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 :: OpenGLES - EglMakeCurrent

Apr 20, 2009

I have serious issues using the eglMakeCurrent() method of the EGL10 class.

1) After a successful call ot the eglMakeCurrent method with an eglSurface & an eglContext, if i request the current context and the current surface (eglGetCurrentContext() & eglGetCurrentSurface (EGL10.EGL_DRAW)) i get different instances compared with the one that i've passed. Even the equals method fails.

2) After initializing the eglDisplay and before any call to eglMakeCurrent(), if i request the current context and the current surface i recive instances that are not the EGL10.EGL_NO_CONTEXT and EGL10.EGL_NO_SURFACE.

View 4 Replies View Related

Android :: Backgroung Setting In OpenGLES

Feb 19, 2009

I am writting opengl app using GLSurgfaceView given in API demos. I create a rectangle and added texture but then drawframe in renderer is called in a loop i,e it is redrawing it even if there is no changes. so what should i do to? how to set background.

View 2 Replies View Related

Android :: OpenglES With Acer Liquid

Jun 28, 2010

I'm developping a native application for android and I face to artefacts when rendering the scene. I can reproduce the issue with Java code.

While the following code running, I got a green screen. But If I move the status bar up and down over the screen, I see some red artefacts.

Here a screenshot made with ddms :

http://picasaweb.google.com/lh/photo/42bVsuIt8JldSIbPy8x2AA?feat=dire...

The Acer liquid running Android 1.6.

Can you check on other devices and tell me if you face the same issue ?

I would like to know if it's an Android issue or an Acer issue.

Here the code :.........................

View 2 Replies View Related

Android :: OpenGLES Lighting - Should Not Change Position

Oct 7, 2010

I'm writing a little 3D engine for android to better learn the platform and opengl. I hope to eventually use it as a base for little 3D games.

I'm trying to implement lighting right now, and generally following the NeHe opengl android port tutorials. I have a simple spinning cube and 1 light that should not change position. Upon rendering my scene on a device the light appears to "dim" and re-lighten as cube rotates.

This is a swf video of the behavior:
http://drop.io/obzfq4g

The code for my "engine" is located here: [url]
The relevant bits are:

[url]
This is where I'm initializing opengl and setting up my scene. and [url]this is the code for actually rotating / drawing the cube mesh.

I wish I could formulate a better question; but I'm very stuck/confused and can't even think of an intelligent question to ask besides "does anyone know what might cause the kind of behavior I'm seeing?"

Also the slowness / choppyness of the animation in the video is a result of the screencap software. It's smooth throughout the whole rotation on the emu.

View 1 Replies View Related

Android :: Will Emulator Support Opengles 2.0 In The Future

Oct 4, 2010

From the posting so far I have seen, the current emulator as of API level 8 and Platform 2.2 does not support OpenGL ES 2.0. (Only in the emulator that the support is not there)

(The support is there at API level 8 for the ES 2.0)

wondering if any jone has figured out the following

1. Will the emulator support ES 2.0 in the future (considering there is compilers, shaders etc needed to support es 2.0) 2. What is a likely timeframe this may be available? (months or sometime future?)

I suppose considering that iPhone SDK has the emulator suppor for es 2.0, it can be anticipated on the Android emulator as well.

View 3 Replies View Related

Android :: Create Shaded Mesh In Opengles

Nov 7, 2010

In my application I'm trying to create a mesh that is shaded by a single directional light. The problem I'm facing is that I can't seem to get the light to take my normals into account at all.

It works fine if I set the normals on a per-triangle-strip basis, but if I try to render a series of triangles with normals set using the glNormalPointer method the entire mesh is rendered using the same color (which is identical to the result I'm getting if I skip calling glNormalPointer all together).

My mesh render method looks like this:

code:.............................

View 1 Replies View Related

HTC Incredible :: Yahoo - "Cannot Play Video - Sorry This Video Cannot Be Played" / Deal With This?

May 3, 2010

I know this is not a big deal but it is still bothersome. When I try to run video while on Yahoo's site I get message "Cannot play video - Sorry this video cannot be played." I have no issues with ESPN, Cnet, etc. I'm able to run these yahoo videos on my wife's Eris with 2.1 (v.3).

Anyone know how to deal with this issue?

View 5 Replies View Related

Android :: Opengles Alpha Textures Not Semitransparent But Binary Transparent

Sep 3, 2010

I am drawing some textures with alpha channel, but when they are displayed it looks like the alpha channel is only binary. So a pixel is either transparent or opaque, although in the texture file itself the pixel is half-transparent.

The blending is set up like this:

code:............

The above shows how it should be like, and the below shows how it is:

View 4 Replies View Related

Android : Quartz 2D Or OpenGLES / Pros And Cons In Long Term

Apr 8, 2010

I'm having a hard time deciding whether to go with Quartz2D or OpenGL for an iPad game. It will be 2D mostly, but effect-intense (simultaneous lighting effects for 10-30 objects, 10-20 simultaneous animations on the screen). So far, assuming i'm equally dumb in both technologies and have to learn them from the ground, i came to this list. (I've read several topics here, on SO, with names like "Quartz or OpenGL", but i'm still left with some questions)

View 1 Replies View Related

Android :: Can't Play Video On G1

Jun 8, 2010

I've converted a movie to MPEG1 to view on my G1.I couldn't find it in the Gallery section, nor under MixZing's Video tab.So I went through Astro to find it.Sure enough, I see the icon for it, but when I tap the icon to view the movie I get a warning saying,"Cannot play video.Sorry, this video cannot be played."So I converted to MPEG2.Am I doing something wrong or can mpegs not be played on the G1? (I'm pretty sure they can.I once watched a downloaded TV series on it.)

View 1 Replies View Related

Android :: Getting Web Video To Play

Jun 24, 2010

When trying to view video from some certain sites I get this circle with what appears to be a f and a exclamation point and if I select it I get a message that I cannot play this content on this devide. I have a HTC Hero. Is there an app ofr something that I need to be apply to get these video's to play?

View 1 Replies View Related

Android :: How To Play Video From URL?

Apr 12, 2010

i am biginner in android development and try to play video from link but it's give error "sorry,we can't play this video" i tride so many links but for all links its show same error.

View 4 Replies View Related

Android :: How To Play A Video

Sep 19, 2010

How to play a video in android? where do I put my video file?

View 2 Replies View Related

Android :: Difference Between .opengl And Javax.microedition.khronos.opengles Packages

Nov 7, 2010

Just couldn't find anything regarding the purpose of android.opengl classes anywhere on the web: they seem to be copies of javax.microedition.khronos.opengles - just with static vs member methods.

So is there any special meaning in using them instead of j2me classes: are they supposed to be faster, have additional functionality, simpler to work with? I think of using them instead of passing that gl reference all the time.

View 2 Replies View Related

Android :: How To Play Video From Raw Folder?

Aug 13, 2009

i am trying to play a video in my activity before i load my main page of my application. it does play the video and i call finish(); on completion.now the problem is : i have video in my raw folder rather than in my sdcard. how can i load from raw folder

View 8 Replies View Related

Android :: YouTube App - Cannot Get Video To Play

Oct 21, 2010

I have installed the new YouTube app. However, I cannot get video to play. Every video I load says ,There was a problem while playing. Doesnt matter if its HQ or not. Im rooted with CM6, but I dont think thats the issue.

View 2 Replies View Related

Android : Play Video Direct From URL

May 21, 2009

I am new to Android. I have depeloped a video player app. through Sd card.

Now i want to play video direct from URL.

Can anybody provide me sample code for the same.

View 10 Replies View Related

Android : Play A Video File

Jan 20, 2010

I have a URL for a video file which I need to play using the native Video-player of the handset. I figured using Intent.ACTION_VIEW and setting the URI as Intent data, I am able to achieve the aforementioned on G1 except HTC hero. In case of Hero, I have to explicitly set the class Name in the Intent to start the default Video Player: intent.setClassName("com.htc.album","com.htc.album.ViewVideo")

However, I am not comfortable with this approach as it might break on other Android devices.

1. What would be the best way to play this video url via Intent, irrespective of the handset?

2. How to conditionally setClassName in Intent, specific to a Handset?

Writing a standalone Video Player for our app is NOT an option we can afford at the moment.

View 1 Replies View Related

Android : Can I Play Video As A Raw Resource?

Jun 16, 2009

I'm writing a program which requires that a video be packaged with it. The only way I know of doing this is by adding the video to res/ raw/, which coincidentally renders the video useless. I've looked all over the web and the consensus seems to be you can only play streaming video, or video from a file. In the emulator if I attempt to play the video through the method used here ( http://developer.android.com/guide/topics/media/index.html ), all I get is audio and a black screen. I've attempted to use VideoView as well, and the same thing occurs, audio but with a black screen. There must be a way to package video with your application without needing an SD card, or having to stream the file and have the video actually play. In the words of Google, I would like to create a "seamless" experience.

View 4 Replies View Related

Android : How Can I Play Video In Appwidget?

Apr 12, 2010

is it possible to play a video in an appwidget?

View 2 Replies View Related

Android : Way To Get Video To Play On Phone?

Mar 15, 2010

i use a web site for tutorial video and they use flashplayer. anyway to get this to play on my motodroid?

View 1 Replies View Related

Android :: Cannot Play Video - VideoView Broken?

Feb 11, 2009

VideoView video_view = new VideoView(context); video_view.setVideoPath("res/raw/movie.mp4"); video_view.setMediaController(new MediaController(context)); video_view.requestFocus(); video_view.start();

Seems simple, but even with video files that I've seen work in other video players on the phone, I keep getting the "Sorry, this video cannot be played" message. And this associated debug info: INFO/MediaPlayer-JNI(234): prepareAsync: surface=0x1a3ff0 (id=1) ERROR/MediaPlayer(234): Error (-4,0) DEBUG/VideoView(234): Error: -4,0

what those errors mean or how I can fix this? If this is not how I should be using VideoView please let me know. I'd appreciate being sent in the right direction for how to get a local video file playing within a view.

View 4 Replies View Related

Android :: Play Video File In Emulator

Apr 11, 2009

I push the one video file... and tried to play that video file in emulator.. But i got error...how can i check weather video file insert or not...

View 15 Replies View Related

Android :: Need Continuous Play Video Player

Feb 8, 2010

Has anyone found a video player that automatically plays the next video when the first video ends like episodic videos?

View 2 Replies View Related

Android :: Progressive Video Play Over HTTPs

Jul 13, 2010

I am trying to stream video over https from Android browser. If the video URL is http, everything works fine. But when I switch the url to https, no video can be played. I tried 2 methods to stream over http/ https through Android browser.

1. Use html5 Video tag on browser (Android 2.0+ device) and call video.play( ) from javascript. - With Https url. Browser launches media player and the player displays alert dialog saying "Can't play video". I captured the client TCP traffic and found no SSL handshake between client and server. It looks like the player pops up the alert on any https link. - With Http url. Browser launches media player and the player can stream the video successfully.

2. Use direct link of html <a> tag on browser and click the link - With Https url. Browser downloads the video file without launching the player. The browser seems not try to load any https link in media player. - With Http url. Browser launches media player and the player can stream the video successfully.

So the above tests make me think Android media player cannot play media from any https url.

View 4 Replies View Related

Android :: How To Play .flv Video Files In Droid App?

Jan 6, 2010

I was just wondering if it's possible out of the box or via a library.

View 1 Replies View Related







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