question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some vorbis files does not play in ogg container

See original GitHub issue

ExoPlayer Version

2.18.1

Devices that reproduce the issue

All

Devices that do not reproduce the issue

None

Reproducible in the demo app?

Yes

Reproduction steps

Play the attached file

Expected result

The media should play.

From my understanding after some research, it seems that this file also embed a “fake” Theora track that stream the cover. But the file have a valid Vorbis track that plays normally on other players.

The ogg parser should support those file and only return the Vorbis tracks, specially when providing a music only player.

Actual result

2022-08-03 10:25:55.919 Error/ExoPlayer: playerFailed [eventTime=3707.62, mediaPos=0.00, window=3, period=3, errorCode=ERROR_CODE_PARSING_CONTAINER_UNSUPPORTED com.google.android.exoplayer2.ExoPlaybackException: Source error at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:632) at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:602) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.os.HandlerThread.run(HandlerThread.java:67) Caused by: com.google.android.exoplayer2.source.UnrecognizedInputFormatException: None of the available extractors (Mp3Extractor, FlacExtractor, OggExtractor, WavExtractor, MatroskaExtractor, Mp4Extractor, FragmentedMp4Extractor) could read the stream. at com.google.android.exoplayer2.source.BundledExtractorsAdapter.init(BundledExtractorsAdapter.java:92) at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1017) at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920)

Media

01 - Living In A Ghost Town.ogg.zip

Bug Report

  • You will email the zip file produced by adb bugreport to dev.exoplayer@gmail.com after filing this issue.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
rohitjoinscommented, Sep 20, 2022

@Tolriq I’ll take a look on this issue in this week. Thank you for your patience.

0reactions
Tolriqcommented, Nov 22, 2022

So I decided to leave the track numbering and attribution to the one who will implement Theora support.

Opened that properly ignore invalid track and allow playing of the first valid one. https://github.com/google/ExoPlayer/pull/10807

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problems with Seeking in Ogg/Vorbis Files
Ok, my issue. I have noticed that with some (possibly all) OGG containers containing Vorbis content, VLC for Windows does not properly handle ......
Read more >
The Android Platform Doesn't Fully Support OGG Container ...
After speaking with the Tunewiki developers it seems the problem is within. Android. Android support OGG vorbis decoding just fine, and that is...
Read more >
Using Vorbis without Ogg? - Stack Overflow
I'm wondering why Vorbis needs any container at all? I know you can stick Vorbis in an Ogg container or a Matroska container,...
Read more >
OGG Vorbis Audio Files: How to Open, Convert, And Send ...
If you need to open OGG Vorbis files and do not have any compatible software, you can convert them to another format. This...
Read more >
What Is an OGG File and How to Play OGG Format - Movavi
A container isn't limited to one encoding, though some pairings are so ... Software that plays OGG Vorbis may or may not be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found