GeezerVison is showing github.com — Support more formats in the Ogg container (e.g. Theora) · Issue #4970 · google/ExoPlayer
Support more formats in the Ogg container (e.g. Theora) #4970
Description
movie.ogg.zip
Can't play this ogg file. OggExtrator.sniffInternal will return false, so none of the available extrators.
Activity
Yourbadman commented on Oct 17, 2018
OggExtrator.java
if (!header.populate(input, true) || (header.type & 0x02) != 0x02) {
return false;
}
will be return false;
but i can play this ogg file in Android MediaPlayer.
ojw28 commented on Oct 17, 2018
That's not what happens. It's returning false further down:
if (FlacReader.verifyBitstreamType(resetPosition(scratch))) {
streamReader = new FlacReader();
} else if (VorbisReader.verifyBitstreamType(resetPosition(scratch))) {
streamReader = new VorbisReader();
} else if (OpusReader.verifyBitstreamType(resetPosition(scratch))) {
streamReader = new OpusReader();
} else {
return false; <---------- here
}
This is because we only support Vorbis, Opus and Flac inside the OGG (see our supported formats page). Where-as I think this particular file contains Theora video. Marking as an enhancement, but I doubt this will considered high priority.
changed the title
[-]UnrecognizedInputFormatException: None of the available extractors[/-] [+]Support more formats in the Ogg container (e.g. Theora)[/+] on Oct 17, 2018lukwin91 commented on Dec 12, 2019
Hi, are there any chances to add Theora support?
Reacted by Matthias Schicker
EchedelleLR commented on Jan 12, 2021
I am also interested in Ogg Theora support.
Reacted by Matthias Schicker
icbaker commented on Nov 5, 2025
Closing this as a duplicate of androidx/media#2876 to move this request to our newer issue tracker.
Metadata
Metadata
Development
No branches or pull requestsIssue actions