webm

html5 tag <video> does not work in safari and IE

久未见 提交于 2019-12-11 08:13:00
问题 I have a webm video running on my site which is not working on safari and IE. The code I have used is as <video src="http://video.webmfiles.org/elephants-dream.webm" controls autoplay loop preload="auto" poster="http://my-site.com/images/home-banner.png" class="only-default" width="613" height="354"> <source type='video/webm; codecs="vp8, vorbis"' src="http://video.webmfiles.org/elephants-dream.webm"> </video> 回答1: WebM is not supported in IE and Safari More info here http://www.w3schools.com

Media Foundation vs DirectShow and Media Containers. (WEBM and OGG THEORA)

自闭症网瘾萝莉.ら 提交于 2019-12-11 08:09:55
问题 Why do all the new video/media container formats provide very little support for media foundation and more for DirectShow knowing that DirectShow is dying. 回答1: Because Media Foundation offers inferior feature set and availability to DirectShow. DirectShow is primary API for formats and codecs in Windows, nevertheless Microsoft stopped its development almost 10 years ago. The extensibility of this API is so good, and it is still so well applicable to multimedia tasks and processing. 来源: https

What technologies should I use to produce a WebM live stream from a series of in-memory bitmaps?

限于喜欢 提交于 2019-12-11 06:15:49
问题 Boss handed me a bit of a challenge that is a bit out of my usual ballpark and I am having trouble identifying which technologies/projects I should use. (I don't mind, I asked for something 'new' :) Job: Build a .NET server-side process that can pick up a bitmap from a buffer 10 times per second and produce/serve a 10fps video stream for display in a modern HTML5 enabled browser. What Lego blocks should I be looking for here? Dave 回答1: You'll want to use FFmpeg. Here's the basic flow: Your

Converting raw frames into webm live stream

人盡茶涼 提交于 2019-12-11 03:49:34
问题 I have an ASP.NET application with the following set up: A camera that captures raw RGB frames at a resolution 656x492 These frames are processed in my C# code (with some simple image processing) The raw image is stored in a byte array (as well as wrapped in a Bitmap container) MISSING MAGIC: Convert raw image buffer to WebM stream On the other end I have a function HttpResponseMessage function that hooks up a WebM stream with a PushStreamContent function (inspired by this blog post). This

Is it possible to merge 2 webm video streams into one stream (in picture)

强颜欢笑 提交于 2019-12-11 01:13:09
问题 Is it possible to record 2 webm videos (with WebRTC ) and then merge them into one stream (picture in picture). Example: recording A shows camera A (streams out) recording B shows camera B (streams out) stream A shows one frame with A+B as merged stream (interview between two people) 回答1: Yes, it is by using the Media Recording API. First you have to create a <canvas> where you will draw the two <video> elements. When creating the MediaRecorder you will pass the canvas stream: new

Html5 Video and Flash Approach

老子叫甜甜 提交于 2019-12-10 10:08:44
问题 Looking into HTML5 video tag, and researching which browsers support which video file types, and my initial thought is things just got harder than just using flash. I am wondering if there is some skeleton code (combined with development approach for videos) that someone has figured out to do the following: If flash is available, use it If not, try html5 video ogg format If that doesn't work, try html5 video h.264 format If that doesn't work, try html5 video webM format Based on what I am

Transparent webm video displays solid background color on Chrome for Android 68 on android 9.0

风流意气都作罢 提交于 2019-12-09 23:51:57
问题 I have simple page with a webm video with transparent background. It works well on desktop. It works well on Chrome for Android version 66 on my android phone running android 9.0 too. But after upgrading to Chrome for Android version 68, the video displays solid background color. I checked the console and no error or warning found. Chrome 66: ]2]2 Chrome 68: I tested on Chrome for Android version 68 on other phones which running Android 7 and it works well. Does anyone know why this happens

Command-line streaming webcam with audio from Ubuntu server in WebM format

☆樱花仙子☆ 提交于 2019-12-09 06:47:52
问题 I am trying to stream video and audio from my webcam connected to my headless Ubuntu server (running Maverick 10.10). I want to be able to stream in WebM format (VP8 video + OGG). Bandwidth is limited, and so the stream must be below 1Mbps. I have tried using FFmpeg. I am able to record WebM video from the webcam with the following: ffmpeg -s 640x360 \ -f video4linux2 -i /dev/video0 -isync -vcodec libvpx -vb 768000 -r 10 -vsync 1 \ -f alsa -ac 1 -i hw:1,0 -acodec libvorbis -ab 32000 -ar 11025

FFMPEG: How to encode for seekable video at high key frame interval

心已入冬 提交于 2019-12-08 16:20:08
问题 I'm looking for an ffmpeg comand that's best used if I'm controlling a video to mouse control on "requestAnimationFrame". Basically, it needs to be fast-seeking and encoded at a high key frame interval. I can't seem to nail down what parameters aid in fast-seeking and high key frames. thanks! Johnny 回答1: If you're encoding x264 (mp4), try (docs): ffmpeg -i file -c:v libx264 -x264opts keyint:25 [preset/rate control options] out.mp4 If you're encoding vp9 (webm), try (docs): ffmpeg -i file -c:v

How to add a watermark to a video in Android/Java

匆匆过客 提交于 2019-12-08 09:50:59
问题 I'm trying to, given a video file, generate a new video with a watermark. In my case, I don't the watermark to be over the video, but as a band over it. For example if the video size is 100x100 I want to generate a 100x130 video with a custom image in the 100x30 top region. What is the easiest way of achieving this? Thanks 回答1: use this code that will help you to make watermark in your video: String[] complexCommand2 = {"ffmpeg", "-y", "-i", "/sdcard/videokit/in.mp4", "-i", "/sdcard/videokit