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.
276
questions
0
votes
1
answer
30
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 ...
0
votes
0
answers
60
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....
-1
votes
1
answer
163
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
45
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 ...
2
votes
1
answer
159
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 ...
0
votes
0
answers
43
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
178
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
459
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 ...
0
votes
0
answers
197
views
Removing Stuff from MKV files
I use a number of apps to remove tracks/streams from MKV files (FF Works, mkvtoolnix).
I remove all tags, all non-english subs and set the names/titles of video and audio tracks to reflect the ...
0
votes
1
answer
155
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
160
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
vote
1
answer
771
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
)
...
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
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 ...
2
votes
1
answer
278
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
1
answer
427
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 ...
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 ...
2
votes
1
answer
998
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 ...
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
664
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
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 ...
0
votes
1
answer
606
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 ...
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 (...
3
votes
1
answer
385
views
Cover art of mkv file not being added when converting to mp3 file
I have an mkv file, only with audio, and I attached a cover art to it, but when I convert it to mp3 the art is not added to the mp3.
The command I used to attach the cover art was the only one that ...
0
votes
1
answer
68
views
Lavf creates mysterious element in mkv (Matroska) containers with element id BF
Today I noticed that Lavf creates mkv containers that have an element with element id BF and a length of 4 bytes. According to the mkv specs
https://github.com/ietf-wg-cellar/matroska-specification/...
1
vote
1
answer
334
views
FFMPEG - COPY MKV to MP4 but add 2.0 Stream
Morning All,
Using FFMPEG currently just to re-container UHD MKV into MP4 with...
ffmpeg -i File1.mkv -c:v copy -c:a copy -strict -2 File1.mp4
But these MKV only have TrueHD or DTS-HD which is fine ...
2
votes
1
answer
593
views
Batch file to recursively mux .mp4 and .srt from different folders
There is a new trend in torrents to release TV and Movies as x265 .mp4 with .srt subs in a separate folder, following this folder structure:
Season1\title1.mp4
Season1\title2.mp4
Season1\title3.mp4
...
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 ...
0
votes
0
answers
1k
views
How to strip HDR metadata from mkv video, without re-encoding?
I have a video file in a mkv container. This video file is 4K/BT2020/SDR but with an extra HDR layer that is useless because the video is SDR: the "correct" colors are already baked-in. The ...
1
vote
0
answers
556
views
Is it possible to download an MKV file starting from half-way over HTTP?
I have an MKV video file that I need to download starting form half-way through. The video encoded as h264, the audio is encoded as AAC.
Normally HTTP downloads sequentially so if your download speed ...
0
votes
0
answers
405
views
How to fix playback issues in VLC with a MKV file after slowing it down with ffmpeg
I ripped some extras from a DVD that are basically image galleries to MKV. They play way too fast, so I slowed them down using ffmpeg like this:
ffmpeg -i input.mkv -filter:v "setpts=64*PTS"...
1
vote
0
answers
396
views
Play Movie with 2 languages simultaneously
I know that a similiar question has been asked on how to achieve this in Linux. However this Question was asked 5 years ago and maybe there is a more convenient way to do this. Furthermore, if ...
1
vote
0
answers
3k
views
Convert Dolby Vision file in MKV container to MP4 container
I have a 5GB Dolby Vision file encoded in MKV container. If I play this file in my LG CX TV, there is a discoloration all over the display. Apparently the default WebOS media player that comes with ...
0
votes
1
answer
2k
views
Removal of select subtitle tracks and audio tracks from mkv file in batch
My problem is that I have 2 subtitle tracks, one is named "English signs and songs" and another is called "English full". I also have English and Japanese audio tracks (dual audio)....
1
vote
0
answers
176
views
Matroska audio reports wrong bitrate when adding a cover
I'm trying to make an audio-only Matroska file, but keep having an issue in regard to the reported bitrate of the archive.
To demonstrate it, I'm first making a simple .mka without any attachments ...
0
votes
2
answers
739
views
Is there any way to passthrough an MKV file to MP4 without it ending up as HVC1?
I use my PS3 to play all my shows & Films using x2 (Fat32) 5TB Drives, normaly mp4's & avis, but I've noticed the PS3 won't play HVC1.
I recently tried using dvdfab with the passtrhough option ...
1
vote
1
answer
1k
views
FFmpeg: Issues muxing/copying ASS subtitle streams from one MKV source with another MKV, causes 33secs of missing subtitle at the beginning
Hey first time posting,
But I really tried to look all around for a solution, even tried a couple of options that worked for me before for a similar issue with WebVTT from another solution [here].
...
1
vote
0
answers
444
views
Unknown (possibly malicious) behaviour when executing .mkv file
Context:
I was transferring files from my phone to laptop through USB. I was curious about one of the videos in the Telegram folder (which had a .mkv extension) and double clicked. Now normally when I ...
5
votes
0
answers
4k
views
Using ffmpeg, is it possible to convert a blu-ray folder to a MKV file and add chapter titles in one go?
From time to time, I have to convert the files which are referenced by a playlist from a blu-ray disc to a MKV file. I normally use ffmpeg under Windows in a command line like the following:
"C:\...
0
votes
1
answer
1k
views
How to convert flac inside mkv ffmpeg?
Guys! I was wanting to know if anyone can tell me how to losslessly convert FLAC audio to LPCM without any quality loss at all?
This is info from of the mkv. Stream #0:0: Video, Stream #0:1: Audio: ...
1
vote
0
answers
1k
views
How to Batch Merge Identically-Named Subtitles and Audio Files Into a .MKV File
I am very unfamiliar with how batch processing with MKVToolNix (I just barely know how to save a .bat file and make it use MKVToolNix), so forgive me if this is obvious. I found an answer here (Batch ...
0
votes
0
answers
585
views
ffmpeg: adding subtitles (.srt) to MKV only adds first subtitle frame
I am trying to add a separate .srt file to an existing MKV container using ffmpeg:
> ffmpeg -i 'input.mkv' -fix_sub_duration -i 'subtitles.srt' -map 0 -c copy -map 1 -c:s:1 srt 'output.mkv'
I am ...
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
2
answers
787
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 ...
2
votes
1
answer
164
views
My Batch script cannot match the cover JPG images when muxing files into a MKV
I wrote the code and I want to use it for my archive. Thanks for helping me improve it.
The folders containing the files are as follows (ex.):
Got folder /S01, /s02, /s0n...
/S01/01.mkv, 02.mkv,..., ...
1
vote
0
answers
190
views
Concatinate mkv from segmented recordings of rtsp
I recorded an rtsp stream to a series of segmented files via the following
ffmpeg -t $((5*60*60)) \
-i 'rtsp://[email protected]:88/videoMain' \
-c copy -map 0 \
-f segment -segment_time 60 -...
0
votes
1
answer
2k
views
Using mkvmerge to Merge Subtitle Tracks
I am looking for a way to merge two MKV files, each with an embedded subtitle track, into one where the subtitle tracks merge properly and in order. Right now I get two separate subtitle tracks, and ...
0
votes
1
answer
590
views
Batch: Merge specific parts of mkv files
I have several Folders of MKV files. each folder contains episodes of a series with english Audio track and good quality of video and same episode with Farsi dubbed audio track (and also english) but ...
1
vote
0
answers
477
views
In ffmpeg truehd encoder, can you mark L and R as LT and RT (Dolby Surround)
When encoding a stereo audio stream with the ffmpeg ac3 encoder, you can specify that the L/R channels are Dolby-Surround (Pro-Logic) LT/RT channels, using the -dsur_mode 2 flag.
Is there a way to do ...
0
votes
1
answer
637
views
How to install mkclean?
Download the tar file from this link .
> wget https://sourceforge.net/projects/matroska/files/mkvalidator/mkvalidator-0.5.2.tar.bz2/download
Unzip the archive with tar.
> tar -xjf ./download
I ...