|
|
#1 |
|
MKV vs MP4 containers
I've read that some prefer MKV containers for all their DVD encodes. I've been using MP4 (working on SD DVD's, I'll use MKV for my BD's). I know that the Apple TV 2 doesn't play MKV files, I have my Apple TV 2 JBen and using XBMC so compatibility there isn't an issue. The only issue is with iDevices and non-JB'en items. I plan on ditching my DVD's once encoded so getting the encodes near lossless (don't care about size) is more important, but I'm curious why MKV may be better than MP4.
Last edited by bedifferent; May 11, 2011 at 03:10 PM. |
|
|
|
0
|
|
|
#2 | |
|
Quote:
I guess it is more convenient and emulates a dvd.
__________________
15" Early 2011 Macbook Pro | iPhone 4 32GB Black | iPad2 64 Wifi+3G |
||
|
|
0
|
|
|
#3 | |
|
Quote:
Video: MP4 H.264, Large file size, Constant quality = 18, VFR, FPS = Same as source, Anamorphic = Loose w/ Modulus =16 Audio: 1. AAC Stereo for iDevices (iDevices default to the first audio track, I can switch the tracks in XBMC) 2. AC3 Passthru (Other layers for director's commentary, etc.) Subtitles: English Bitmap (not Burned In) A lot of advanced tweaks and if I have the srt for chapters I'd import it in HB then use MetaX for tagging. Should I use MKV containers as they seem to be as close to DVD as possible? Given that MKV isn't supported natively in iDevices I can play them in XBMC on my aTV 2 but I would not be able to on my iPad unless it's JB'en. If I use MKV container can I extract the data and produce an MP4? I want to future proof as much as possible (I'm still learning, I've gotten the gist of MP4 video files and advanced encoding but as I have yet to work on my BD rips I put off MKV learning as I was informed MKV is primarily recommended for BD rips). Thanks again for any help.
__________________
Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke
|
||
|
|
0
|
|
|
#4 |
|
I convert all of my mkv files to mp4 (m4v specifically). The main reason is compatibility with ios devices. I have no problem with mkv since the video in it is usually compatible with iOS, I just change the container.
I think the MKV crowd mainly uses HTPCs for playback but most mp4 people use PS3, XBox360, AppleTV, Roku, etc..... I'm not a fan of avi files though. I know they were and are still popular since movies can be burned onto cheap CDs and played back on cheap DVD players suck as my $29 Philips. I'm use handbrake to encode my DVDs into m4v with 5.1 DD and 2 channel aac. This way I can get full iOS compatibilty. Think of it this way, when a family member with an iPad or iPhone want to "borrow" a movie for a trip, I have a compatible file handy, and dont have to convert each file individually. When I say "borrow" it works well and semi-legally because I can hook up their iPad (doesn't work with iPhones) to my computer, load up the movie and away they go. But they can't transfer the movie back to their computer (last we tried) so they delete it after one viewing. So I don't feel that it's evil to give them the movie since they only have it temporarily. |
|
|
|
1
|
|
|
#5 |
|
mp4 is a container just like mkv, the video inside is mp4 in the mp4 (usually h.264) and every mkv that I see has mp4 (h.264) video inside it.
Mkv can have a variety of video formats inside, but I always see h.264 which is iOS compatible. Therefore I use subler, MKVtools, or iflicks to put the video and audio of the mkv into a mp4 container. It only takes 10 minute on a core2duo 2ghz Mac mini. there is no loss of quality. |
|
|
|
2
|
|
|
#6 |
|
I agree with spacepower7 on that it really depends on how you want to view the video. I'm with the htpc crowd so mkv is the way to go.
I would stick with mkvs for your dvd collection. It offers more convenience later on. And yes, you can extract the data and produce an mp4 (the extraction process is called demux, I think). I often extract the subtitle track in asian dramas, reedit, and mux back into container. Plus, I can turn off subtitles since it isn't hardsubbed onto the video track, something mp4 can't do. I guess with iOS, you can always extract the video track and mp4 it, but still retain the mkv as the master. It's the way to go for movies and whatnot imo.
__________________
15" Early 2011 Macbook Pro | iPhone 4 32GB Black | iPad2 64 Wifi+3G |
|
|
|
0
|
|
|
#7 | |||||
|
Quote:
Quote:
Quote:
Quote:
Quote:
That's simply untrue. It may be favoured for BD rips as it allows the storage of DTS, DTS-HD/HR, TrueHD, PCM etc which MP4 doesn't. However, you're setup with AAC and AC3 in no way requires MKV. MKV does have more options for subtitles, however mp4 can utilise soft subs as well, so no big deal. My opinion: Keep doing what you're doing. You're not missing out on anything using MKV, only breaking compatibility. Also with MKV you lose the ability to add metadata. m4v was designed for Apple devices, and it works great, no reason to use anything else.
__________________
Windows 8 Ultrabook ~ Windows Phone 7.8 ~ 16GB iPod mini Last edited by AdrianK; May 8, 2011 at 02:29 PM. |
||||||
|
|
1
|
|
|
#8 | |
|
Quote:
|
||
|
|
0
|
|
|
#9 | ||||||
|
Quote:
Quote:
1. 2010 Pioneer Elite VSX-33 AVR: supports AC3/DTS/DDII/THX/7.1+, everything you can throw at it (controls all devices via HDMI in and outputs 1 HDMI channel for viewing). Also supports 3D should I decide. 2. 50" Pioneer Elite (again, high quality is essential) 3. Here's the important part: I have 2 "Time Capsules", the latest gen is my main router, the previous gen connected WiFi to extend my network to my media center. This provides internet radio and full control of my AVR from my computers. Most importantly I have my aTV 2 connected to that "Time Capsule" via ethernet and configured XBMC to access the HDD via SMB, acting as an attached storage device for my media instead of streaming it. Using Finder I drag and drop my final movie into the "Time Capsule" HDD folder and XBMC loads it, allowing me to select the audio tracks I encoded as well as subtitles. It supports about every codec and have had no issues playing any movie so far. Quote:
I've achieved great audio and with my advanced settings at full mach I can encode a DVD on my 2010 3.33GHz 6-Core Mac Pro in less than an hour, retaining quality without a huge file. I refuse to use the batch encode workflow as I have little control over the quality and don't mind manually processing each rip, I'd rather do it right the first time. Quote:
Quote:
Quote:
Thanks for all your help guys. It's amazing how much more you can always learn
__________________
Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke
Last edited by bedifferent; May 8, 2011 at 02:39 PM. Reason: Read the new comments since writing this post |
|||||||
|
|
0
|
|
|
#10 |
|
If compatibility and iOS usage is a big factor for OP, I'd say stick to mp4. But then again, how often do you watch on iOS devices? Your answer to that will determine whether or not to use mkv vs. mp4.
I'm just prefer mkv for all my video needs.
__________________
15" Early 2011 Macbook Pro | iPhone 4 32GB Black | iPad2 64 Wifi+3G |
|
|
|
0
|
|
|
#11 |
|
Why?! You don't gain anything from using MKV.
Yes, you can remux to m4v, but then you have the same file, in the same quality, except one plays on iOS and the other doesn't.
__________________
Windows 8 Ultrabook ~ Windows Phone 7.8 ~ 16GB iPod mini |
|
|
|
1
|
|
|
#12 |
|
But, given the information the OP posted, to me, it doesn't sound like iOS compatibility is the deciding factor.
__________________
15" Early 2011 Macbook Pro | iPhone 4 32GB Black | iPad2 64 Wifi+3G |
|
|
|
0
|
|
|
#13 | ||
|
Quote:
Quote:
Screw it, I'll encode both, I have the space j/k
__________________
Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke
Last edited by bedifferent; May 8, 2011 at 02:47 PM. |
|||
|
|
0
|
|
|
#14 | |
|
Quote:
But why encode both? The interal streams are the same. If you encoded one (either mp4 or mkv) you could then remux to the other. This would take minutes, instead of hours.
__________________
Windows 8 Ultrabook ~ Windows Phone 7.8 ~ 16GB iPod mini |
||
|
|
0
|
|
|
#15 | |
|
Quote:
Just remember, someone mentioned you can't metatag MKV's? Also, is Handbrake the better app for MKV encodes? And last question, I swear. I've been using anamorphic loose as I understand that it allows for adaptive viewing on various displays (although mine are widescreen). Update: I found info on meta-tagging MKV's by writing tag's in XML using Matroska's docs, then mergi it with the mkv file using MKVToolnix (4.6.0 current OS X version). Using MKVmerge GUI's "Attachments Tab" should allow adding the XML file. Gonna give it a go.
__________________
Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke
Last edited by bedifferent; May 8, 2011 at 03:14 PM. |
||
|
|
0
|
|
|
#16 |
|
|
1
|
|
|
#17 |
|
The advantage of mkv's are that they allow for a wider variety of media to be put inside the container. For example, you can have styled .ass subtitles, while mp4's only support the simpler .srt subtitles.
The advantage of mp4's is that they are compatible with more devices, in particular, any Apple device. If all you have is a H.264 video and AAC audio, it's probably better off in an mp4 container, since it allows for greater compatibility. If you have something more complicated, for example, non-.srt subtitle formats, then you'd have to use mkv.
__________________
2.0 GHz quad-core i7 15" MacBook Pro 2011 iPad 2 (Black) WiFi+3G 64GB iPhone 4S (White) 64 GB |
|
|
|
0
|
|
|
#18 | |
|
Quote:
My system can play everything audio and video wise, my main objective is to create a digital lossless video library of my DVD collection. I have been using m4v H.264 w/ Constant Quality 18, VFR. My Pioneer Elite AVR supports AC3/DTS/THX/7.1+ and I throwing out sound through my B&W speaks. I'm encoding my audio: 1. AAC Stereo for iDevices 2. AC3 Passthru for 5.1 or DTS if applicable - More for director's commentary, etc. There are so many opposing opinions on CRF/ABR/MKV/MP4/Advanced Settings/Audio layers - I've been reading and studying for the past few months and just when I think I have it someone says something else. ![]() I know mkv's are a container with the same/sim m4v, however if mkv's are better suited to my needs I'd rather know now before encoding 200+ movies one by one. I can always extract the mp4 from the mkv if I need to, but I will use XBMC on my JB'en aTV 2 to watch most of my rips. Guess I need to decide on my own and stick with it. Thanks guys, this is my last post on MacRumors. Been a fun ride, wishing you all the best!
|
||
|
|
0
|
|
|
#19 | ||
|
Quote:
Quote:
As you said, it's very quick and easy to mux them into an mkv if you ever need to add things that you can only put into an mkv rather than an mp4.
__________________
2.0 GHz quad-core i7 15" MacBook Pro 2011 iPad 2 (Black) WiFi+3G 64GB iPhone 4S (White) 64 GB |
|||
|
|
0
|
|
|
#20 | |
|
Quote:
If what you want is a "lossless" copy of your DVDs (DVDs themselves not being lossless, since they are compressed as mpeg2), then you should be saving .iso or VIDEO_TS folders. ALternately, the mpeg2 in those can be put into an MKV to have identical quality to the original DVD. That quality has nothing to do with the fact that it is an MKV, but simply what codec and how much compression you've chosen to put into the container. |
||
|
|
0
|
|
|
#21 |
|
Look, mkv, mp4, and m4v are just containers. The quality is solely based on the h.264 video inside of the container. The h.264 video can be put inside any one of those containers (or extracted out from any of them and put in another) and the quality will be exactly the same.
The difference between the containers is mostly about which formats can be placed inside of it and work when you play it with hardware that supports that particular container. The mkv container works with more types of formats but if all you plan to use is h.264 it would be best to stick with m4v because it is better supported. The only big exception is that if you are encoding h.264 HD material, the mkv format offers more options for audio and subtitles than .m4v. But of course, m4v is more widely supported than mkv and partly since it is designed to focus on one specific format, it is less buggy than mkv on hardware that supports mkv. Apple has pretty much perfected playing h.264 video within the .m4v container on their hardware. And I think it has a lot to do with them, as usual, focusing their efforts rather than trying to support a ton of entirely different formats, containers, and codecs. |
|
|
|
0
|
|
|
#22 |
|
Since the OP is targeting a jailbroken atv 2 running xbmc there is one thing to be aware of when using .m4v and and embedded srt subtitles like Handbrake or subler can do for a stock atv or ios device (or iTunes for that matter). XBMC will not display the 3GPP soft sub. It recognizes it when you hit the audio subtitle panel while the movie is playing but will not show them on screen. It is worth being aware of if using xbmc and a trac ticket is filed with them but even in current git head its not fixed yet.
|
|
|
|
0
|
|
|
#23 | |||
|
Ok, was gonna take a break from MacRumors but you guys posted some good recommendations/comments.
![]() Quote:
Quote:
Quote:
Been using MetaX. Tried Subler as I liked the ability to name the audio tracks but tagging wasn't great (doesn't auto d/l subtitles like MetaX). One issue is encoding all available tracks in HB w/ these settings: 1) English (AC3) (5.1) AAC (Core Audio) (either Stereo of DD) Auto ~192 kbps 2) English (AC3) (5.1) AC3 … for full 5.1 Surround Sound 3+ for any additional tracks such as Director's Commentary, etc I noticed audio tracks sometimes get mixed in the m4v. I placed the Stereo in Audio Track one as iOS Stereo devices default to that first track, and I can change and set the default in XBMC to Track 2 for AC3 5.1. With my setup would I benefit anything encoding in the mkv container? I know BD benefit/need to (I believe). Thanks guys! Last edited by bedifferent; May 11, 2011 at 03:10 PM. |
||||
|
|
0
|
|
|
#24 | |
|
Quote:
.. and yes right now h.264 is the best video codec you are likely to use, whether in an mkv or an mp4(m4v) container. Its worth noting that containers sometimes do or don't support things like variable framerate (the avi container was famous for this, fantastically broken from conception imo), etc. So ultimately its not true that any video/audio codec combination in *any* container will be the same. That said by and large mkv vs. mp4 will be much the same given the Video/Audio codecs contained within are the same. |
||
|
|
0
|
|
|
#25 |
|
MKV is really a hackers codec in the end. Few devices support it out of the box. Forget about streaming to Xbox or using iPads or a lot of other stuff.
Frankly I hate it. Half the time remuxing using subler fails (usually the audio). |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| .MKV vs .MOV vs .MP4 - Why on earth are they different qualities? | Doju | Mac Applications and Mac App Store | 4 | Sep 27, 2011 03:14 AM |
| MKV -> MP4, but just changing the container? | lixe | Apple TV and Home Theater | 5 | Sep 28, 2010 06:59 AM |
| MKV or MP4 Container | calledthestig | Apple TV and Home Theater | 0 | Sep 12, 2008 07:47 AM |
| Handbrake SVN now has AC3 in the MP4 container | Diode | Apple TV and Home Theater | 57 | Feb 19, 2008 01:46 PM |
| MKV to mp4 or Quicktime help | Darthzilla | Mac Applications and Mac App Store | 1 | Oct 26, 2006 03:47 PM |
All times are GMT -5. The time now is 12:30 AM.








Linear Mode

