This method allows the encoder to keep a constant quality level, regardless the output file size: 0 is lossless, 23 is default, and 51 is worst possible. -codec:v libx264 -crf 21 - defines the video codec in use and the constant rate factor (crf), namely the quality level.-metadata - this is used to give streams a title and other additional information, specifically to audio tracks ( s:a:0 and s:a:1 where a stands for audio) and subtitles ( s:s:0 and s:s:1 where s stands for subtitles).-map 0:1 -map 0:3 -map 0:4 -map 0:5 -map 0:6 - here I'm mapping the streams, namely I'm telling FFmpeg to keep Stream 0:1, Stream 0:3, Stream 0:4, Stream 0:5, Stream 0:6 and put them in the output file in that specific order.-analyzeduration 100M -probesize 100M - keep this one so that FFmpeg is able to find hidden streams.metadata:s:s:1 language=eng -metadata:s:s:1 title="English" \ metadata:s:s:0 language=ita -metadata:s:s:0 title="Italian" \ metadata:s:a:1 language=eng -metadata:s:a:1 title="English stereo" \ metadata:s:a:0 language=ita -metadata:s:a:0 title="Italian stereo" \ We are ready to pack our DVD into a beautiful. Subtitles: let's keep them! Step 3: encoding For example: ffmpeg -analyzeduration 100M -probesize 100M -i output.vobĪnd, not surprisingly, two more streams are found. Honestly I'm not able to tell the difference between those options: put in there some fairly large numbers and tweak them until you are satisfied. Let FFmpeg scan it thoroughly by adding two more flags: -analyzeduration (in microseconds) and -probesize (in bytes). Unfortunately VOBs have no headers and it is likely to find movies that hold additional streams further down the VOB file. Normally, while looking for streams, FFmpeg parses only few seconds of the input data as most formats have a global header there that describes everything present in the file.
![mkv to vob file converter mkv to vob file converter](https://images.wondershare.com/videoconverter/en/dvd/free-mkv-to-vob-2.jpg)
![mkv to vob file converter mkv to vob file converter](https://images.wondershare.com/videoconverter/en/mkv/convert-mkv-to-vob-by-aconvert.jpg)
![mkv to vob file converter mkv to vob file converter](https://www.4videosoft.com/images/video-converter-ultimate/mkv-to-vob.jpg)
I'll discard Stream #0:2 as it contains the same data (English audio track) encoded in a different format. Starting from the first one, Stream #0:0 contains data regarding the DVD's menu navigation. Here FFmpeg reports that my VOB file contains five streams. Use FFmpeg for that, as follows: ffmpeg -i output.vobįor example, you might end up with something like: Input #0, mpeg, from 'output.vob':ĭuration: 01:50:40.99, start: 0.287267, bitrate: 7581 kb/s Now let's inspect the newly created file: we want to find what kind of stuff it contains. To do that, browse to the VIDEO_TS folder and do: cat *.VOB > output.vob The first step then is to join them into a single, big VOB file. VOB file are usually 1 Gb each in order to be compatible with all operating systems, as some cannot read files larger than that size. Audio tracks will be encoded in mp3 format.
![mkv to vob file converter mkv to vob file converter](http://www.dvd-creator-converter.com/images/video-converter/mkv-to-vob.jpg)
The video stream will be encoded with H.264 codec, currently the best guy in town. For our task I will be using Matroska Multimedia Container container (.mkv files), as it is capable of storing different audio, video and subtitle tracks together.
#Mkv to vob file converter how to
To accomplish this, download the Combined Community Codec Pack (CCCP) from a trusted site, such as Ninite.In this guide I'll show you how to do that by using FFmpeg (version 3.2.5 or greater) on a Linux-based operating system - I'm currently using Debian Stable, aka Jessie.įFmpeg is able to deal with a vast amount of audio/video formats and containters. Therefore, another option for opening an MKV file is to download the appropriate codecs that are compatible with the selected media player. This is important because MKV is not an industry standard, which means that other media players might not support it.Īdditionally, MKV does not use codecs to compress file size, which means the file can be quite large. This media player is compatible with all operating systems and platforms. The best way to open an MKV file is to use VLC media player. The name derives from “ Matryoshka” dolls, which is a famous type of Russian handicraft that consists of a set of wooden dolls of decreasing size nested one inside another. Since it is open source, a user can customize it with open-source software. Matroska (MKV) is a free, open-source, container standard that can hold an unlimited amount of audiovisual and multimedia files in a single file format.