The MASM Forum

Miscellaneous => The Orphanage => Topic started by: guga on March 10, 2019, 01:44:58 PM

Title: Free OpenSource HTML5 video player
Post by: guga on March 10, 2019, 01:44:58 PM
Hi guys

Someone knows a free and opensource HTML5 video player that allows, at least:

- Selection of multi audio channel (portuguese, english, germain, spanish etc..). I.e; the ones the user select.
- subtitles (portuguese, english, germain, spanish etc..). I.e; the ones the user select.
- easy configuration
- safe (avoiding others to steal/download the videos being played
Title: Re: Free OpenSource HTML5 video player
Post by: Raistlin on March 11, 2019, 04:39:59 PM
Hi guga - I'am unsure, but have a look at IrfanView perhaps (non-open source but free for non-commercial use - use the CLI references).
The opensource stuff I could find includes basic HTMLMediaElement Java lib API: https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Video_and_audio_APIs and Video.JS seems popular : http://www2.videojs.com/
Hope this helps
Raistlin
Title: Re: Free OpenSource HTML5 video player
Post by: jj2007 on March 11, 2019, 07:53:19 PM
Hi Guga,

What are "HTML5 video files"? There are sample videos here (http://techslides.com/sample-webm-ogg-and-mp4-video-files-for-html5) but they don't look specifically built for HTML5. And they all play with the attached exe, which uses IFilterGraph, IMediaControl & friends. How to access different audio channels is another story. Do you have sample files with more than one audio channel, or subtitles in different languages?
Title: Re: Free OpenSource HTML5 video player
Post by: guga on March 12, 2019, 12:02:13 AM
Hi Raistlin

Quoteand Video.JS seems popular : http://www2.videojs.com/

Thanks a lot. This player seems very stable and easy to configure. Tks :)

Hi JJ
QuoteThere are sample videos here but they don't look specifically built for HTML5. And they all play with the attached exe, which uses IFilterGraph, IMediaControl & friends.

Tks JJ.  HTML5 video files ? Sorry, i may be mistyped. I meant video players in html5 as the ones you and Raistlin showed.Videojs seems ok for the needs i´m planning on my site.

About sample files with more then one audio and more then one subtitle, yes i do have. Those are from a company i created that is related to TV, cinema, movies, etc. All the movies and related productions will be released in multi-audio channel and multi subtitles as possible. I´m just need to check if the server supports video formats that handles these files.

I was a customer from azzure, but the problem is it is too way expensive, too confusing to work with and their billing plan really sucks and got me with serious headaches. I need a server stable and at the same time that can handle such files (safely, without allowing others to steal the videos from there). I started the negotiation with one here in Brazil that may fits to the needs of my company but, the website is currently being developed so, i´ll have to wait the programmers finish it before paying for the streaming services as well.

The database that the programmers are building for me seems (finally) on the last stages of development and they plans to starts the frontend of the site.  I retired a couple of years ago from law activities and am no longer advocating. Since then, i started this small company to try to recover an old dream since my childhood. I simply love old movies, post production, video and audio edition/restoration etc and gave a try changing my career to another area :)
Title: Re: Free OpenSource HTML5 video player
Post by: jj2007 on March 12, 2019, 01:13:45 AM
Quote from: guga on March 12, 2019, 12:02:13 AMAbout sample files with more then one audio and more then one subtitle, yes i do have.

Could you post a short one? I am curious if it can be done with the Windows COM interfaces.

Quote... recover an old dream since my childhood. I simply love old movies, post production, video and audio edition/restoration etc and gave a try changing my career to another area :)

Now I understand better the other thread about colour spaces etc - good luck for your dream :t
Title: Re: Free OpenSource HTML5 video player
Post by: guga on March 12, 2019, 02:52:32 AM
Hi

JJ. Sure, i can post you a example. I´ll send it inbox. I´m pretty sure it can be done with Com Interfaces, since VCLPlayer uses it.

QuoteNow I understand better the other thread about colour spaces etc - good luck for your dream :t

Tks a lot  :t :t :t :t
Title: Re: Free OpenSource HTML5 video player
Post by: Raistlin on March 12, 2019, 04:06:55 PM
QuoteJJ. Sure, i can post you a example.
Hey guga !   :( What about me ?

<later edit> Thanks man -  got it, watching B&W old school now. :bgrin:
Title: Re: Free OpenSource HTML5 video player
Post by: guga on March 12, 2019, 04:20:16 PM
Sure. I didn´t knew you wanted a small example too, for testing. I just sent to you inbox  :t :t
Title: Re: Free OpenSource HTML5 video player
Post by: jj2007 on March 12, 2019, 07:17:04 PM
I searched a bit for directshow audio channels, subtitles etc, but it seems that IVideoWindow::put_Caption does something else, and IBasicAudio doesn't know what a multi-language video is. Apparently it's a bit more complicated :(