webm

not all webm files are playing in firefox

て烟熏妆下的殇ゞ 提交于 2019-12-05 20:47:21
I have coded webm videos with Miro Video Converter and also with FreeMakeVideo Converter with the same result: some webm videos play in Firefox while others won't when embedded with the html5 video tag. In Chrome they ALL play correctly. In my Apache configuration I have added: AddType video/webm .webm I have also added a .htaccess file with the same: AddType video/webm .webm Doesn't make any difference. Some of the webm files play fine, while others don't play at all. If I open the webm files straight in Firefox they ALL work fine, but in the video tag only some of them work. Any ideas????? I

FFMPEG slow VP8 encoding

老子叫甜甜 提交于 2019-12-05 13:14:46
I am trying to encode video from my webcam into a VP8 stream. Sending a WebRTC stream from my webcam using Chrome looks pretty good and doesn't use a lot of CPU power. When I try to transcode my webcam stream to VP8 (webm) using FFMPEG then it's very, very slow. On OS X I use the following FFMPEG options to generate a VP8 webm file. The source is a 720p Facetime webcam. It drains my CPU usage (late 2011 core i7 MBP) and the quality isn't very good: ffmpeg -f avfoundation -i 'default' -y -qmin 11 -qmax 45 -b:v 500k -cpu-used 0 -deadline realtime test.webm Which protocol is used for WebRTC and

How come HTML5 video plays inconsistently in Firefox 11?

Deadly 提交于 2019-12-05 04:34:10
I have the following HTML5 video code on my homepage and it acts strange in Firefox 11. <video width="900" height="508" autoplay="autoplay" controls="controls"> <source type="video/webm" src="http://www.mysite.com/MovieClip.webm"></source> <source type="video/mp4" src="http://www.mysite.com/MovieClip.mp4"></source> </video> When the homepage on my site loads, I see in the place of the video the following error message: "No video with supported format and MIME type found." However, when I open up the media path "http://www.mysite.com/MovieClip.webm" directly, in a new tab, it loads the media

Convert WebM as MP4 on the fly

余生长醉 提交于 2019-12-05 04:33:31
问题 I am trying to convert a remote WebM file on the fly to MP4. This should happen without writing anything to disk. Furthermore it would be great to be able to stream out results as soon as possible. This is my flask function without the actual conversion, so you get a idea of the streaming. @app.route("/stream/mp4") def as_mp4(): url = "http://video.webmfiles.org/big-buck-bunny_trailer.webm" r = requests.get(url, stream=True) def stream(): # convert it here for chunk in r.iter_content(chunk

HTML5 video formats - compatibility

让人想犯罪 __ 提交于 2019-12-05 04:08:32
So, I'm building a website on which users can upload an watch videos. I'm using the standard HTML5 video player ( <video...> <src>... ) Currently, I use multiple sources: MP4, OGG and WEBM, for cross-browser compatibility Due to the fact that maintaining three formats is both CPU intensive (converting) as well as eating away precious disk space, I started searching the need to find out whether it's really needed to support this three formats According to the chart I found on Wikipedia ( http://en.wikipedia.org/wiki/HTML5_video ), OGG and MP4 should be sufficient, as all browsers seem to be

Force video/webm mime type using .htaccess based on request uri

扶醉桌前 提交于 2019-12-05 02:25:42
I have a rewrite rule in .htaccess RewriteRule (.+?\.fid)/ /$1 [L] with a request URI like: /123.fid/myfile.webm How can I force the mime type to: video/webm using .htaccess including the rule above? What I have attempted already, to add on TOP of the .htaccess file without success: AddType video/webm .webm and <FilesMatch "\.webm$"> ForceType video/webm </FilesMatch> I use apaches mime_magic module to look up mime type of .fid files, but this doesn't apply to webm files. I'm assuming it's the RewriteRule which is causing problems with the file type, and I need to look for webm in the request

Convert mp4 to webm with transparency?

空扰寡人 提交于 2019-12-05 00:47:08
问题 I know how to convert mp4 to webm with ffmpeg: ffmpeg -y -i me939371029.mp4 -r 30 out3.webm But I'd like to use webm transparency. That guide uses Blender, but Blender's a desktop tool that's not easily automated and only outputs PNGs that must be converted to video. I'd like a command line app that accepts video in, a color, and a video out. E.g.: some-app -i video.mp4 -transparent ff0000 -o video.webm I'd be surprised if something like this wasn't already in ffmpeg, but I can't seem to find

How to join two video files using Python?

假如想象 提交于 2019-12-05 00:02:42
问题 Here I tried to cut first and second 30sec long video file from "path/connect.webm" to the strings out and out1. It works. But what I need to do is to concatenate these two strings and write that to a file "path/final.webm". So that I get a 60sec long video file "final.webm" at the end. But now i get first 30sec long video only as the output. Please help me. Thanks a lot in advance. Code in python: import subprocess,os fname = "/home/xincoz/test/final.webm" fp = open(fname,'wb') ffmpeg

Live-Streaming webcam webm stream (using getUserMedia) by recording chunks with MediaRecorder over WEB API with WebSockets and MediaSource

寵の児 提交于 2019-12-04 20:19:52
问题 I'm trying to broadcast a webcam's video to other clients in real-time, but I encounter some problems when viewer's start watching in the middle. For this purpose, I get the webcam's stream using getUserMedia (and all its siblings). Then, on a button click, I start recording the stream and send each segment/chunk/whatever you call it to the broadcaster's websocket's backend: var mediaRecorder = new MediaRecorder(stream); mediaRecorder.start(1000); mediaRecorder.ondataavailable = function

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

核能气质少年 提交于 2019-12-04 19:36:50
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 that and how to resolve it? I had a similar problem when webm was converted with VP8 codec. I fixed