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
10
votes
0 answers

Get cluster offsets from ebml cues

I'm attempting to stream youtube using Media Source Extensions (MSE) and it works fine but when trying to get seeking working I came across the problem that I don't know the byte ranges for certain time ranges. Using ebml parsing I can get the cues…
Zachrip
  • 3,242
  • 1
  • 17
  • 32
10
votes
0 answers

Creating web-browser playable webm files with vp8 SDK?

I'm using the vp8 SDK (www.webmproject.org) to create a vp8-encoded video file. However, the SDK sample produces an IVF file, which the browser doesn't play. I know the webm format is a matroska container so I guess I should store the video data in…
Florin
  • 2,891
  • 4
  • 19
  • 26
10
votes
2 answers

webm before or after mp4 in HTML5 video element?

Every tutorial/explanation I see out there that discusses HTML5 video format fallbacks use this type of markup as an example:
Jake Wilson
  • 88,616
  • 93
  • 252
  • 370
10
votes
1 answer

How to play webm file in iOS video player

I want to give support of webm file in iOS , but iOS doesn't support this format to play a video. i Even tried to play it through HTML5 video tag but safari doesn't support webm format in HTML5 video tag that means i also cant make it work through…
Hamza aziz
  • 101
  • 1
  • 1
  • 3
9
votes
1 answer

how to replace audio track in mkv file (on Ubuntu 11.10)

I have a mkv file with webm video and ogg audio an ogg audio file I want to replace the audio in the mkv file with the audio from the ogg file. How can I do that on Ubuntu 11.10 with programs available from default repositories? The resulting file…
didi_X8
  • 5,018
  • 10
  • 42
  • 46
9
votes
2 answers

How to play WEBM files individually which are created by MediaRecorder

For recording audio and video, I am creating webm files under the ondataavailable of MediaRecorder API. I have to play each created webm file individually. Mediarecorder api inserts header information into first chunk (webm file) only, so rest of…
Suman Bogati
  • 6,289
  • 1
  • 23
  • 34
9
votes
4 answers

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

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…
Jon Skarpeteig
  • 4,118
  • 7
  • 34
  • 53
9
votes
2 answers

Convert video to WebM using GStreamer

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…
Ory Band
  • 14,716
  • 14
  • 59
  • 66
9
votes
1 answer

Extract audio from webm video into m4a audio files

Can I use ffmpeg or another command-line tool (I recently downloaded mkvtoolnix for example) to directly extract audio into m4a files from webm videos? I've previously been doing this 2-step process: ffmpeg -i input.webm temp.mp4 ffmpeg -i temp. mp4…
theonlygusti
  • 11,032
  • 11
  • 64
  • 119
9
votes
2 answers

Decoding VP9 with Alpha Channel in Android, is it possible?

Currently FFmpeg support VP9 compression to yuva420p. Using grafika as code base I am implemented playing VP9 yuva420p encoded video in Android (using SurfaceTexture and MediaCodec), but I can't get Alpha channel from the video. I checked that video…
AndreyICE
  • 3,574
  • 29
  • 27
9
votes
1 answer

Frame by frame decode using Media Source Extension

I've been digging through the Media Source Extension examples on the internet and haven't quite figured out a way to adapt them to my needs. I'm looking to take a locally cached MP4/WebM video (w/ 100% keyframes and 1:1 ratio of clusters/atoms to…
Dustin Kerstein
  • 450
  • 5
  • 13
9
votes
1 answer

Why does FFMPEG always make large WebM files?

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…
Student of Hogwarts
  • 1,108
  • 3
  • 14
  • 28
8
votes
3 answers

Video element disappears in Chrome when not using controls

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
Trolleymusic
  • 2,162
  • 3
  • 19
  • 26
8
votes
1 answer

Constantly resizing .webm file

I've been messing with webm file headers (messing with the header data for file length etc.) and in the process I stumbled upon a webm that behaves weirdly. I reuploaded it here on webmshare. It constantly resizes itself which makes it hard to…
HilbertB
  • 352
  • 1
  • 2
  • 12
8
votes
2 answers

How to Extract Audio from WebM File

I just want to get a audio file(opus codec used) only in webm file. I try to search what is webm format, how to parse, but I cant get info well. I check that webm format is from mkv, then should I check the mkv first? there is just one github code,…
user225549
  • 177
  • 2
  • 9
1 2
3
42 43