Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App freezes when playing OPUS #1003

Closed
stonerl opened this issue Jul 10, 2015 · 10 comments
Closed

App freezes when playing OPUS #1003

stonerl opened this issue Jul 10, 2015 · 10 comments

Comments

@stonerl
Copy link

stonerl commented Jul 10, 2015

With the latest version (1.2.1) I do have some playback problems which result in an error-message. This happens out of thin air when podcasts from opus feed are played.

Especially when using chapter-marks or fast-forward to jump to a specific part in the podcast.

I observed this with the following podcast:

http://feeds.feedburner.com/freakshow/opus
http://www.staatsbuergerkunde-podcast.de/feed/opus-rss/

To use AntennaPod again I have to force stop it.

I'm using CM12.1 Nightlies on an OnePlus One.

@mfietz mfietz changed the title Server died App freezes when playing OPUS Jul 10, 2015
@mfietz
Copy link
Contributor

mfietz commented Jul 10, 2015

E/MediaPlayer﹕ error (1, -2147483648)
W/System.err﹕ java.io.IOException: Prepare failed.: status=0x1
W/System.err﹕ at android.media.MediaPlayer._prepare(Native Method)
W/System.err﹕ at android.media.MediaPlayer.prepare(MediaPlayer.java:1135)
W/System.err﹕ at com.aocate.media.AndroidMediaPlayer.prepare(AndroidMediaPlayer.java:300)
W/System.err﹕ at com.aocate.media.MediaPlayer.prepare(MediaPlayer.java:864)

Google lead me to https://code.google.com/p/android/issues/detail?id=80729 and https://code.google.com/p/android/issues/detail?id=158490

Looks like OPUS is still pretty experimental on Lollipop.
On the other hand, OGG has worked pretty good for me in the past. OGG files seem to be only slightly larger, so I would recommend sticking with them.

@gsauthof
Copy link

I cannot confirm this issue. I've listened to several Opus feeds with Antennapod since it is possible (i.e. since I've upgraded to Android 6) and haven't encountered such playback issues.

I've upgraded a Nexus 5 device to Android 6 since it was released. I also use Antennapod Opus playback on a Nexus 5x - didn't notice any playback issues there so far, too.

Opus feeds I've subscribed to are for example feeds from the metaebene.me (e.g. Freakshow, Logbuch Netzpolitik, ...) and Binärgewitter.

@stonerl
Copy link
Author

stonerl commented Dec 29, 2015

Well then it seems Android 6 got opus support. Will test this.

@stonerl
Copy link
Author

stonerl commented Dec 29, 2015

Close as fixed

@stonerl stonerl closed this as completed Dec 29, 2015
@mfietz
Copy link
Contributor

mfietz commented Dec 29, 2015

According to Google [1], OPUS has been introduced in Lollipop.

[1] http://developer.android.com/intl/ko/guide/appendix/media-formats.html

@stonerl
Copy link
Author

stonerl commented Dec 29, 2015

OK, let me rephrase it to: Android 6 finally got proper opus support. :-)

@stonerl stonerl reopened this Dec 29, 2015
@stonerl stonerl closed this as completed Dec 29, 2015
@stonerl
Copy link
Author

stonerl commented Dec 30, 2015

Just an additional note; the problem seems to be CyanogenMod not Android nor AntennaPod. I installed today's cm nightly and opus playback got butchered again.

@mfietz
Copy link
Contributor

mfietz commented Dec 30, 2015

@stonerl Did you try this with the same Opus files or different ones? It might just be that the decoder is not able to decode files with particular features.
Android only seems to be able to play Opus when it is encapsulated in Matroska (mkv), but the recommended container for .opus is the Ogg container [1].

[1] https://en.wikipedia.org/wiki/Opus_(audio_format)#Containers

@stonerl
Copy link
Author

stonerl commented Dec 30, 2015

I tried the same file. Opus file in ogg-container. The file worked yesterday but today after the upgrade the file does not playback anymore. It is just sizzling.

-----Original Message-----
From: Martin Fietz notifications@github.com
To: AntennaPod/AntennaPod AntennaPod@noreply.github.com
Cc: "Toni Förster" toni.foerster@gmail.com
Sent: Wed, 30 Dec 2015 11:43
Subject: Re: [AntennaPod] App freezes when playing OPUS (#1003)

@stonerl Did you try this with the same Opus files or different ones? It might just be that the decoder is not able to decode files with particular features.
Android only seems to be able to play Opus when it is encapsulated in Matroska (mkv), but the recommended container for .opus is the Ogg container [1].

[1] https://en.wikipedia.org/wiki/Opus_(audio_format)#Containers


Reply to this email directly or view it on GitHub:
#1003 (comment)

@mfietz
Copy link
Contributor

mfietz commented Dec 30, 2015

Alright. Let's settle on: CyanogenMod's fault. AGAIN... :>
[and people seem to wonder why one of my first questions always is whether or not they are using a custom rom...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants