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
External audio autoload #967
Comments
What's the use case for this over just using |
Some still distribute unimportant audio tracks as separate files to save bandwidth (like commentary tracks and similar). But yeah, I agree it's pretty rare. |
I think it would be more consistent.
I wish they were. Even now, releasers on russian trackers often put original audio track as external for movies (and localized audio for anime). Not to mention old releases and commentary tracks. Also, I heard that Windows splitters do this (ffdshow, LAV?) |
Here you are patch for mpv 5.1, that implements this funtctionality: https://gist.github.com/eternal-sorrow/47749ac998d769446b09 . It's rough and made by copy-paste from the same code of subtitle loading, so it may be optimised by making some parts of code common for subtitle and audio. Also this patch doesn't contain documentation (--list-options entry, man page edits). |
Thanks, but no. |
Could you even say, what I can do better? It's important functionality and I want it to be in the best video player for linux, so I tried to implement it by myself to show that it's not very difficult. If you don't like my implementation, write yours, or just give me advice what I should do another way. |
|
Its a very useful option and is present in MPC-HC. Most of the TV series/Anime/Movies aren't local made and while subtitles are great sometimes you just want to relax from reading especially if you're watching it with someone else. Linux users unlike Windows ones can't switch to MPC-HC for TV series watch. There can be 2 options:
Also 2nd option can be added to subtitles as well. At this point we have a need either to copy them or make links to the same folder as video. Its a very needed feature please make it be. |
Please mux it if that's the case using mkv/webm or any media container. |
Sure, muxing it is much faster and won't require additional disk space, much easier than tapping a play button or even manually loading audio track. |
Sure, if I'd make a release, I'd mux it into mkv, but if I just downloaded from tracker new season of my favourite anime with external audio, i just want to press Enter and enjoy. But I got it working for me, so it's nothing to complain about :) |
We're all glad it's working for you. |
For those who are interested in this feature, bomi have it now |
@oneoneleven, my patch was not accepted, as you can see. |
You don't need to be so sour about it. Anyone would reject it, because it duplicated large amounts of code. |
It's just proof-of-concept patch. I'm not Linus Torvalds nor Dennis Ritchie. I made it in 20 minutes with the cup of coffee. And it works! Even though some major releases of mpv passed, it still works. If you can understand what this patch does, you can do the same things right way. |
Great! Also it would be great to honor |
It should be doing that, though the external tracks always preferred over internal. |
Apparently some people want this. Not enabled by default. Fixes mpv-player#967.
@wm4 Is it possible to set mpv to prefer internal audio tracks. I need this feature because I want mpv to auto-load audio commentary but I don't want mpv to use audio commentary by default. |
Just use |
I don't use external audio tracks often. It's just some of my anime collections have external audio commentaries. I want them to be auto-loaded so that I can toggle audio when I need them. |
Hi guys, So I wrote the tool for mpv that autofinds and loads differently named subs and external audio by the episode number |
The official manual has given this option. |
(haven't found anything related in issue tracker)
It would be nice to have external audio tracks loaded automatically, like subs.
The text was updated successfully, but these errors were encountered: