EzDevInfo.com

matroska interview questions

Top matroska frequently asked interview questions

How to play mkv files on ChromeOS?

How can I play MKV files on ChromeOS?

I have a lot of videos in MKV format on my local network available over NFS/SMB? How can I get them to play, without transcoding, on a ChromeOS machine?


Source: (StackOverflow)

How can I watch a side-by-side 3D video in 2D?

I have a 3D movie (.MKV), with side-by-side 3D, and it works just fine at home. Now I want to see it at my friend's house, and they don't have a 3D system.

Is there any way to crop one of the sides on VLC or convert it to 2D?

My friend uses a Mac, but I can use Mac OS X or Windows 7 to play the file.


Source: (StackOverflow)

Advertisements

Handbrake --stop-at parameter not working as intended

I run the following from command line:

handbrakeCLI.exe -i SourceFile.mkv -o OutputFile.mkv --stop-at 120

According to the CLIGuide you can supply the --stop-at value as seconds (which is what I want, stop encoding 120 seconds into the file).

My purpose for this is to quickly create a very high quality video clip from a full movie for testing other encoding processes.

However, when I view my output file, it is the entire movie. Any ideas?


Source: (StackOverflow)

ffmpeg: Converting MKV to MP4 lossless

I'm new to ffmpeg (windows), and need some help. I want to convert my MKVs to MP4 with as little loss in quality as possible. The MKVs are made with makemkv, and contains among others DTS soundtrack. They are lossless. The reason I want to convert, is that I plan on stream it to iPads and apple tv. iPads don't support DTS and MKVs. The MKVs are both DVDs and BR. The MKVs contain video, soundtracks and subtiteles.

I have tried this, but get no sound due to DTS soundtrack: ffmpeg -i input.mkv -c:v copy -c:a copy output.mp4

Can anybody help me?

What codecs should I use? MP4 is the best for apple?


Source: (StackOverflow)

How to adjust .mkv files audio volume level?

I have a bunch of .mkv video files which audio is REALLY low volume.

How can i adjust the volume higher permanently in the .mkv file? preferrably with lossless methods (if even possible?).

Yes, i know i could just turn my speakers full volume, but then again if i watch some other video with normal sound levels, then my speakers would kill me!


Source: (StackOverflow)

How can I create a standard Blu-Ray video (not data) disc from multiple MKVs?

I have multiple video files in the MKV format. I want to turn these into a Blu-Ray disc that would play on a PS3 or PC with PowerDVD. The easier the better; I don't want to mess with bitrate and complicated settings each time if possible.

More details if it helps:

  • I create the MKV files with Handbrake usually.
  • Simple menu on the Blu-Ray would be nice.
  • My burner is a Lite-On IHBS112-29 BD+R.

Source: (StackOverflow)

How to soft code an MKV with subtitles?

I have an avi and corresponding .srt file for subtitles. I hate having two files for this movie, so what I want to do is convert this file to mkv as I heard it can hold subtitles. I have handbrake to convert the file, but will that allow me to include the subtitles? If not, how would I go about putting the subtitles into the mkv?


Source: (StackOverflow)

How to play AVI and MKV files in Windows Vista Media Center?

I've installed the DivX codec on my computer. I can play those files just fine in Windows Media Player. But when I tried it on Windows Media Center it crashes out. How can this problem be fixed?

NOTE: My OS is Vista Home Premium 64 bit (x64).


Source: (StackOverflow)

Windows 8 DLNA streaming of MKV files

I have a Samsung TV that is capable of playing MKV files. The Windows DLNA Play To menu that appears when you right-click a media file does not support MKV files, but a simple trick has been to change the file extension from .mkv to .avi so the Play To context menu item would appear. At that point I could successfully stream from my computer to my TV.

However, this does not appear to work in Windows 8. Doing the same thing in Windows 8 causes the Play To window to open but the file does not get played. Dragging and dropping the file in the Play To window causes it to be silently ignored. Using actual AVI, MP4, etc. files works, of course. It appears Windows 8 is now doing some kind of validation on the file that Windows 7 wasn't previously. The Play To window does not show any kind of obvious error message or warning and there is nothing in the Windows event log.

So, is there a way in Windows 8 to stream MKV files to a DLNA device without converting it to another container format?

I would rather not use extra third-party software, but I would consider it if it's purposefully designed for this simple case rather than a more robust "media library/server" solution.


Source: (StackOverflow)

Batch Convert .mkv to .mp4

I want to batch convert all .mkv files in a folder into .mp4 with VLC.

It should use the original video-/audio stream and if possible the .ass subtitle of the .mkv. It's not really a conversion, it's more like changing the container – my player can't read the MKV videos.

If I do this conversion by hand (manually) it works, but I have a lot of MKV files to convert, so it would take a lot of time.

I have searched the internet for a batch file to do this and I found a few. I tried to modify them to my wish, but all attempts I tried just created a .mp4 file that doesn't contain the audio stream and the video stream also cannot be rendered by all my media players on the PC.

So could someone tell me how the batch has to look like, so it works with the original video and audio stream (and maybe .ass subtitles)?


Source: (StackOverflow)

How to convert an MKV to AVI with minimal loss

To convert an MKV to AVI, I do two things. The first thing I do is this:

ffmpeg -i filename.mkv -vcodec copy -acodec copy output.avi

or this:

ffmpeg -i filename.mkv -sameq -acodec copy output.avi

Either of these will convert the MKV to an AVI, but the problem is that the video does not play smoothly for some reason. That's fine though, because if I do one more thing it gets fixed:

ffmpeg -i output.avi -vcodec mpeg4 -b 4000k -acodec mp2 -ab 320k converted.avi

After I do this then the file plays without problem. I had success doing it this way for one file, but then I tried it on another file, and there is a slight, but noticeable loss in video quality. This is the output I get when doing the second step:

FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
  built on Dec 29 2010 18:02:10 with gcc 4.2.1 (Apple Inc. build 5664)
  configuration: 
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.11. 0 /  0.11. 0

Seems stream 0 codec frame rate differs from container frame rate: 359.00 (359/1) -> 29.92 (359/12)
Input #0, avi, from 'output.avi':
  Metadata:
    ISFT            : Lavf52.64.2
  Duration: 00:04:17.21, start: 0.000000, bitrate: 3074 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 704x480 [PAR 229:189 DAR 5038:2835], 29.92 fps, 29.92 tbr, 29.92 tbn, 359 tbc
    Stream #0.1: Audio: vorbis, 48000 Hz, stereo, s16
Output #0, avi, to 'converted.avi':
  Metadata:
    ISFT            : Lavf52.64.2
    Stream #0.0: Video: mpeg4, yuv420p, 704x480 [PAR 229:189 DAR 5038:2835], q=2-31, 4000 kb/s, 29.92 tbn, 29.92 tbc
    Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 320 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1

I just used arbitrarily large settings on the second step and it worked nicely before but not in this case. What settings should I use?


Source: (StackOverflow)

How to Add/Remove subtitles in an MKV file?

I have a good quality MKV file that has several subtitle options. I want to add an additional subtitle file to the list.

Some search online led me to use video converters, and basically re-encode the movie into a new file. That seems really overkill to me. Plus I may loose the previous subtitles, and some image quality along the way.

I'm on OSX.


Source: (StackOverflow)

How to extract subtitles from MP4 and MKV movies

I'm trying to extract subtitles from MP4 and MKV movies. I'm using mp4box (on OS X) but cannot figure out how it works.

Any hints?


Source: (StackOverflow)

Add another subtitles to matroska file, on Linux

I have Matroska file with some subtitles already built in. How can I add another subtitles, with proper language setting and encoding?

Tried:

mkvmerge -o output.mkv -S source.mkv new-subtitles.srt

but it looks like it removed all other subtitles. What am I doing wrong?


Source: (StackOverflow)