Questions tagged [matroska]

This tag is for questions about playback of, creation of, and programmatic interaction with Matroska files.

Matroska refers to extensible, open source, open standard Multimedia container. Matroska is usually found as .MKV files (matroska video), .MKA files (matroska audio) and .MKS files (subtitles) and .MK3D files (stereoscopic/3D video). It is also the basis for .webm (WebM) files.

More details at
http://matroska.org
http://en.wikipedia.org/wiki/Matroska

62 questions
1
vote
1 answer

Using Vorbis without Ogg?

I'm wondering why Vorbis needs any container at all? I know you can stick Vorbis in an Ogg container or a Matroska container, but if I'm not going to bundle it with any video or any other multimedia why can't the Vorbis data stand alone in its own…
user457586
1
vote
1 answer

Programatically open VLC media player from browser

I use .mkv videos on my website, but the VLC media plugin for browsers is effectively useless. But, VLC media player has the option to open a network stream, that stream being a direct link to my video. I can have everything I need to watch that…
Marc Brown
  • 521
  • 2
  • 7
  • 25
0
votes
1 answer

iPhone : mkv/mka parsing libraries

This may sound a newbie question however I'm new to iOS dev. Are there any mkv parser libraries for iOS, please suggest some links. Also I would like to know if their license do not conflict with Apple's applications store terms ? Thanks in…
deimus
  • 8,705
  • 11
  • 53
  • 101
0
votes
1 answer

iOS : Working wth mkv or mka containers

This may sound a newbie question, anyway I'm new to iOS dev. Is it possible to extract mkv (matroska video) or mka (matroska audio) files, are the those containers supported by iOS at all ? After googling for some time couldn't find anything…
deimus
  • 8,705
  • 11
  • 53
  • 101
0
votes
1 answer

Where can I find the Matroska Container "Real" Specification?

I know this sounds like a simple question, but I just wasted the last 30 minutes looking for where I can find this "real" container specification that the Matroska site hints to. I'm trying to write a simple C# demuxer.
shibbybird
  • 1,225
  • 12
  • 27
0
votes
1 answer

Matroska Muxer filter for DirectShow

I'm trying to create graph AudioCapture -> Vorbis Encoder -> Matroska Muxer, but graphedit inserts Vorbis Decoder before Matroska Muxer. I want this graph working without Vorbis Decoder. How can I do this?
0
votes
1 answer

Can't write packet with unknown timestamp av_interleaved_write_frame(): Invalid argument

I'm trying to convert a .ts file with this output to mkv: ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers built with Apple clang version 12.0.0 (clang-1200.0.32.27) configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1_4…
0
votes
2 answers

MediaRecorder does not produce a valid WebM file

MediaRecorder.isTypeSupported() returns true for 'video/webm', 'video/webm;codecs=avc1', and 'video/webm;codecs=vp9'. However, only mimeType='video/webm;codecs=vp9' results in a valid webm file ('video/webm;codecs=vp9,opus'). Setting mimeType to…
0
votes
1 answer

Is variable resolution possible in MPEG-4 or Matroska?

It's become increasingly common for movies to contain sections with varying aspect ratios. For instance, the movie The Dark Knight is is sometime 16:9 full frame, and at other times 2.40:1 with letter boxing. This is fine when viewed on a 16:9 (or…
Chris_F
  • 3,780
  • 4
  • 27
  • 44
0
votes
0 answers

How can I find the dimensions of some .mkv's cover attachment?

Given that mkvinfo command line doesn't give me dimensions, but only the ("file") size of attachments, and that mediainfo doesn't show me anything at all about matroska attachments, how can I find the height and width of the cover.jpg attachment of…
Pedro Vernetti
  • 313
  • 1
  • 5
  • 12
0
votes
0 answers

Is there any way to write h264 encoded video stream in a matroska file with gstreamer?

I have to get a processed video from gstreamer pipe, compress it based on h264 or h265 alg. and then write it to storage. There are some problems in this project that must be handled: Saved video must be playable by any standard video players such…
ebi
  • 69
  • 7
0
votes
0 answers

Set PART_NUMBER for TRACK (30) using ffmpeg in matroska

I would like to set PART_NUMBER on TRACK (30) level (indicating the track number according to spec) in a matroska file using ffmpeg, and I don't know how to do so. When using -metadata track=7 ffmpeg appears to set PART_NUMBER on Level 40, or at…
Tobias Brohl
  • 402
  • 6
  • 22
0
votes
0 answers

Matroska-file: documentation for the \Segment\Tracks\TrackEntry\CodecPrivate-element element

I need to parse the codec-private element of HEVC / H.264 matroska files. Where can I find docmentation on how the \Segment\Tracks\TrackEntry\CodecPrivate is structured for both of these content-types ? So I need the CodecPrivate-formats for the…
Bonita Montero
  • 853
  • 4
  • 11
0
votes
0 answers

What do the "+"-nodes in a MKV-file mean

EBML-files have a EBML-schema. The EBML-schema is simlilar to a XML-schema but somewhat simpler. The EBML-schema for MKV / Matroska contains the following element defininitions I wondered about:
Bonita Montero
  • 853
  • 4
  • 11
0
votes
1 answer

ffmpeg Attach file from stream

I have a flac source file with an embedded cover art, and what to convert it into an mka while retaining the cover art. The problem being that matroska requires cover arts to be attached. I can extract the original cover using ffmpeg -i target.flac…
Tobias Brohl
  • 402
  • 6
  • 22