MKV all track

Started by pkar, July 04, 2017, 07:21:31 AM

Previous topic - Next topic

pkar

MKV file can have several subtitles inside it.
Now, exiftools prints only one (probably: last) subtitle track info. Same for audio tracks.
Could it shows all tracks?

a) repeating track data:
Track Number                    : 10
Track UID                       : 7356691258705125809
Track Type                      : Subtitle
Track Default                   : No
Track Lacing                    : No
Codec ID                        : S_TEXT/UTF8
Track Language                  : tur

Track Number                    : 9
Track UID                       : ..
Track Type                      : Subtitle
Track Default                   : No
Track Lacing                    : No
Codec ID                        : S_TEXT/UTF8
Track Language                  : pol

...

or, maybe in short form:
Subtitles Tracks: eng,pol,tur,...

Similar for audio (language, Audio Codec ID, name), and for chapters (information about chapters presence, maybe with number of chapters, and language of chapters).

Phil Harvey

Did you try adding the -a option?

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

pkar

No :)
Only -v and -u :(

But even with -a and -u some info are not present; comparing with mpc-hc file:properties.

MPC:
Audio: Dolby AC3 48000Hz stereo 448kbps [A: English [eng] (ac3, 48000 Hz, stereo, 448 kb/s) [default]]
EXIFTOOL:
Track Number                    : 2
Track UID                       : 5987792401533899873
Track Type                      : Audio
Audio Codec ID                  : A_AC3
Default Duration                : 32 ms
Audio Sample Rate               : 48000
Audio Channels                  : 2

Would be nice to get "English [eng]", and info about "default track". Maybe even value reported by MPC as 448 kbps :)


Also video track has less info than in MPC (although this is not my concern, as I don't need this info :) )

MPC:
Video: MPEG4 Video (H264) 768x576 23.976fps [V: English [eng] (h264 high L3.1, yuv420p, 768x576) [default]]

EXIFTOOL:
Track Number                    : 1
Track UID                       : 1
Track Type                      : Video
Track Lacing                    : No
Min Cache                       : 1
Video Codec ID                  : V_MPEG4/ISO/AVC
Codec Private                   : (Binary data 42 bytes, use -b option to extract)
Video Frame Rate                : 23.976
Image Width                     : 768
Image Height                    : 576
Display Width                   : 768
Display Height                  : 576


Phil Harvey

Generally, ExifTool reports only the metadata in video files.   Video utilities may generate additional information by parsing the audio/video data stream.

I don't know where the extra information stored, but if you find any metadata that Exiftool isn't extracting please let me know.

I'll see about looking into this in more detail when I get a chance.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).