Comments (7)
you can't do this with HTTP or RTMP there is no api option to do that. packing audio streams into the one file is inefficient anyway. Both HDS and HLS allow for this, it will inject the separate mp3 or aac files into the stream.
However I had to do some modifications for hbo recently to programatically switch the language audio its not in the plugin at the moment for HDS. but it's fully supported in my HLS feature or the free one available on the site but I dont support that one someone else might.
I have done some modifications to my own plugin where some people had multiple audio streams in their TS fragments rather than separate audio feeds so I had to accomodate for that.
it is unfortunate but "only supporting in such and such" is a very common affair in browser land it will never change therefore does need flash fallbacks as work arounds.
There is a way still but it requires security work arounds sadly.
http://flash.flowplayer.org/plugins/streaming/pseudostreaming.html
There is a byte range support feature, but it would have to do a whole lot of demuxing and parsing to choose the right audio track to append with the video track for both flv and mp4. It would work pretty much the same way as HDS and HLS but on standard mp4 files. The worth of this kind of work i'm unsure of ?
from flash.
Our main point is that we want to allow user to switch audio stream on the fly online and offline (after downloading file) and we want to avoid synchronization problems between audio and video streams. After some investigation, we have figured out that the simplest way is store different audio tracks in different audio streams in one file. Currently in API of flowplayer (clip) we can see different audio tracks, but unfortunately cannot switch between them.
Would you be so kind to implement plugin, that allow to switch audio tracks?
P.S. Using HLS or HDS will lead us to overhead and we would like to avoid it, because we are use static mp4 files for this functionality.
from flash.
If you have an example I can see what might be possible.
from flash.
Please use this file from https://dl.dropboxusercontent.com/u/2026692/result.mp4. It has one video and three audio tracks.
Thank you.
from flash.
Any news about this ticket?
from flash.
+1 I also would like to see this feature implemented
from flash.
Hi guys there is beginning support for multi channel audio as in surround tracks folding down to stereo but natively in the browser in mp4 containers and mpeg dash.
It's not across all yet sadly.
IE Edge and Safari supports AC3 format I believe, also folding down surround tracks to stereo.
If Flash supported such a thing, I'm not sure how it works but if it connected to this multi channel support in browsers then it would be possible.
As far as alternate switching goes for language audio tracks. Use HDS / Mpeg Dash / HLS. It allows for selectable external audio streams.
ie I have a demo for HDS on my page here and uses Flash. It appends audio separate from the video.
https://flowplayer.electroteque.org/httpstreaming-hds/fp6
from flash.
Related Issues (20)
- Flowplayer logs HOT 3
- Incorrect byte range request
- js controls: do not work on iPad HOT 8
- LiveRail Plugins SWF doesnt works with HTTPS HOT 1
- Is there a way to configure options globally in a page? HOT 1
- Switching a playback in midstream shows only a black screen (audio works) HOT 10
- playhead does not move with controlbar autoHide unset HOT 1
- RTMP: onBeforeFinish fired twice
- Error: Call to a possibly undefined method UpButton
- Pause event fired on video finish
- allow exceptions for external plugins
- Live audio doesnt play in IE10
- Flowplayer Flash: Corner case issue with playback of short videos
- Upgrade Google Analytics Classic to Universal HOT 8
- A bug in "get playerBaseUrl" or a bug in "getDomainEnd" ?
- Flowplayer bypasses Adobe Flash Media server protection HOT 1
- How can I use class instead of ID? I have more than one HOT 8
- i want to use httpstreaming
- Javascript API throws "invalid exception" during RTMP livestream
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flash.