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

Support images as chapter marks #14235

Open
kleinf opened this issue May 26, 2024 · 3 comments
Open

Support images as chapter marks #14235

kleinf opened this issue May 26, 2024 · 3 comments

Comments

@kleinf
Copy link

kleinf commented May 26, 2024

Expected behavior of the wanted feature

There are some podcasts who use images as chapter marks and mostly only mobile apps (for example AntennaPod) support the display of this images.

Recently someone works on a player to bring this feature to us windows users: https://mp3chapters.github.io/player/

The developer made his code open source so maybe you can use this as inspiration on how to extract the ids from the mp3 files: https://github.com/mp3chapters/mp3chapters.github.io

Your player mpv has already the feature to show chapters as text and the feature to show covers as image in the gui so this would be just a step further to also show the images of the chapter marks like in this screenshot: https://mp3chapters.github.io/player/screenshot.jpg

Just to be clear: I don't expect seeing the images in the chapter list. It would be enough for me to see the images like the cover image one at a time once the chapters are reached.

Additional information about chapter marks with sample files: https://auphonic.com/blog/2013/07/03/chapter-marks-and-enhanced-podcasts/

Alternative behavior of the wanted feature

No response

Log File

No response

Sample Files

The following example files are used to demonstrate chapters:

Auphonic Chapter Marks Demo, MP4
Auphonic Chapter Marks Demo, MP3
Auphonic Chapter Marks Demo, Opus
Auphonic Chapter Marks Demo, Ogg Vorbis

@sfan5
Copy link
Member

sfan5 commented Jun 7, 2024

While it may seem like not much of a difference, displaying some kind of images pulled from file metadata alongside chapters in the osc is entirely different and will require new APIs and a medium amount of effort.
Showing chapter images instead of the thumbnail when playing the relevant chapter is not any easier.

It's likely that this won't be implemented.

@kasper93
Copy link
Contributor

kasper93 commented Jun 7, 2024

I think it is already implemented by various osc forks and scripts. It just that it was never upstreamed.

@kleinf
Copy link
Author

kleinf commented Jun 8, 2024

Hi @sfan5 and hi @kasper93, thanks a lot for your replies. I fully understand if you don't want to integrate the feature into the main code of the mpv-player if it messes up the code to much.

But if you decide against the upstream may I kindly ask for some links to the forked projects who have implemented this feature?

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

No branches or pull requests

3 participants