Bug 317316

Summary: Improve support for matroska audio (*.mka) format
Product: [Applications] amarok Reporter: Thomas Pasch <thomas.pasch>
Component: PlaybackAssignee: Amarok Bugs <amarok-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: matej
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: A matroska mka test file (converted from a ac3 test file from http://www.lynnemusic.com/surround.html)
A matroska mka test file (converted from a ac3 test file from http://www.lynnemusic.com/surround.html) with added tag metadata.

Description Thomas Pasch 2013-03-25 08:22:05 UTC
amarok has no support for playing matroska audio (*.mka) format
files (tested on Ubuntu 12.10/quantal, amarok 2.7.0):

- But the file is *not* recognized if it is located in the 'music library'.
Perhaps this is because no meta data (title, artist, ...) can be extracted from
the container format.

(It tested this with a very simple matroska file only containing one stream and
one chapter. The one and only stream was a dolby digital ac3/a52. I tested both
the 2.0 and the 5.1 channel formats.)

Why support for matroska would be handy?

- For audio content, it supports a wide range of multi-channels codecs (dolby
digital ac3/a52, dts, multi-channel PCM, ...). 

- For multi-channel audio, there a only a few alternatives that support
(flexible) metadata.

Reproducible: Always

Steps to Reproduce:
1. Try to import attached file to your local library.

Actual Results:  
Does not work.

Expected Results:  
1. Example file is added to your local library and could be played afterwards.
2. (optional) File can be played as multi-channel 5.1 (not converted to 2.0), even over iec958.
Comment 1 Thomas Pasch 2013-03-25 08:23:17 UTC
Created attachment 78369 [details]
A matroska mka test file (converted from a ac3 test file from http://www.lynnemusic.com/surround.html)
Comment 2 Thomas Pasch 2013-03-26 17:06:31 UTC
Created attachment 78403 [details]
A matroska mka test file (converted from a ac3 test file from http://www.lynnemusic.com/surround.html) with added tag metadata.

This is a updated version of my test files. It contains more metadata.

$ mkvextract tags test.mka 
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE Tags SYSTEM "matroskatags.dtd">

<Tags>
  <Tag>
    <Targets>
      <TargetType>ALBUM</TargetType>
      <TargetTypeValue>50</TargetTypeValue>
    </Targets>
    <Simple>
      <Name>ARTIST</Name>
      <String>Bjørn Lynne</String>
      <TagLanguage>und</TagLanguage>
      <DefaultLanguage>1</DefaultLanguage>
    </Simple>
    <Simple>
      <Name>TITLE</Name>
      <String>Soothe (Surround Edition - DVD)</String>
      <TagLanguage>und</TagLanguage>
      <DefaultLanguage>1</DefaultLanguage>
    </Simple>
  </Tag>
  <Tag>
    <Targets>
      <TargetType>TRACK</TargetType>
      <TargetTypeValue>30</TargetTypeValue>
    </Targets>
    <Simple>
      <Name>ARTIST</Name>
      <String>Bjørn Lynne</String>
      <TagLanguage>und</TagLanguage>
      <DefaultLanguage>1</DefaultLanguage>
    </Simple>
    <Simple>
      <Name>ALBUM</Name>
      <String>Soothe (Surround Edition - DVD)</String>
      <TagLanguage>und</TagLanguage>
      <DefaultLanguage>1</DefaultLanguage>
    </Simple>
    <Simple>
      <Name>TITLE</Name>
      <String>Test file from http://www.lynnemusic.com/surround.html</String>
      <TagLanguage>und</TagLanguage>
      <DefaultLanguage>1</DefaultLanguage>
    </Simple>
    <Simple>
      <Name>TRACKNUMBER</Name>
      <String>1</String>
      <TagLanguage>und</TagLanguage>
      <DefaultLanguage>1</DefaultLanguage>
    </Simple>
    <Simple>
      <Name>TRACKTOTAL</Name>
      <String>1</String>
      <TagLanguage>und</TagLanguage>
      <DefaultLanguage>1</DefaultLanguage>
    </Simple>
  </Tag>
</Tags>
Comment 3 Matěj Laitl 2013-04-09 15:47:04 UTC
Duplicate of bug 252510, sorry for not noticing earlier. Feel free to submit information currently requested on linked bug.

*** This bug has been marked as a duplicate of bug 252510 ***