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

LAV Splitter Subtitles Selection #587

Open
AlreadyFree opened this issue Apr 14, 2024 · 4 comments
Open

LAV Splitter Subtitles Selection #587

AlreadyFree opened this issue Apr 14, 2024 · 4 comments

Comments

@AlreadyFree
Copy link

AlreadyFree commented Apr 14, 2024

Does LAV Splitter recognize the Commentary flag for audio & subtitles in an mkv file? I have a file where the main track is #1 Spanish with English subtitles flagged default, #2 English Dub audio with forced English subtitles, an #3 English commentary track with no subtitles and a #4 Spanish commentary track with forced English subtitles. The 2 commentary tracks have had the commentary flag applied within the mkv.

Using these rules (eng:eng|f eng:off *:eng|d) I can get the first 2 tracks to select the correct subtitles. However choosing the English commentary audio track will cause the forced subtitles for track 2 to be selected. And with the Spanish commentary track I get the English subtitles for the 1st audio track.

I have the commentary audio tracks named: "(1.0 ch) (AAC) (Commentary by Whoever)" and the subtitle tracks named: "Commentary by Whoever". I know it's possible to use the @ symbol to denote the track title but it seems to only work for subtitle, not audio. *@commentary:Eng@Commentary doesn't seem to work but *:Eng@Commentary does. Is that right?

Seems like ideally there would be a new indicator for the commentary flag and that would solve the problem. Example: eng:eng|f eng|c:eng|c eng:off *:eng|d *|c:eng|c *:off

If that's already a possibility somewhere it's not documented and I can't figure it out.

@AlreadyFree AlreadyFree changed the title LA LAV Splitter Subtitles Selection Apr 14, 2024
@Nevcairiel
Copy link
Owner

Subtitles are not re-selected when you change an audio stream, the rules are for initial selection only, and I would assume you don't generally want a commentary track to be the default.

@AlreadyFree
Copy link
Author

At least with the LAV Splitter version integrated into MediaPlayerClassic-HC there is an option to "Reselect subtitles on every audio switch". I assumed this was a native LAV Splitter feature but maybe it's a MPC-HC modification. Great feature either way!

@clsid2
Copy link
Contributor

clsid2 commented Apr 16, 2024

That is native feature.

The track name matching only applies to the subtitle track itself.

@AlreadyFree
Copy link
Author

Any chance for it to be implemented for audio tracks also? I'm sure it would be useful in other scenarios outside of selecting commentary tracks.

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

No branches or pull requests

3 participants