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
10
votes
0 answers

Creating web-browser playable webm files with vp8 SDK?

I'm using the vp8 SDK (www.webmproject.org) to create a vp8-encoded video file. However, the SDK sample produces an IVF file, which the browser doesn't play. I know the webm format is a matroska container so I guess I should store the video data in…
Florin
  • 2,601
  • 4
  • 17
  • 25
9
votes
1 answer

Extracting metadata from incomplete video files

Can anyone tell me where metadata is stored in common video file formats? And if it would be located towards the start of the file, or scattered throughout. I'm working with a remote object store containing a lot of video files and I want to extract…
npgall
  • 2,769
  • 1
  • 20
  • 23
6
votes
2 answers

How to play WEBM files individually which are created by MediaRecorder

For recording audio and video, I am creating webm files under the ondataavailable of MediaRecorder API. I have to play each created webm file individually. Mediarecorder api inserts header information into first chunk (webm file) only, so rest of…
Suman Bogati
  • 5,931
  • 1
  • 18
  • 33
6
votes
4 answers

How to read the metadata of a MKV movie files in C#?

How to read the metadata of a MKV movie files in C# (or C or C++ or AS3)? for example…
Rella
  • 59,216
  • 102
  • 341
  • 614
5
votes
1 answer

Are there any tools to convert matroska (mkv) to/from text files?

It would be useful to be able to dump mkv file to some text (like in mkvinfo -v), edit it and reconstruct back, leaving binary data as hex dumps, for example. Something like: $ mkv2xml < test.mkv > test.xml $ head test.xml
Vi.
  • 29,583
  • 14
  • 78
  • 138
4
votes
2 answers

How do I set the interlaced flag on an MKV file so that VLC can automatically play it back deinterlaced?

I've got an MKV file whose source is interlaced NTSC MPEG-2 video. I converted it to H.264 MKV with HandBrake, but this process did not set the "interlaced" flag in the MKV file. The content is interlaced—and I do want it to stay interlaced because…
Todd Lehman
  • 2,230
  • 1
  • 22
  • 30
4
votes
0 answers

ffmpeg audio - video sync issue (audio ahead of video) - while screen recording using x11grab

While screen-recording using the below ffmpeg options I consistently get audio ahead of video, delay is in the order of few seconds ffmpeg cmd: ffmpeg -y -f x11grab -thread_queue_size 1024 -draw_mouse 0 -video_size 1920x1080 -i :0 -f pulse…
maheshg
  • 189
  • 2
  • 5
  • 15
4
votes
1 answer

muxing jpeg to mkv using gstreamer

Situation: When I'm trying to mux jpegs to mkv file I'll get a zero sized file. I must put encode and decode elements between parser and muxer for correct output. When I'm muxing a h264 video with same code I'll get correct video file, that means…
slayer69
  • 81
  • 9
3
votes
0 answers

Writing matroska to an append only stream

I need to write a matroška video file to a stream that only supports an append operation (not network streaming, output is a single MKV file for offline playback). Right now I'm using ffmpeg's libavformat to do the muxing, but the resulting video…
cube
  • 3,571
  • 6
  • 29
  • 51
3
votes
1 answer

How to pass audio stream recorded with WebRTC to Google Speech api for realtime transcription?

What I'm trying to do is get real time transcription for video recorded in the browser with webRTC. Use case is basically subtitles in real time like google hangouts has. So I have a WebRTC program running in the browser. It sends webm objects back…
Matt Ffc
  • 31
  • 1
3
votes
1 answer

How do i extract timstemp of a cluster from mkv reading the file binary

When I read a binary mkv the id of a cluster is E7 byte and the timestamp has an unsigned int value but when I read it id doesn't give me the correct timestamp. double mkVSParser::get_clusters_timestamps(char *&package,unsigned long &size) { …
2
votes
2 answers

How to manually change duration field in matroska/mkv

I have one mkv file that doesn't have valid duration. I want to change this duration parameter manually. I gone through this matroska specification defined at http://www.matroska.org/technical/specs/index.html Looking at specification for matroska…
Parth Shah
  • 45
  • 4
2
votes
1 answer

Using a muxer corrupts input from ALSA

I'm trying to make a simple GStreamer program to mux together video from a v4l2 camera and ALSA audio. However, I'm having a lot of problems with the muxer. Here's the command I'm using: $ gst-launch -e matroskamux name="muxer" ! filesink…
Shawn Walton
  • 1,624
  • 2
  • 14
  • 23
2
votes
1 answer

How to use SampleGrabber with Matroska Muxer in DirectShow?

I made a simple graph to write MKV file. But I do not want to use file writer. I want to use SampleGabber and get stream using simple program. Problem is that I get data from anything but Matroska muxer!( What shall i do? (source: narod.ru) So my…
Rella
  • 59,216
  • 102
  • 341
  • 614
2
votes
1 answer

Open Source Matroska container Silverlight MediaStreamSource Parser?

So we have some File.mkv with h264 + mp3 in it we need to play that thing in Silverlight (3 or 4)... So I'm searching for some Open Source Matroska container Silverlight MediaStreamSource Parser/Eater? Where to find such thing?
Rella
  • 59,216
  • 102
  • 341
  • 614
1
2 3 4 5