コンテンツにスキップ

「Matroska」の版間の差分

出典: フリー百科事典『ウィキペディア(Wikipedia)』
削除された内容 追加された内容
m Bot作業依頼#Cite webの和書引数追加
 
(34人の利用者による、間の46版が非表示)
1行目: 1行目:
{{Infobox file format
{{Infobox file format
| name = Matroska (Матрёшка)
| name = Matroska(Матрёшка)
| icon = [[ファイル:Matroska-logo-128x128.png]]
| icon = Matroska-logo-128x128.png
| icon_size = frameless
| extension = <tt>.mkv</tt> <tt>.mka</tt> <tt>.mks</tt>
| extensions = <code>.mkv</code> <code>.mka</code> <code>.mks</code> <code>.mk3d</code>
| mime = <code>video/x-matroska</code> <code>audio/x-matroska</code>
| mime = <code>video/x-matroska</code> <code>audio/x-matroska</code>
| released = {{Start date and age|2002|12|06}}<ref>{{Cite web |url=https://www.matroska.org/news/archives2.html |title=Older Archives |website=Matroska |access-date=2020-03-23}}</ref>
| type code =
| type code =
| uniform type =
| uniform type =
| owner = [http://www.matroska.org Matroska.org]
| owner = Matroska.org
| magic = 0x1a 0x45 0xdf 0xa3 ? 0x42 0x82 ? matroska
| magic = 0x1a 0x45 0xdf 0xa3 ? 0x42 0x82 ? matroska
| genre = [[コンテナフォーマット]]
| genre = [[コンテナフォーマット]]
14行目: 16行目:
| extended to =
| extended to =
| standard =
| standard =
| free = Yes
| website = {{URL|https://matroska.org/}}
}}
}}
'''Matroska'''({{lang-ru|'''Матрёшка'''}}、'''マトロスカ'''、'''マトリョーシカ''')は[[マルチメディア]][[コンテナフォーマット]]の一種である<ref>"''Matroska'' aims to become THE standard of multimedia container formats." Matroska.org. [https://www.matroska.org/what_is_matroska.html ''What is Matroska?'']</ref>。

'''Matroska'''('''Матрёшка''', '''マトロスカ'''、'''マトリョーシカ''')は、[[マルチメディア]][[コンテナフォーマット]]。


== 概要 ==
== 概要 ==
Matroskaは[[映像]]、[[音声]]、[[字幕]]などの[[データ]]を格納するためのマルチメディアコンテナフォーマットで、一般的には「.mkv」ファイル(Matroska Video)や「.mka」ファイル(Matroska Audio)として知られている。
Matroskaは[[動画]]、[[音声]]、[[字幕]]などの[[マルチメディア]][[データ]]を格納する[[コンテナフォーマット]]ある。「.mkv」ファイル(Matroska Video)や「.mka」ファイル(Matroska Audio)として知られる。[[ロシア]]の入れ子人形[[マトリョーシカ人形|マトリョーシカ]]にちなんで名付けられた。[[オープンソース]]([[GNU Lesser General Public License|GNU LGPL]])で開発が行われている<ref>"Matroska is an open standards project. ... The source code of the libraries developed by the Matroska Development Team is licensed under GNU L-GPL." Matroska.org. ''[https://www.matroska.org/what_is_matroska.html What is Matroska?]''</ref>
[[ロシア]]の入れ子人形[[マトリョーシカ人形|マトリョーシカ]]にちなんで名付けられた。[[オープンソース]] ([[GNU Lesser General Public License|GNU LGPL]])で開発が行われている。

[[#EBML|EBML]](Extensible Binary Meta Language)というデータ格納技術を採用し、後方[[互換性]]と拡張性を両立させている。

[[家庭用電気機械器具|家電]]の[[DVDプレーヤー]]等でも一部対応した機種が存在する。


データ構造仕様に[[#EBML|EBML]](Extensible Binary Meta Language)を採用し<ref>"''Matroska'' ... is based on EBML" Matroska.org. ''[https://www.matroska.org/what_is_matroska.html What is Matroska?]''</ref>、{{要出典範囲|後方[[互換性]]と拡張性を両立させている|date=2021年8月}}。
[[DivX]]7が標準コンテナとしてMatroskaを採用している。


{{要出典範囲|[[家庭用電気機械器具|家電]]の[[DVDプレーヤー]]などでも一部対応した機種が存在する。[[DivX]]7が標準コンテナとしてMatroskaを採用している|date=2021年8月}}。[[Google]]社の動画規格[[WebM]]のコンテナとしてMatroskaのサブセットを採用している<ref>{{Cite web|和書|title=Googleがフリー動画フォーマット「WebM」を公開、MozillaやAdobeも支持|url=https://internet.watch.impress.co.jp/docs/news/368218.html|website=INTERNET Watch Watch|accessdate=2022-10-19}}</ref>。2014年、[[Microsoft Windows 10]]がMatroskaに標準対応することが[[マイクロソフト]]社から発表された<ref>{{cite web|title=Windows 10: Native MKV support becomes official|url=https://www.neowin.net/news/windows-10-native-mkv-support-becomes-official/|website=Neowin|accessdate=2022-10-19}}</ref>。
[[Google]]社の動画規格[[WebM]]のコンテナとしてMatroskaのサブセットを採用している。


== 主な特徴 ==
== 主な特徴 ==
{{独自研究|section=1|date=2021年8月}}
=== 共通 ===
=== 共通 ===
*多種多様な[[コーデック]]に対応。
*多種多様な[[コーデック]]に対応。
** 動画: [[AVI|VFW Codec]], [[QuickTime|QuickTime Codec]], [[Motion JPEG]], [[MPEG-1]]/[[MPEG-2|-2]]/[[MPEG-4|-4]], [[H.264]], [[Windows Media Video|WMV]], [[RealVideo]], [[Snow (コーデック)|Snow]], [[Theora]], [[VC-1]], [[VP8]]
**動画[[Audio Video Interleave|VFW Codec]], [[QuickTime|QuickTime Codec]], [[Motion JPEG]], [[MPEG-1]]/[[MPEG-2|-2]]/[[MPEG-4|-4]], [[H.264]], [[H.265]], [[RealVideo]], [[Snow (コーデック)|Snow]], [[Theora]], [[VC-1]], [[VP8]], [[VP9]], [[AOMedia Video 1|AV1]]
** 音声: [[AAC]], [[ドルビーデジタル|AC-3]], [[デジタル・シアター・システムズ|DTS]], [[MP3]], [[MP3#MPEG-1/2 Audio Layer-2|MP2]], [[Musepack]], [[Windows Media Audio|WMA]], [[Vorbis]], [[パルス符号変調|PCM]], [[RealAudio]], [[FLAC]], [[TTA]], [[WavPack]], [[TAK]]
**音声[[AAC]], [[ドルビーデジタル|AC-3]], [[デジタル・シアター・システムズ|DTS]], [[MP3]], [[MP3#MPEG-1/2 Audio Layer-2|MP2]], [[Vorbis]], [[Opus (音声圧縮)|Opus]], [[パルス符号変調|PCM]], [[RealAudio]], [[FLAC]], [[TTA]], [[WavPack]]


=== MKV(Matroska Video File) ===
=== MKV(Matroska Video File) ===
*複数音声
*複数音声
*前参照フレーム(Bフレーム)に対応
*前参照フレーム(Bフレームに対応
*[[チャプター]](頭出し機能) (1/1000秒単位で設定可能)
*[[チャプター]]頭出し機能1/1000秒単位で設定可能
*可変[[フレームレート]](VFR)対応
*可変[[フレームレート]](VFR)対応
*高度な字幕機能(テキスト型、VisualBob型両対応)
*高度な字幕機能テキスト型、VisualBob型両対応
*[[アスペクト比]]指定
*[[アスペクト比]]指定
*映像、音声、字幕以外の[[ファイル (コンピュータ)|ファイル]]添付
*映像、音声、字幕以外のファイル添付
*[[DVD-Video]]のようなメニュー(未実装)
*[[DVD-Video]]のようなメニュー未実装


=== MKA(Matroska Audio File) ===
=== MKA(Matroska Audio File) ===
* [[アルバム]]化(複数の曲を一つのファイルに入れ、順番に再生)
*[[アルバム]]化複数の曲を一つのファイルに入れ、順番に再生
* 時間が同じでないファイルの多重化
*時間が同じでないファイルの多重化
* 異なるコーデックの音声を収録可能
*異なるコーデックの音声を収録可能


== EBML ==
== EBML ==
'''EBML(Extensible Binary Meta Language)'''は[[Extensible Markup Language|XML]]を基に作られた、拡張性に優れたデータ格納方式である。
{{要出典範囲|'''EBML(Extensible Binary Meta Language)'''は[[Extensible Markup Language|XML]]を基に作られた、拡張性に優れたデータ格納方式である|date=2021年8月}}


[[HyperText Markup Language|HTML]]、XMLの様にタグ形式(正確には[[バイナリ]]の擬似形式)で記述されており、対応していない機能においては無視するようになっている。
{{要出典範囲|[[HyperText Markup Language|HTML]]、XMLの様にタグ形式(正確には[[バイナリ]]の擬似形式)で記述されており、対応していない機能においては無視するようになっている|date=2021年8月}}


って、新機能の追加においても互換性を落とすことなく対応させることができ、なおかつ、[[不具合]]の起きにくい設計にすることを可能にした。
したがって、新機能の追加においても互換性を落とすことなく対応させることができ、なおかつ、[[不具合]]の起きにくい設計にすることを可能にした<ref>"EBML enables the Matroska Development Team to gain significant advantages in terms of future format extensibility, without breaking file support in old parsers." Matroska.org. ''[https://www.matroska.org/what_is_matroska.html What is Matroska?]''</ref>

{{要出典範囲|EBMLは[https://datatracker.ietf.org/doc/html/rfc8794 RFC8794]として[[インターネット標準]]化過程の途上にある|date=2021年8月}}。

=== 構造 ===
XMLが要素の木構造からなるように、EBMLも要素の入れ子構造から成る<ref>"EBML uses a system of Elements to compose an EBML Document." RFC8794 July 2020. ''[https://datatracker.ietf.org/doc/html/rfc8794 Extensible Binary Meta Language]''.</ref>。構成単位たる要素は'''EBML Element'''と呼ばれる<ref>'"EBML Element": A foundation block of data' RFC8794 July 2020. ''[https://datatracker.ietf.org/doc/html/rfc8794 Extensible Binary Meta Language]''.</ref>。要素の種類によらずEBML Elementは次の3要素から成る<ref>'"EBML Element" ... that contains three parts: an "Element ID", an "Element Data Size", and "Element Data".' RFC8794 July 2020. ''[https://datatracker.ietf.org/doc/html/rfc8794 Extensible Binary Meta Language]''.</ref>。

* Element ID: この要素の種類を示す識別子。XMLにおけるタグ名に相当。識別子の意味(例: <code>ID_5 == <nowiki><H1></nowiki></code>)はスキーマごとで定義<ref>'used to uniquely identify a defined "EBML Element" within a specific "EBML Schema".' RFC8794 July 2020. ''[https://datatracker.ietf.org/doc/html/rfc8794 Extensible Binary Meta Language]''.</ref>。
* Element Data Size: この要素の長さ(オクテット)<ref>'An expression, encoded as a "Variable-Size Integer", of the length in octets of "Element Data".' RFC8794 July 2020. ''[https://datatracker.ietf.org/doc/html/rfc8794 Extensible Binary Meta Language]''.</ref>。
* Element Data: コンテンツ。
{{要出典範囲|Element自身が長さ情報を持つとは、要素間の「区切り」が明示されているということである。よってEBMLパーサーは要素が何を示すかを知らずとも、EBMLファイルを頭から読んでサイズごとに区切ることでElement集合を生成できる|date=2021年8月}}。

上記の通りElementはIDをもち、このIDがElementの意味/役割(セマンティックス)に結びついている。具体的な各Elementはスキーマで定義され、ID・名称・型などを持つ(例: ID_5/<code><nowiki><H1></nowiki></code>/String型)<ref>型は8種類(int, uint, float, string, UTF-8, Date, Master, Binary)</ref><ref>"An EBML Element Type defines a concept of storing data within an EBML Element that describes such characteristics as length, endianness, and definition." RFC8794 July 2020. ''[https://datatracker.ietf.org/doc/html/rfc8794 Extensible Binary Meta Language]''.</ref>。{{要出典範囲|スキーマではなくEBML仕様で定義される特殊なElementが13種類存在している|date=2021年8月}}。

EBML Elementの入れ子構造からなり、かつEBMLで定めるElement配置をもつデータを'''EBML Document'''という。EBML Documentはデータ部である'''EBML Body'''<ref>'"EBML Body": All data of an "EBML Document"' RFC8794 July 2020. ''[https://datatracker.ietf.org/doc/html/rfc8794 Extensible Binary Meta Language]''.</ref>と仕様部である'''EBML Header'''からなる<ref>'"EBML Document": A datastream comprised of only two components, an "EBML Header" and an "EBML Body".' RFC8794 July 2020. ''[https://datatracker.ietf.org/doc/html/rfc8794 Extensible Binary Meta Language]''.</ref>。


== 拡張子 ==
== 拡張子 ==
{{独自研究|section=1|date=2021年8月}}
* <tt>.mkv</tt> Matroska Video (映像)
* <tt>.mka</tt> Matroska Audio (音声のみ)
*<tt>.mkv</tt> Matroska Video(映像)
* <tt>.mks</tt> Matroska Subtitles (字幕のみ)
*<tt>.mka</tt> Matroska Audio(音声のみ
*<tt>.mks</tt> Matroska Subtitles(字幕のみ)
*<tt>.mk3d</tt> Matroska 3D(3D映像)


== CodecID ==
== CodecIDの例 ==
{{独自研究|section=1|date=2021年8月}}
=== ビデオ ===
=== ビデオ ===
*V_MPEG4/ISO/AVC(H.264/MPEG-4 AVC)
*V_MS/VFW/FOURCC ([[VfW]][[互換モード]])

*V_QUICKTIME (QuickTime互換モード)
=== オーディオ ===
*A_AAC/MPEG4/LC(AAC-LC)


==対応ソフト==
== 対応ソフト ==
以下の「SSA」は「Sub Station Alpha」、「ASS」は「Advanced SSA」と呼ばれる一般的な字幕のファイルフォーマットである。


===メディアプレーヤー===
=== メディアプレーヤー ===
{{独自研究|section=1|date=2021年8月}}
{| class="wikitable" border="1" cellpadding="1" cellspacing="0" style="font-size: 85%; text-align: center; width: auto"
{| class="wikitable" style="font-size:85%; text-align:center"
!名前!!OS!!SSA/ASSサポート
|-
|-
|[[ALLPlayer]]||rowspan="3"|[[Microsoft Windows|Windows]]||{{No}}
! width=200|名前
! width=100|OS
! width=030|SSA/ASS サポート
|-
|-
| [[ALLPlayer]]
|[[ALShow]]||{{No}}
| [[Microsoft Windows|Windows]]
| {{no}}
|-
|-
|BS.Player||{{No}}
! [[ALShow]]
| [[Microsoft Windows|Windows]]
| {{no}}
|-
|-
|[[Chameleo]]||rowspan="3"|[[クロスプラットフォーム]]||{{No}}
| BS.Player
| [[Microsoft Windows|Windows]]
| {{no}}
|-
|-
| [[Chameleo]]
|[[CorePlayer]]||{{No}}
| [[クロスプラットフォーム]]
| {{no}}
|-
|-
|[[DivX|DivX Player]]||{{No}}
| [[CorePlayer]]
| [[クロスプラットフォーム]]
|{{no}}
|-
|-
|[[PotPlayer|Daum PotPlayer]]||rowspan="2"|Windows||{{Yes}}
| [[DivX Player]]
| [[クロスプラットフォーム]]
| {{no}}
|-
|-
| [[Daum PotPlayer]]
|[[GOM Player]]||{{Yes}}
| [[Microsoft Windows|Windows]]
| {{yes}}
|-
|-
|[[Gstreamer]]ベースのプレイヤー<br>||クロスプラットフォーム||{{No}}
| [[GOM Player]]
| [[Microsoft Windows|Windows]]
| {{yes}}
|-
|-
|[[jetAudio]]||rowspan="5"|Windows||{{No}}
| [[Gstreamer]]-based Players ([[Totem (media player)|Totem]], etc.)
| [[クロスプラットフォーム]]
| {{no}}
|-
|-
|Kantaris||{{No}}
| [[jetAudio]]
| [[Microsoft Windows|Windows]]
| {{no}}
|-
|-
|[[The KMPlayer]]||{{Yes}}
| Kantaris
| [[Microsoft Windows|Windows]]
| {{no}}
|-
|-
|[[TotalMedia Theatre]]||{{No}}
| [[The KMPlayer]]
| [[Microsoft Windows|Windows]]
| {{yes}}
|-
|-
|[[Media Player Classic]]||{{Yes}}
| [[TotalMedia Theatre]]
| [[Microsoft Windows|Windows]]
| {{no}}
|-
|-
|[[MPlayer]]||クロスプラットフォーム||{{Yes}}
| [[Media Player Classic]]
| [[Microsoft Windows|Windows]]
| {{yes}}
|-
|-
| [[MPlayer]]
|[[MPlayer Extended]]||[[macOS]]||{{Yes}}
| [[クロスプラットフォーム]]
| {{yes}}
|-
|-
|[[Nero (software suite)|ShowTime]]||Windows||{{No}}
| [[MPlayer Extended]]
| [[Mac OS X]]
| {{yes}}
|-
|-
|[[SMPlayer]]||クロスプラットフォーム||{{Yes}}
| [[Nero (software suite)|ShowTime]]
| [[Microsoft Windows|Windows]]
| {{no}}
|-
|-
|[[Target Longlife Media Player]]||Windows||{{No}}
| [[SMPlayer]]
| [[クロスプラットフォーム]]
| {{yes}}
|-
|-
| [[Target Longlife Media Player]]
|[[The Core Pocket Media Player]]||[[Windows Mobile]]||{{No}}
| [[Microsoft Windows|Windows]]
| {{no}}
|-
|-
|[[VLCメディアプレーヤー|VLC media player]]||rowspan="2"|クロスプラットフォーム||{{Yes}}
| [[The Core Pocket Media Player]]
| [[Windows Mobile]]
| {{no}}
|-
|-
|[[xine]]||{{No}}
| [[Totem (media player)|Totem]]
| [[Unix-like]]
| {{yes}}
|-
|-
|[[Zoom Player]]||Windows||{{No}}
| [[VLC media player]]
| [[クロスプラットフォーム]]
| {{yes}}
|-
|-
|[[ビデオ (GNOME)|GNOME ビデオ]]||[[Unix系]]||{{Yes}}
| [[xine]]
| [[クロスプラットフォーム]]
| {{no}}
|-
| [[Zoom Player]]
| [[Microsoft Windows|Windows]]
| {{no}}
|}
|}


===メディアセンター===
=== メディアセンター ===
{| class="wikitable" border="1" cellpadding="1" cellspacing="0" style="font-size: 85%; text-align: center; width: auto"
{| class="wikitable" style="font-size:85%; text-align:center"
!名前!!OS!!SSA/ASSサポート
|-
|-
|[[Boxee]]||クロスプラットフォーム||[http://www.boxee.tv/]
! width=200|名前
! width=100|OS
! width=300|ウェブサイト
|-
|-
|[[DivX Connected]]||rowspan="2"|Windows||[http://www.divx.com/connected/]
| [[Boxee]]
| [[クロスプラットフォーム]]
| http://www.boxee.tv/
|-
|-
|[http://www.team-mediaportal.com/content/view/42/117/ MediaPortal]||[http://www.team-mediaportal.com/]
| [[DivX Connected]]
| [[Microsoft Windows|Windows]]
| http://www.divx.com/connected/
|-
|-
|[[Moovida]]||クロスプラットフォーム||[http://www.moovida.com/]
| [http://www.team-mediaportal.com/content/view/42/117/ MediaPortal]
| [[Microsoft Windows|Windows]]
| http://www.team-mediaportal.com/
|-
|-
|[[MythTV]]||[[Linux]]||[http://www.mythtv.org/]
| [[Moovida]]
| [[クロスプラットフォーム]]
| http://www.moovida.com
|-
|-
|[[Plexapp|Plex]]||macOS||[http://plexapp.com/]
| [[MythTV]]
| [[Linux]]
| http://www.mythtv.org/
|-
|-
|[[PS3 Media Server]]||rowspan="2"|クロスプラットフォーム||[http://ps3mediaserver.org/]
| [[Plexapp|Plex]]
| [[Mac OS X]]
| http://plexapp.com/
|-
|-
|[[Xbmc]]||[http://xbmc.org/]
| [[PS3 Media Server]]
| [[クロスプラットフォーム]]
| http://ps3mediaserver.org/
|-
| [[XBMC]]
| [[クロスプラットフォーム]]
| http://xbmc.org/
|}
|}


=== ツール ===

{| class="wikitable" style="font-size:85%; text-align:center"
{| class="wik
!名前!!OS!!SSA/ASSサポート
{| class="wikitable"

itable" border="1" cellpadding="1" cellspacing="0" style="font-size: 85%; text-align: center; width: auto"
|-
|-
|[[Avidemux]]||クロスプラットフォーム||[http://www.avidemux.org/]
! width=200|名前
|-
! width=100|OS
|[[Conceiva]]<br>[[ConvertHQ]]||Windows||[http://www.conceiva.com/products/converthq/default.asp]
! width=400|ウェブサイト
|-
|-
|[[HandBrake]]||クロスプラットフォーム||[http://handbrake.fr/]
| [[Avidemux]]
| [[クロスプラットフォーム]]
| http://www.avidemux.org/
|-
| [[Conceiva]] [[ConvertHQ]]
| [[Microsoft Windows|Windows]]
| http://www.conceiva.com/products/converthq/default.asp
|-
|-
|[[iFunia Video Converter]]||macOS||[http://www.ifunia.com/mkv-converter-mac.html]
|-
|-
|[[DivX Converter]]||rowspan="2"|クロスプラットフォーム||[http://www.divx.com/]
| [[究極ファイル変換2]] [[究極ファイル変換5]]
| [[Windows|Mac OSX]]
| http://www.wondershare.jp/mac/file_converter_ultimate.html
http://www.wondershare.jp/win/file_converter_ultimate.html
|-
|-
|[[FFmpeg]]||[http://www.ffmpeg.org/]
| [[HandBrake]]
| [[クロスプラットフォーム]]
| [http://handbrake.fr/ Handbrake official website]
|-
|-
|[[FormatFactory]]||Windows||[http://www.formatoz.com/]
| [[iFunia Video Converter]]
| [[Mac OS X]]
| [http://www.ifunia.com/mkv-converter-mac.html iFunia MKV video converter]
|-
| [[DivX Converter]]
| [[クロスプラットフォーム]]
| http://www.divx.com/
|-
|-
|[[iVerio Software]] Video Converter for Camcorders||クロスプラットフォーム||[http://www.iverio-convertmod.com/]
| [[FFmpeg]]
| [[クロスプラットフォーム]]
| http://www.ffmpeg.org/
|-
|-
|[[MediaCoder]]||Windows||[http://www.mediacoderhq.com/]
| [[FormatFactory]]
| [[Microsoft Windows|Windows]]
| [http://www.formatoz.com/ FormatFactory official website]
|-
|-
|[[MKVToolnix]]||クロスプラットフォーム||[http://www.bunkus.org/videotools/mkvtoolnix/]
| [[iVerio Software]] Video Converter for Camcorders
| [[クロスプラットフォーム]]
| http://www.iverio-convertmod.com
|-
|-
|[[MKV2VOB]] for converting MKV for playback on PS3 etc||Windows||[http://www.mkv2vob.com/]
| [[MediaCoder]]
| [[Microsoft Windows|Windows]]
| http://www.mediacoderhq.com/
|-
|-
|[[Perian]] Quicktime Plugin for Mac OS X||macOS||[http://perian.org/]
| [[MKVToolnix]]
| [[クロスプラットフォーム]]
| http://www.bunkus.org/videotools/mkvtoolnix/
|-
|-
|[[SUPER (ソフトウェア)|SUPER]]||rowspan="2"|Windows||[http://www.erightsoft.com/SUPER.html/]
| [[MKV2VOB]] for converting MKV for playback on PS3 etc
| [[Microsoft Windows|Windows]]
| http://www.mkv2vob.com/
|-
|-
|[[Total video converter]]||[http://www.effectmatrix.com/]
| [[Perian]] Quicktime Plugin for Mac OS X
| [[Mac OS X]]
| http://perian.org/
|-
|-
|[[Video Converter Ultimate]]||Windows<br>[[Mac OS]]||[http://www.imtoo.com/video-converter.html]
| [[SUPER (ソフトウェア)|SUPER]]
| [[Microsoft Windows|Windows]]
| http://www.erightsoft.com/SUPER.html/
|-
|-
|[[VirtualDubMod]]||rowspan="4"|Windows||[http://virtualdubmod.sourceforge.net/]
| [[Total video converter]]
| [[Microsoft Windows|Windows]]
| http://www.effectmatrix.com/
|-
|-
|[[MakeMKV]]||[http://www.makemkv.com/]
| [[Video Converter Ultimate]]
| [[Microsoft Windows|Windows]]/ [[Mac OS]]
| http://www.imtoo.com/video-converter.html
|-
|-
|[[VSO Software#Products|ConvertXtoDVD]]||[http://www.vso-software.fr/]
| [[VirtualDubMod]]
| [[Microsoft Windows|Windows]]
| http://virtualdubmod.sourceforge.net/
|-
|-
|[[XMedia Recode]]||[https://www.xmedia-recode.de/]
| [[MakeMKV]]
| [[Microsoft Windows|Windows]]
| http://www.makemkv.com/
|-
| [[VSO Software#Products|ConvertXtoDVD]]
| [[Microsoft Windows|Windows]]
| http://www.vso-software.fr/

|}
|}

== 脚注 ==
{{Reflist}}


== 関連項目 ==
== 関連項目 ==
314行目: 220行目:
*[[ratDVD]]
*[[ratDVD]]
*[[MPlayer]]
*[[MPlayer]]
*[[Totem]]
*[[ビデオ (GNOME)]]
*[[FFmpeg|ffplay]]
*[[FFmpeg]](ffplay)


=== その他 ===
=== その他 ===
325行目: 231行目:


== 外部リンク ==
== 外部リンク ==
* {{Official website}} {{En icon}}


{{圧縮フォーマット}}
=== 公式サイト ===
*[http://www.matroska.org/index.html матрёшка]

=== 再生関連 ===
*[http://www.cccp-project.net/ Combined Community Codec Pack - MKVファイルの再生用フィルターやメディアプレーヤーをまとめたパック]
*[http://haali.cs.msu.ru/mkv/ Haali Media Splitter]
*[http://www.best-video-converter.net video converter reviews]
*[http://sourceforge.net/projects/matroskaqt/ Matroska QuickTimeコンポーネント Mac用]
*[http://www.gomplayer.jp/ GOM PLAYER]
*[http://www.videolan.org/vlc/ VLC media player]
*[http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/ XvidVideo.RU - Media Player Classic Home Cinema]

=== 作成関連 ===
*[http://www.bunkus.org/videotools/mkvtoolnix/ MKVToolnix - MKVファイル作成ツール]
*[http://www.makemkv.com/ MakeMKV - BDビデオやDVDビデオをMKV化するツール]
*[http://www.alexander-noe.com/video/amg/ AVI-Mux GUI - MKVファイル作成ツール]
*[http://www.vector.co.jp/soft/win95/art/se366949.htmlm UniteOGM - MKV、OGMの連結(結合)ツール]
*[http://musicpc.fc2web.com/ MKA変換機]
*[ [http://www.wondershare.jp/win/video_converter.html MKV変換ソフト]]

=== その他 ===
*[http://page.freett.com/HarryTools/ MMname2 - 動画ファイルの詳細を調べるツール]


{{FLOSS-stub}}
{{FLOSS-stub}}

{{圧縮フォーマット}}


[[Category:コーデック]]
[[Category:コーデック]]
[[Category:動画ファイルフォーマット]]
[[Category:動画ファイルフォーマット]]
[[Category:オープン]]
[[Category:オープンフォマット]]
[[Category:マルチメディア]]

[[Category:ロシアの発明]]
[[bg:Matroska]]
[[cs:Matroska]]
[[da:Matroska]]
[[de:Matroska]]
[[en:Matroska]]
[[es:Matroska]]
[[fa:ماتروسکا]]
[[fi:Matroska]]
[[fr:Matroska]]
[[hu:Matroska]]
[[ia:Matroska]]
[[it:Matroska]]
[[ko:마트료시카 (포맷)]]
[[nl:Matroska]]
[[no:Matroska]]
[[pl:Matroska]]
[[pt:Matroska]]
[[ro:Matroska]]
[[ru:Matroska]]
[[sk:Matroska]]
[[sr:Матроска]]
[[sv:Matroska]]
[[th:Matroska]]
[[tr:Matroska]]
[[vi:Matroska]]
[[yo:Matroska]]
[[zh:Matroska]]

2023年9月28日 (木) 06:20時点における最新版

Matroska(Матрёшка)
拡張子.mkv .mka .mks .mk3d
MIMEタイプvideo/x-matroska audio/x-matroska
マジック
ナンバー
0x1a 0x45 0xdf 0xa3 ? 0x42 0x82 ? matroska
開発者Matroska.org
初版2002年12月6日 (21年前) (2002-12-06)[1]
種別コンテナフォーマット
包含物音声動画字幕
オープン
フォーマット
Yes
ウェブサイトmatroska.org

Matroskaロシア語: Матрёшкаマトロスカマトリョーシカ)はマルチメディアコンテナフォーマットの一種である[2]

概要

[編集]

Matroskaは動画音声字幕などのマルチメディアデータを格納するコンテナフォーマットである。「.mkv」ファイル(Matroska Video)や「.mka」ファイル(Matroska Audio)として知られる。ロシアの入れ子人形マトリョーシカにちなんで名付けられた。オープンソースGNU LGPL)で開発が行われている[3]

データ構造仕様にEBML(Extensible Binary Meta Language)を採用し[4]後方互換性と拡張性を両立させている[要出典]

家電DVDプレーヤーなどでも一部対応した機種が存在する。DivX7が標準コンテナとしてMatroskaを採用している[要出典]Google社の動画規格WebMのコンテナとしてMatroskaのサブセットを採用している[5]。2014年、Microsoft Windows 10がMatroskaに標準対応することがマイクロソフト社から発表された[6]

主な特徴

[編集]

共通

[編集]

MKV(Matroska Video File)

[編集]
  • 複数音声
  • 前参照フレーム(Bフレーム)に対応
  • チャプター(頭出し機能。1/1000秒単位で設定可能)
  • 可変フレームレート(VFR)対応
  • 高度な字幕機能(テキスト型、VisualBob型両対応)
  • アスペクト比指定
  • 映像、音声、字幕以外のファイル添付
  • DVD-Videoのようなメニュー(未実装)

MKA(Matroska Audio File)

[編集]
  • アルバム化(複数の曲を一つのファイルに入れ、順番に再生)
  • 時間が同じでないファイルの多重化
  • 異なるコーデックの音声を収録可能

EBML

[編集]

EBML(Extensible Binary Meta Language)XMLを基に作られた、拡張性に優れたデータ格納方式である[要出典]

HTML、XMLの様にタグ形式(正確にはバイナリの擬似形式)で記述されており、対応していない機能においては無視するようになっている[要出典]

したがって、新機能の追加においても互換性を落とすことなく対応させることができ、なおかつ、不具合の起きにくい設計にすることを可能にした[7]

EBMLはRFC8794としてインターネット標準化過程の途上にある[要出典]

構造

[編集]

XMLが要素の木構造からなるように、EBMLも要素の入れ子構造から成る[8]。構成単位たる要素はEBML Elementと呼ばれる[9]。要素の種類によらずEBML Elementは次の3要素から成る[10]

  • Element ID: この要素の種類を示す識別子。XMLにおけるタグ名に相当。識別子の意味(例: ID_5 == <H1>)はスキーマごとで定義[11]
  • Element Data Size: この要素の長さ(オクテット)[12]
  • Element Data: コンテンツ。

Element自身が長さ情報を持つとは、要素間の「区切り」が明示されているということである。よってEBMLパーサーは要素が何を示すかを知らずとも、EBMLファイルを頭から読んでサイズごとに区切ることでElement集合を生成できる[要出典]

上記の通りElementはIDをもち、このIDがElementの意味/役割(セマンティックス)に結びついている。具体的な各Elementはスキーマで定義され、ID・名称・型などを持つ(例: ID_5/<H1>/String型)[13][14]スキーマではなくEBML仕様で定義される特殊なElementが13種類存在している[要出典]

EBML Elementの入れ子構造からなり、かつEBMLで定めるElement配置をもつデータをEBML Documentという。EBML Documentはデータ部であるEBML Body[15]と仕様部であるEBML Headerからなる[16]

拡張子

[編集]
  • .mkv Matroska Video(映像)
  • .mka Matroska Audio(音声のみ)
  • .mks Matroska Subtitles(字幕のみ)
  • .mk3d Matroska 3D(3D映像)

CodecIDの例

[編集]

ビデオ

[編集]
  • V_MPEG4/ISO/AVC(H.264/MPEG-4 AVC)

オーディオ

[編集]
  • A_AAC/MPEG4/LC(AAC-LC)

対応ソフト

[編集]

以下の「SSA」は「Sub Station Alpha」、「ASS」は「Advanced SSA」と呼ばれる一般的な字幕のファイルフォーマットである。

メディアプレーヤー

[編集]
名前 OS SSA/ASSサポート
ALLPlayer Windows No
ALShow No
BS.Player No
Chameleo クロスプラットフォーム No
CorePlayer No
DivX Player No
Daum PotPlayer Windows Yes
GOM Player Yes
Gstreamerベースのプレイヤー
クロスプラットフォーム No
jetAudio Windows No
Kantaris No
The KMPlayer Yes
TotalMedia Theatre No
Media Player Classic Yes
MPlayer クロスプラットフォーム Yes
MPlayer Extended macOS Yes
ShowTime Windows No
SMPlayer クロスプラットフォーム Yes
Target Longlife Media Player Windows No
The Core Pocket Media Player Windows Mobile No
VLC media player クロスプラットフォーム Yes
xine No
Zoom Player Windows No
GNOME ビデオ Unix系 Yes

メディアセンター

[編集]
名前 OS SSA/ASSサポート
Boxee クロスプラットフォーム [1]
DivX Connected Windows [2]
MediaPortal [3]
Moovida クロスプラットフォーム [4]
MythTV Linux [5]
Plex macOS [6]
PS3 Media Server クロスプラットフォーム [7]
Xbmc [8]

ツール

[編集]
名前 OS SSA/ASSサポート
Avidemux クロスプラットフォーム [9]
Conceiva
ConvertHQ
Windows [10]
HandBrake クロスプラットフォーム [11]
iFunia Video Converter macOS [12]
DivX Converter クロスプラットフォーム [13]
FFmpeg [14]
FormatFactory Windows [15]
iVerio Software Video Converter for Camcorders クロスプラットフォーム [16]
MediaCoder Windows [17]
MKVToolnix クロスプラットフォーム [18]
MKV2VOB for converting MKV for playback on PS3 etc Windows [19]
Perian Quicktime Plugin for Mac OS X macOS [20]
SUPER Windows [21]
Total video converter [22]
Video Converter Ultimate Windows
Mac OS
[23]
VirtualDubMod Windows [24]
MakeMKV [25]
ConvertXtoDVD [26]
XMedia Recode [27]

脚注

[編集]
  1. ^ Older Archives”. Matroska. 2020年3月23日閲覧。
  2. ^ "Matroska aims to become THE standard of multimedia container formats." Matroska.org. What is Matroska?
  3. ^ "Matroska is an open standards project. ... The source code of the libraries developed by the Matroska Development Team is licensed under GNU L-GPL." Matroska.org. What is Matroska?
  4. ^ "Matroska ... is based on EBML" Matroska.org. What is Matroska?
  5. ^ Googleがフリー動画フォーマット「WebM」を公開、MozillaやAdobeも支持”. INTERNET Watch Watch. 2022年10月19日閲覧。
  6. ^ Windows 10: Native MKV support becomes official”. Neowin. 2022年10月19日閲覧。
  7. ^ "EBML enables the Matroska Development Team to gain significant advantages in terms of future format extensibility, without breaking file support in old parsers." Matroska.org. What is Matroska?
  8. ^ "EBML uses a system of Elements to compose an EBML Document." RFC8794 July 2020. Extensible Binary Meta Language.
  9. ^ '"EBML Element": A foundation block of data' RFC8794 July 2020. Extensible Binary Meta Language.
  10. ^ '"EBML Element" ... that contains three parts: an "Element ID", an "Element Data Size", and "Element Data".' RFC8794 July 2020. Extensible Binary Meta Language.
  11. ^ 'used to uniquely identify a defined "EBML Element" within a specific "EBML Schema".' RFC8794 July 2020. Extensible Binary Meta Language.
  12. ^ 'An expression, encoded as a "Variable-Size Integer", of the length in octets of "Element Data".' RFC8794 July 2020. Extensible Binary Meta Language.
  13. ^ 型は8種類(int, uint, float, string, UTF-8, Date, Master, Binary)
  14. ^ "An EBML Element Type defines a concept of storing data within an EBML Element that describes such characteristics as length, endianness, and definition." RFC8794 July 2020. Extensible Binary Meta Language.
  15. ^ '"EBML Body": All data of an "EBML Document"' RFC8794 July 2020. Extensible Binary Meta Language.
  16. ^ '"EBML Document": A datastream comprised of only two components, an "EBML Header" and an "EBML Body".' RFC8794 July 2020. Extensible Binary Meta Language.

関連項目

[編集]

ソフトウェア

[編集]

その他

[編集]

外部リンク

[編集]