सुनिश्चित नहीं हैं कि यह आपके सवाल का जवाब है, लेकिन आप वेब ऑडियो API नोड ग्राफ के माध्यम से वीडियो के ऑडियो चला सकते हैं। लाभ और फ़िल्टर पैरामीटर को बदलकर नीचे दिया गया कोड प्रदर्शित किया जा सकता है। मैंने केवल क्रोम पर इसका परीक्षण किया।
<!DOCTYPE html>
<meta charset="UTF-8">
<title></title>
<body>
</body>
<script>
var video = document.createElement("video");
video.setAttribute("src", "ourMovie.mov");
video.controls = true;
video.autoplay = true;
document.body.appendChild(video);
var context = new webkitAudioContext();
var gainNode = context.createGain();
gainNode.gain.value = 1; // Change Gain Value to test
filter = context.createBiquadFilter();
filter.type = 2; // Change Filter type to test
filter.frequency.value = 5040; // Change frequency to test
// Wait for window.onload to fire. See crbug.com/112368
window.addEventListener('load', function(e) {
// Our <video> element will be the audio source.
var source = context.createMediaElementSource(video);
source.connect(gainNode);
gainNode.connect(filter);
filter.connect(context.destination);
}, false);
</script>
ऊपर कोड इस का एक संशोधित संस्करण है: http://updates.html5rocks.com/2012/02/HTML5-audio-and-the-Web-Audio-API-are-BFFs
मैं बस वीडियो तत्व के साथ ऑडियो तत्व बदल दिया।
नहीं जानते हैं कि आप वीडियो तत्वों पर कि चला सकते हैं! धन्यवाद, यह वही है जो मैं चाहता था! – jreptak
अच्छा, वास्तव में उपयोगी पोस्ट! – ejectamenta
'webkitAudioContext' मान्य नहीं है। कृपया इसके बजाय 'ऑडियोकॉन्टेक्स्ट' का उपयोग करें। –