-
Notifications
You must be signed in to change notification settings - Fork 174
Unable to play opus files in Windows 10 and Android 10. #168
Comments
I also converted a book to opus files and am having similar issues. Audacious player plays the files with no problem, but Deadbeef player will only play the first file, and returns vague "ERROR: could not load:" on all the rest. I noticed that the README.md states "The extension is .ogg", but in fact the files that my copy of AAXtoMP3 (v1.3) output had ".opus" extensions. I tested by changing one file's extension to "ogg" but it didn't enable deadbeef to play it. I was also curious if the metadata could be causing problems. I removed the VorbisComment tag from the file - no go. Wasn't sure if there could still be other issues with the opus headers. I also tried "converting" the file to same parameters as you did (using soundKonverter) and it worked for me too. One additional bit: I opened one of the suspect files in MediaInfo and it reports that it has video content!
The file that I converted with SoundKonverter only has audio content. Something's going wrong in the conversion to opus. |
I saw some mention online that FFMPEG might not be able to add cover art to Opus files which would explain the video data. Seeing as ogg does offer support for video it might very well be that this is what is causing audio players to error. I encountered the same issue when having chaptered Opus files in both the "Voice" Android app and the PlexAmp Android app both running on Android 11. Seeing as there appears not to be a condition in the script which turns off the image input in the script when it is splitting the main file into chapters this could be causing the issue. Hope this helps to fix the issue as I would really love to use Opus to encode my audiobooks. |
Removing lines 872, 873, 875 & 876 fixed it for me. So presumably changing these to be conditional on not having the opus format selected will fix the issue. Its important the -map options are also removed or FFMPEG will give an error. I'm not amazing with bash nor super familiar with the script so I will leave the actual implementation of the fix up to someone else. I literally just deleted the lines in my own copy of the script as I will only use the opus format anyways. |
Hello,
First of all thanks a lot for this amazing work.
I would like to ask for a help. I am able to convert my books from aax to opus files with this command
bash AAXtoMP3 -o -A myAuthCode -t /home/marcel/Books/ ./audible_dir/Content/*
The problem is that I am unable to play them On Android 10 phone (tried different makes) with any player except VLC. However, VLC has problems to fast forward and rewind back. Any other apps like Booksonic or Smart AudioBook Player that I have purchased are unable to play the files and just pass through the files with the result that the book is finished.
In addition, I tested the files with these players:
Opus file specs:
An interesting thing is that if I use SoundConverter in Pop OS or LameXP in Windows 10 and set it to the same output parameters as the file has currently, the resulting output opus file works without any problem.
Here is one opus file that was converted with AAXtoMP3: https://drive.google.com/file/d/19tjDo2xWuycRUbdWOEsJ43f9QKOD2GzY/view?usp=sharing
Any help is very appreciated.
The text was updated successfully, but these errors were encountered: