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
0answers
31 views

How to fix a damaged MKV video file?

I have a damaged MKV file (power turned off while recording). I know how to get the actual video duration (e.g. decode and send output to null, take the last frame reported PTS). How do I edit the ...
0
votes
1answer
57 views

Using FFmpeg to convert to AC3 and remove extra tracks

I've been using this to convert the first audio track to AC3: ffmpeg -i FILE.mkv -map 0:v -map 0:a:0 -map 0:s -c copy -c:a ac3 -b:a 640k FILE-AC3.mkv And it has been working great. I wanted to know ...
0
votes
0answers
27 views

VLC player keeps resizing the length and height of the movie window during playback

I've got an mkv file with 1920 frame height and 1012 frame length. During the playback of the movie VLC keeps adjusting the height and the length of the movie window. I have a 1366 x 768 screen ...
0
votes
0answers
52 views

Picture is hazy in VLC when playing .mkv file

Whenever I play .mkv files on VLC (v. 3.0.8) the picture is very hazy/blurry. I have tried a few of the settings commonly available on the internet, but they are hard to follow mainly due to be being ...
0
votes
1answer
195 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 ...
0
votes
0answers
43 views

Why is the length of the same movie different?

Currently I am digitizing my collection of DVDs. Some of the DVDs have a scratch and cannot be read perfectly. When this occurs I am downloading this DVD from the internet and try to recover the ...
1
vote
0answers
27 views

Windows - Is it possible with MKV Merge to remove all subtitles that do not match given name

I found this code: :: remux all mkvs under a certain subfolder with all subitles :: but those as specified by %language% parameter removed. @echo off setlocal enabledelayedexpansion :: set your ...
0
votes
0answers
68 views

Need Help on MKVmerge command line on Windows

I have a script to remux .avi files to .mkv files. It does what it has to do but only issue i have is the renaming part. I get two extentions on my output file, like mymovie.avi.mkv. Does somebody ...
2
votes
0answers
260 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 ...
0
votes
0answers
56 views

Audio and video from MKV file getting out of sync in multiple media players

I noticed an issue while playing MKV files on my HP laptop. After about an hour or so, the audio starts to get out of sync with the video, and the delay becomes greater and greater. If i restart the ...
0
votes
1answer
61 views

FFMpeg to manually set a file duration

My generated mkv containers (containing h265 video) are missing the video length. Is there a way to set this before the piped input is closed? Input #0, matroska,webm, from 'camera01-20190815-203646....
0
votes
0answers
13 views

Video file won't show where .srt subtitle file is?

Just downloaded a movie and when I went to watch it (foreign language) I turned on the subtitles. However, I noticed there was no .srt subtitle file or any other file back in the folder in which the ...
1
vote
1answer
261 views

Batch Merge subtitles into MKV file using MKVToolNix

I am currently trying to merge external subtitle files (.ass files) into an mkv file, but am facing problems with looping. My latest attempt at this: set mkvmerge="C:\Program Files\MKVToolNix\...
0
votes
0answers
60 views

ffmpeg Retain “Delay relative to video”

When I convert any video files using ffmpeg any audio that has any "Delay relative to video" is lost after conversion. It happens when copying and converting audio. How do i retain this? I tried ...
0
votes
1answer
41 views

How to remux mka audiobook to m4b?

I have some audiobooks in "mka" files (Matroska audio) that I wish to remux to the more-standard "m4b" container, which more players can read. Is there a way to do this without losing the chaptering ...
0
votes
0answers
17 views

Strange shadow pixel border around video

I have a BD disk that has a light shadowed 1 pixel around the whole video. Is it possible to re-encode the video to remove it all while keeping the same resolution?
1
vote
2answers
943 views

How do I convert an MK3D file into an MKV file while preserving the 3D?

I have an MK3D video file containing a 3D movie. But my video player (Skybox for Oculus Quest) does not support MK3D files, only MKV files. My question is, how do I convert my MK3D file into an MKV ...
0
votes
0answers
51 views

How to batch convert a specific DTS audio track language of multiple MKV files to Dolby Digital?

I now the tool PopCorn MKV AudioConverter to convert all DTS audio tracks of a MKV file to DD. It is able to convert multiple MKVs in a folder as well. But it is not able to convert only if: - MKV ...
0
votes
0answers
289 views

set default audio track for mkv movies

i am currently running a bash script on my linux debian system to copy some dvds. I am using makemkv for that. I also use minidlna to share the movies with my other devices in my network. The Problem ...
1
vote
1answer
161 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). ...
0
votes
2answers
2k 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
0answers
12 views

Find all MKV files and remove all subtitles, audio and video track names, comments a thumbnails

I have a series of MKV that have 1 video, 1 audio track some subtitles, chapters and coverr.jpg. I see here fine simple answer - Find all MKV files and remove all subtitles I need this: save in ...
0
votes
0answers
128 views

How to use VLC to convert MKV files to MP4 files without the video being shortened

I'm attempting to use VLC to convert an MKV file (containing 1920 x 1080 video) to an MP4 file but I'm not having a great deal of success. The MKV file is a 6 minute video where most of the time, just ...
0
votes
0answers
35 views

Can I convert multi-files mkv with softsub to mp4 with hardsub?

I want to convert multi-files mkv with softsub to mp4 with hardsub.
0
votes
1answer
121 views

Reencode mkv to mp4 with forced subs only

I've asked a similar question before but I couldn't get it to work and since it is an old post, I'm trying again. I want to convert to mp4 from mkv because many of my players have issues with mkv. ...
0
votes
0answers
209 views

Batch Script.Bulk MKV videos metadata removal. OS X Mac

When I run the below batch file that is using mkvpropedit and remove all tags and title from all mkv files within a directory. I get the error: .mkv Error: The file '.mkv' is not a Matroska file or ...
0
votes
1answer
441 views

ffmpeg to get an HEVC RTSP stream into an mkv container

I'm trying to copy an hevc video from an RTSP feed into an mkv container. This works: rtsp(hevc) -> out.hevc then out.hevc -> out.mkv This doesn't work rtsp(hevc) -> out.mkv Working below: ...
0
votes
0answers
426 views

ffmpeg Non-monotonous DTS Error During Stream copy

I am attempting to stream copy a DTS-HD MA audio stream into the matroska container. ffmpeg throws Non-motonous DTS errors that look like this: [matroska @ 00000294f0f902c0] Non-monotonous DTS in ...
0
votes
0answers
44 views

mkvmerge batch it fails when I use “.”

this batch works correctly when the title is for example: Another Thin Man (WS Van Dyke, 1939) but it fails with "." example: Another Thin Man (W.S. Van Dyke, 1939) the code: @echo off setlocal ...
0
votes
1answer
47 views

Matroska supported formats

So suppose I want to store a variety of time-synced data as a kind of "session", say. Like, say I have several video recorders recording video at the same time, as well as a few microphones, still-...
0
votes
1answer
192 views

How to include soft subtitles when encoding from DVD

I'm using MakeMKV to encode DVDs to .mkv files and from there I was using VLC Player to enclode to .mp4. However I found that .mp4 seemed not to be able to host 'soft' subtitles (i.e. available as an ...
2
votes
1answer
455 views

Mkvmerge command line on Windows not working for multiple subtitle languages

I''m trying to mux many subtitle languages into the same file (MKV as output) but it's not working. I'm trying the following from a batch file: FOR /R %%A IN (*.mp4 *.webm) DO mkvmerge -o "%%~nA.mkv" ...
0
votes
1answer
209 views

mkvmerge add stream (e.g. subtitles) without copying entire file / in place merge

The title says it all. I frequently add subtitle .srt files to .mkv files and every time I use mkvtoolnix / mkvmerge, the entire input .mkv is copied to the otput file. Is there a way to do the merge ...
-1
votes
1answer
329 views

I want to add cover art to all the MKVs in a folder

I'm trying to batch add cover art to all my MKV files in Windows using Batch scripting but I can't. My file structure is like this: Video1.mkv Video1.jpg Both video and image have the same filename, ...
0
votes
1answer
768 views

VLC enable matroska subtitles by default

I have some movies in matroska format. They have english subtitles in. The problem is I have to manually select those by either clicking V or selecting them from the context menu. Now I've seen those ...
1
vote
0answers
243 views

How to extract two video files from an MKV container

I have a two part video. I placed both files into an MKV container using MKVToolNix and multiplexed and produced the output file. However, the second video does not play at the end of the first. ...
0
votes
1answer
93 views

How can i recover MKV file after OBS Crash?

I have 7.78 GB 2 hours long video file. I can play it but when i try to seek player crashing. I record it with OBS as a screen capture. My screen flashed and game crashed after that i checked obs and ...
0
votes
0answers
13 views

how to extraxt mkv audio so i can delete the any sound effect i don't want from the video (IN UBUNTU 18.04)

I want to know how to get all the audio file from the mkv file so I can delete the background music. what software I can use. but this have to be for ubuntu 18.04. (If you don't understand me I'm ...
0
votes
1answer
251 views

How can I add chapters from kdenlive to an MKV file?

Unfortuately kdenlive does not provide a way to add chapters to an MKV file, only to DVD's. How can I add chapters?
2
votes
1answer
885 views

How to mkvmerge all videos and subtitles with the same file name

I have a folder containing different video and subtitle types, with each set of videos and subtitles having the same file name, and some videos with no subtitles. For example, video01.mp4 video01....
0
votes
1answer
2k 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 ...
0
votes
1answer
123 views

Copy audio stream, while also re-encoding with filters?

I'm using this command to copy the video & audio streams while also encoding the first audio stream to a stereo AAC track as well: ffmpeg -y -i in.mkv -map 0:v -c:v copy -map 0:a:0? -c:a:0 copy -...
2
votes
1answer
462 views

How do I simply edit the subtitles of a MKV file while preserving the video, audio, and attachment streams?

So when I look at the original video: ffprobe -v error -show_entries stream=index,codec_name,codec_type example.mkv I see something like this: [STREAM] index=0 codec_name=h264 codec_type=video [/...
0
votes
1answer
464 views

Converting an ATSC TS to MKV, including all audio tracks and closed-captioning from FFMPEG

I'm guessing this can be done somehow, because I've seen programs that are a GUI front-end to FFMPEG that essentially do this, but I'm trying to figure it out from a command-line in Ubuntu. I want to ...
2
votes
2answers
2k 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:...
1
vote
0answers
36 views

How to set the path when merging ASS subtitle files in to MKV files

So I came across this tutorial for merging ASS subtitle files in to MKV video files. The problem? How do I set the full path where the files are actually located? Do I run this command from: C:\...
2
votes
1answer
151 views

Debian/Armbian: mediainfo exits with code 1 on .mkv files

I hope superuser.com is the right spot for this kind of issues. Status quo: Today i updated my BananaPi M1 to Debian Stretch (Armbian) and installed all packages I need from the plain Strech repo, ...
4
votes
0answers
1k views

Can't add metadata Tag to .mkv video in file explorer because I need permission from myself to modify the file

I'm on Win 10 1709. I can modify, delete, and rename files but can't add tags. Windows says I need permission from myself to modify the file when tagging. Below is a .gif of the issue. I already ...
7
votes
2answers
33k views

How do I change the default audio track of an MKV file?

I have an MKV video file that has two audio tracks, a Hindi-language track and an English-language track. I guess the Hindi track is set as the default track. I have a video player that doesn't ...
2
votes
1answer
90 views

Why do people still backup their movies as mkv today? [closed]

Why anyone would use the matroska container when mp4 is way more compatible and has at least all mkv features as a container? Am I missing something ?