PDA

View Full Version : Why is it so freaking hard to convert .mkv to .MP4?




javilionaire
Jul 22, 2012, 10:38 AM
I'm a so freaking pissed. I've been trying to convert a 720p MKV video file to a 720p MP4 file with NO video quality loss. I've been trying to do this for ALMOST A WEEK with no luck. All these threads go on about "demux" then you "remux" then you whatever "mux" ughhh!! I have no idea what any of that means. They then go on about having to do some crazy stuff in terminal with a program called MP4Box, I have no idea what that does or how to use it, what so ever.

Instead of spending weeks on trying to convert these damn 720p video files, isn't there a program that I can just drag the file onto, set it to MP4 and get my file with no quality loss?!?!

PLEASE HELP ME SOMEONE, THIS IS DRIVING ME FREAKING INSANE.



chenks
Jul 22, 2012, 10:40 AM
it's not hard at all, it's extremely easy.
use an app called MP4Tools if you want a simply click-and-go solution.

javilionaire
Jul 22, 2012, 10:53 AM
it's not hard at all, it's extremely easy.
use an app called MP4Tools if you want a simply click-and-go solution.

Oh really?

I've just downloaded it and dropped my file onto the program. It is now converting.

AFITgrad86
Jul 22, 2012, 11:02 AM
I do a fair amount of MKV to MP4 conversion and have found Handbrake to do an adequate job. Keep in mind most of the MKV files are large HD files that I am converting from Make MKV for Apple TV but tweaking the quality settings has provided very high quality (albeit somewhat large) MP4 files in my iTunes library.

For my purposes the new Handbrake settings for the Apple TV 3 seem to be pretty good ... although I need to do some in depth testing to verify my initial impressions.

Hope this helps.

javilionaire
Jul 22, 2012, 11:04 AM
I do a fair amount of MKV to MP4 conversion and have found Handbrake to do an adequate job. Keep in mind most of the MKV files are large HD files that I am converting from Make MKV for Apple TV but tweaking the quality settings has provided very high quality (albeit somewhat large) MP4 files in my iTunes library.

For my purposes the new Handbrake settings for the Apple TV 3 seem to be pretty good ... although I need to do some in depth testing to verify my initial impressions.

Hope this helps.

Ah ok, I'm converting this to MP4 so that I can burn it to a DVD using Toast, which will create a HD-DVD. It'll be played on a 50" Television so I need to retain the quality!

roidy
Jul 22, 2012, 11:04 AM
Instead of spending weeks on trying to convert these damn 720p video files, isn't there a program that I can just drag the file onto, set it to MP4 and get my file with no quality loss?!?!

PLEASE HELP ME SOMEONE, THIS IS DRIVING ME FREAKING INSANE.

Well that all depends on what type of video stream is in the mkv files you're trying to remux, as long as the video stream is compatible with the device you're trying to play it back on than remuxing should be easy. I suggest iFlicks, just drag your mkv file into it set the convert option to "iTunes compatible" and as long as the video stream is iTunes compliant it will remux the file in just a few minutes with no loss of quality, however if the video stream isn't compatible then you **** out of luck and a full reencode will be needed and I'm afraid that takes time, and you'll more than likely lose some quality.

Edit:-

Ah ok, I'm converting this to MP4 so that I can burn it to a DVD using Toast, which will create a HD-DVD. It'll be played on a 50" Television so I need to retain the quality!

Well scratch all that, as you didn't specify, I assumed you wanted a mp4 file to play back in iTUnes or on an iOS device.

robertpolson
Jul 22, 2012, 12:51 PM
It is very easy. Jsut use ivi and in settings enable pass through to quickly change from mkv to mp4 without converting.

http://itunes.apple.com/ca/app/ivi/id402279089?mt=12

andymodem
Jul 22, 2012, 12:53 PM
+1 for iFlicks. I use it all the time to remux mkv to m4v for iTunes. Just drop it on the window, make sure it gets the right metadata, select iTunes compatible, and away it goes.

Edit: Should have read the whole thing. :o

javilionaire
Jul 22, 2012, 01:28 PM
+1 for iFlicks. I use it all the time to remux mkv to m4v for iTunes. Just drop it on the window, make sure it gets the right metadata, select iTunes compatible, and away it goes.

Edit: Should have read the whole thing. :o

I just converted it to .mp4 and it's going to take over 5 hours to burn to a DVD. On the other hand, I converted it to .mov using this other converter and it's taking 1 hour to burn now.

angelsguardian
Jul 23, 2012, 01:22 PM
I just converted it to .mp4 and it's going to take over 5 hours to burn to a DVD. On the other hand, I converted it to .mov using this other converter and it's taking 1 hour to burn now.

Wonder which will have the better quality ;)

dynaflash
Jul 23, 2012, 03:12 PM
Use Subler if you just want to change the container. Use HandBrake if you want to transcode it. Subler is written by ritsuka who is a handbrake developer. It is not hard and both are free.

d4rkc4sm
Jul 23, 2012, 03:28 PM
u people have too much time to waste. go buy a media player ($100 or so) capable of mkv playback and your problems are solved.

tbayrgs
Jul 23, 2012, 04:25 PM
u people have too much time to waste. go buy a media player ($100 or so) capable of mkv playback and your problems are solved.

Some of us want to playback our media on something other than a TV.

mic j
Jul 23, 2012, 04:30 PM
u people have too much time to waste. go buy a media player ($100 or so) capable of mkv playback and your problems are solved.

I had a media player. Slow w large libraries, clunky interface, full of bugs and no longer supported with new FW. Also spent more time trying to correct it's errors on categorizing my files and scraping metadata.

There is no reasonably priced media player that does it all. You have to go HTPC to get it all. For $99 I'm happy as a pig in mud!!!!

Greggae512
Jul 23, 2012, 08:06 PM
It is very easy. Jsut use ivi and in settings enable pass through to quickly change from mkv to mp4 without converting.

http://itunes.apple.com/ca/app/ivi/id402279089?mt=12

So with ivi any other settings to make sure audio is compatible etc or subtitles get transferred as well to an ATV3/IPAD3 compatible format?

angelsguardian
Jul 24, 2012, 11:30 AM
So with ivi any other settings to make sure audio is compatible etc or subtitles get transferred as well to an ATV3/IPAD3 compatible format?

As far as I can tell so far the answer here is yes. Also good for joining files.

JAT
Jul 24, 2012, 02:54 PM
So much easier to just connect the computer to the TV.

mic j
Jul 24, 2012, 03:12 PM
So much easier to just connect the computer to the TV.
But depending on the proximity, that can tie up the computer while the movie is playing. I used to do that and probably will do it again when it's important to me to watch that uncompressed source file.

I haven't seen any airplay (from an iPad) or AirParrot streaming yet that is as good as the aTV or direct MBP connection.

LucidX
Jul 24, 2012, 03:22 PM
MKV can be a little confusing, but converting it to MP4 can be relatively painless and quick if you use the right tools and options.


Background Info
MP4, MOV and MKV are all container files. Think of them like a lunch box. Within these go your video (with it's own codec) and audio, think of these to be your lunch that goes in the lunch box. If you have a device (in this case ATV) that can ingest the codec but not the container than you should not re-encode it. You should use the "PASS THROUGH" option which takes the codec (h.264, xvid, etc.) and puts in another container (MP4). Re-encoding it would take the codec and re-process it (in this analogy it would first take apart your sandwich and then re-assemble it before putting in the new lunchbox) so you want to avoid this if the codec is compatible with the device you wish to watch it on. Passing through the codec takes only as long as re-copying the file to the hard drive, whereas re-encoding it can take many hours to days depending on the file size and options.


Software
Quicktime 7 Pro
Perian


Process
- Install the necessary software

- Open the MKV file in Quicktime 7 Pro

- It may take a few minutes depending on the length to open (you will see the progress above the play button) - perian is working in the background to get quicktime to read the mkv

- Once the file is open and you can play it in Quicktime 7 Pro go to - FILE --> EXPORT... (drop down menu)

- In the 'EXPORT' dropdown menu select "Movie to MPEG-4"

- Click 'OPTIONS'

- In the video Format dropdown menu select 'PASS THROUGH'

- You may set your own audio/streaming options to your liking, then click "OK"

- Click "SAVE"

- The file will then save your new video file in the MP4 container without re-encoding the original video component saving substantial time & processing.

JAT
Jul 24, 2012, 03:54 PM
But depending on the proximity, that can tie up the computer while the movie is playing. I used to do that and probably will do it again when it's important to me to watch that uncompressed source file.


I know. But I find that I'm also tied up when the movie is playing. Watching the movie.

mic j
Jul 24, 2012, 04:53 PM
I know. But I find that I'm also tied up when the movie is playing. Watching the movie.
Must not be married! ;)

afawcett
Jul 24, 2012, 05:32 PM
this is a great thread. many of the tools i am familiar with are windows based, because i rarely need to deal with containers since getting a mac. it's useful to know about these tools when for when i need them. thanks to op and all the comments.

TyroneShoes2
Jul 24, 2012, 08:38 PM
MKV can be a little confusing, but converting it to MP4 can be relatively painless and quick if you use the right tools and options.


Background Info
MP4, MOV and MKV are all container files. Think of them like a lunch box. Within these go your video (with it's own codec) and audio, think of these to be your lunch that goes in the lunch box. If you have a device (in this case ATV) that can ingest the codec but not the container than you should not re-encode it. You should use the "PASS THROUGH" option which takes the codec (h.264, xvid, etc.) and puts in another container (MP4). Re-encoding it would take the codec and re-process it (in this analogy it would first take apart your sandwich and then re-assemble it before putting in the new lunchbox) so you want to avoid this if the codec is compatible with the device you wish to watch it on. Passing through the codec takes only as long as re-copying the file to the hard drive, whereas re-encoding it can take many hours to days depending on the file size and options...I love your lunchbox analogy.

The first problem here is that mp4 and mks refer to the containers (as you indicated) and not the codec inside, and therefore somewhat en-veil what is really within. While mp4 containers can contain files encoded in a half-dozen different codecs, mkv containers are compatible with just about any codec, and that can imply a possible incompatibility depending specifically on the target decoder, all of which may or may not imply a re-encode within the workflow.

This means that the question then becomes, continuing your analogy, "how do I convert what is inside lunchbox A to what should be inside lunchbox B so that it will be compatible with the target decoder and player?", which is really the same question, only it points out how uncontrollably vague the question really is, and how it does not provide all of the specifications needed to allow a definitive answer to the question because the terms mkv and mp4 are somewhat ambiguous as to what codecs they might contain.

IOW, from simply identifying the lunchboxes or containers we don't know exactly what codec is inside the source container and whether the destination player will require it to be re-encoded into what codec it expects to be within the target or destination container, or not. Knowing the container formats is just not enough information on its own.

The good news is that the common answers are usually that what is encoded is also the same thing that (or compatible with what) the target player expects, and all that is needed to convert is to rewrap the existing source codec in the new container format. That would usually be quick and painless and not imply any generational quality loss.

The bad news is that possibly (but rarely) the target player expects a codec different than the one in the original wrapper, and therefore the workflow invokes a re-encode, and that may imply a slower process with some generational losses. It depends.

And just trying to identify that by the wrapper formats doesn't really answer that question; mp4 to mkv or vice versa might mean a re-encode in one workflow, and it might not in another, depending on what the source codec is (which we can't discern from the source wrapper) and what the target decoder expects (which we also can't discern from the target wrapper).

And when you resort to 3rd-party software this opens up an entirely new can of worms, which is the second problem. The critical thing is does the transcode software (which must identify both the source and destination codecs as well as the wrapper formats) really understand what the destination decoder/player actually requires? Its definition of mp4 as a target is arbitrary and the codec it chooses might not match exactly what is needed for a particular workflow also defined by that same ambiguous container format. It might arbitrarily re-encode or not re-encode, simply because that company is completely divorced from the target decoder/player, and the choices for what codec they choose for a particular transcode are made by the creator of Handbrake, two continents and an ocean away, instead of by Apple, for instance.

Handbrake can't read the mind of an iPad; it has no intrinsic knowledge of what the iPad expects, based on just the identification of the container format. If Handbrake works, that is either completely by accident, nothing more than coincidence, or some French Handbrake engineer took the time to specifically massage it to work directly with the iPad. We hope one or the other happened; we just don't really know if either of them did until we try Handbrake, or iFlicks, or whatever.

So whether one tool or another will work for a particular workflow, especially one vaguely described by just the container formats, is basically a crap shoot. You might get a legitimate mp4 to mkv conversion with one tool that invokes a re-encode that you never really needed, and you pay the price in time and quality, even if that tool specifically states that this particular transcode will be compatible with a particular device. Or you may get a legitimate conversion with a different tool that does not choose to do a re-encode at all, but when you go to play it back, nothing happens. The target container format matches, but the target codec might still not be compatible. You wont really know until you try. All of this implies that you should try "passthrough" first. If that doesn't work, try something else.

The only practical way to deal with this is to try what folks who have blazed their part of the trail suggest until you find what works for your particular situation, because there is no guarantee that your particular workflow is the same as someone else's; the target encoder may be different and the source codec may be different, even if both workflows are described by "mp4 to mkv".

TyroneShoes2
Jul 24, 2012, 09:10 PM
...All these threads go on about "demux" then you "remux" then you whatever "mux" ughhh!! I have no idea what any of that means...This is easily explained, if you care. "Multiplexing" refers to combining more than one data stream together into a single data stream. "Demultiplexing" refers to parsing certain elemental data streams out of a stream that contains multiple data streams (was originally multiplexed), where some of the elemental streams get passed on in the workflow while some are discarded. "Remultiplexing" refers to multiplexing (actually means the same thing) but to putting together elemental streams that were either once previously multiplexed and later demultiplexed, or combining the streams of interest from that workflow with new streams into a single MPTS or Multiple Program Transport Stream.

And "mux" is short for "multiplex". Taken as a whole it refers to the chemistry of taking digital data streams apart and combining them.

In the consumer world, a common form of demux would be to take a DVD which has streams for audio, video, second audio, secondary programs (such as outakes or attached documentaries) and during a rip, parsing out the stuff you don't really need so that you are left with just the main audio and video, which can make the file size smaller and therefore manageable and portable.

A common form of remux would be if you shoot your own home video and then add descriptive metadata, captions, or a program description to the edited audio and video, so that all of that is in one program stream or transport stream file.

The trick is to realize that all of that is separate from the question of transcoding issues, even though they commonly are done at the same time. You don't have to understand or even use multiplexing techniques to achieve a rip or a transcode. You can learn as much or as little of each as you want to, without really affecting your understanding of the other. You don't have to understand it all as one big ball of stuff; you can compartmentalize, which magically removes all fear and intimidation.

The entire secret of understanding technology is that all complex issues can be broken down into smaller, less-complex components. conquer or understand the pieces separately, each on its own turf, then you can much more easily understand the whole.

Sparky9292
Jul 25, 2012, 01:53 AM
+1 for iFlicks. I use it all the time to remux mkv to m4v for iTunes. Just drop it on the window, make sure it gets the right metadata, select iTunes compatible, and away it goes.

Edit: Should have read the whole thing. :o

Hmm. I use MP4Tools to convert mkv/avi to m4v (i.e. mp4) and then use Identity 2 to tag and copy it to itunes. Identity 2 uses IMDB for movies and TVDB for television shows.

Djlild7hina
Jul 25, 2012, 10:23 AM
I'm trying to use iVI now but wish it worked with stylized subs. Only thing I can think of that works with that is handbrake but requires it to be burned in

JAT
Jul 25, 2012, 10:48 AM
Must not be married! ;)

Wrong direction. Married too long. Why would what I do affect her? ;)

Besides, she's got an iPad.

mic j
Jul 25, 2012, 10:50 AM
Wrong direction. Married too long. Why would what I do affect her? ;)

Besides, she's got an iPad.

My wife just got an iPad, so I know exactly what your saying!:)

jayfehr
Jul 26, 2012, 03:01 PM
Here is a command line option that will go through a directory and convert all the mkv's to mp4's with no quality loss and only takes a couple minutes per file. There is a bit of setup to get it to go, but that is a one time thing:

1: install Xcode: http://itunes.apple.com/ca/app/xcode/id497799835?mt=12

2: install the CLI tools in Xcode: Launch Xcode -> Preferences -> Downloads

3: Install Quartz: (Only required on Mountain Lion I believe, but do it anyway): http://xquartz.macosforge.org/trac/wiki

4: Install Homebrew: http://mxcl.github.com/homebrew/
4a: Update Homebrew, open terminal and type the following command (you will need to enter your password)


sudo brew update


5. Install ffmpeg (this is what we were aiming for the entire time)

sudo brew install ffmpeg



All the above are only required once. What we've done here is setup a repository that will allow you to install pretty much any open source software, then installed the ffmpeg command that is going to do all our magic.

Now just run this command (remember to change the directory name to the one that has your mkv's in it)


for f in <DIRECTORY>/*.mkv; do ffmpeg -i "$f" -vcodec copy "${f%.mkv}.mp4"; done


you will have to run that in each directory with video files, it doesn't go through sub-directorys. However it will convert all your files with no loss of quality. A little work, but still easier than going file by file with some of the other methods

Baytriple
Jul 26, 2012, 03:02 PM
It's easy.

Use the app called Adapter. It's free.

koban4max
Jul 26, 2012, 06:00 PM
Ah ok, I'm converting this to MP4 so that I can burn it to a DVD using Toast, which will create a HD-DVD. It'll be played on a 50" Television so I need to retain the quality!

handbrake works well. Even a little kid can do it in less than 30 seconds. I mean that literally. Not to insult or anything. It's just that easy.

Wombert
Jul 26, 2012, 06:08 PM
https://gist.github.com/641476 :) (needs xcode command line tools and homebrew installed as well as the utilities, via brew, that are listed in the source)

milbournosphere
Jul 31, 2012, 04:22 PM
+1 for handbrake.

It's a conversion as opposed to trans-coding, but the quality loss is negligible. Besides, the only time i don't view my mkv file is when I'm going to be watching on the go, using my iPad, so the quality issue isn't a big deal to me. Given your troubles with the trans-coding process, I highly suggest it.

Open Handbrake -> Select mkv file as source -> Select preset -> Mash the go button -> beer/coffee/snack while you wait. So easy a caveman can do it.

jdiamond
Jul 31, 2012, 05:18 PM
I have mainly DVD movies (only a few Blu-Ray) but like to preserve the quality. Do you know if there's any way the format used inside a standard VIDEO_TS directory can be used directly by an m4v file? Or must you always do a video conversion? (I realize the container file must be changed...)

Thanks for the advice. :)

mic j
Jul 31, 2012, 05:38 PM
I have mainly DVD movies (only a few Blu-Ray) but like to preserve the quality. Do you know if there's any way the format used inside a standard VIDEO_TS directory can be used directly by an m4v file? Or must you always do a video conversion? (I realize the container file must be changed...)

Thanks for the advice. :)

I have to assume that since you are wanting to end up with and m4v container, you are wanting to play the files on an aTV. DVD's are mpeg2. mpeg 2 will not play on an aTV, so you have to convert then to h.264.

So I guess the answer to your question is...no.

ClemsonDV
Jul 31, 2012, 06:01 PM
I have TONS of MKV files and not a lot of time to go through each one and add and then change metadata. Is there something that I can set and drop a folder or folders in and let it go?

LucidX
Jul 31, 2012, 10:12 PM
All of this implies that you should try "passthrough" first. If that doesn't work, try something else.



Agreed. In my advice the codec was the constant. For a given file, if the codec works for one's devices than pass through is the one to go for if at all possible. The biggest downside is the lack of batch processing via qt7 pro.

nuzzy
Aug 1, 2012, 01:25 PM
I believe an app called 'mkvtoolnix' will work also

Nutdotnet
Aug 2, 2012, 02:05 AM
Handbrake is great, MP4Tools works great when it's not crashing, but for me, iFlicks is the best. Not only does it convert, but it also does a great job with metadata.

mikepro
Aug 2, 2012, 11:36 AM
Just buy the program Identify on the Mac App store. $20, but worth it for ease of use, conversion, and metadata download.

mic j
Aug 2, 2012, 11:44 AM
Just buy the program Identify on the Mac App store. $20, but worth it for ease of use, conversion, and metadata download.
Are you referring to using it for it's video passthrough capability or for it's ability to totally process a video AND metadata using a queue? Seems to be multiple questions going on in this thread and not sure what this "answer" is directed toward.

RolledUp20s
Aug 2, 2012, 02:18 PM
hold your horses...

have you got mountain lion? ...you have an apple TV. airplay from your mac using VLC to play the MKV.
Now..before you say ''i haven't got a mac''....you need a mac :)



...or, as i'm trying now out of curiosity- try Vuze. you drag MKV etc in the conversion programme built in, it ask...what playback device? click Apple TV 3 ..and it begins. not sure how long or what the quality is like yet...will soon see.

Panini
Aug 2, 2012, 06:14 PM
Just curious; what is mkv even used for? I have yet to see it anywhere.

Is it a special codec used by some special high end cameras or something?

mic j
Aug 2, 2012, 07:24 PM
Just curious; what is mkv even used for? I have yet to see it anywhere.

Is it a special codec used by some special high end cameras or something?

MKV is a container that carries a video & audio file. mp4 is another type of container. MKV's became popular when people started streaming video on the home networks. A lot of video's downloaded as torrents are in the mkv format. The advantage of the container is that it is very flexible in what it can contain, say vs the mp4.

If you really care: http://en.wikipedia.org/wiki/Matroska

mikepro
Aug 3, 2012, 01:22 PM
Are you referring to using it for it's video passthrough capability or for it's ability to totally process a video AND metadata using a queue? Seems to be multiple questions going on in this thread and not sure what this "answer" is directed toward.

Well, pretty much for all that. I mainly use it to produce "itunes compatible" files, which are great for use on ATV2, ipad, etc. If an mkv has video already encoded in h.264, it sill simply remux the audio and put the tracks in the correct order for easy playback on iDevices. It also automatically gets the metadata, and then appends (actually maybe prepends) it into the file in the right way so that it all shows up in iTunes and on iDevices. If the video is not in h.264, it will re-encode it as necessary. Finally, it's great for building up a queue, you can just drop a bunch of files into it and let it work.



Had problems using Subler and MetaX for all this. Sure, it costs $20, but it works great, saves me tons of time, and has none of the annoying issues I had with other problems. In true Mac fashion, It Just Works.

mic j
Aug 3, 2012, 01:59 PM
Well, pretty much for all that. I mainly use it to produce "itunes compatible" files, which are great for use on ATV2, ipad, etc. If an mkv has video already encoded in h.264, it sill simply remux the audio and put the tracks in the correct order for easy playback on iDevices. It also automatically gets the metadata, and then appends (actually maybe prepends) it into the file in the right way so that it all shows up in iTunes and on iDevices. If the video is not in h.264, it will re-encode it as necessary. Finally, it's great for building up a queue, you can just drop a bunch of files into it and let it work.



Had problems using Subler and MetaX for all this. Sure, it costs $20, but it works great, saves me tons of time, and has none of the annoying issues I had with other problems. In true Mac fashion, It Just Works.

I just use Handbrake (free) and Subler (free). Just use Subler for the metadata as I like the ability to add/delete fields to maximize the movie info in the aTV window.

Can you explain to me how, with just a remux to the mp4 container, you get subtitles to work, e.g. "soft" and/or forced subs?

Thanks.

mikepro
Aug 3, 2012, 02:38 PM
I just use Handbrake (free) and Subler (free). Just use Subler for the metadata as I like the ability to add/delete fields to maximize the movie info in the aTV window.

Can you explain to me how, with just a remux to the mp4 container, you get subtitles to work, e.g. "soft" and/or forced subs?

Thanks.

LOL, I've been saying iDentify is the App, but I'm actually referring to iFlicks! Oops. Used to use iDentify when Subler failed, but now I strictly use iFlicks.

iFlicks supports external srt subtitle files. Honestly, I don't really use subtitles much, so I can't speak to it. But, check out their website and search the support forum, maybe you can find what you are looking for.

I know there are free alternatives, and there is often an aversion to paying for software, but iFlicks has been $20 well spent for me, as it is one stop meta data and conversion utility for me.

MacinJosh
Aug 3, 2012, 04:35 PM
MKV to MP4 without re-encoding is no longer hard as it was when I first started to look into it if you look into my post history. My choice for that is iFlicks and it's brilliant.

But going from MKV is going to be a compromise either way. Pass through is fast but many times introduces problems with resuming, fast forwarding and even streaming. Conversion is slow, especially with 1080P on a slower machine and a negligible quality loss.

My take is, if you have tons of MKVs you want in MP4 and you can live with minor hiccups, go with iFlicks. I've chosen this route.

If you want the best performance and compatibility from your MP4 and don't mind long conversion times, go with Handbrake. I honestly can't tell a difference in quality from the MKV on my 32" FullHD TV.

mil098
Aug 4, 2012, 07:39 AM
Hello all,

I've read this thread and I am very interested.
MacinJosh, do you mind telling me what settings you use for handbrake? (or anyone else for that matter)

Cheers
Anthony.

MKV to MP4 without re-encoding is no longer hard as it was when I first started to look into it if you look into my post history. My choice for that is iFlicks and it's brilliant.

But going from MKV is going to be a compromise either way. Pass through is fast but many times introduces problems with resuming, fast forwarding and even streaming. Conversion is slow, especially with 1080P on a slower machine and a negligible quality loss.

My take is, if you have tons of MKVs you want in MP4 and you can live with minor hiccups, go with iFlicks. I've chosen this route.

If you want the best performance and compatibility from your MP4 and don't mind long conversion times, go with Handbrake. I honestly can't tell a difference in quality from the MKV on my 32" FullHD TV.

mike457
Aug 4, 2012, 08:10 AM
Hello all,

I've read this thread and I am very interested.
MacinJosh, do you mind telling me what settings you use for handbrake? (or anyone else for that matter)

Cheers
Anthony.

The easy route with Handbrake is to use the presets. It has presets for all versions of the ATV, for iPads, for iPods, iPhones, and for Android devices. Some people tweak these to improve them further, but I'm not really convinced they can actually see the difference. ;)

mic j
Aug 4, 2012, 08:26 AM
The easy route with Handbrake is to use the presets. It has presets for all versions of the ATV, for iPads, for iPods, iPhones, and for Android devices. Some people tweak these to improve them further, but I'm not really convinced they can actually see the difference. ;)
Same here.

mil098
Aug 4, 2012, 03:24 PM
ok, well I'm not using an ATV, I actually have a PC hooked up to the TV.

I do know that MP4 files are smaller than the MKV file, so should I be using the normal preset or the high profile preset?

mic j
Aug 4, 2012, 04:10 PM
ok, well I'm not using an ATV, I actually have a PC hooked up to the TV.

I do know that MP4 files are smaller than the MKV file, so should I be using the normal preset or the high profile preset?
Best quality, smallest file size, longest encode time+aTV3 preset

mmomega
Aug 4, 2012, 11:28 PM
MKV2M4V on the AppStore. Super Easy.

MacinJosh
Aug 5, 2012, 01:45 AM
Hello all,

I've read this thread and I am very interested.
MacinJosh, do you mind telling me what settings you use for handbrake? (or anyone else for that matter)

Cheers
Anthony.

As Mike already said, presets are the way to go.

jdiamond
Aug 24, 2012, 07:50 PM
I have to assume that since you are wanting to end up with and m4v container, you are wanting to play the files on an aTV. DVD's are mpeg2. mpeg 2 will not play on an aTV, so you have to convert then to h.264.

So I guess the answer to your question is...no.

In my case I am find playing them on a computer monitor or iPad. What I was specifically asking was whether or not the mpeg2 codec can be used directly inside of these common container formats, so that you can play them on a computer without losing the quality & compression of the original DVD that occurs during a re-encoding... I was hoping for an iOS compatible format like m4a or something similar...

Thanks for any thoughts,
- Jeff

simsaladimbamba
Aug 24, 2012, 07:54 PM
In my case I am find playing them on a computer monitor or iPad. What I was specifically asking was whether or not the mpeg2 codec can be used directly inside of these common container formats, so that you can play them on a computer without losing the quality & compression of the original DVD that occurs during a re-encoding... I was hoping for an iOS compatible format like m4a or something similar...

Thanks for any thoughts,
- Jeff

Nope, as .mp4 is made for the MPEG-4 codec. And using HandBrake (http://handbrake.fr/) and one of its presets for proper transcoding a video DVD title to an .mp4 file does not really induce visible quality loss, unless you changed a setting for the worse. Also know, that MPEG-4 is a much more advanced codec than MPEG-2, thus the smaller file size while retaining image quality, and MPEG-2 is quite lossy to begin with (1 MB/s data rate, that is almost a quarter of DV encoded video).

mic j
Aug 24, 2012, 08:04 PM
Losslessness is a figment of your imagination. Everything is lossy. ;)

mpossjr
Aug 24, 2012, 08:05 PM
Here is a simple solution...
Forget about DVDs. Its just a matter of time before they are obsolete anyway.
Spend $99 on an Apple TV 3. Download Handbrake for $free.
Problem solved.
You're welcome!

littlepooch21
Aug 25, 2012, 07:44 AM
besides handbrake, is there a simple solution for window's users? i like handbrake but it takes a long time to convert.

mpossjr
Aug 25, 2012, 10:29 AM
besides handbrake, is there a simple solution for window's users? i like handbrake but it takes a long time to convert.

DVDFab woks "OK" but Handbrake is overall the best. I haave tested out a lot of choices recently.

Carlanga
Aug 25, 2012, 03:11 PM
you can just buy the content on hard media and then make your own MP4, saves time and is legal to own.

bushido
Aug 26, 2012, 07:21 AM
it takes 5 minutes to muxe a 12 GB dual audio HD movie with my 4 year old mbp. not hard at all thx to iFlicks :)

blaizefm
Aug 28, 2012, 05:35 AM
+1 for iFlicks. I use it all the time to remux mkv to m4v for iTunes. Just drop it on the window, make sure it gets the right metadata, select iTunes compatible, and away it goes.

Edit: Should have read the whole thing. :o

I love iFlicks. However I've noticed recently that it has stopped muxing the videos (MKV Tv shows primarily) and is encoding instead. I have installed Mountain Lion recently and this may have driven the change...

andymodem
Aug 29, 2012, 06:28 PM
I love iFlicks. However I've noticed recently that it has stopped muxing the videos (MKV Tv shows primarily) and is encoding instead. I have installed Mountain Lion recently and this may have driven the change...

Strange, mine is still muxing everything just fine on Mountain Lion. :confused:

heisenberg123
Aug 29, 2012, 06:51 PM
i have smart converter fom the app store converts a mkv to mp4 in about 20 seconds i dont see a loss in quality

jlc1978
Aug 29, 2012, 10:04 PM
besides handbrake, is there a simple solution for window's users? i like handbrake but it takes a long time to convert.

DVD Catalyst

http://www.tools4movies.com

Fast, quick, easy and great support from the developer. I use it on my Mac via Parallels.

derondantzler
Aug 30, 2012, 12:11 AM
While my system is somewhat complicated, here goes:

1. CouchPotato, SickBeard to download NZB files and send to...
2. SABnzbd to download the videos
3. Python post-processing scripts for SABnzbd to convert the videos from MKV to M4V (IE: demux > convert audio > remix)
4. Folder actions to watch for converted movies, trigger python script that uses iTunes store API to tag videos with data and add them to iTunes library.

What I do now:

1. Add a show I like in SickBeard or a movie to watch in CouchPotato
2. Sit on my sofa and cut on my TV. Peruse the new content that shows up in my library since everything is automated.

This is all much better than the garbage I was doing before (searching for crap to download > handbrake for hours > tagging with subler > adding to iTunes)

derondantzler
Aug 30, 2012, 12:25 AM
besides handbrake, is there a simple solution for window's users? i like handbrake but it takes a long time to convert.

A combination of the following command-line tools:

MKVExtract (MKVToolnix)
MediaInfo
FFmpeg
Normalize
qaac
MP4box

Make a script. Works every time, fast, costs nothing, and can be set to monitor a folder for new MKV files or added as a post-processing script to your download application to automate your routine.

Menneisyys2
Sep 2, 2012, 04:31 PM
I love iFlicks. However I've noticed recently that it has stopped muxing the videos (MKV Tv shows primarily) and is encoding instead. I have installed Mountain Lion recently and this may have driven the change...

Where are you? Prolly the DVB broadcast itself has been changed from, say, 720p60 to, say, 1080i60. Or from H.264 to MPEG-2. Both interlaced and MPEG-2 video must be transcoded for ATV playback.

blaizefm
Sep 18, 2012, 07:06 AM
Where are you? Prolly the DVB broadcast itself has been changed from, say, 720p60 to, say, 1080i60. Or from H.264 to MPEG-2. Both interlaced and MPEG-2 video must be transcoded for ATV playback.

It appears I've been at fault all the time. Choosing the iTunes compatible setting in iFlicks allows muxing of my H.264 TV shows. I had switched to another setting at some point and not noticed.

emptysoul
Sep 19, 2012, 12:32 AM
A combination of the following command-line tools:

MKVExtract (MKVToolnix)
MediaInfo
FFmpeg
Normalize
qaac
MP4box

Make a script. Works every time, fast, costs nothing, and can be set to monitor a folder for new MKV files or added as a post-processing script to your download application to automate your routine.

Can you show us the script you are using? Just saying "make a script" doesn't really help the less technically minded ;)

I've only have my AppleTV for a few days (moving from XBMC) and still trying to perfect my workflow. I think I have the batch encoding of all MKV files in a folder to MP4 (ableit losing 5.1 sound) sorted but everything else seems to be so much more time consuming.

I almost envy Mac users as there are so many more easily used tools for them to use for managing Apple TV content.

xti
Sep 21, 2012, 08:38 PM
Can you show us the script you are using? Just saying "make a script" doesn't really help the less technically minded ;)

I've only have my AppleTV for a few days (moving from XBMC) and still trying to perfect my workflow. I think I have the batch encoding of all MKV files in a folder to MP4 (ableit losing 5.1 sound) sorted but everything else seems to be so much more time consuming.

I almost envy Mac users as there are so many more easily used tools for them to use for managing Apple TV content.

I would look at getting a Roku and use the free Plex channel. Plays any .mkv file easily with no conversion necessary. (it does require Plex server running on your PC). Keep the AppleTV for iTunes or viewing free YouTube movie channels like Crackle. Stopped using XBMC when I sold my 1st gen ATV and started using Plex. With an inexpensive Roku streamer, no more time consuming pain in the :eek::apple: file conversions necessary.

Onky
Oct 2, 2012, 09:28 AM
While my system is somewhat complicated, here goes:

1. CouchPotato, SickBeard to download NZB files and send to...
2. SABnzbd to download the videos
3. Python post-processing scripts for SABnzbd to convert the videos from MKV to M4V (IE: demux > convert audio > remix)
4. Folder actions to watch for converted movies, trigger python script that uses iTunes store API to tag videos with data and add them to iTunes library.

What I do now:

1. Add a show I like in SickBeard or a movie to watch in CouchPotato
2. Sit on my sofa and cut on my TV. Peruse the new content that shows up in my library since everything is automated.

This is all much better than the garbage I was doing before (searching for crap to download > handbrake for hours > tagging with subler > adding to iTunes)

Hi derondantzler,

The setup you have running is exactly the one I'm looking for. I'm looking for a script that runs a remux program after downloading it with sabnzbd. Then I need sickbeard to put it in folders with tags.

Can you please tell me how you automated this?!

Thanks!!

er1cw
Oct 11, 2012, 09:39 AM
While my system is somewhat complicated, here goes:

1. CouchPotato, SickBeard to download NZB files and send to...
2. SABnzbd to download the videos
3. Python post-processing scripts for SABnzbd to convert the videos from MKV to M4V (IE: demux > convert audio > remix)
4. Folder actions to watch for converted movies, trigger python script that uses iTunes store API to tag videos with data and add them to iTunes library.

What I do now:

1. Add a show I like in SickBeard or a movie to watch in CouchPotato
2. Sit on my sofa and cut on my TV. Peruse the new content that shows up in my library since everything is automated.

This is all much better than the garbage I was doing before (searching for crap to download > handbrake for hours > tagging with subler > adding to iTunes)

Can you please share how you do this?? Been looking for this for ages.

littlepooch21
Dec 3, 2012, 12:38 PM
I would look at getting a Roku and use the free Plex channel. Plays any .mkv file easily with no conversion necessary. (it does require Plex server running on your PC). Keep the AppleTV for iTunes or viewing free YouTube movie channels like Crackle. Stopped using XBMC when I sold my 1st gen ATV and started using Plex. With an inexpensive Roku streamer, no more time consuming pain in the :eek::apple: file conversions necessary.

yeah already tried this route and everytime i start watching a movie on the Roku/Plex it will start playing for a few mins and then either freeze or say it's unavail.

Mak47
Dec 7, 2012, 01:58 AM
I've been using an app from the Mac App Store called MKV2M4V. Despite it's name, I've found that .M4V files from it don't like to play in iTunes, but it gives you the option of .MP4 which seems to work fine.

I think the app cost a few bucks (like $5 if I remember right) and it took a bit to find the settings that worked consistently with iTunes.

Once I got it set right, it's drag and drop, even multiple .MKV files, hit start and wait. Large 1080P files take 10-15 minutes on my 2.0 quad core mini. Smaller videos are a fraction of that. In contrast, re-encoding the same 1080P files in Handbrake takes 4-5 hours.

There's no quality loss but the files remain very large. For the record, I see no difference in quality between these and a Handbrake ATV3 preset encode. Handbrake cuts down the size, but takes a lot more time.

Menneisyys2
Dec 9, 2012, 05:29 PM
I've been using an app from the Mac App Store called MKV2M4V. Despite it's name, I've found that .M4V files from it don't like to play in iTunes, but it gives you the option of .MP4 which seems to work fine.

I think the app cost a few bucks (like $5 if I remember right) and it took a bit to find the settings that worked consistently with iTunes.

Once I got it set right, it's drag and drop, even multiple .MKV files, hit start and wait. Large 1080P files take 10-15 minutes on my 2.0 quad core mini. Smaller videos are a fraction of that. In contrast, re-encoding the same 1080P files in Handbrake takes 4-5 hours.

There's no quality loss but the files remain very large. For the record, I see no difference in quality between these and a Handbrake ATV3 preset encode. Handbrake cuts down the size, but takes a lot more time.


Basically, it's a nice and cheap app but has some major problems; for example,

- the app can't transfer (by reencoding if needed) more than two original audio tracks. This is a major problem if you want to retain, say, all the commentary tracks of a video. For example, the well-known Finnish sci-fi parody “Iron Sky” has two commentary tracks (Finnish and English) and two main audio tracks (one 5.1 and one 2-channel AC-3 tracks, having the same audio). This is at least three tracks if you want to preserve both commentaries, along with either of the main audio tracks.

- there is absolutely no support for embedded subtitles at all. It only supports external SRT subs, which means you need to extract them first with, say, Subler. This, should you want to use this app in batch mode, would result in a lot of additional work. (Needless to say, top remuxers like the most recommended MP4Tools and Subler both support embedded subtracks. Actually, Subler even supports their bitmap versions too – both OCR'ing and pass-through'ing-wise.)

(More info in my just-posted review & benchmark at http://forums.macrumors.com/showthread.php?p=16456054).

JRoDDz
Dec 11, 2012, 09:57 PM
one word. SUBLER. http://code.google.com/p/subler/

Subler will remux MKV to MP4 without re-encoding the entire video. It also will add subtitles and metadata if you want it to. I used to use MP4Tools but found Subler to be much easier.

The DRis
Dec 11, 2012, 11:26 PM
one word. SUBLER. http://code.google.com/p/subler/

Subler will remux MKV to MP4 without re-encoding the entire video. It also will add subtitles and metadata if you want it to. I used to use MP4Tools but found Subler to be much easier.

Only if the MTV has h.264 already. Subler remuxes, it won't transcode.

scottw324
Dec 12, 2012, 01:17 AM
If it is a 720p video I would just say download the app AirVideo and then download the free desktop software. Use that to convert all 720 videos. I use it all the time and it is so simple to convert videos. Usually takes about as long as the video is to convert, granted maybe on a faster, more powerful computer it would happen faster. I am still working on a dual core 2.1 Ghz laptop.

I have used Handbrake and while it does work well, it takes forever on my computer. So I typically stick with the AirVideo app. You setup the conversion using the app on your iPhone, iPod, or ipad. Plus the app streams video content from any folder you give the desktop program access to. It also does live conversions so those mkv files you have you can still watch without having to convert, atleast on the ipad. I guess you could set your ipad or iPhone up to live convert the file and then AirPlay the feed to the Apple TV. Might buffer from time to time though due to streaming and converting at the same time, depending on computer's power.

Unfortunately it does not convert 1080p movies to 1080p. You can always convert them to 720p. That is the only issue I have with the program but for me it is a small price to pay. I am not a hardcore videophile where it has to be perfect with 5.1 or 7.1 sound, etc.... As long as it sounds good and the video doesn't look like ***** I am happy.

Menneisyys2
Dec 12, 2012, 02:48 AM
one word. SUBLER. http://code.google.com/p/subler/

Subler will remux MKV to MP4 without re-encoding the entire video. It also will add subtitles and metadata if you want it to. I used to use MP4Tools but found Subler to be much easier.

BTW, in what way did you find MP4Tools hard? IMHO, once you learn how to use the batch mode, it's more powerful than Subler. Too bad it has some disadvantages like lack of chapter support.

MonkeySee....
Dec 12, 2012, 03:02 AM
I user Smart Converter Pro to remux mkv to mp4.

https://itunes.apple.com/us/app/smart-converter-pro/id450078312?mt=12

Its idiot proof :o

Menneisyys2
Dec 12, 2012, 05:44 AM
I user Smart Converter Pro to remux mkv to mp4.

https://itunes.apple.com/us/app/smart-converter-pro/id450078312?mt=12

Its idiot proof :o

I wish

- it supported more than one input audio tracks

- any kind of subtitles (including embedded ones)

IMHO, for for about the same price, iFFmpeg is a far better choice.

MonkeySee....
Dec 12, 2012, 05:47 AM
I wish

- it supported more than one input audio tracks

- any kind of subtitles (including embedded ones)

IMHO, for for about the same price, iFFmpeg is a far better choice.

I agree about the subtitle thing. Pain in the arse.

JRoDDz
Dec 12, 2012, 09:52 AM
BTW, in what way did you find MP4Tools hard? IMHO, once you learn how to use the batch mode, it's more powerful than Subler. Too bad it has some disadvantages like lack of chapter support.

Not saying it was hard to use, but for my purposes Subler does everything I need it to. I don't use batch mode, but if I did I would have no reservations using MP4Tools again.

msh
Dec 21, 2012, 11:20 AM
Here is a command line option that will go through a directory and convert all the mkv's to mp4's with no quality loss and only takes a couple minutes per file. There is a bit of setup to get it to go, but that is a one time thing:

1: install Xcode: http://itunes.apple.com/ca/app/xcode/id497799835?mt=12

2: install the CLI tools in Xcode: Launch Xcode -> Preferences -> Downloads

3: Install Quartz: (Only required on Mountain Lion I believe, but do it anyway): http://xquartz.macosforge.org/trac/wiki

4: Install Homebrew: http://mxcl.github.com/homebrew/
4a: Update Homebrew, open terminal and type the following command (you will need to enter your password)


sudo brew update


5. Install ffmpeg (this is what we were aiming for the entire time)

sudo brew install ffmpeg



All the above are only required once. What we've done here is setup a repository that will allow you to install pretty much any open source software, then installed the ffmpeg command that is going to do all our magic.

Now just run this command (remember to change the directory name to the one that has your mkv's in it)


for f in <DIRECTORY>/*.mkv; do ffmpeg -i "$f" -vcodec copy "${f%.mkv}.mp4"; done


you will have to run that in each directory with video files, it doesn't go through sub-directorys. However it will convert all your files with no loss of quality. A little work, but still easier than going file by file with some of the other methods

This method works but it doesn't do subtitles. Is there an additional command to do that?

iRooney
Jan 7, 2013, 10:20 AM
http://www.apartmenttherapy.com/how-to-convert-mkv-to-mp4-for-135756. Works flawlessly. 15 minutes a movie.

iRooney
Jan 7, 2013, 10:31 AM
Freeware too btw

Mac Fly (film)
Feb 4, 2013, 09:15 PM
Use Subler if you just want to change the container. Use HandBrake if you want to transcode it. Subler is written by ritsuka who is a handbrake developer. It is not hard and both are free.

This comment saved my life. Ignore every comment in this thread bar this one. It solved it for me.

dynaflash
Feb 5, 2013, 12:02 AM
Handbrake can't read the mind of an iPad; it has no intrinsic knowledge of what the iPad expects, based on just the identification of the container format. If Handbrake works, that is either completely by accident, nothing more than coincidence, or some French Handbrake engineer took the time to specifically massage it to work directly with the iPad. We hope one or the other happened; we just don't really know if either of them did until we try Handbrake...

LOL. sorry to finally reply to this ... but its a hoot! No, it was not a French HandBrake engineer and yes the presets in HB have all been tested to near exhaustion on said devices. Hence the fact there are not more device presets in HB. They only exist if a developer personally uses said device and tests ... and tests .. and (rinse, repeat). I just thought it was kind of funny. :)
Come to think of it there aren't any active French devs for HB that I know of ;)

erpetao
Feb 5, 2013, 02:15 AM
Just use iVI (https://itunes.apple.com/gb/app/ivi/id402279089?mt=12), the easiest software on the planet. Just drop the file and off you go, it even downloads the metadata from the net.

(Just make sure to enable passthrough in the settings).

http://a465.phobos.apple.com/us/r1000/060/Purple/fd/a1/df/mzl.doftbrwv.800x500-75.jpg (https://itunes.apple.com/gb/app/ivi/id402279089?mt=12)

Che Castro
Feb 5, 2013, 12:59 PM
Question
If I convert my 500gb mkv collection to mp4 using one of these programs

I have the following
Apple TV 3
AirPort Extreme
2 External hardrive 3tb not a nas
Mac mini


Now is there a way I can watch my converted mp4 movies on my Apple TV with the Mac mini off ?
Using my current setup


My other option is to leave the Mac mini on 24/7 , I'm ok with that
But I would like to leave the mac in guest account when I'm not using it , and in this guest account I only want the iTunes folder on the external drive to be visible , is this possible to do ?

mic j
Feb 5, 2013, 01:29 PM
Question
If I convert my 500gb mkv collection to mp4 using one of these programs

I have the following
Apple TV 3
AirPort Extreme
2 External hardrive 3tb not a nas
Mac mini


Now is there a way I can watch my converted mp4 movies on my Apple TV with the Mac mini off ?
Using my current setup


My other option is to leave the Mac mini on 24/7 , I'm ok with that
But I would like to leave the mac in guest account when I'm not using it , and in this guest account I only want the iTunes folder on the external drive to be visible , is this possible to do ?
Something has to feed the aTV. The mini, which is running iTunes, has to be left running. On the guest account: I think you can use it, but I have no direct knowledge as I have never used one and am not sure as to Guest Account restrictions.

bripab007
Feb 7, 2013, 02:01 PM
Two fool-proof options:

1) if the MKV can simply be remuxed (it's already encoded with h.264), use MP4Tools (and many have also said good things about Subler)

2) if it can't be remuxed and needs to be transcoded, use Handbrake

Both of these programs have presets for AppleTV, both are dead simple to use, both are free (or you can donate to their causes).

End of thread.

From A Buick 8
Mar 20, 2013, 08:51 PM
Two fool-proof options:

1) if the MKV can simply be remuxed (it's already encoded with h.264), use MP4Tools (and many have also said good things about Subler)

2) if it can't be remuxed and needs to be transcoded, use Handbrake

Both of these programs have presets for AppleTV, both are dead simple to use, both are free (or you can donate to their causes).

End of thread.

This is my first time trying to use something other then hand break. I am using MP4tools to "remux" from a .mk4 to a .m4v

I have all of the settings correct (i think) but the file ends up being just 466 mb (source file was 4.69 gb). Any idea what i am doing wrong.

DOUGHNUT
Mar 20, 2013, 09:40 PM
get this app on the Mac called "Beamer". drop the mkv file in, streams the movie over to Apple TV. no conversion needed, perfect HD quality with surround sound.

Che Castro
Mar 20, 2013, 10:03 PM
This is my first time trying to use something other then hand break. I am using MP4tools to "remux" from a .mk4 to a .m4v

I have all of the settings correct (i think) but the file ends up being just 466 mb (source file was 4.69 gb). Any idea what i am doing wrong.

try mkvtools instead of mp4tools

i use mkvtools for muxin mkv to mp4 and i odnt see that apple tv 2 device in my program, maybe that is your problem

roxxette
Mar 20, 2013, 10:12 PM
Rename extension, problem solved.

mic j
Mar 21, 2013, 08:34 AM
try mkvtools instead of mp4tools

i use mkvtools for muxin mkv to mp4 and i odnt see that apple tv 2 device in my program, maybe that is your problem
I don't think mkvtools converts mkv to mp4 anymore. The developer moved that functionality to the mp4tools app.

From A Buick 8
Mar 21, 2013, 03:05 PM
try mkvtools instead of mp4tools

i use mkvtools for muxin mkv to mp4 and i odnt see that apple tv 2 device in my program, maybe that is your problem

Thanks for that, i used it and it did seem to work.

Rename extension, problem solved.
Does not work, the source file has a DTS sound track.


I don't think mkvtools converts mkv to mp4 anymore. The developer moved that functionality to the mp4tools app.
I did have success with mkvtools. When i tried to use mp4tools
the file only played for about 20 minutes

mic j
Mar 21, 2013, 03:31 PM
Did you use the beta version of mp4tools (v3.2, I think)?

From the mkvtools site: "This is a new and improved version of MKVtools, which will focus on what the original version of MKVtools was not very good at - the creation and editing of MKV files. It will not, however, create MP4 or AVI files. As the name might imply, MK4tools is a graphical interface for a variety of tools useful for processing video files.

If you have found yourself here looking for MKVtools to convert videos to either MP4 or AVI videos, then you should download either M4tools or AVItools, not MKVtools. If you are a user of the original version of MKVtools and are looking for updates, see here."

Not sure what version of these apps you are using but the original mkvtools was split into 3 programs:
MKVTools: used for creating/editing mkv's but not create mp4's.
MP4Tools: used to change container of mkv to mp4 or transcode mkv to mp4
AVITools: used to create/edit AVI files.

jmxp69
Mar 21, 2013, 07:30 PM
If you have access to linux, you can use this script I wrote. It's personalized for my setup, so you might have to spend a little quality time reading through it and changing paths to suit your needs. When the script is done it leaves a 0 byte filename in "Sent to iTunes" folder to avoid conversion loops. It requires HandbrakeCLI and mediainfo (to verify a successful conversion).

This Handbrake configuration passes MP4 friendly 2 Channel/DD5.1 soundtracks so it will pass DD5.1 to your receiver via HDMI and 2 Channel for iOS devices.

I've used this script to convert over 150 MKVs with no issues (lots of testing :)).

You can use a crontab entry to run it or you can run it by hand. When I have a big batch going, I change the crontab to * */3 to run every 3 minutes for example.

This would run at 1:45 am daily.
45 1 * * * /usr/local/bin/bgconv.sh > /dev/null 2>&1

I wrote an auto-rip script that automatically extracts my DVD movies (I have over 300 discs, so when the mood strikes me I cycle a few at a time through the NAS). The auto ripper puts MKV's in my Plex library, this script converts them to MP4 for iTunes Library. The Add to iTunes folder is on the NAS and the Mac Mini serving media mounts the NAS iTunes folder. Works like a champ.

I put a disc in. 20 minutes later it's in Plex, 20 minutes after that it's in iTunes.

I have smart playlists setup so after I add genre information to the iTunes copy the chick flick smart playlist pushes movies wirelessly my wife's and daughter's iPads and iPhones, and the action/adventure/war smart playlist pushes to my iPad. I'm all about automation :)


#!/bin/bash

# Binaries
hbcli=/usr/bin/HandBrakeCLI
preset='"AppleTV 3"'
extension=m4v
mi=/usr/bin/mediainfo
securecopy=/usr/bin/scp

# Paths
tmp=/tmp
outfolder=/storage/junk

# Files
statfile="$outfolder/bgconv.log"
infile=/tmp/bgconv-in.txt
errorlog=$outfolder/error.log
processed=/storage/movies/Sent_to_iTunes
logfile=/var/log/syslog
xferlog="$outfolder/xfer.log"
countintmp=$tmp/bgconv.countin.${RANDOM}
countouttmp=$tmp/bgconv.countout.${RANDOM}
countskippedtmp=$tmp/bgconv.countskipped.${RANDOM}
filetmp=$tmp/bgconv.filetmp.${RANDOM}

pidfile="$(ls $tmp/bgconv.*.????????? 2> /dev/null)"
ituneslib="/storage/mm_itunes_library/Automatically Add to iTunes.localized"

force=1
owner=xp
countin=0
countout=0
countskipped=0

#e-mail setup
mailer=/usr/sbin/sendmail
from=your_from@your.domain
email=your_to@your.domain
message="/tmp/bgconv.message"
uselogo=y # Inserts an image into the e-mail notification
logourl="http://yourwebserver.net/yourlogo.png"
TDBGCOLOR1="#99CCFF" # Left side column (TD) background color
TDFONT1="#4B0082" # Left side column (TD) font color
TDBGCOLOR2="#F8F8FF" # Right side column (TD) background color
TDFONT2="#000000" # Right side column (TD) font color
TDALERT="red" # Threshold alert cell (TD) background color
TDALERTFONT="white" # Threshold alert cell (TD) font color
TDSTYLE1='style="background-color:'$TDBGCOLOR1'"> <font color="'$TDFONT1'"'
TDSTYLE2='style="background-color:'$TDBGCOLOR2'"> <font color="'$TDFONT2'"'
TDALERTSTYLE='style="background-color:'$TDALERT'"> <font color="'$TDALERTFONT'"'

declare out_file

trap on_exit SIGINT SIGQUIT SIGHUP SIGTERM

function timestamp () {
now="$(date +%b) $(date +%d| sed 's/0/ /') $(date +%T) $(hostname -s) BGCONV[$$]:"
}

function on_exit() {
echo "aborted"
rm -f "$out_file"
exit 1
}

function cleanup() {
timestamp && echo "$now Removing lock: $pidfile" >> $logfile
if [ -f $pidfile ]; then
echo "==> Removing $pidfile"
rm "$pidfile"
fi
if [ -f $countintmp ]; then
echo "==> Removing $countintmp"
rm $countintmp
fi
if [ -f $countouttmp ]; then
echo "==> Removing $countouttmp"
rm $countouttmp
fi
if [ -f $countskippedtmp ]; then
echo "==> Removing $countskippedtmp"
rm $countskippedtmp
fi
if [ -f $filetmp ]; then
echo "==> Removing $filetmp"
rm $filetmp
fi
if [ -f $message ]; then
echo "==> Removing $message"
rm $message
fi
}

timestamp && echo "$now $0 starting." >> $logfile


if [[ $@ = -f ]]; then
timestamp && echo "$now Forced run set. Removing $pidfile and continuing" >> $logfile
echo "==> Force used, removing lockfile: rm $tmp/bgconv.*.?????????"
`rm $tmp/bgconv.*.????????? 2> /dev/null`
fi


pidcheck="$(ls $tmp/bgconv.*.????????? 2> /dev/null | wc -l)"
if [ ! "$pidcheck" = "0" ];
then
echo -e "> Error, lockfile(s) exist: $pidfile\n> Exiting! (use -f to override)."
timestamp && echo "$now $pidcheck lockfile(s) exists, exiting! Use -f to force run or remove $pidfile" >> $logfile
exit 1
fi

# Create lockfile and go to work
pidfile="$(mktemp -t bgconv.$$.XXXXXXXXX)"
echo $$ > $pidfile
timestamp && echo "$now Created new lockfile: $pidfile" >> $logfile
echo "==> Starting $0" > $statfile

if [ ! -f $infile ]; then
echo "==> Input file doesn't exist"
echo "==> Making one with find /storage/movies/adults/ -name *.mkv | grep -v .AppleDo| sort > $infile"
timestamp && echo "$now Input file doesn't exist" >> $logfile
timestamp && echo "$now Making one with find /storage/movies/adults/ -name *.mkv | grep -v .AppleDo| sort > $infile" >> $logfile
`find /storage/movies/adults/ -name *.mkv | grep -v .AppleDo| sort > $infile`
fi

if [ -f $infile ]; then
echo "==> Found $infile. Continuing"
echo "==> Found $infile. Continuing" >> $statfile
timestamp && echo "Found $infile. Continuing" >> $logfile
in_file="$infile"
else
echo "==> There's a problem finding $infile. I tried making it, but can't find it."
echo "==> You can make your own with find /storage/movies/adults/ -name *.mkv | grep -v .AppleDo| sort > $infile"
echo "==> Exiting!"
timestamp && echo "$now There's a problem finding $infile. I tried making it, but can't find it." >> $logfile
timestamp && echo "Exiting." >> $logfile
echo "==> There's a problem finding $infile. I tried making it, but can't find it." >> $statfile
echo "Exiting." >> $statfile
cleanup
exit 1
fi


if [ ! -d $outfolder ]; then
echo "==> $outfolder doesn't exist. Making it."
echo "==> $outfolder doesn't exist. Making it." >> $statfile
mkdir $outfolder
fi

while read in_file
do
## Send e-mail after completing a transcode
subject="BGConvert Service Notice"
# First few lines of e-mail notification with timestamp
echo "Subject: $subject (Started:" $(date +%T)")" > $message
echo "From: $from" >> $message
echo "MIME-Version: 1.0" >> $message
echo "Content-Type: text/html; charset=iso-8859-1" >> $message
echo "" >> $message
echo "<html>" >> $message

if [ "$uselogo" = "y" ]; then
echo "<img src="$logourl" alt=Logo>" >> $message
echo "<br><br>" >> $message
fi
echo "<b>Notice:</b> The background transcode service on $(hostname) found a movie and attempted to transcode it. Details of this action follow:<br><br>" >> $message
echo "<table border=0>" >> $message
echo "<tr><td $TDSTYLE1><b>Process start&nbsp;&nbsp;&nbsp;</b></td><td $TDSTYLE2>"$(date +%T)"</td></tr>" >> $message

countin=$(($countin + 1))
echo "$countin" > $countintmp

if [ -f "$in_file" ]
then
# remove file extension
base_file=$(echo "$in_file" | sed 's/\(.*\)\..*/\1/')
finalout=`basename "$base_file"`
out_file="$outfolder/$finalout.$extension.tmp"
echo "==> Input :$in_file"
timestamp && echo "$now Input :$in_file" >> $logfile
timestamp && echo "$now Output :$outfolder/$finalout.$extension" >> $logfile
echo "==> Input :$in_file" >> $statfile
echo "==> Output :$outfolder/$finalout.$extension" >> $statfile
echo "==> Output :$outfolder/$finalout.$extension"
if [ -f "$processed/$finalout.$extension" ];
then
countskipped=$(($countskipped + 1))
echo $countskipped > $countskippedtmp
timestamp && echo "$now Skipping :$processed/$finalout.$extension exists." >> $logfile
echo -e "> Skip :$processed/$finalout.$extension exists.\n"
echo -e "> Skip :$processed/$finalout.$extension exists.\n" >> $statfile
else
echo "==> Transcoding :$in_file"
timestamp && echo "$now Transcoding :$in_file" >> $logfile
echo "==> Transcoding :$in_file" >> $statfile
echo "" | $hbcli -i "$in_file" -o "$out_file" -s "scan" --subtitle-forced --preset="AppleTV 3" 2>/dev/null >>$statfile
echo "==> Transcode complete."
echo "==> Transcode complete." >> $statfile
timestamp && echo "$now Transcode of $out_file complete. Checking viability" >> $logfile
#check output is valid
echo "==> Using $mi to verify $out_file is valid"
echo "==> Using $mi to verify $out_file is valid" >> $statfile
if $mi "$out_file" | grep -q "Format[ ]*: AVC"
then
echo "==> Mediainfo check passed. Incrementing success counter and renaming tmp to final" >> $statfile
timestamp && echo "$now $out_file looks good. Renaming and sending to iTunes Library" >> $logfile
countout=$(($countout + 1))
echo $countout > $countouttmp
timestamp && echo "$now moving $out_file to $outfolder/$finalout.$extension" >> $logfile
echo "==> Moving temporary output to final output"
echo "==> Moving temporary output: $out_file to final output: $outfolder/$finalout.$extension" >> $statfile
mv "$out_file" "$outfolder/$finalout.$extension"
echo "==> Adding $outfolder/$finalout.$extension to $xferlog" >> $statfile
echo "$outfolder/$finalout.$extension" >> "$xferlog"
timestamp && echo "$now Creating dummy $processed/$finalout.$extension to prevent re-transcode" >> $logfile
touch "$processed/$finalout.$extension"
timestamp && echo "$now Moving $outfolder/$finalout.$extension to iTunes Library" >> $logfile
echo "==> Copying $outfolder/$finalout.$extension to iTunes Library" >> $statfile
echo "==> cp $outfolder/$finalout.$extension to $ituneslib/$finalout.$extension"
echo "==> You should change the previous command from cp to mv after you know everything is working" >> $statfile
cp "$outfolder/$finalout.$extension" "$ituneslib/$finalout.$extension"
echo "==> Done moving $outfolder/$finalout.$extension to iTunes Library" >> $statfile
echo "==> chown'ing $ituneslib/$finalout.$extension to owner: $owner" >> $statfile
chown "$owner" "$ituneslib/$finalout.$extension"
echo "==> chmod'ing $ituneslib/$finalout.$extension to: a+rwx" >> $statfile
chmod "a+rwx" "$ituneslib/$finalout.$extension"
echo "==> COMPLETE: All steps to copy $outfolder/$finalout.$extension to $ituneslin/$finalout.$extension finished successfully" >> $statfile

################## Wrap-up e-mail
echo "<tr><td $TDSTYLE1><b>Title Processed&nbsp;&nbsp;&nbsp;</b></td><td $TDSTYLE2>$finalout.$extension</td></tr>" >> $message
echo "<tr><td $TDSTYLE1><b>Process End</b></td> <td $TDSTYLE2>"$(date +%T)"</td></tr></table></html>" >> $message
cat < $message | $mailer $email
################### End e-mail

else
# Mediainfo didn't return a positive result. So delete the temporary file to avoid filling up HD
# Leave the dummy file so we don't get caught in a transcode loop, and move on.
echo "==> MI check failed. Removing $out_file, touching and $processed/finalout.$extension to avoid transcode loop" >> $statfile
rm -f "$out_file"
# touch is needed here to avoid re-transcode looping
touch "$processed/$finalout.$extension"
echo "==> MI didn't find a valid output." >> $statfile
timestamp && echo "$now [ERROR] $in_file had problems" >> $logfile
timestamp && echo "$now [ALERT] Leaving $processed/$finalout.$extension to prevent transcoding loop for a bad file" >> $logfile
timestamp && echo "$now [ALERT] Remove $processed/$finalout.$extension when you want to try again" >> $logfile
timestamp && echo "$now [ERROR] $in_file had problems" >> $errorlog
timestamp && echo "$now [ALERT] Leaving $processed/$finalout.$extension to prevent transcoding loop for a bad file" >> $errorlog
timestamp && echo "$now [ALERT] Remove $processed/$finalout.$extension when you want to try again" >> $errorlog
fi
echo -e "> Finished $in_file\n"
echo -e "==> Finished $in_file\n" >> $statfile
fi

fi

done < $in_file

echo "Cleaning up"
cleanup
if [ -f $infile ]; then
timestamp && echo "$now Removing $infile" >> $logfile
rm $infile
fi
if [ -f $countintmp ]; then
timestamp && echo "$now Found `(cat $countintmp)` file(s)" >> $logfile
fi
if [ -f $countouttmp ]; then
timestamp && echo "$now Transcoded `(cat $countouttmp)` file(s)" >> $logfile
fi
if [ -f $countskippedtmp ]; then
timestamp && echo "$now Skipped `(cat $countskippedtmp)` file(s) because they already exist" >> $logfile
fi
echo "Done!"

Che Castro
Mar 22, 2013, 09:56 PM
I don't think mkvtools converts mkv to mp4 anymore. The developer moved that functionality to the mp4tools app.

I use mkvtools all the time with mp4 or m4v


Edit:

Im saying that i use mkvtools with mp4 videos adding or removing audio tracks

It doesn't convert mkv to mp4

nikicampos
May 21, 2013, 01:56 PM
MKV can be a little confusing, but converting it to MP4 can be relatively painless and quick if you use the right tools and options.


Background Info
MP4, MOV and MKV are all container files. Think of them like a lunch box. Within these go your video (with it's own codec) and audio, think of these to be your lunch that goes in the lunch box. If you have a device (in this case ATV) that can ingest the codec but not the container than you should not re-encode it. You should use the "PASS THROUGH" option which takes the codec (h.264, xvid, etc.) and puts in another container (MP4). Re-encoding it would take the codec and re-process it (in this analogy it would first take apart your sandwich and then re-assemble it before putting in the new lunchbox) so you want to avoid this if the codec is compatible with the device you wish to watch it on. Passing through the codec takes only as long as re-copying the file to the hard drive, whereas re-encoding it can take many hours to days depending on the file size and options.


Software
Quicktime 7 Pro
Perian


Process
- Install the necessary software

- Open the MKV file in Quicktime 7 Pro

- It may take a few minutes depending on the length to open (you will see the progress above the play button) - perian is working in the background to get quicktime to read the mkv

- Once the file is open and you can play it in Quicktime 7 Pro go to - FILE --> EXPORT... (drop down menu)

- In the 'EXPORT' dropdown menu select "Movie to MPEG-4"

- Click 'OPTIONS'

- In the video Format dropdown menu select 'PASS THROUGH'

- You may set your own audio/streaming options to your liking, then click "OK"

- Click "SAVE"

- The file will then save your new video file in the MP4 container without re-encoding the original video component saving substantial time & processing.

The "Pass Through" option is not selectable, it's in gray, any thoughts??

mic j
May 21, 2013, 02:37 PM
The "Pass Through" option is not selectable, it's in gray, any thoughts??
Yes, use a better tool to do it. Not sure whether you're on the Mac or PC side of life, but there are many tools that can do a better job of changing containers than Quicktime. If you're on Mac, Subler or mp4tools comes to mind.

nikicampos
Jun 5, 2013, 06:39 PM
Yes, use a better tool to do it. Not sure whether you're on the Mac or PC side of life, but there are many tools that can do a better job of changing containers than Quicktime. If you're on Mac, Subler or mp4tools comes to mind.

Thanks for your reply, I downloaded "Smart Converter" from ShedWorx in the Mac App Store (as someone here recommended), and that program is amazing, a 1GB 720p movie MKV file takes only 5 minutes to convert to MP4, the result is almost identical, although some files had problems and couldn't be played on my PS3.

But it's free, you can't go wrong with it.

SnowLeopard2008
Jun 5, 2013, 07:11 PM
HandBrake doesn't work? I've been using HandBrake for video conversion including MKV files. No problems.

mic j
Jun 6, 2013, 08:07 AM
HandBrake doesn't work? I've been using HandBrake for video conversion including MKV files. No problems.

He doesn't want to transcode, just change containers. HB only transcodes.

jimmirehman
Jun 6, 2013, 08:46 AM
VideoMonkey.

That is all.

SirYossi
Jun 6, 2013, 11:18 AM
I'm a so freaking pissed. I've been trying to convert a 720p MKV video file to a 720p MP4 file with NO video quality loss. I've been trying to do this for ALMOST A WEEK with no luck. All these threads go on about "demux" then you "remux" then you whatever "mux" ughhh!! I have no idea what any of that means. They then go on about having to do some crazy stuff in terminal with a program called MP4Box, I have no idea what that does or how to use it, what so ever.

Instead of spending weeks on trying to convert these damn 720p video files, isn't there a program that I can just drag the file onto, set it to MP4 and get my file with no quality loss?!?!

PLEASE HELP ME SOMEONE, THIS IS DRIVING ME FREAKING INSANE.

Smart Converter Pro is what i use the best money ever spent for a converter - Available in App Store. I can drop a dozen or so in the hopper and let it convert and it does it nicely

Menneisyys2
Jun 6, 2013, 05:10 PM
Smart Converter Pro is what i use the best money ever spent for a converter - Available in App Store. I can drop a dozen or so in the hopper and let it convert and it does it nicely

I've benchmarked its free version (see THIS (http://www.iphonelife.com/blog/87/benchmark-excellent-multimedia-converter-handbrake-vs-commercial-apps) for more info). Found it good (for the price).

Note that the US AppStore has a lot of negative reviews. Another example of people NOT knowing anything about video conversion trashing an otherwise good app. That is, do NOT pay attention to those "reviews" - they are (almost?) all untrue.

tdotto
Jun 7, 2013, 09:30 AM
I've benchmarked its free version (see THIS (http://www.iphonelife.com/blog/87/benchmark-excellent-multimedia-converter-handbrake-vs-commercial-apps) for more info). Found it good (for the price).


Great thread with some useful apps that I didn't know about. Tried Subler, iFlicks, SmartVideo Converter and Handbrake.

So far I find that SmartVideo Converter fastest to convert 720p mkv to ATV3 compatible file.

Question: does SmartVideo do the tagging (IMDB based) or do I need another app for that purpose.

tdotto
Jun 7, 2013, 11:13 AM
Disappointed how SmartConverter changes the original audio into 2 channel sound. See the attachment where I have compared the original to converted audio.415724

spyguy10709
Jun 7, 2013, 12:02 PM
I had a media player. Slow w large libraries, clunky interface, full of bugs and no longer supported with new FW. Also spent more time trying to correct it's errors on categorizing my files and scraping metadata.

There is no reasonably priced media player that does it all. You have to go HTPC to get it all. For $99 I'm happy as a pig in mud!!!!

There is, actually. Sony's new line of Blu-Ray players (like the BDP-S390/590) that are around 100 bucks, play AVI, MKV, M4V, MP4 - literally anything I've thrown at it (And I source my files from all over the internet) with no problems - from USB, DVD/BluRays, and from my DLNA server on my mac (using Vuze, I can download a torrent of ANYTHING and play it right on my blu ray, wirelessly, without converting!)

mic j
Jun 7, 2013, 12:24 PM
There is, actually. Sony's new line of Blu-Ray players (like the BDP-S390/590) that are around 100 bucks, play AVI, MKV, M4V, MP4 - literally anything I've thrown at it (And I source my files from all over the internet) with no problems - from USB, DVD/BluRays, and from my DLNA server on my mac (using Vuze, I can download a torrent of ANYTHING and play it right on my blu ray, wirelessly, without converting!)
Interesting that you reply to a year old post recommending a player that Sony no longer makes. And...I don't do torrents.

spyguy10709
Jun 7, 2013, 01:17 PM
Interesting that you reply to a year old post recommending a player that Sony no longer makes. And...I don't do torrents.

Sony makes both of those players, where are you getting that?

They both just came out like 5 months ago...

And it doesn't matter, a DLNA server has nothing to do with torrents - it's a home networking protocol for sending video from one device to another. The point is, these discussions about converting are becoming irrelevant.

Here's a protip. And don't tell anyone, but if there's ever an acronym you don't know, or need to find product information, there's this global index of sorts... Most people don't know about it, but I love it. Here's a direct link. http://www.google.com

mic j
Jun 7, 2013, 02:16 PM
Sony makes both of those players, where are you getting that?

They both just came out like 5 months ago...

And it doesn't matter, a DLNA server has nothing to do with torrents - it's a home networking protocol for sending video from one device to another. The point is, these discussions about converting are becoming irrelevant.

Here's a protip. And don't tell anyone, but if there's ever an acronym you don't know, or need to find product information, there's this global index of sorts... Most people don't know about it, but I love it. Here's a direct link. http://www.google.com
I did use your great pro tip. It took me to the Sony website where a window came up that said that those 2 models were no longer available. If it says that on the Sony website, I assume that to mean they no longer make it. Not saying that stock already produced is not available from other sources. Just saying Sony no longer makes it.

And I never said DNLA had anything to do with torrents. I simply stated I do not do torrents. Therefore that aspect of the player is of no use to me.

I know your hot on this player as you are posting all over that the world has changed since Sony made it...but chill out a bit. No need to be rude.

spyguy10709
Jun 7, 2013, 03:16 PM
I did use your great pro tip. It took me to the Sony website where a window came up that said that those 2 models were no longer available. If it says that on the Sony website, I assume that to mean they no longer make it. Not saying that stock already produced is not available from other sources. Just saying Sony no longer makes it.

And I never said DNLA had anything to do with torrents. I simply stated I do not do torrents. Therefore that aspect of the player is of no use to me.

I know your hot on this player as you are posting all over that the world has changed since Sony made it...but chill out a bit. No need to be rude.

Oh, really? http://store.sony.com/p/3D-Blu-ray-Disc-Streaming-Player/en/p/BDPS590

mic j
Jun 7, 2013, 03:42 PM
Yep, really.

Sparky9292
Jun 12, 2013, 06:25 AM
it's not hard at all, it's extremely easy.
use an app called MP4Tools if you want a simply click-and-go solution.

MP4Tools (http://www.emmgunn.com/mp4tools/mp4toolshome.html) is the best OSX app for converting MKV to MP4 (or M4V rather) because most MKV's use H264 for video. In fact, if you have a fiber optic Dolby decoder connected to your AppleTV, then you can do pass thru conversions for both audio and video with MKV's and it takes seconds to convert an MKV to M4V.

I don't have a surround sound decoder box, so I need 2 Channel AAC audio. MP4Tools transcodes the audio to AAC in about 3 minutes on my i5 iMac.

I then dump the M4V into Identify 2 (http://identify2.arrmihardies.com/) which tags it and moves it into iTunes for me.

Many noobies use Handbrake for converting MKV's. The problem is that Handbrake is really meant for DVD to MP4 conversion, so it always always transcodes the video stream which in these days, is not needed as all MKV's and most AVI's have the video encoded as mpeg4 or h264 -- both formats supported by AppleTV

What is the best equivalent of MP4Tools for Windows? Handbrake doesn't support pass thru.

mic j
Jun 12, 2013, 08:48 AM
[URL="http://www.emmgunn.com/mp4tools/mp4toolshome.html"]

Many noobies use Handbrake for converting MKV's. The problem is that Handbrake is really meant for DVD to MP4 conversion, so it always always transcodes the video stream which in these days, is not needed as all MKV's and most AVI's have the video encoded as mpeg4 or h264 -- both formats supported by AppleTV

First, I am not a "noobie" and use HB for all transcoding. Secondly, HB is as oriented toward BR transcoding as dvd. Thirdly, streaming high bitrate (uncompressed) over wifi can be problematic. Fourthly, HB produces exceptional quality transcodes, helps me get more mileage out of my HDD's and reduces wifi streaming start time and buffering.

simsaladimbamba
Jun 12, 2013, 08:52 AM
streaming high bitrate (uncompressed) over wifi can be problematic.

Even if a stream is using a high bitrate, it is probably still compressed, unless you meant RAW streams, which are hardly available for consumers anyway.

mic j
Jun 12, 2013, 09:02 AM
Even if a stream is using a high bitrate, it is probably still compressed, unless you meant RAW streams, which are hardly available for consumers anyway.
Since "noobs" may not understand that the mpeg2/h.264 content of dvd and BR's is compressed data from RAW, I will clarify my reference to "uncompressed" as being data that is the same as the dvd or BR source. ;)

RedRaven571
Jun 12, 2013, 10:42 AM
Sorry I haven't read all the replies so this may be a duplicate.

How about using subler to remux (.m4v is the output) then simply rename to .mp4?

mic j
Jun 12, 2013, 10:49 AM
Sorry I haven't read all the replies so this may be a duplicate.

How about using subler to remux (.m4v is the output) then simply rename to .mp4?
Subler is an excellent tool for remuxing and will change the extension. No need to rename. I think mp4tools might be easier to use with DTS audio sources though as it will re-encode the DTS to AC3 5.1 and include a 2-channel AAC track for apple product compatibility.

wersplat
Jun 15, 2013, 08:22 AM
i use iFlicks for my conversion, and its easy and quick to just use the iTunes compatible preset...HD TV show done in less than a min...it just remuxes it
easiest conversion ever...if you want to encode it, even though there really isn't a reason to, you can do that with the presets and it will take about an hr for a 41 min TV show in 720P

see here:
http://forums.macrumors.com/showthread.php?t=1358947