webm

API for webm video conversion

非 Y 不嫁゛ 提交于 2019-12-03 12:32:45
问题 Does anyone know about any (prototype) c# API's for converting video to google's new WebM video format? 回答1: A quick google search says: no. But the example encoder looks like it should be easily translatable to C# using P/Invoke. The Encoder Algorithm Interface looks quite manageable. And there's always C++/CLI if everything else fails. Who starts the codeplex project? :-) Update: As of now, there is a hackish, rudimentary working prototype .NET API. Here you go: #include "vpx_codec.h"

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

拟墨画扇 提交于 2019-12-03 08:39:47
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 \ -f webm /var/www/telemed/test.webm However despite experimenting with all manner of vsync and async

Why does FFMPEG always make large WebM files?

心不动则不痛 提交于 2019-12-03 06:30:06
I'm trying to encode my movies into WebM: ffmpeg -i input.MOV -codec:v libvpx -quality good -cpu-used 0 -b:v 10k -qmin 10 -qmax 42 -maxrate 10k -bufsize 20k -threads 8 -vf scale=-1:1080 -codec:a libvorbis -b:a 192k output.webm I want to encode at a couple of different bit rates (video and audio combined): 2192 kbps 1692 kbps 1000 kbps The problem is that no matter which bit rates I enter, I always get a file with a bit rate higher than 1900 kbps. (1914 kbps with the code example above.) What am I doing wrong? libvpx is a little complicated with regard to rate control and quality settings.

Convert video to WebM using GStreamer

只谈情不闲聊 提交于 2019-12-03 06:20:55
问题 Documentation for GStreamer is confusing. This is still no excuse for resorting to StackOverflow.com , but still: What is the GStreamer command line to convert any video file (from any format) to WebM (+WebM audio)? This is the only documentation with examples I could find. I'm stuck somewhere at gst-launch-0.10 webmmux name=mux ! filesrc location=oldfile.ext ! filesink location=newfile.webm ! name=demux ! demux. ! ffmpegcolorspace ! vp8enc ! queue ! mux.video_0 ! demux. ! progressreport !

Real Time Streaming to HTML5 (with out webrtc) just using video tag

柔情痞子 提交于 2019-12-03 05:09:08
问题 I would like to wrap real time encoded data to webm or ogv and send it to an html5 browser. Can webm or ogv do this, Mp4 can not do this due to its MDAT atoms. (one can not wrap h264 and mp3 in real time and wrap it and send it to the client) Say I am feeding the input from my webcam and audio from my built in mic. Fragmented mp4 can handle this but its an hassle to find libs to do that). I need to do this cuz I do not want to send audio and video separably. If I did send it separably,

How to minimize the delay in a live streaming with ffmpeg

流过昼夜 提交于 2019-12-03 02:20:39
问题 i have a problem. I would to do a live streaming with ffmpeg from my webcam. I launch the ffserver and it works. From another terminal I launch ffmpeg to stream with this command and it works: sudo ffmpeg -re -f video4linux2 -i /dev/video0 -fflags nobuffer -an http://localhost:8090/feed1.ffm In my configuration file I have this stream: <Stream test.webm> Feed feed1.ffm Format webm NoAudio VideoCodec libvpx VideoSize 720x576 VideoFrameRate 25 # Video settings VideoCodec libvpx VideoSize

How to minimize the delay in a live streaming with ffmpeg

て烟熏妆下的殇ゞ 提交于 2019-12-02 15:52:28
i have a problem. I would to do a live streaming with ffmpeg from my webcam. I launch the ffserver and it works. From another terminal I launch ffmpeg to stream with this command and it works: sudo ffmpeg -re -f video4linux2 -i /dev/video0 -fflags nobuffer -an http://localhost:8090/feed1.ffm In my configuration file I have this stream: <Stream test.webm> Feed feed1.ffm Format webm NoAudio VideoCodec libvpx VideoSize 720x576 VideoFrameRate 25 # Video settings VideoCodec libvpx VideoSize 720x576 # Video resolution VideoFrameRate 25 # Video FPS AVOptionVideo flags +global_header # Parameters

Firefox won't play .webm and .ogv videos with HTML5

谁都会走 提交于 2019-12-02 04:49:21
问题 I prepared 3 video formats for my site: /assets/video/background-purple.ogg /assets/video/background-purple.webm /assets/video/background-purple.mp4 on the site http://tekhy.net/ I use <video> tag for play the video: <video webkit-playsinline autoplay="autoplay" loop="true" poster="/assets/video/transparent.png"> <source src="/assets/video/background-purple.ogg" type="video/ogg"> <source src="/assets/video/background-purple.mp4" type="video/mp4"> <source src="/assets/video/background-purple

HTML 视频(Videos)

∥☆過路亽.° 提交于 2019-12-02 00:59:56
在 HTML 中播放视频的方法有很多种。 HTML视频(Videos)播放 <video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> <source src="movie.webm" type="video/webm"> <object data="movie.mp4" width="320" height="240"> <embed src="movie.swf" width="320" height="240"> </object> </video> 问题以及解决方法 在 HTML 中播放视频并不容易! 您需要谙熟大量技巧,以确保您的视频文件在所有浏览器中(Internet Explorer, Chrome, Firefox, Safari, Opera)和所有硬件上(PC, Mac , iPad, iPhone)都能够播放。 在本章,PHPLearn 为您总结了问题和解决方法。 使用 <embed> 标签 <embed> 标签的作用是在 HTML 页面中嵌入多媒体元素。 下面的 HTML 代码显示嵌入网页的 Flash 视频: <embed src="intro.swf" height

Video with transparency on Android

↘锁芯ラ 提交于 2019-12-01 15:07:21
Is there any way to have Android play video with transparent areas? When I try to play a WebM video containing transparent areas in VideoView, the background of the view remains black. Instead of black I'd expect to see the background of the parent view shown through on the transparent areas. The only working solution I've found so far is to create a drawable animation out of the video frames, which isn't very memory efficient. yakobom I know it's a bit late, but perhaps it can help nevertheless. The best way I can think of for achieving this is using OpenGL ES - you render the video through a