Questions tagged [mkv]

Questions relating to the Matroska (mkv) audio/video multimedia file format

Filter by
Sorted by
Tagged with
1 vote
1 answer
897 views

Convert MKV to audio only in Linux

I am trying to convert a video (recorded with OBS) from MKV to audio only (e.g. MP3 or OGG) in k(Ubuntu). I tried this command first : ffmpeg -i myVideo.mkv -acodec libvorbis output.ogg the result ...
SL5net's user avatar
  • 628
1 vote
1 answer
153 views

how can i run a .vp6 file on ubuntu?

Some time ago I installed a video game (need for speed most wanted) on my pc with ubuntu 22.04.1lts operating system. The problem was that the cinematics weren't working for me, and over time I found ...
Daniel Cruz's user avatar
2 votes
1 answer
417 views

In mvktoolnix, what is command to extract a part of video, audio files?

In mvktoolnix, what is command to extract a part of video, audio files (mp4, mkv, mp3,...)? say like extract filename from 00:5:30 to 1:10:25
ydhhat's user avatar
  • 201
2 votes
1 answer
351 views

Split multiple mkv files from ubuntu terminal using mkvmerge

I have many .mkv files nightmare1.mkv nightmare2.mkv nightmare3.mkv ... I use mkvmerge from terminal of Ubuntu to split a single file with this command mkvmerge --split 1G --compression 0:none --...
Jack Rock's user avatar
0 votes
0 answers
805 views

I'm getting "The file you tried to play is an empty file" when opening some mkv's

So I downloaded a show with mkv files and almost all play except 2. I receive that error message when attempting to open them even though the files match the correct size as stated by the uploader and ...
bkm029's user avatar
  • 1
0 votes
1 answer
2k views

How can I choose which audio and subtitle tracks to keep when converting from MKV to MP4 with FFMPEG?

I have an .mkv file where there's 2 Audio tracks and 2 Subtitle tracks (SRT format). I want to convert that .mkv to mp4 and have it have Audio track #2 and Sub track #2 as the ones to play when I ...
Yen's user avatar
  • 1
2 votes
0 answers
213 views

Audio from .mkv file stutters when skipping in VLC

Title basically says it all. When I'm using VLC and I jump to a random point in an .mkv video, the audio stutters a bit. It gets quite annoying after a while. It doesn't happen in other video players, ...
Qaaqaa248's user avatar
0 votes
0 answers
92 views

Can't play 1080p mkv videos in default video player or in vlc

I have downloaded ubuntu restricted extras, but I can't play the video file which is in 1080p mkv on my laptop. In vlc player only audio plays and in default video player audio & video both laggs ...
Peace Maker's user avatar
1 vote
1 answer
1k views

Set MakeMKV installed with snap to see optical drive

Snap seemed to me the easiest way to install MakeMKV. I ended up with a program that starts but doesn't react to the presence of a DVD. Trying to navigate manually to the drive, the /media folder is ...
cipricus's user avatar
  • 3,367
2 votes
3 answers
20k views

How to convert MKV to MP4 using ffmpeg keeping all video, audio tracks and subtitles?

I have been trying to convert mkv to mp4 using ffmpeg -i input.mkv -vcodec copy -acodec copy output.mp4 The input.mkv has two different audio track and one subtitle . But the problem I am getting is ...
Shravan Mhatre's user avatar
0 votes
1 answer
2k views

Unable to play mkv file

I am using Ubuntu 18.04 Bionic Beaver. When I tried to open an .mkv file, it showed an error message Unable to Play the file - application/x-rar decoder is required to play the file, but is not ...
S J J's user avatar
  • 1
0 votes
0 answers
925 views

Ver 20.04 LTS trying to play MKV files in VLC

Ubuntu ver 20.04.2 LTS VLC ver is 3.0.12.1 Updates are current Using the below list of Preferences changes to VLC I have managed to get some MKV files to play but not all. Here is one video that ...
Vladimir Petrovich's user avatar
1 vote
2 answers
3k views

How to edit mkv with subtitles (and keep the subs)

I have an mkv file which has (soft) subtitles in it. The video is about 30 minutes long but I want to trim it down to just 6 minutes (say, from 19:00 to 25:00). However, I want to keep the soft ...
John's user avatar
  • 996
3 votes
1 answer
5k views

Use mkvtoolnix to split video file such that each file in same duration?

I search and find the way of using mkvtoolnix to split video file such that each file has same size at here, but not find the way such that each file has a same duration (like 10 minutes). Is there ...
ydhhat's user avatar
  • 201
0 votes
0 answers
2k views

How to get libdvdread4 in 20.04

I use Ubuntu Studio 20.04 LTS in three PCs: two desktops and one laptop. But, because some reason I don't know, into the Laptop there are not some DVD libraries I have in the desktops. The libraries ...
Juan's user avatar
  • 1,777
0 votes
0 answers
429 views

How can I run a .mkv file in VLC (or an equivalent)?

I have some .mkv files and I'm trying to play then in VLC. The audio works but the video does not (just a black screen). I tried in the "Videos" program. There is video but its very choppy ...
user203748's user avatar
8 votes
2 answers
13k views

How to easily convert an MKV video to an MP4

I would like to easily be able to convert a MKV video to MP4 video in Ubuntu. Is there any way I can easily do this at all?
tandoni86's user avatar
1 vote
1 answer
2k views

How to get video audio stream using ffmpeg pipe fdkaac m4a?

I want final file as .mkv containing video stream copy and audio stream encoded by fdkaac bt unfortunately i only get audio file pls help me how to pipe video stream also here??? I tried this: ...
Amit thakur's user avatar
2 votes
0 answers
990 views

H265 videos stuttering on ubuntu 20.04 (Intel Nuc)

I use an Intel Nuc and try to play h265 Videos via Kodi/Vlc but the videos are stuttering and sometimes the audio is out of sync. Is there any way to get h265 mkv videos running smoothly on the Intel ...
user634093's user avatar
0 votes
2 answers
999 views

plex: how to add a local .mkv file to a library?

Looking to play this mkv file: thufir@dur:~$ thufir@dur:~$ tree /home/thufir/plex/ /home/thufir/plex/ └── The.Last.Dance.S01E01.HDTV.x264-BRISK[TGx] ├── [TGx]Downloaded from torrentgalaxy.to ....
Thufir's user avatar
  • 4,551
0 votes
1 answer
1k views

Error on videos (.mkv) after software upgrade

My system: Laptop Dell inspiron 15 3000 RAM: 16 GB SSD 480 GB Kingston Intel Core i3 7th Generation OS: Ubuntu 18.04 with Software and System Updates Web Browser: Mozilla Firefox, Google Chrome, ...
Geppettvs D'Constanzo's user avatar
4 votes
2 answers
20k views

Ffmpeg: can TS video be converted directly to MP4 video without re-coding?

I see here (How to convert .ts file into a mainstream format losslessly?) that MKV is recommended for that purpose (ffmpeg -i input -map 0 -c copy output.mkv), but not MP4, which is said to involve re-...
cipricus's user avatar
  • 3,367
1 vote
1 answer
3k views

How to extract video, audio and subtitles files from an MKV file

I have some MKV video files and I want to extract (not convert) the internal files (video, audio and subtitles). I thought MKVToolNix GUI was the appropiate app to do that, but... I cannot to find ...
Juan's user avatar
  • 1,777
6 votes
0 answers
7k views

How do I get VLC on Ubuntu 18.04 to play mkv files

When I try playing an mkv file with vlc I get: Codec not supported: VLC could not decode the format "av01" (AOMedia's AV1 Video) When I close the message the file actually plays only the sound track ...
ArnoVersfeld's user avatar
1 vote
1 answer
154 views

Trouble updating MKVToolnix apt repo on bionic

I used Ubuntu Bionic. I have, among others, the following apt sources configured deb https://mkvtoolnix.download/ubuntu/bionic/ ./ deb-src https://mkvtoolnix.download/ubuntu/bionic/ ./ when I apt-...
einpoklum's user avatar
  • 871
1 vote
0 answers
179 views

Samsung TV unable to play .mkv files downloaded with Ubuntu

The weirdest thing is happening. If I download .mkv files in Ubuntu, save them to my external drive and then try to play them on Samsung TV - the TV says that file format is unsupported. But if I ...
Marius's user avatar
  • 929
0 votes
0 answers
2k views

Fast method for hardcoding subtitles to MP4/MKV

Until now I have tried 4-5 methods to hardcoding subtitles to mp4/mkv videos. ffmpeg - too slow mkvmerge - not sure thats hardcoding, because on TV subtitles are missing mkvtoolnix - program is ...
Dereckkkk's user avatar
1 vote
1 answer
275 views

How to install latest MKVToolnix to Ubuntu 16.04?

MKVToolnix developer stopped providing repo for Ubuntu 16.04. Now mininum Ubuntu version he supports is 18.04 Can someone tell me how can I install latest version (40.0 right now) to a Ubuntu 16.04 ...
Josh's user avatar
  • 23
1 vote
0 answers
3k views

check if list of mp4/m4v/mkv files has subtitles

i have list of about 230 video files (mp4, m4v and mkv), i want to make sure that all of them has english subtitles. is there an easy way to check it? (instead of open each 1 to see if it contains ...
Sagi314's user avatar
  • 71
3 votes
2 answers
2k views

How do I extraxt audio files from mkv files? TO DELET THE MUSIC IN THE BACKGROUND

I want to know how to get all the audio files from the mkv file. it has to be more than one file. SO I CAN DELETE THE MUSIC IN THE BACKGROUND of THE VIDEO. What software I can use? And how to use it? ...
user9344882's user avatar
2 votes
1 answer
3k views

How to remove chapters from mkv metadata

How do you remove chapters from mkv metadata on command line? Can ffpmeg be used for this?
Mikey's user avatar
  • 103
2 votes
1 answer
3k views

Merging mkv file chapters into one chapter

How would you merge chapters in mkv files into one chapter? I've only found threads about adding, removing and splitting chapters. I'm looking for a command line tool. Can ffmpeg be used for this?
Mikey's user avatar
  • 103
3 votes
1 answer
4k views

How to bulk extract bitrate data from videos and output them in a text file?

I have several videos in a folder; ~/Downloads/movie1.mkv ~/Downloads/movie2.mkv ~/Downloads/movie3.mkv I would like to extract the bitrate for each file, and output the data into a single text file,...
Martin JS's user avatar
0 votes
1 answer
136 views

HD .mkv files - any hope for improvement in 18.04

I am having difficulty running HD .mkv files in 17.04. I was wanting to upgrade to 18.04 but read that the graphics drivers don't work properly and have been downgraded in current releases. Is there ...
KenF's user avatar
  • 1
4 votes
4 answers
2k views

Double file extension with FFmpeg

I'm trying to get FFmpeg to go through all files and sub-folders under the path I run the command in, to convert any MKV file to an MP4 container instead. I've got the below command working but the ...
Andy Pittas's user avatar
1 vote
0 answers
8k views

Convert .mkv to .mp4

I am trying to convert .mkv to .mp4 Following is the my terminal. I get an error saying Cannot find H264 start code. Error importing video.h264: BitStream Not Compliant gayan@GayanF:~/Videos/...
Gayan Fernando's user avatar
3 votes
1 answer
2k views

Nautilus crashes, ubuntu 18.04

Since I updated to Ubuntu 18.04 I've been having this weird problem: every time I right click properties on any .mkv, .mp4, .avi file Nautilus crashes. This had never happened before. Anyone can help? ...
Nekrophagos's user avatar
2 votes
3 answers
797 views

Script to combine movie audio tracks in order to learn a language

I would like to build a special script to learn English from a movie (dvd, mkv ...). I would like to extract the audio part in my native language then in English and the subtitles with the timeline. ...
Johann Luyat's user avatar
0 votes
1 answer
1k views

How to include directories and subdirectories in a batch file

I found a batch file script to do the job I need to do. I posed the question of how to add directories and subdirectories recursively in the batch process in a comment on the post I got this code from,...
TheMegolith's user avatar
10 votes
2 answers
23k views

How to play MKV videos in Mozilla FIrefox?

I can't play or stream online videos with MKV extesions in Firefox though I can play these videos through Chrome. It says "The media could not be loaded, either because the server or network failed or ...
jongla's user avatar
  • 403
1 vote
0 answers
538 views

MKV files won't play, or plays muted

I have an MKV file here that will play in the default Videos app but muted, and won't play at all in VLC (no error message, but a black screen and no sound). I already installed the recommended codecs ...
Jack M's user avatar
  • 1,300
1 vote
2 answers
776 views

converting several mkv files to avi at once

My crappy samsung will not read anything that has a .mkv extension. There's no way to install another video player since the android version is no longer 'updatable'. Since 99% of video files right ...
pepe's user avatar
  • 31
2 votes
0 answers
83 views

Green Thumbnails in Ubuntu Gnome 17.04 [duplicate]

My video (.mkv) thumbnails are green (or monochromatic)? This didn't solve my problem, the situation is exactly the same, it used to work in 16.10 but it's not working now. Is this a bug should I ...
Girish Dave's user avatar
7 votes
3 answers
4k views

My video (.mkv) thumbnails are green (or monochromatic)?

When I installed Ubuntu Gnome 17.04 thumbnails for .mkv were not showing up at all, Then it automatically got fixed, now it's generating the Thumbnails but as weird as it may sound, they're all green (...
Sumeet Deshmukh's user avatar
1 vote
1 answer
1k views

Mkv thumbnails are not generating at all

After updating to Ubuntu 17.04 my .mkv files aren't showing any thumbnails What have I tried so far? Installed ubuntu-restricted-extras that didn't work. Rebooted after installing ubuntu-restricted-...
Sumeet Deshmukh's user avatar
1 vote
2 answers
2k views

How can I convert a .MXF video file to .MKV with Ubuntu?

I have some videos recorded on a Sony PXW-X70 camera that I wish to convert to something else, possibly an .mkv file. What program or command line utility can I use to do this?
L42's user avatar
  • 335
-1 votes
1 answer
521 views

Questions about compiz, sound control and mkv movies

I'm totally fresh with Ubuntu. I've got the newest (16.04) release, my laptop is Lenovo Y50-70. My issues: How do I get rid of compiz? Sounds, like music or sounds from movies are... like really ...
Raziel_EL's user avatar
1 vote
1 answer
1k views

Can't generate thumbnails from some mkv files

I've been using Ubuntu for a time but still not that professional one. My problem -that I've been stuck with last two days- is I downloaded an MKV video with HEVC stream which is unknown to VLC, but ...
Robin's user avatar
  • 11
6 votes
1 answer
12k views

VLC does not support the audio or video format "hevc" [duplicate]

I'm trying to run an .mkv video, I even installed the codecs from this page: How to install all existing media codecs? But still keep getting this error on VLC player: No suitable decoder module: ...
Tammy's user avatar
  • 61
8 votes
2 answers
7k views

Intel vaapi : can't play mkv with vlc

I can find why I can't play any mkv file with vlc, it seems there is a drawing error, is there a workaround or something ? I have optimus (intel+nvidia) and i'm using bumblebee with last nvidia driver ...
Kwaadpepper's user avatar