Questions tagged [webm]

WebM is an open video encoding standard by Google. It consists of video streams compressed with the VP8 or VP9 video codec, audio streams compressed with the Vorbis or Opus audio codecs, and WebVTT text tracks. It may contain alpha planes for transparency.

For the purposes of the video tag introduced by HTML5, there was a need for an open (royalty-free) video codec which could be incorporated into free open source projects. WebM is Google's answer to this challange. An other possibility is Theora (also royalty-free).

Other vendors are voting for H.264 (mostly Apple and Microsoft), for which they already bought the licenses to incorporate into their web browsers.

633 questions
13
votes
2 answers

openCV - ffmpeg H264 and Webm error

I have ubuntu 16.04 LTS and OpenCV 3.4.0 Installed(Intel i5 and AMD graphics card), I need to create a browser supported video, which is playable in browser. If I'm using H264 im getting OpenCV: FFMPEG: tag 0x34363248/'H264' is not supported with…
Karthikaeyan
  • 655
  • 1
  • 9
  • 13
13
votes
0 answers

Media Recorder API generated webm badly encoded?

when I record a video with the Media Recorder API and download & open it with VLC, length of the video is unknow. Furthermore, on Chrome mobile (52.0.2743.98) if I read it in a video tag, length isn't show, currentTime will always be 0 and the…
13
votes
2 answers

Specified "type" attribute of "video/mp4" is not supported

I am using mediaelement js.. on my .htacces I have these.. AddType video/mp4 mp4 m4v AddType audio/mp4 m4a AddType video/ogg ogv AddType audio/ogg ogg oga AddType video/webm webm and on my index.html I have this on my
markyeoj
  • 359
  • 2
  • 6
  • 17
12
votes
1 answer

Recording cross-platform (H.264?) videos using WebRTC MediaRecorder

I have the following specified with my MediaRecorder implementation: const getMediaRecorderOptions = function () { var options = { mimeType: "video/webm;codecs=vp8" }; // 9 was lagggy, cpu-intensive if…
SB2055
  • 12,272
  • 32
  • 97
  • 202
12
votes
0 answers

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

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…
12
votes
5 answers

Convert mov with Alpha to VP9 Webm with Alpha Using ffmpeg

I am trying to convert a mov with alpha transparency to webm with alpha transparency, as seen here. I followed the steps explained here to no avail. From this answer I was able to remove all the black in the video, thus making it transparent but…
Enijar
  • 6,387
  • 9
  • 44
  • 73
12
votes
1 answer

How to generate Initialization Segment of webm video to use with Media Source API

I'm building a small application that use MediaRecoder API to split the recoding video from webcam and upload all the part to server. I see that with Media Source API, I need to play the first part and then play any other part. According to…
nvcnvn
  • 4,991
  • 8
  • 49
  • 77
11
votes
2 answers

FFmpeg WebM AV1 Support

With FFmpeg how can I use AV1 codec in a webm container? I get the error: Only VP8 or VP9 video and Vorbis or Opus audio and WebVTT subtitles are supported for WebM. Could not write header for output file #0 (incorrect codec parameters ?): Invalid…
Matt McManis
  • 4,475
  • 5
  • 38
  • 93
11
votes
1 answer

FFmpeg - Convert MP4 to Webm very slow

I need convert MP4 to webm with ffmpeg. So, i use : ffmpeg -i input.mp4 -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis output.webm But it's very long. Is there faster ?
Luzwitz
  • 197
  • 1
  • 3
  • 11
11
votes
1 answer

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

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…
Johnny Slack
  • 133
  • 1
  • 1
  • 6
11
votes
1 answer

API for webm video conversion

Does anyone know about any (prototype) c# API's for converting video to google's new WebM video format?
Klaus Byskov Pedersen
  • 117,245
  • 29
  • 183
  • 222
11
votes
2 answers

HTML5 Video (both webm and MP4) are showing a blank white screen and aren't playing

I've done an hour of googling but I either suck at it, or it isn't a common issue. Here's my video tag:
user3541693
  • 135
  • 1
  • 1
  • 6
11
votes
1 answer

HTML5 video formats - compatibility

So, I'm building a website on which users can upload an watch videos. I'm using the standard HTML5 video player ( ...) Currently, I use multiple sources: MP4, OGG and WEBM, for cross-browser compatibility Due to the fact that…
Flock Dawson
  • 1,842
  • 4
  • 22
  • 34
11
votes
1 answer

Are there any specific requirements to enable "fast-start" progressive download with webm and ogg codecs?

I know that with mp4, the moov atom must be placed at the beginning of the file to enable progressive downloading. That can be done by enabling "faststart" when creating the file. I'm curious if there are any similar requirements when dealing with…
stefmikhail
  • 6,877
  • 13
  • 47
  • 61
10
votes
3 answers

Send chunks from MediaRecorder to server and play it back in the browser

With the following code in NodeJS I'm able to play a webm file served from server: app.get('/video', function(req, res){ res.writeHead(200,{ 'Connection': 'close', 'Cache-Control': 'private', 'Content-Type': 'video/webm' …
Valdir
  • 495
  • 2
  • 7
  • 20
1
2
3
42 43