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
Seeking and metadata extraction from matroska file #626
Comments
Can you report this upstream? |
TBH I'm not sure what do you mean by upstream. I didn't investigate which part of the application is responsible for seeking and what library or sth fails in doing that. I think I can do it but not earlier than in the next week. |
The part of the application responsible for the media playback is ExoPlayer, so it would be great if you could report it there. |
Anyway around this issue before I go convert my files? |
@0rAX0 |
Actually, I stumbled upon it the other day and came searching the open issues before reporting. :) The files were Youtube videos downloaded using JDownloader with AAC option to only get the sound. I can provide more info on the issue if you want. |
I have the same issue. |
@rezad1393 @p2004a Did you try doing Thing is, ffmpeg does not write information that is necessary for seeking/chapter selection to work to audio-only Matroska's and WebM's unless you explicitly ask for it (-dash 1 option) See here for further info |
I confirm that what you suggested @x0wllaar fixes the problem. Few quotes about Cues element that is missing from the Matroska files that don't work: From Matroska specification: From webm spec, demuxer guidelines: So it seems that it's kind of fine to not support seeking in files without Cues. Maybe it would be nice to detect those files and report to the user why he can't seek in them and hint how to fix it? |
what about the aac files downloaded from youtube? |
So thanks to this thread I've figured out how to add cues to my MKA files by using ffmpeg with But now I've found that I'm unable to get cover art working - I've added the |
And in fact now, it seems Voice is unable to read the Cue data from my mka files again, and the timestamps are showing hundreds of hours on the player screen and negative on the index screen. Was there an update recently that could have broken it? |
Send me a file and I'll look into it. |
Here you go. I put this together from TED talk audio, converted with ffmpeg to AAC in an MKA container, using the |
The situation was the opposite before the 1st April update - timestamps, seeking, and chapters were all working great, but cover extraction was not. |
Does it work for you in 5.0.1? @giddie |
I'm still on 5.0.0 from Google Play. Is there an APK I can test? |
Sure, I attached the release here. Super annoying how slow google play releases on corona ^^ |
Yes! That fixes it, and the cover art is still extracted correctly. I did notice that the grid layout doesn't work with this build — only one tile per line instead of two, but that's by the by. Thanks for taking the time to sort this :) |
@giddie can you open a ticket with a screenshot? |
Sorry, I was being an idiot: it was only because I had two audiobooks visible, and one was "Current" and the other "Not started yet". Everything is perfect. Thanks again! |
I created a simple Matroska file with Opus stream: https://drive.google.com/file/d/0B8b4jUX2s15VTWRKbjk4bmRIX1E/view?usp=sharing
The playback starts fine but seeking fails. After pausing, unpausing also restarts playback.
The other problem is the app didn't extract both the title and the cover from the file.
After re-encoding file from mka/opus to mka/aac using ffmpeg, problems didn't disappear so it looks like a problem with Matroska container support.
App-Version: git master (c89b1ad)
Phone Name: Sony Z2, Nexus 5X API 26 x86 (Emulator)
Android Version: 6.0.1, 8.0
The text was updated successfully, but these errors were encountered: