webm encode

Archived from the Transloadit support forum. Originally posted on April 27, 2011; details may be outdated, see our docs for current behavior. Original thread

how is the status from the webm robot? i try i with an mpg (h264) but it failed… but no problems with the flash encode robot

Hey Markus,

Webm should be ready for production, we just haven’t announced it yet.
There’s e.g. a demo online already: http://transloadit.com/demos/video-encode/encode-into-webm

Do you have the assembly id for me so I can investigate?

Yes i try’d the demo. The assembly id from the demo-upload is: REDACTED

i try’d it now with chrome and the webm video runs correctly, on firefox 4 not.. i think firefox doesn’t support webm?

Firefox 4 should be able to play webm. Kevin: Can you make sure our media player works with webm in Firefox 4?

(Either way: I don’t think there is an encoding issue here, unless you are saying you got an assembly error on the encoding)

I was able to reproduce the issue and traced it back to a mimetype issue similar to this one: http://stackoverflow.com/questions/4908668/mediaelement-js-in-firefox-4-beta-10

For scratch files (also used by our webm dem) we serve:

Content-Type: application/octet-stream

instead of video/webm. Which is why Firefox refuses to play the file. When you right click: “View Video” → “VLC”, you’ll notice the webm file plays correctly.

We set the correct mime-type when we store to s3 however, so you should still be able to use this successfully in production by either using s3, or storing with a .webm extension, causing the webserver to map the right mime-type.

We’ll investigate if we can provide better mime-types for people directly downloading our scratch files (like with the demos), but let me know if it also gives problems in production in the meantime, cause I don’t think it should.

We figured out a simple way to server the correct Content-Type for scratch files without extensions, I’m getting correct webm playback in FF4.0 now.

Please confirm if this solves your problem with the demos as well.