
Supported containers for Videos app ? mkv ? ogm ?
Hello,
the "Videos" app only shows .mp4 files (those from my previous andro phone on the SD) ,it does not list .mkv or .ogm files i added via usb storage
The phone is the Zte Open C, FFOS 1.3.0.x (20140519) (localized in french, bought from zte ebay)
1) I understand only part of the brazilian ticket below, but does Mozilla plan to add mkv or ogm compatibility to the Firefox Video App ? Or other containers ? What about formats of contents inside containers (x264 ? Xvid ? aac ?)
https://support.mozilla.org/en-US/questions/982536?esab=a&s=video&r=3&as=s
2) Are FFOS apps limited to the formats/containers listed in https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats#Browser_compatibility ?
If FFOS apps are limited to these formats, can Mozilla extend the number of compatible formats for FFOS ? And is it planned ? In the design for webapps, i don't have the impression that a developer (except mozilla ?) can implement a port of a C/C++ app like VLC or mplayer to FFOS ?
I know it's a hard question, but having a phone device that can also be used as a video media player and play any video format is useful, and the less recoding/remuxing the better.
Выбранное решение
Hi potf,
I was finally able to track down specific details of formats, containers, and codecs that are playable in Firefox OS. This information is also applicable for Firefox browser, and Firefox for Android.
These are the file formats that are recognizable by Firefox OS (reference):
- pictures=*.jpe; *.jpg; *.jpeg; *.gif; *.png; *.bmp;
- music=*.mp3; *.oga; *.ogg; *.m4a; *.m4b; *.m4p; *.m4r; *.3gp; *.mp4; *.m3u; *.pls; *.opus; *.amr; *.wav; *.lcka;
- videos=*.mp4; *.mpeg; *.mpg; *.ogv; *.ogx; *.webm; *.3gp; *.3g2; *.ogg; *.m4v;
Regarding the codecs and containers that are playable in Firefox OS, Firefox currently supports the following media formats where the decoding support is built into the browser (reference):
- Opus audio in an Ogg container on all platforms.
- Vorbis audio in an Ogg or WebM container on all platforms.
- Theora video in an Ogg container on all platforms.
- VP8 video in a WebM container on all platforms.
- WAV audio on all platforms.
Support for the following formats in Firefox uses operating system decoder support. This means coverage is not available across all platforms. We are working towards this goal:
- H.264 video in an MP4 container on Firefox OS, some Android devices, and Desktop on Windows Vista and up.
- AAC audio in an MP4 container on Firefox OS, some Android devices, and Desktop on Windows Vista and up.
- MP3 audio in MP3 files on Firefox OS, some Android devices and Desktop on Windows Vista and up. Support for Windows XP is coming in Firefox 26.
We hope you find this information useful. Please let us know if you have any other questions.
Thanks,
- Ralph
Прочитайте этот ответ в контексте 👍 1Все ответы (3)
hello potf, i will try to answer generally since i don't own a firefox os device and am not knowledgeable about the exact details of the issue.
when you go back in time a bit mozilla has waged resistance against the use of non-open formats like h.264 which would also require paying royalties to the mpeg la. since those formats still are rather popular on the web though, the following work-around has been found: no firefox products will ship with decoders for this formats but it will depend on the hardware's built-in codecs to play them back (explained in more detail in this blog post). so the capability to play non open formats (unlike webm or opus) will not depend on what mozilla puts into firefox os but the chipset that is in the device. this site apparently lists the supported formats for the zte open c: http://www.devicespecifications.com/en/model/c2522b27
as for the containers it might be possible to just rename them to a supported file extension (again, i am not able to test that).
with emscripten it might be possible for app developers to bring c/c++ code onto the web...
I think mkv.js is in development, but I cannot gaurantee any future support. http://support.jwplayer.com/customer/.../6062359-play-mkv-files
Выбранное решение
Hi potf,
I was finally able to track down specific details of formats, containers, and codecs that are playable in Firefox OS. This information is also applicable for Firefox browser, and Firefox for Android.
These are the file formats that are recognizable by Firefox OS (reference):
- pictures=*.jpe; *.jpg; *.jpeg; *.gif; *.png; *.bmp;
- music=*.mp3; *.oga; *.ogg; *.m4a; *.m4b; *.m4p; *.m4r; *.3gp; *.mp4; *.m3u; *.pls; *.opus; *.amr; *.wav; *.lcka;
- videos=*.mp4; *.mpeg; *.mpg; *.ogv; *.ogx; *.webm; *.3gp; *.3g2; *.ogg; *.m4v;
Regarding the codecs and containers that are playable in Firefox OS, Firefox currently supports the following media formats where the decoding support is built into the browser (reference):
- Opus audio in an Ogg container on all platforms.
- Vorbis audio in an Ogg or WebM container on all platforms.
- Theora video in an Ogg container on all platforms.
- VP8 video in a WebM container on all platforms.
- WAV audio on all platforms.
Support for the following formats in Firefox uses operating system decoder support. This means coverage is not available across all platforms. We are working towards this goal:
- H.264 video in an MP4 container on Firefox OS, some Android devices, and Desktop on Windows Vista and up.
- AAC audio in an MP4 container on Firefox OS, some Android devices, and Desktop on Windows Vista and up.
- MP3 audio in MP3 files on Firefox OS, some Android devices and Desktop on Windows Vista and up. Support for Windows XP is coming in Firefox 26.
We hope you find this information useful. Please let us know if you have any other questions.
Thanks,
- Ralph
Изменено