-
Notifications
You must be signed in to change notification settings - Fork 133
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
Opus/Vorbis/OGG doesn't work on iOS (+ discussion on new player backends) #177
Comments
logs from finamp? |
Finamp logs: https://paste.gg/p/anonymous/c238f1a4142447909d5abae177e9166e It works on Jellyfin web client and ios client, i don't have and android phone to try Finamp on not transcoding, audio plays if i turn it on |
What codec is your audio? OPUS and Vorbis aren't supported yet on iOS as iOS doesn't natively support those formats (it's dumb I know) |
@UnicornsOnLSD thanks for your work on this app, I love it I'm not super familiar with Flutter, but this might be a solution |
That's a really interesting looking package, I'll do some testing with it :) |
Not even transcoding it?? Also I’m kinda having this issue again, but now it only shows songs I’ve hearted on jellyfin web/iOS app, and yeah nothing opus is playing, annoying given that the vast majority of my music is opus |
Transcoding should work since Jellyfin will then serve it as AAC, which is supported. As I said, this is an iOS issue so it isn't likely to get fixed in the future. I believe the libopus package that was sent here was for when you want to encode Opus audio in your app, so it won't be useful here. As for only showing favourite content, you can disable the favourite view by clicking on the star in the top right. |
Just noting here a comment I left on a duplicate issue - #236 (comment) As said there, it would be interesting to see if it would be possible to use just_audio_mpv. In theory it should be possible, but there has been a lot of discussion in just_audio regarding whether or not bundling MPV in apps is legal. I'd assume that the MPV guys aren't too bothered based on mpv-android The developer of just_audio gave a very good explanation on why MPV may not be possible in this comment - ryanheise/just_audio#178 (comment) |
Apparently you can implement this by yourself I don't know it is complicated. |
Yeah the libraries would only let me encode/decode those files directly, you can't plug them into Apple's player. |
Maybe https://github.com/leinelissen/jellyfin-audio-player can be used for how to implement this? It's MIT and they have implemented opus playback |
On iOS? It looks like they have the same issue - leinelissen/jellyfin-audio-player#97 I've looked further into MPV, it'll probably be possible as it's LGPL2 (some bits are GPL only but we can safely ignore them). The concerns around legality come from GPL3's Tivoization-prevention stuff. |
In my case I can successfully play opus files (maybe it's transcoding?) |
Is that fixed in the AppStore version? I tried again but still couldn’t play music :( |
It's not out yet, hopefully it will be soon. As I said, it breaks direct play at the moment so its probably a good thing that I was slow to publish it lol |
@fuomag9 it should be out now. You can also try out the beta version which has support for transcoded downloads! :) |
Is it normal for OGG files to crackle and skip a bit while transcoding is on? |
I honestly don't know, but probably not. I guess this is on iOS? Does it also happen if you download them as a transcoded version? |
@gummykage I noticed the same issue and reported in #600 |
I'm running into this issue as well on ios |
Idk if anyone has tried this, but I got finamp to direct play opus on macos, installed as an ios app Update: I was told by someone that this is limited to mono or stereo audio, but I have not verified this myself. Steps are as follows:
Alternatively, you can transcode other codecs to opus if desired, not recommended if source is lossy:
|
iphone 8, ios 13
The text was updated successfully, but these errors were encountered: