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
2
votes
1 answer

GStreamer and dynamic subtitles

I am new to GStreamer and am trying to encode a video stream (for now v4l2src) with a subtitle stream and muxed into a matroska container. I am able to pass in a .srt file with subtitles that are then encoded into the text stream. However I am…
Dylan
  • 21
  • 3
1
vote
1 answer

Containers that can hold H264 encoded video

How can I use Matroska container to save H264 video? I have been looking for examples but I have found none. Maybe I am searching with wrong parameters. Can anyone point me in right direction? I have looked at Matroska source but it seems overkill…
Celal Ergün
  • 917
  • 1
  • 15
  • 26
1
vote
0 answers

Gstreamer: Unable to finalize video recorded in parallel to streaming via gst-rtsp-server

I'm developing a Gstreamer (v1.14.4) application where I serve a live video stream over RTSP and alongside record it on-device with a different bitrate. To serve the RTSP stream, I use gst-rtsp-server. In order to both stream and record, I have a…
Nicolas
  • 111
  • 8
1
vote
1 answer

Mux video files with mkvmerge in a batch with dynamic amount of files

Every time a .mkv file is needed to be muxed it comes with random amount of subtitles, and each subtitle is different language code. So e.g. Scenario 1: video.mkv eng.srt fre.srt ger.srt Scenario 2: video.mkv rus.srt spa.srt The goal is to…
user3108268
  • 949
  • 1
  • 13
  • 31
1
vote
1 answer

What does WebM DocType Version Signify?

If a WebM's DocTypeVersion is 4, what does that signify and correlate to? Is that version 4 of the Matroska specification draft? Or does WebM have its own versioning independent of Matroska? I couldn't find any information on…
AnthumChris
  • 4,779
  • 1
  • 19
  • 41
1
vote
1 answer

Re-packetize h264 bytestream to Matroska output

I have an app that's capturing multiple video streams from users and put them into one mkv output file. Data are from RTP packets. I use h264. I'm creating mkv using ffmpeg and bytedeco/javacpp-presets bridge for Java. For some reason my output…
Adam Szmyd
  • 2,061
  • 2
  • 19
  • 31
1
vote
0 answers

Metadata per frame for VP9

I have a stream of images which I would be encoding in VP9 and storing in a container like matroska (mkv). Each image in the stream has a metadata associated with it which we can assume as an array of bytes. What is a good way of associating this…
1
vote
1 answer

How to merge two *.MKA files to one?

I have the next task - there are 3 files: *.mkv file without soundtrack, and two *.mka tracks. I need to merge all of them to the one file (and do it via ubuntu cli). I tried mkvmerge tool, it doing it great, but it generates video file with two…
1
vote
1 answer

Gstreamer : mastroskamux error : not linked

I tried to play a video encoded in h264 and muxed with matroskamux, but I can't achieve it. I'm on embedded platform, an iMX6. My pipeline works with gst-lauch: gst-launch-1.0 filesrc location=video.mkv ! matroskademux ! h264parse ! imxvpudec !…
PierreOlivier
  • 981
  • 6
  • 21
1
vote
0 answers

How do I use GStreamer gst-launch to re-mux an interlaced h264 stream from an RTSP source?

Is there any way to take an interlaced h264 stream and re-mux it into Matroska or QT container form in a way that players will correctly identify it as interlaced? My basic pipeline is: gst-launch-1.0 -e souphttpsrc…
mpr
  • 2,744
  • 20
  • 32
1
vote
0 answers

Vc1 video playback jerking

I'm trying to play vc1 coded video in matroska container. For that I'm using ffmpeg's av_read_frame function and a sertain video driver, which requires AVPacket's data to be prefixed by PES header. In AVPacket only dts field is valid, pts is…
kopalvich
  • 432
  • 4
  • 13
1
vote
1 answer

Avconv fails to generate PTS timestamps

I am generating H264 stream from still images like this: avconv -y -r 25 -i dummy_%d.tif dummy.h264 When trying to multiplex to matroska with avconv -i dummy.h264 -c:v copy dummy.mkv I get the following error: [matroska @ 0x8c1860] Can't write…
El Sampsa
  • 1,291
  • 3
  • 14
  • 29
1
vote
1 answer

Library for playing Matroska (.MKV) in Flash?

Is there any library for playing MKV (matroska multimedia container) files in Flash (AS3, MXML)? I am looking for an open source or similar to open source implementation. Since my MKV file has only Theora video, I am okay even if library supports…
Rella
  • 59,216
  • 102
  • 341
  • 614
1
vote
1 answer

Converting between SDP's sprop-parameter-sets and mkv's CodecPrivate

Is there some easy way to convert between h264 settings as stored in Matroska file: + CodecPrivate, length 36 (h.264 profile: Baseline @L2.0) hexdump 01 42 c0 14 ff e1 00 15 67 42 c0 14 da 05 07 e8 40 00 00 03 00 40 00 00 0c 03 c5 0a a8 01 00 04 68…
Vi.
  • 29,583
  • 14
  • 78
  • 138
1
vote
1 answer

Gstreamer mux, caps refused

I'm using the following pipeline (SIMPLIFIED) in Gstreamer OSS Build 0.10.7 on Win 7 x64: udpsrc ! application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96 ! gstrtpjitterbuffer latency=200 !…