Closed ghost closed 9 months ago
Those are older formats, but adding Theora support should be really easy, I'd imagine, as it was FOSS from the beginning. MPEG1 and MPEG2 were patent-encumbered at one time, but they have apparently lapsed. MPEG2 is well supported with FOSS libraries as well. None of the formats they support give the quality at a given bitrate that h264 and h265 offer, but I understand why they wish to avoid them, and agree it's probably a good idea.
Which webm CODECs does the webm support just added offer? They're quite specific about which ones are acceptable.
VP8 and VP9
VP8 and VP9
That definitely will resolve the issue, and probably those are the best options from the available ones. Thank you very much for the time and effort you invested in this.
Please not that VP9 codec was added in Android 13. So you'll need a newer device to use VP9. VP8 will work on all devices.
Also, for some reason the audio codec is hardcoded as AAC in the screen recoder. So it will use AAC codec with the chosen video codec.
Also, for some reason the audio codec is hardcoded as AAC in the screen recoder. So it will use AAC codec with the chosen video codec.
Ouch. That's a huge problem. AAC is patent-encumbered, and not eligible for upload at WikiMedia. It should be using Vorbis or Opus to be eligible. AAC isn't even correct for the WebM standard, which also calls for Vorbis or Opus, although it will usually work, as the Matroska container used for WebM supports AAC, and most players can decode it.
Unfortunately, the work you did resolves the specific feature requested, but reveals a second change needed to fully resolve the OP's request, I.e., to be able to directly record WikiMedia compliant video files.
@Bnyro is there a reason for hardcoding the AAC codec for screen recordings?
Describe your suggested feature
Other details
No response
Acknowledgements