Questions tagged [matroska]

Matroska Multimedia Container is an open standard free container format, that can hold an unlimited number of video, audio, picture, or subtitle tracks in one file. It is intended to serve as a universal format for storing multimedia content.

Filter by
Sorted by
Tagged with
0 votes
1 answer
4k views

Extract mkv metadata / headers into a file

I've got several thousand mkv-files. I need to extract 2 metadata information of these files into a list, specifically the file resolution (e.g. 1920x1080) and if exists (!) the information the aspect ...
0 votes
0 answers
38 views

FFMPEG: Why MKV video converted to MP4 only plays on VLC Media Player?

I have a video in MKV format that I wanted to convert to MP4, so I used ffmpeg to convert it. The command I used was pretty simple: ffmpeg -i <path_and_name_of_file>.mkv <...
0 votes
1 answer
5k views

Merge MKV video and MKA audio tracks while keeping subtitles

I have this situation: file1.mkv (video with two 5.1 tracks and several subtitles) file1.mka (two stereo audio tracks) I want to merge the files to a single output that has: 4 audio tracks (the 5....
0 votes
1 answer
47 views

Converting audio tracks only in mkv files to AC3

I have an LG CX TV. The internal video player does not recognise DTS audio format. I'd like to be able to play MKV files (which might have DTS audio tracks) from an external USB device. I was looking ...
2 votes
2 answers
5k views

H.265 and Opus in Mp4 container - is it possible?

I have an MKV file with HEVC video and OPUS audio. It plays great in all players. The problem is that I need it to be streamable. When VLC plays an MKV from the web, it first downloads it and then ...
0 votes
5 answers
18k views

Batch remove title from .mkv files

Trying to remove the "title" attribute from a bunch of MKV files. Windows Explorer is being blocked by COM Surrogate which is keeping this (How to remove title and other metadata from video files?) ...
15 votes
5 answers
58k views

Convert MKV with DTS sound to MP4 video with AAC or AC3 audio

I've got a 4.3 GB 720p movie and want to convert this MKV with DTS sound to MP4 video with AAC or AC3 audio. I sometimes get: ffmpeg: unrecognized option '-c:v' …and: aac unrecognized ¬and other ...
0 votes
0 answers
77 views

Why do Matroska files (.mkv) with '.der.' in the file name not play in Google Chrome but instead bring up a download dialog?

Usually, Matroska files (.mkv) that I open in Google Chrome (e.g. https://www.example.com/example.mkv) are played directly in the browser. However, I noticed that files with .der. in the file name (e....
18 votes
0 answers
9k views

Extracting Opus from WebM losslessly with FFmpeg or MKVToolNix

I have come across a strange problem when remuxing Opus audio stream from WebM to another container like ogg or opus. Running the output files through a spectrum analyzer clearly shows that there is ...
23 votes
5 answers
89k views

Windows 8 DLNA streaming of MKV files

I have a Samsung TV that is capable of playing MKV files. The Windows DLNA Play To menu that appears when you right-click a media file does not support MKV files, but a simple trick has been to change ...
0 votes
1 answer
4k views

Error 0xc00d36bb when trying to play MKV files in Movies and TV

Please help me solve this issue. The videos I'm trying to play have subtitles and dual audio.
0 votes
1 answer
4k views

MKVMerge add .srt subtitle in batch

I'm looking for some command / script to scan my designated folder, merge the srt files (same name as video) with avi/mp4/mkv files to get mkv files, and then delete the original files (video AND ...
0 votes
1 answer
7k views

Remove embedded subtitle streams from media file without "streaming/remuxing"

This related post gives a solution: mkvmerge -o output.mkv input.mkv -S # remove all subtitle tracks This other related post gives a solution: ffmpeg -i input.mp4 -c:v copy -c:a copy -map_metadata 0:...
1 vote
0 answers
3k views

How to play online MKV files with VLC without downloading them?

Is there anyway to play an online MKV file with VLC without having to download that file first? If I click on "Open network stream", put the link of a MKV file there and click play, VLC only ...
0 votes
2 answers
825 views

How to make a three times smaller video from a large video as fast as possible with Handbrake?

I have a good quality black and white old movie in MKV format of 11GB. My intention is to keep the original and to create smaller versions for practical reasons when watching on various devices that ...
-1 votes
1 answer
192 views

How do I burn an MKV with picture-based subtitles into a DVD?

I'm trying to figure out how to burn a series of MKV files with picture-based subtitles (not srt) to a video DVD but I can't figure out how to achieve this. I tried DVDStyler and it did import the ...
0 votes
0 answers
50 views

Encoding MKV File Without Changing Header Information

I captured a video using a Kinect Azure SDK device. This captured video (.mkv container) has three tracks: Color, Depth and IR. I extracted the Color track using MKVToolNIX. I could playback this RGB ...
1 vote
1 answer
639 views

Converting VP9 webm to VP8

I wonder how can I convert VP9 webm to VP8 with FFmpeg or Matroska (matroska would be better) without changing any kind of setting? I just want the output to be exactly same as the input but as VP8 ...
1 vote
1 answer
1k views

How to Extract Video & Audio from a Corrupt File with Codec Id Mismatch (wrong track type)?

The Problem: There is a bunch of video files that can only be played with a custom player and I'd like to reverse engineer it so that the video can be played on common media players (like VLC or MPC). ...
2 votes
1 answer
180 views

When copying all streams from a mkv contained to another mkv container, original cover thumbnail stream gets copied, but does not get visualized

So, to simplify the topic for this question, I am using a simple command that only copies all the original streams and puts their copies in a new mkv container. The original cover.png stream is still ...
5 votes
7 answers
33k views

Change audio track order in MKV files

I have a bunch of MKV files, that were all made the same way: one video track audio track 1 is english audio track 2 is german Now I want to change the audio track order, so that german is track 1 ...
0 votes
0 answers
59 views

Telling FFMPEG to process all audio tracks with the same parameters as in the source and changing only the parameters I specified

I have an MKV file with 3 audio tracks (AAC stereo, stereo and 6ch) and use a following command line: C:\Program Files\ffmpeg\bin\ffmpeg.exe -hide_banner -loglevel info -y -i "%1" -c:v copy -...
0 votes
0 answers
187 views

Change 50fps video into 25fps and keep the duration without reencoding

I have a 50fps video, where every second frame is a duplicate of the previous frame. I want to upload this video to youtube and I want youtube to think it's a 25fps video. Is this possible? For ...
3 votes
0 answers
491 views

null bytes in .mkv file

I recently downloaded a movie (.mkv), it works perfectly on VLC Android, but after I moved it to my computer (with adb), mpv could not run it (Failed to recognize file format), nor parole (GStreamer ...
3 votes
2 answers
6k views

Bulk MKV Metadata Removal - Batch Scipt

I am trying to create a batch file that will use mkvpropedit and remove all tags from all mkv files within a directory, I have so far managed to get this: @ECHO OFF TITLE MKV Metadata Remover ECHO. ...
0 votes
1 answer
164 views

Replace video track in MKV with track from .h264

I want to replace only the video part in my existing mkv file with the video.h264 file I created externally, I don't want to interfere with other parts or features in my mkv file such as audio or ...
1 vote
1 answer
175 views

FFmpeg does not copy over chapter atoms when I try to remove subtitles

I have some videos encoded from The Criterion Collection, and their videos use these things called "chapter atoms". What is really odd is that ffprobe does not detect these. I assume that ...
-1 votes
1 answer
7k views

Converting a MKV file with DTS MA audio to AC3 5.1 (With no loss in video)

I have a linux server on which i need to do this. I have a video MKV video file with AVC video and DTS MA audio, i need to convert this to a file with AC3 5.1 Audio with no loss in video and as ...
2 votes
2 answers
5k views

Is there a way to extract subtitles from an MKV while maintaining the original format?

I am trying to extract (first, in case of many) subtitle track from mkv files (via CLI only, no GUIs) using ffmpeg or mkvextract. But there is one downside to this: I have to write the output name ...
1 vote
1 answer
836 views

Disable all subtitles (softsub) in .mkv, .mp4 files

I have several Movies/Animes with many subtitles, and I want disable all (not remove) subtitles in a batch (.bat file); below current code: for %%a in (*.mkv, *.mp4) do ( REM disable subtitles ) ...
0 votes
1 answer
3k views

MKV to M2TS muxer for Snow Leopard

I currently use the tsMuxeR for Windows within a VM on my Mac to mux MKV to M2TS to play on my PS3. tsMuxeR currently doesn't have a version that works with Snow Leopard, and I have not had any luck ...
2 votes
1 answer
4k views

Playing 3D mkv on 3D TV

I just bought a brand new LG 42LW4500 TV with enabled 3D think its passive any how i have an option to convert 2D > 3D i also got a full set of normal 3D Glases. Now today i downloaded a 3D movie (...
2 votes
1 answer
312 views

Old family videos with no audio... any hope of recovering the audio?

I have limited experience but have used simple tools like mediainfo and ffmpeg before, though I don't usually know what is happening. I dug up some old digital video files of family members that are ...
0 votes
3 answers
4k views

FFMPEG Converting MKV to MP4 causes Frame Rate Mode to Change

When I convert a video from MKV to MP4 using this command: ffmpeg -i input.mkv -vcodec copy -acodec copy output.mp4 the frame rate mode changes from Constant to Variable, creating a desync over time ...
0 votes
3 answers
3k views

MKVMERGE & cmd Batch Muxing Video and Subtitles

My scenario: I have multiple mkv files with separate but corresponding srt files in a folder that I want to mux together. I'm only interested in the files in the current directory and I'm running the ...
0 votes
1 answer
452 views

Trouble with splitting a .mkv file in half with FFMPEG using one command, had to do it one at a time with a slightly different command

So I have a ~400GB .mkv file I wanted to upload to YouTube, unfortunately for me YouTube has a 256GB limit. So I Googled if I could split the file with FFMPEG and found the following article (FFMPEG ...
3 votes
1 answer
5k views

Subtitle encoding issue with mkvtoolnix

I've attached a few subtitles to a MKV with mkvtoolnix, but it appears that after muxing, the character encoding is messed up. The input subtitles were UTF-8 encoded. I don't know what's the character ...
2 votes
1 answer
1k views

How to do automatically transfer subtitles from one video to another ? (based on video stream)

I have the following : a mkv file (let's call it A) with video, audio and subtitles correctly synchronized. another mkv file (let's call it B) with video and audio also synchronized but without ...
5 votes
2 answers
3k views

Replace video track in MKV with track from different MKV file

I have two MKV files with the same movie and I want to replace video track in the first file with video track from the second file, using commandline (so it can be used again with different pair of ...
0 votes
0 answers
3k views

How can I force a subtitle track to be set as active on an MP4 video?

I'm converting .mkv's to mp4 and it's working, however the issue is that when I open the .mp4, the subtitle track is disabled by default. I have to manually select it as such: How can I make it so ...
38 votes
4 answers
275k views

How can I watch a side-by-side 3D video in 2D?

I have a 3D movie (.MKV), with side-by-side 3D, and it works just fine at home. Now I want to see it at my friend's house, and they don't have a 3D system. Is there any way to crop one of the sides ...
10 votes
2 answers
17k views

Understanding FFMPEG Error Extracting Subtitles

I'm trying to extract some subtitles as an srt file because there are some lines I'd like to edit therein before remuxing the video. Unfortunately I'm running into an error that I really don't ...
1 vote
0 answers
1k views

MKV file optimization: What does mkclean do exactly?

I have some questions about mkclean... dont know if this the right location to ask, but since i've saw other questions about matroska, mkclean, metadata and similar i'll just ask... Basically, its the ...
0 votes
0 answers
676 views

Copy all FFMPEG streams and metadata except the first video stream

I have some "voice memos" that were recorded through the video camera app. They have huge video streams, but I just want the audio. How can I copy all streams via ffmpeg except the first ...
0 votes
1 answer
633 views

Can I increase audio gain in a Matroksa file without recoding?

I have a Matroska container with some video stream, some subtitles stream and an AAC audio stream. Now, the audio's gain/volume is too low, relative to other media files I play, and I want to increase ...
3 votes
1 answer
2k views

How can I include possibly several embedded cover art when converting mp3 to mkv using ffmpeg?

I wish to include embedded cover art when converting an mp3 file to mkv (vorbis). ffmpeg -i input.mp3 output.mkv will render a file that does play (in mpv) showing an image but the moment I try to ...
5 votes
2 answers
4k views

How do you rip two or more specific titles with makemkvcon?

I've been starting to use the CLI to MakeMKV (makemkvcon) and I'm wondering if anyone knows if there is a way to rip more than one specific title from a DVD at a time without rescanning. Say I want to ...
3 votes
3 answers
5k views

Extract closed captions (CC) From .mkv file interlaced in video stream

Video output: ffmpeg -i output.mkv Input #0, matroska,webm, from 'output.mkv': Metadata: encoder : libebml v1.3.6 + libmatroska v1.4.9 creation_time : 2018-08-31T06:43:45.000000Z Duration: ...
52 votes
2 answers
117k views

How to extract subtitles from MP4 and MKV movies

I'm trying to extract subtitles from MP4 and MKV movies. I'm using mp4box (on OS X) but cannot figure out how it works. Any hints?
1 vote
0 answers
1k views

How to I use MKVmerge to add sbtitles to MKV but disable all of them

I came across mkvmerger.bat on this site and it works really well for me (How to mkvmerge all videos and subtitles with the same file name) BUT It seems to set the last subtitle file as the default (...

1
2 3 4 5 6