A-frame a-videosphere to show m3u8 hls master stream open ( maybe use video.js) - aframe

I want to ask how can i open hls streaming m3u8 file from background of page using a-frame with a-videosphere ? is video.js capable for this ?

Related

Is there a way to change speed in Adobe Connect?

I know Adobe Connect launches its separate application but is there a way to change the speed (ie 2x) in the application or some other way?
You can download the page contents including the voice file.
1- Open in the web browser. Then just append
/output/content.zip?download=zip
to the page URL and press enter.
2- Extract the downloaded file. The file with a similar name to 'voip.flv' is the voice file.
3- You can open it with vlc or any other player and make benefit of the speed option.
Example:
If the link is like:
https://connect.labla.la/p9lhdwnhnf89/?session=breez7b98svagh3mqtkqb&html-view=false&proto=true
you can download the content with this link:
https://connect.labla.la/p9lhdwnhnf89/output/content.zip?download=zip
There is no option to change the playback speed of an Adobe Connect Recording. A workaround is to download mp4 version of the recording and serve via a video hosting provider which has video speed option.

How to add automatic toggle into video

I have JWPlayer for Wordpress from ilghera. I use it for my website and i'm publishing video content in my site. This plugin that i use from ilghera gives me the option to add different qualities for a video but they only work manually.
I want my users to open the video just like a youtube video and video itself changes the quality due to users internet connection speed.
Can anyone help me? And whats the price for such a software etc.
The behavior/technology you described is adaptive bitrate (ABR), which uses real-time bandwidth data to switch between higher and lower resolutions of a video.
In order to take advantage of ABR, you must use a video format that supports it, such as HLS (files with .m3u8 extension) or MPEG-Dash (.mpd). You can see an example stream here.
If one of these streams is configured, JW Player will handle ABR and resolution switching automatically. If you are using JW Player's platform technology (i.e. Dashboard), and upload a video, HLS conversions are provided for you.
I've converted my mp4 file to m3u8. Created a playlist same as https://docs.peer5.com/guides/production-ready-hls-vod/ in this link shows. But when i try to play it on http://stream-tester.jwplayer.com it gave me 232011 error code.
Update**
I've solved the problem. Ffmpeg was working fine but only problem was jwplayer and hlsplayer.net were given me the same error which is cross domain access denied. So opened the apache and gave this command :
Header set Access-Control-Allow-Origin "*"
It worked!

Sending H.264 live stream to Nginx and publish as HLS to embed into website

according to this post I am trying to display an H.264 live stream from an ip camera (AXIS M1145-L + CamStreamer plugin) on a webpage without using any external browser plugins (only pure HTML5) and for desktop.
As I`ve read there it is possible to do it with video.js and HLS, so this is what I have tried:
Stream from camera (push to rtmp with CamStreamer) --> to nginx (rtmp module) -->
nginx serves HLS --> display with video.js and videojs-hls plugin in browser
While watching the stream within VLC using it`s hls URL (http://192.168.1.105:8080/hls/movie.m3u8) I do not have any problems or lags but I can not get it to work in the browser with video.js.
It always reports me invalid media.
stream in vlc + codec info:
http://s8.postimg.org/vb63fgfwh/codec.png
my nginx config: http://pastebin.com/9GuAMuBx
html source code: http://pastebin.com/QGmEamjT
output in chrome: http://s8.postimg.org/dwlv76irl/error_html.png
The original stream is pushed to: rtmp://192.168.1.105:1935/hls/movie
192.168.1.105 is the machine where nginx is running.
The Hls stream then is accesible on http://192.168.1.105:8080/hls/movie.m3u8
What I totally want to avoid is the need of re-encoding the video as the machine on where it will run later does not have the power to do it and it will be a full hd stream too. This is why I have abandoned FFmpeg (needed to re-encode Mp4 for Live-Streaming). Also the machine will not have continous internet access, so online transcoding also isn`t possible.
Please help. Thank you !
Finally got it.
Using hls.js library (https://github.com/dailymotion/hls.js) standalone without video.js did the trick. The video is now playing fine in Chrome/Opera on Windows 7. Did not yet try it with others.
So I guess it`s a player/codec dependend problem of video.js.
The html page with the player needs to be on a server (NOT local filesystem!) otherwise browser safety restrictions will come in place which prevents the video from playing. Noticed that while trying from a local html page in browser while hls.js demo worked with same stream.
Thank you for your tips !
I ran into a similar issue trying to get a Video.js player (with the HLS contrib module) to load an HLS stream in PC/Chrome. The player would display "The media could not be loaded... because the format is not supported."
I later found it played fine in Mac/Safari and PC/MS Edge browsers.
Full browser support for HLS is still fairly lacking.
https://www.jwplayer.com/html5/#adaptive-streaming
I had success with Bitmovin's player Bitdash and realized it was a browser issue (not stream or nginx issue).

How to play a video on the default media player on Windows?

Here is the scenario: When you click on the image on homepage, the video should open. It should not be embedded video in a browser. Video should open in a default player. No browser window.
I have a static image on my homepage. When i click this image, i just require the video to run on the default player. The video file is located on the server.
Is it possible or not? And if possible then how can we achieve it?
How about setting proper HTTP headers that enforce to download & open given video?
Content-Type: application/force-download
Content-Disposition: attachment; filename="video.avi"
To make this work you need to use the *.avi extension at the end of your file, and place it on a link.
Now, the behavior will be different on each computer. The browser will ask the user to save the file somewhere and then if the user click on it will be open with the default player. Or in some cases it may direct ash him to open it with the default player, the browser saves it and then play it.
Now so good user interface.

Prompt video file for download over http instead of initating stream

I'm trying to setup a download page for some video files to mobile devices.
Ideally, I'd like it if I click or navigate to a download link, I'm prompted to download the file (or the file automatically downloads).
Currently, I navigate from my mobile device to:
192.168.1.4/Star.avi
And the video starts playing.
Is there anything I can do server side to prevent this?
Thanks.
Add the header field below:
Content-Disposition: attachment

Resources