Is there a way to play Flac files on a website, preferably using HTML5 and/or jQuery?
I don't know any in-browser Flac player. But, if you are after a loseless file format, you can consider mp3HD, which is also loseless, like Flac, but is backwards compatible with mp3, which means that any mp3 player can play it.
Related
I am trying to play a wav file using html 5 audio player but it shows file could not be decoded.
Anyone please let me know what is wrong with this wav file so it is unable to play in html5 audio player.
I am working on a call recording system that records these kind of wav files and now I am integrating html 5 audio player to play in system.
If file does not support in html 5 audio player then please let me know any alternative option to play file in system.
Below is url to download wav file
http://sipprintdemo.com/callrecording3/download.php?file=../../../sipprintcalls/2016/05/17/15/20160517_152047_XRT.wav
It is difficult to say why it is not decoding without seeing your code. What browser are you using in order to test? .wav files do work with HTML audio but not all browsers support that file type. I know that IE for example does not support it.
Another option would be to convert the files to .mp3 format that is support by all browsers. A quick google search should yield a converter service for you.
Is there any way to stream mkv files on webpage using javascript/html or any other technologies? I found many questions about this, but I really want to know the answer - is this possible in any way? Maybe ajax, javascript, php, html? Maybe some external libraries? Anything?
I was wondering how youtube works. Is there possible to upload mkv file? Is so, how that videos are streaming to end user?
I know that browser doesn't support mkv natively, but maybe is some way to forcing html to do that?
Any help will be appreciated.
YouTube most probably works using the DASH protocol format. On the server side, the source audio and source video are separately divided into segments of different bitrate/quality. A manifest keeps an index of all possible segments values and their location. This allows to switch quality during playback in the player.
On the client side, the DASH (should be the same with the other main technology: HLS) manifest is used by the player to locate the segments to load in order to feed the content in two separate SourceBuffer, one for audio and one for video and both are being played synchronously together in the MediaSource. For an example player that handles this, see the Shaka Player developed by Google.
Conclusion, there is no need to use a container like mkv but each channel (video, audio) needs to point to a browser supported codec encoded segments.
You don't need anything special for streaming pre-recorded media files. A normal HTTP/1.1 or HTTP/2 server will work just fine. The browser is generally capable of seeking into the file using range requests.
Matroska (MKV) is a container format, and it actually is widely supported because it's basically the same as WebM. WebM is a subset of Matroska... the key differences being that there are suggested codecs for use. (Matroska itself supports almost anything.)
Your audio and video tracks in the file can use a variety of codecs... the key is to use codecs compatible with browsers. Opus for audio and VP8 for video will take you far.
From there, simply reference your video file in a <video> tag.
I have a Joomla! site that I need to embed a WMV video in it. I want it to be playable.
I have AllVideos Joomla! Plugin installed and it has the function to play WMV files, but when I try to play it there is a sign that I have to install Microsoft Silverlight. Now, for me that isn't a big problem, but I do not want to make my visitors install it just to watch a video.
So, if any of you have a solution to embed it using a Joomla! extension or an HTML/HTML5 solution, I would be extremely grateful.
You need to transcode your videos from WMV to an open format suitable to be played by the browser without a plugin. WMV is a proprietary format, you'd be better off transcoding the videos to webM, OGG or MP4 even. Here is the list of formats supported by Firefox.
To transcode you can either have a batch script server side or you can use a service like Kaltura with their Joomla extension.
I have one .m3u file that points to several .ts files (all in akamai).
Because we give to akamai a live stream, they convert it to these .ts files each of 10s. I see that the m3u files are easy to understand, but I can't find a browser based (flash, html5 or native plugin) player for these files.
If I give to vlc the link of the m3u file, vlc plays all the .ts files one after another as if it where only one big file. I want to use flash or something similar to be able to play in browser, the same way vlc can play those .m3u files.
Is this possible ?
You are basically talking about Apple's HLS format.
You can use an html5 object in your web page. You can use http://osmfhls.kutu.ru/ flash plugin. You can use jwplayer. There are more choices (e.g. flowplayer).
I am putting together a website that uses a templating system. It contains a plugin that lets users upload/share music files so anyone can listen to them via the website's flash player.
It works with mp3 files only. Is there a way to make the player play other formats such as wav, wma, mp4, etc?
Here is the list of natively supported codecs by the Flash Player:
http://kb2.adobe.com/cps/402/kb402866.html
If you need to play something not natively supported, there are external API's that will allow you to do so, just chose a Flash Sound API:
http://www.google.com.br/search?q=flash+sound+API