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
1answer
65 views

FFmpeg - Converting mkv to mp4 with surround sound

I've searched many posts about this topic, and still cant get this done. To be exact, I'm trying to convert .mkv file with subtitles and surround sound to .mp4 with embedded subtitles and with as hi ...
1
vote
1answer
31 views

How to convert an mkv file with several subtitle tracks into mp4 with one of the subtitle streams hardcoded using ffmpeg?

I would like to know how to convert an mkv file with several subtitle and audio tracks into an mp4 with one of the subtitle tracks hardcoded and a single audio track selected using ffmpeg? It should ...
0
votes
0answers
17 views

How to apply negative delay to an audio track in an mkv file, using ffmpeg?

Is it possible to apply negative delay (-26 ms) to an mkv audio track, using ffmpeg? I would like to leave it as information only, and not necessarily cut the audio. The same as mkvmerge does with ...
0
votes
1answer
79 views

How to losslessly transcode MKV to WebM or MP4?

I've downloaded a rather vast number of videos from YouTube over the past couple of years (probably in excess of 1500) - and these are all MKV. Unfortunately — Premiere Pro seems only capable of ...
0
votes
0answers
24 views

video file keeps getting out of audio/video sync

I have a video file that when you first start it the audio comes in earlier than a the video by a few hundred milliseconds, so I adjust the audio delay in my media player, but then after a few minutes ...
1
vote
0answers
34 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 ...
0
votes
1answer
54 views

FFMPEG, resize, watermark and compress a video

I can't quite combine a couple of commands in FFMPEG. I'm trying to Burn in an external subtitle file map all other streams since the file contains many audio and subtitle tracks i don't wish to ...
0
votes
0answers
27 views

gstreamer: m3u8 to mkv/kinesis video

I want to ingest a m3u8 stream to kinesis video (MKV format). I compiled the kvssink plugin but gstreamer fails with unknown error. Maybe I need to convert the stream somehow before sending to ...
0
votes
0answers
43 views

Get audio track delay information using command line mkvinfo

I did a script to automatically scan my library in order to find videos without AC3 Audio track. It is done using mkvinfo. When a video is found, it extracts first audio track found (mkvextract) and ...
2
votes
1answer
193 views

Splitting corrupted webm video file

There's a 50-minute long webm video file which stops playing after about 8th minute. As I don't require the beginning of the video, I decided to split it and get last 30 minutes of it. For that, I ...
0
votes
0answers
55 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
87 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
31 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
74 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 ...
1
vote
1answer
1k 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
82 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
36 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
348 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
851 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
310 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
223 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
20 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
834 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
108 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
66 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
20 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
2k 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
80 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
1answer
627 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
276 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
5k 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
1answer
186 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
376 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 ...
1
vote
1answer
864 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
518 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
1answer
48 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
360 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
669 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" ...
1
vote
1answer
378 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 ...
0
votes
1answer
652 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
1k 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
324 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
146 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
1answer
344 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
1k 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
3k 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
158 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 -...
3
votes
1answer
1k 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
669 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
2 3 4 5