webm

How to create a webm video file?

Deadly 提交于 2019-12-18 10:02:57
问题 After looking over the web project I see no evidence of a way to generate a webm video. I see drivers for Windows and Quicktime, but no evidence that the most common utility ffmpeg is being supported. Is there any open source converter that produces webm? 回答1: You can use ffmpeg to convert to webm. Make sure to compile it with the --enable-libvpx and --enable-libvorbis flags (see FFmpeg compile guides), or visit the FFmpeg Download page for links to builds that include support. After that,

How to (feature) detect if browser supports WebM alpha transparency?

Deadly 提交于 2019-12-17 20:26:36
问题 I'm integrating a *.webm Video with alpha transparency. At the moment, the transparency is only supported in Chrome and Opera. (Demo: http://simpl.info/videoalpha/) Firefox for example plays the video as it supports the WebM format, but instead of the transparency, there's a black background. My plan is to display the video poster image instead of the video, if the browser does not support alpha transparency. So the video should only play, if the browser supports WebM alpha transparency. I

Firefox Webm video only plays when seeking

家住魔仙堡 提交于 2019-12-13 21:17:48
问题 An odd thing with firefox. This video will only play when it's seeked from ~6 seconds onwards http://www.wealthplanning.tv/media/videos/introduction.webm html link here too http://wealthplanning.tv/media/videos/test.html Works fine in Chrome, and even opera when inside the video tags. Anyone have any ideas? 回答1: Seems that it was an encoding issue. Was using Miro originally, but tried it with XMedia Recode instead and that solved it. 来源: https://stackoverflow.com/questions/13634531/firefox

Video element disappears in Chrome when not using controls

*爱你&永不变心* 提交于 2019-12-13 12:04:52
问题 So - I think this is a browser bug. It came up in a much more complicated design/site, but I've had a good solid fiddle around, simplified my code and designs, etc, and have found the following: When embedding <video> without a controls attribute in Chrome, triggering the video to play using javascript causes the video element to go blank. http://jsfiddle.net/trolleymusic/2fHTv/ The blankness is a bit random, sometimes by rolling out of the element, it'll reappear. Sometimes you need to click

Can I save a matplotlib animation to webm format?

拈花ヽ惹草 提交于 2019-12-12 04:06:23
问题 I am using this example code as a test case: https://matplotlib.org/examples/animation/moviewriter.html In this code, they use FFMPEG to write the matplotlib animation to an .mp4 video file. Is it possible to write to a .webm format? But I am not sure how to go about doing this. 回答1: Make sure you have ffmpeg compiled with libvpx (run ffmpeg with no arguments and see if there's a --enable-libvpx in the output). FFMpegWriter = manimation.writers['ffmpeg'] writer = FFMpegWriter(fps=15, codec=

ffmpeg jpeg stream to webm only creates a file .webm with 1 frame (snapshot) or empty .webm file (mjpeg)

折月煮酒 提交于 2019-12-12 03:59:09
问题 my problem is that when i try to turn a series of jpegs into a webm video. I either get a webm file with a single frame or a webm file with nothing in it (0 kb). var fs = require('fs'); var path = require('path'); var outStream = fs.createWriteStream(__dirname+'/output.webm'); var ffmpeg = require('fluent-ffmpeg'); this one is a mjpeg stream URL. it produces a file with nothing. //var proc = new ffmpeg({source:'http://xxx.xxx.xxx.xxx/goform/stream?cmd=get&channel=0',timeout:0}) this one is a

How to set bitrate of IVP8Encoder filter in a DirectShow application

泄露秘密 提交于 2019-12-11 19:00:12
问题 How to set bitrate of vp8encoder filter in directshow application (c++ code). my graph looks like this. Webcam --->Webm VP8 encoder -->AVI mux --->file writer(.avi) I'm able to set bitrate in graphedit by right clicking vp8encoder->properties. But i want to set bitrate using c++ code in directshow application. I'm new to directshow please provide sample code . Thanks in advance 回答1: The subject suggests that you already have IVP8Encoder interface on hands (which also goes in line with the

Directly viewing WebM or OGG file works in Firefox but not in Chrome

爷,独闯天下 提交于 2019-12-11 14:50:59
问题 I'm having an issue with getting local videos working for the HTML5 Video element. If I try and view a local OGG or WebM file directly, in Firefox 16.0.2 it works, but in chrome 22 it does not work! However, if I view an OGG file on another webserver, it works correctly. For example this file http://www.quackit.com/video/pass-countdown.ogg Works correctly for me, but if I save it onto my own server as http://test.jammaloo.com/pass.ogg Then it works in Firefox, but Chrome will not play it. I

Video with transparency, how to display alpha channel of webm files correctly on every device; VP9 or VP8 encoding?

醉酒当歌 提交于 2019-12-11 12:52:12
问题 About how to get a transparent background with a webm video via alpha channel, here is one person that says you should encode with VP8 and not VP9. WebM Alpha only displayed in Chrome? And here is another person who says it's the opposite thing, like it should be VP9 and not VP8. Transparent webm video displays solid background color on Chrome for Android 68 on android 9.0 Is there a way to make every device display webm files that contain alpha channel correctly? EDIT1: HERE ARE SOME TEST

Concatenate parts of two or more webm video blobs

断了今生、忘了曾经 提交于 2019-12-11 09:24:49
问题 Is it possible to to concatenate parts of two or more video blobs encoded in webm format using just client side javascript? 回答1: What you are looking for is the media source extension as defined here: http://www.w3.org/TR/media-source/ Both Firefox (partially), Opera Chrome already support this. IE11 only on Windows 8+. Also, take a look at DASH (https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP) and HLS (https://en.wikipedia.org/wiki/HTTP_Live_Streaming) 来源: https:/