I want to know if there is a way I can generate a dash URL for use in ExoPlayer. Any help would be appreciated.
Usually Google provide the tool edash packger to make contents.
Can You try this one ?
https://github.com/google/edash-packager
If You used this tool You can make dash contents.
Thanks
Derrick.
Related
I implemented exoplayer to play hls and dash contents. But I am struggling to play the dash content with widevine protection. I looked into the example app for Exoplayer, but I did n't get proper idea to implement. Currently I have a dash url and server url. How to easily implement exoplayer to play this content?
The easiest way for you to test with your content and ensure the playback works is to modify the ExoPlayer sample.
Specifically, if you look at the file where the sample manifest and license servers URL's are defined, you can either add your own example or just replace the URL's in one of the samples with your own.
The sample data is in the file: media.exolist.json: https://github.com/google/ExoPlayer/blob/release-v2/demos/main/src/main/assets/media.exolist.json
Assuming your content is using Widevine DRM, you can add or modify one of the entries like this:
{
"name": "HD (cenc)",
"uri": "https://storage.googleapis.com/wvmedia/cenc/h264/tears/tears.mpd",
"drm_scheme": "widevine",
"drm_license_uri": "https://proxy.uat.widevine.com/proxy?provider=widevine_test"
},
There are instructions here: https://github.com/google/ExoPlayer/blob/aeb306a164911aa1491b46c2db4da0d329c83c65/docs/demo-application.md#playing-your-own-content
I'm trying to find a good library that download files like images, .css or even video (.avd). I found Glide for the images but if possible I would like a library that do both. Do you know a good one ? Thank in advance :)
One: https://github.com/lingochamp/FileDownloader
Two: https://github.com/AigeStudio/MultiThreadDownloader
There are loads out there. Google is the place to be instead of SO.
How do you make unity can run video through android ?
Remember that unity video can not run into android.
Or if there any asset package that can make unity video can run through Android, What is the asset package name ? Where i can find it ? Preferred is free. And How to use it ?
Thanks
On most devices, you can use MovieTexture, but according to the docs,
Movie Textures are not supported on Android. Instead, full-screen streaming playback is provided using Handheld.PlayFullScreenMovie.
Here is the documentation this method.
If you have a budget, you can try Easy Movie Texture, currently priced at $65. I haven't used it myself, but it shows a video demo running on an Android device and the reviews all seem positive.
Hope that helps!
You can use Handheld to play video:
string url; //Contains the path to your video
Handheld.PlayFullScreenMovie(url, Color.black, FullScreenMovieControlMode.CancelOnInput, FullScreenMovieScalingMode.Fill);
In order to get more info, check this
How do i combine two .mp4 videos?
I saw in google that I need to use mp4parser but the thing is, i don't know how to use it.
I downloaded and added the mp4parser library to my project in eclipse.
Can anyone give me a tutorial or any link for a beginner like me. Thank you o
Clone this repo https://sandeep-agrawal#bitbucket.org/sandeep-agrawal/video-merger.git
It is triming videos in clips and merging them.
I want to make an app that downloads a specific MP3 file, allow the user to crop/trim it and re-upload it back to our server. How can I trim MP3 files inside my app ? Do I need to achieve this in C and then port it/use NDK ? If MP3 is tough, I can switch over to other easy formats too.
Will be great if anyone can show me the right path.
I think of all the alternatives, using something like LAME and compiling for the NDK is your best option. Be warned that there are patent restrictions on the MP3 format (most of which I don't understand), and you may run into problems if you distribute your app. YMMV
I didn't test it on Android yet, but there is a pure Java MP3 decoder / player I wrote a while ago. Maybe you can use parts of it. The code is based on JLayer from JavaZoom (also LGPL).
This library helps to trim MP3,AAC/MP4,WAV,3GPP/AMR...
http://code.google.com/p/ringdroid/