I am trying to Integrate Exoplayer with Xamarin but somehow I am able to play small size video which are located at cdn servers but for large file exoplayer goes to the ideal state and does not play video.
I have also tried Exoplayer Dash for mpd file using streaming servers but still not able to play large size videos in xamarin. Please help me understand where I am lacking.
Related
I developed android app which is based on video listing,I face some problems that are,
1.When scroll a listview video need auto play
2.Need pause,stop,resume and full screen mode
3.Every time video is streaming
4.How to make cache videos and play without stream
Is there any Lib or reference link,and advance Thanks
i suggest ExoPlayer, here is a good sample
for caching, you can use VideoCache or OkHttpDataSource
I am currently developing a video streaming feature for one of my android apps. I am using android media framework for the purpose. Videos are streamed from an nginx server. Android recorded videos works fine but iOS recorded videos plays only the video not the sound.
It happens because the android support limited codecs in-built like mp3,mp4,mpeg.
While iphone support most of codecs.
What is the way to resolve this?
MP4 for video and MP3 for audio are widely accepted and work on both platforms.
So you need do some stuff at the server. Implement the ffmpeg library that will convert all the videos to MP4 and audio to MP3.
We are doing same mechanism to resolve this issue.
Some more information to understand the problem
Refer stackoverflow answer here
Hope This may help you to get the rid of your problem
Happy Coding!
I need create android app for testers. They need test internet speed on the SIM-card with different protocols and when play youtube video. I dont understand how measure internet speed when play video in youtube.
I tried use libraries for download video and measure downloaded video size before and after download. But this libraries not work(vget and wget and wget-android)
I was looking for tools in Youtube API but not found it.
I not found information in stackoverflow and google.
But i think it possible. I want insert link for video from youtube and press start button. And after it i want see the speed at which the video was played
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.
I have a project with a VideoView in it I am streaming a video from online using this method:
mVideoView.setVideoURI(Uri.parse("http://db.tt/ij7w1Nw"));
My videos are mp4 files downloaded from Youtube. I then upload them to my dropbox, that is where the url comes from. This works fine if I download the video and do not make any changes to it, and upload it straight to dropbox. However if I try to make any changes to it for instance convert from .flv to .mp4, or change the size, then I upload it to dropbox it no longer plays in the VideoView. I get a dialog that says 'Unable to play video. Invalid streaming data'. If I take this same exact video and put it on the SD card either manually or even by having my app download it from the url then play it off of the SD card using
mVideoView.setVideoPath(path);
it works fine. I am using Wondershare Video Converter Platinum to do the conversions and size changes.
Is there some sort of specific encoding that is required to stream an mp4 file rather than play it from a local copy? Am I getting this because of some sort of bug/error with wondershare? Has anyone else experienced this type of problem, if so how did you end up fixing it.
Thank you.
The media format guide may help you see what's available. In my experience wrapping a H.264 AVC or MPEG 4-encoded video in a 3GPP container provides the easiest integration. Android is very fickle with both audio and video streaming.