webm encode

Started by Markus_Tiefenbacher5 replies16 views
Markus_TiefenbacherOriginal post
#1

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

Markus_Tiefenbacher
#3

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?

Felix_Geisendorfer
#4

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)

kvzTransloadit team
#5

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.

kvzTransloadit team
#6

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.