Feature #775

mkv track names display

Added by Poseidon Pontomedon over 9 years ago. Updated over 9 years ago.

Status:FixedStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:3.4

Description

This is especially useful for audio and subtitle tracks, because if there are multiple audio or subtitle tracks with the same language (commentary audio or subtitles for the hearing impaired), it is hard to distinguish between them (if the ordering is not known); but i guess it makes also sense for video tracks.

VLCPlayer displays the track name followed by a dash and the track language in [] (if specified), a good way to display this info, i think.

A sample mkv file is available, if needed.

Test.mkv - Test file with 1 Video, 2 Audio and 8 Subtitle Tracks (30.3 MB) Poseidon Pontomedon, 11/16/2011 01:36 PM

Test.txt Magnifier - Description of the tracks in the Test.mkv file (1.2 KB) Poseidon Pontomedon, 11/16/2011 01:36 PM

Multiple_Streams_and_Chapters.mkv - 1 Video, 2 Audio, 9 Subtitle Tracks, 6 Chapters (30.3 MB) Poseidon Pontomedon, 11/21/2011 10:12 PM

Streams.txt Magnifier - Description of the individual tracks (1.29 KB) Poseidon Pontomedon, 11/21/2011 10:12 PM

Associated revisions

Revision 60980cef
Added by Andreas Smas over 9 years ago

Extract title of tracks from matroska files

Fixes #775

Change included in version 3.3.246

Revision e75d16d7
Added by Andreas Smas over 9 years ago

Always try to give audio/subtitle tracks a name

refs #775

Change included in version 3.3.264

History

#1 Updated by Jérôme S. over 9 years ago

agreed

#2 Updated by Andreas Smas over 9 years ago

  • Status changed from New to Need feedback

You talk about the items that can be selected in the menu now?

#3 Updated by Poseidon Pontomedon over 9 years ago

hm i don't quite know which menu you mean, so i just post a step by step :)

I use Showtime 3.2 on the PS3, watching a DVD resolution mkv over dlna (the server is minidlna on freenas).

During playback, i press the triangle button, navigate to the audio button and press x.
I can see three audio tracks there; their languages on the left, their specs on the right. Languages and specs are correctly displayed for all three tracks, but their names are missing.
I would love the VLCPlayer display style here (instead of only displaying the language, display "track name - [language]" if both the name and the language property of the track are set. i think VLCPlayer uses "track name" or "[language]" if only one of the two properties is available.)
The exact same Problem applies to the subtitle selector screen, where it is even more needed, because i have files with subtitle layouts like:
1) english (forced subs)
2) german (forced subs)
3) english
4) german
5) turkish
6) hebrew
7) hindi
8) english for the hearing impaired
9) english (commentary)
10) german (commentary)
so there are four tracks marked as english...

Oh and in case you meant the menu in the VLCPlayer:
right-click into the video -> audio -> audio track
or
right-click into the video -> video -> video track
or
right-click into the video -> video -> subtitles track

#4 Updated by Poseidon Pontomedon over 9 years ago

btw: mkvinfo (http://www.bunkus.org/videotools/mkvtoolnix/) displays the track names as the attribute "Name" of a Track.

#5 Updated by Andreas Smas over 9 years ago

  • Target version set to 3.4

Please attach a sample file too!

#6 Updated by Poseidon Pontomedon over 9 years ago

Sample with 1 Video, 2 Audio and 8 Subtitle Tracks.
The attached text file contains a description of each track, along with the String VLCPlayer uses to for the track.

I also set the 'Name' property of the Container ("Based on test5.mkv (http://matroska.org/downloads/test_w1.html)")

#7 Updated by Andreas Smas over 9 years ago

  • Status changed from Need feedback to Fixed
  • % Done changed from 0 to 100

#8 Updated by Poseidon Pontomedon over 9 years ago

Thank you for the fix, works nicely.
A little thing i just noticed: when watching an avi container (with only one audio and one video track; and without any metadata as far as i can see) the audio track is displayed as only "MP3, 48000Hz, stereo, 128Kb/s" on the right side of the screen. the left side of the line is empty (I hope it's clear what i mean).

I think it would be a nice thing to display something like "Track 1" or "Audiotrack 1".

#9 Updated by Poseidon Pontomedon over 9 years ago

Sorry, another update. I experimented a bit further and noticed the same thing for matroska files as well, if neither the track name nor the language is set (applies to audio and subtitle tracks).
I attached the same file as before again, this time with a ninth subtitle track with no language and name. (And also with chapters, because i already added them for Feature #786 :))

#10 Updated by Poseidon Pontomedon over 9 years ago

Thanks again for fixing, looks good after Revision e75d16d7.

A tiny thing thats bugging me.

I have a few files with audio/subtitle tracks names with brackets (e.g. "English (Commentary)"), but as far as i see, the opening bracket is always displayed as a "|", so that the name reads "English |Commentary)".

I think it might just as well be my old tv set, but the closing bracket is displayed just fine, so i thought i'd ask :)

#11 Updated by Andreas Smas over 9 years ago

This sounds weird.
Showtime never appends any (Commentary) strings so this must be something from the file itself?

Also available in: Atom PDF