I have been trying to play encrypted .WEBM media files in ShakaPlayer without much success and I am here to seek advise from anybody who had been through this. It would be great if somebody in this awesome developer community can guide me here.
Round 1 - What I tried (Encoded & Dashed):
Encoded .MP4 file to multiple-streams Video .WEBM (VP9) &
single-stream Audio .WEBM (Vorbis) files using FFMPEG.
Created DASH MANIFEST.MPD file with WEBM_TOOLS/WEBM_DASH_MANIFEST
Outcome: I am able to play this in Shaka Player without any issues.
Round 2 - What I tried (Encoded, Encrypted & Dashed):
Encoded .MP4 file to multiple-streams Video .WEBM (VP9) & single-stream Audio .WEBM (Vorbis) files using FFMPEG.
Encrypted generated .WEBM files with WEBM_TOOLS/WEBM_CRYPT
Created DASH MANIFEST.MPD file with WEBM_TOOLS/WEBM_DASH_MANIFEST
Outcome: I don't know how should I play this content in Shaka Player. Where and how should I provide the .key file generated in step 2 above to Shaka Player. I would like to use Clearkeys with CENC on browser. I don't want to encode to multi-stream .MP4, but only .WEBM.
Thanks so much!
If you just want to test the content then you can configure the clear keys directly in the Shaka player itself. From their documentation at https://github.com/google/shaka-player/blob/master/docs/tutorials/drm-config.md:
player.configure({
drm: {
clearKeys: {
'deadbeefdeadbeefdeadbeefdeadbeef': '18675309186753091867530918675309',
'02030507011013017019023029031037': '03050701302303204201080425098033'
}
}
});
If you want to have the player request the keys from a key server, which is like a typical DRM interaction, then you need to have a license server (key server) that you request the key from. You'd don't really need to do this if all you want to do it make sure that you are packaging and encrypting the content correctly - the local clearkey config above will probably do fine for you.
Related
I'm encoding .mp4 video files (h265) with ffmpeg to create RTSP stream, put it to rtsp-simple-server and then after aler9's restreamer the stream is available to watch. I can watch the result in VLC (adding network source rtsp://my.server/stream), but can't watch the stream in Android application - no sprop-parameter-sets headers exist
So, the question is: where can I get these headers and how can I add them to the stream, so that everything worked?
P.S. if I add the stream to Wowza, these headers (sprop-vps, sprop-sps, sprop-pps) are added by Wowza to the stream, but I need to use the server directly.
OK, found an answer: '-bsf:v', 'dump_extra'
i have some IPTV urls as (Playliste) .M3U8 .tsformat like this:
http://123.345.543/live/abcd/123456.m3u8
http://123.345.543/abcd/123456.ts
I trying Allvideos Player component and many other player plugin without success...
Please someone can called any extension or plugin can play this type of files
thank you
If you are saying that you can't play the above streams using the HTML5 tag, then, yes, this is expected behaviour at this time.
To play HLS and DASH video streams on a web browser you typically would use a Javascript player like Dash.js, BitMovin, Shaka player etc.
You can see example players which will allow you test the streams here:
http://dashif.org/reference/players/javascript/1.4.0/samples/dash-if-reference-player/
https://bitmovin.com/hls-fragmented-mp4/
https://shaka-player-demo.appspot.com
Hi all,
I am new in Ionic 2, I am working on an application which having list of videos.
1. Requirement:-
When I play a video from the list, it get downloaded while playing,
when I play same video next time, it checks if this video has been played already, so does not need to play from URL, it play from local without streaming and buffering.
I want to use cache to store video which I played so that i can use that to play locally-
As we can do in ionic like this
https://libraries.io/bower/ionic-cache-src
set of work to do-
Must be used IONIC 2
I need to play some videos from given URL, and download along with playing.
store video locally.
if same video get play again then get buffer from local not from internet.
The same can be see there as-
Need help....
I am trying to record an audio file from the microphone and uploading the same to a server using MultiPart data POST method. I would appreciate some help.
I am currently working on C# and making the code for Windows Phone 7.
Would deeply appreciate some help and if possible, some code reference as i am a newbie on the platform.
When recording from the Microphone, your data is raw PCM data. You will have to encode it manually, which may not be an easy task if you want to encode it into an MP3. You could upload the file (example in the link ba__friend` posted) as a WAV, or simply the raw data, and convert it to an MP3 on your server.
I'm trying a small app which play a asx streaming file. My understanding was i should parse the asx and get the URL. But in my case, REFHREF in ASX points like this www.website.com:8084. Is this the server configuration need to be modified ? Totally new to this audio streaming protocols. Any suggestion would be much appreacited ...
My code streams audio fine when i test with a ww.website.com/file.MP3
the URL from refhref may most probably lead you to another asx file, which needs to be parsed again, i would advice recursively parsing till u reach a valid playable stream! Wp7 supports asx streams but it disallows(throws an exception for some tags check here )
so you will have to parse the asx yourself, extract the URL and process it further!
Good Luck! post your findings too!