We are developing android app (other team developed iOs app). The app is basically sharing videos, now when we record a video and play instantly no problem, but when uploading and then playing it gives as Error "Cannot play video"
Strange thing is that iOs can play android and iOs videos, and in android app cannot play any videos.
Video formats are:
Android - mp4
iOs - mov
Can someone help us?
EDIT
Video example: https://sharemestorage.blob.core.windows.net:443/shareme-videos/eed7ec96-c55f-4aa8-bf81-9e22868981a8
Related
I have a web application which plays an mp4 video at the beginning. This video is not playing in the latest version (v57) as well as in the previous version (v56) of Chrome in Android devices. The video was playing fine until Chrome v54.
It's an mp4 file. Has Google brought in any restrictions on the mp4 video files? The video plays fine in PC or Mac. The issue is only with Android devices.
Can someone throw some light?
Thanks.
I found if the Chrome Data Saver feature is turned on, videos would not appear or play.
I am aware that some unsupported .MP4 videos doesn't play in Android.
Video is recorded from default camera app in iPhone and shared to android device.
I've also checked for any available answers. I found FFmpeg library. I guess it is used to stream online videos but I want to play local video stored on SDcard.
I tried to fire an intent and let user choose to play video from any installed player eg. mxPlayer. It shows the error "can't play video" but after clicking on OK it starts playing the same video. Other players like vlc n moboplayer doesn't play the video.
So is there a way to play every recorded video from iPhone in Android?
I am developing a Android app that plays advertising videos. All the videos are in WMV format and I tested it in Android 4.2 and it worked great. The client tried to execute the app it in a 4.1 device and it didn't work. It only says "Can't play this video" and crashes. We tried to play a WMV video with the native Video player in the 4.1 device and it played as expected. Why, in the same device, the VideoView can't play a video that the native Video player can? I also tried with another 4.1 device and a 4.1 emulator and I got the same problem.
Hi the WMV is not supported before 4.2 you can refer to the official documentation of google
http://developer.android.com
I'm working on certain project that allows some video editing, uploading edited video to server (Amazon S3) and playing this video on device.
The iOS version is already completed. I'm using there GPUImage to edit and encode videos.
I'm using quicktime container and h264 codec.
Now I'm working on android version of this project and have encountered several problems.
While I'm able to download and play these videos (encoded on iPhone) on the android devices, I'm not able to play the stream of these videos on most of android devices.
I have done some research and one of advices was to add some code to iOS postencoding that converts to mp4 and fixes MooV http://fabiensanglard.net/mobile_progressive_playback/index.php, but it doesn't help.
The only thing that I have achieved after that "fix" is to hear audio track and not getting error message on Galaxy SII device, but on other devices there is the same story.
After that I have downloaded VLC player from play store and it plays these videos.
So my question is, what do I need to do to play h264 stream?
How can I implement my own video player or how can I use VLC source code to play these videos.
I am working with an Android and PhoneGap application and am using the HTML5 video tag to play videos on my web page. When I play the video I get the audio output but the video is not visible. How can I play a HTML5 video on Android?
I've written about this issue a number of times. See my previous answer:
Playing video on AVD with phonegap
Also, I'm working on monkey patching the video tag on Android so hopefully we'll have something even better soon.