Something that might be informative for vp8 encoding speed is krad cam, a little android app that was recently cobbled together that allows you to create a webm stream. It can be had here: http://websca.ws/krcam.apk
I would be in favor of supporting only Opus for audio-only streams, but I won't cry about other choices. As for VP9, it is dreadfully slow and unusable at this time, the only good news is that going from supporting vp8 to vp8 and vp9 should just be a few lines. Thanks, David vp8 decoding and encoding benchmark for android: https://play.google.com/store/apps/details?id=ws.websca.benchscaw&hl=en ----- Original Message ----- From: "Chris Pearce" <[email protected]> To: [email protected] Sent: Monday, June 17, 2013 3:19:04 PM Subject: What formats do we want to support for MediaEncoder? I saw that C.J filed bug 883749: "[MediaEncoder] Implement Vorbis/ MP3 encoding format" https://bugzilla.mozilla.org/show_bug.cgi?id=883749 I think it would be good to have a discussion as to what formats we're going to support in MediaEncoder. In terms of audio formats, Shelly and Randy already been working on an Ogg/Opus encoder. MP3 encoding seems like a good idea as MP3 has widespread support. MP3 isn't good at streaming cases, but Opus and Vorbis are. MP3 also isn't good at low latency. Vorbis is less clear cut. Opus is technically better than Vorbis, Opus is better at low latency encoding than Vorbis, and Opus also royalty free. Vorbis does not have as widespread adoption as MP3. So if we want to only implement one audio-only royalty free format to discourage format proliferation, then perhaps we should focus on only supporting Opus? In terms of video, since we're focusing on mobile/FxOS, it seems to me that H.264/AAC might give us hardware accelerated encoding, and widespread support. It would be good to support a royalty free video format for encoding, but the only real candidate is VP8/Vorbis/WebM. I've been led to believe that VP9/Opus/Webm2 isn't really viable yet as VP9 encoding is very slow. What are people's thoughts? Cheers, Chris Pearce _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

