Go Back   MacRumors Forums > Apple Hardware > Apple TV and Home Theater

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 3, 2012, 04:06 AM   #1
mrjayviper
macrumors regular
 
Join Date: Jul 2012
Merge 2 Handbrake created m4v file into 1 big m4v file

I tried QT7 pro but the options for passthrough are disabled (export to mpeg-4 format). What are my other options? Thanks
mrjayviper is offline   0 Reply With Quote
Old Aug 3, 2012, 04:09 AM   #2
hafr
Banned
 
Join Date: Sep 2011
Quote:
Originally Posted by mrjayviper View Post
I tried QT7 pro but the options for passthrough are disabled (export to mpeg-4 format). What are my other options? Thanks
I use iVI for this.
hafr is offline   0 Reply With Quote
Old Aug 3, 2012, 04:15 AM   #3
mrjayviper
Thread Starter
macrumors regular
 
Join Date: Jul 2012
this? http://itunes.apple.com/us/app/ivi/id402279089?mt=12

does it support merging without reencoding? The description doesn't say right out. thanks
mrjayviper is offline   0 Reply With Quote
Old Aug 3, 2012, 04:31 AM   #4
Menneisyys2
macrumors 603
 
Join Date: Jun 2011
Quote:
Originally Posted by mrjayviper View Post
this? http://itunes.apple.com/us/app/ivi/id402279089?mt=12

does it support merging without reencoding? The description doesn't say right out. thanks
It does. Just drag the first video in the app, then, double-click it in the list, select the Video Joining tab (fourth) and drag the additional, to-be-joined videos there in the order you want to join them.

If the videos are in the same format + resolution + fps, they will be joined without (!!!) recompression and VERY quickly.
Menneisyys2 is offline   0 Reply With Quote
Old Aug 3, 2012, 04:39 AM   #5
mrjayviper
Thread Starter
macrumors regular
 
Join Date: Jul 2012
thanks to both.

left the mbp at work so will be trying this on monday.
mrjayviper is offline   0 Reply With Quote
Old Oct 26, 2012, 03:18 PM   #6
robearbeach
macrumors newbie
 
Join Date: Sep 2012
I can't make iVI work to merge 2 m4v files

I've followed the directions but all the thing does is convert the first m4v filed into a giant mov file that won't play in quicktime or itunes.
robearbeach is offline   0 Reply With Quote
Old Oct 28, 2012, 03:39 AM   #7
Menneisyys2
macrumors 603
 
Join Date: Jun 2011
Quote:
Originally Posted by robearbeach View Post
I've followed the directions but all the thing does is convert the first m4v filed into a giant mov file that won't play in quicktime or itunes.
Strange. Try joining using MP4Tools - see http://forums.macrumors.com/showthread.php?t=1477358
Menneisyys2 is offline   0 Reply With Quote
Old Apr 25, 2013, 03:55 AM   #8
2IS
macrumors 68020
 
Join Date: Jan 2011
I know this is an old thread, but I thought it was worth resurrecting... I just had just purchased LOTR Extended box set (bluray) which has the movie spanned across two disks. I convert all my movies to M4V for streaming to my ATV and have been looking long and hard for a way to merge them without much success. I have QT Pro but that didn't work for me. It acted like it worked, but as soon as it was done saving, the file it created, for whatever reason got truncated down to 32 bytes and was useless.

After days of trying, I FINALLY figured out how to get this done while maintaining the chapters AND AC3 audio without having to do any actual re-encoding. A few notes.

1) I used windows based programs (all free)
2) This method requires the files to be in MKV format for the merging process. If you haven't already encoded the original disks (using handbrake) do so using the MKV container, it will save you a step. (don't worry, it will be remuxed into a M4V container later)

Programs Needed:
XMedia Recode
MKVMerge/MKVToolnix

I'll describe the processes assuming you already have the encoded M4V files.

1A) Launch XMedia Recode and drag your M4V files into the queue

1B) Select the 1st file in the queue. In the FORMAT tab chose the CUSTOM profile, MATROSKA VIDEO format and MKV file extention. Make sure Output Stream type is set to "video and audio"

1C) In the VIDEO tab. Make sure MODE is set to COPY. If you fail to do this step, the video will get re-encoded instead of simply remuxed into a different container.

1D) In the AUDIO tab, select COPY for the mode and AC3 for the codec (assuming you're working with an AC3 stream) You may also have more than one audio stream, make sure you select the stream and choose your settings accordingly.

1E) Click on "add job" button

1F) Repeat these steps for the second video. It is imperative that the settings you select for both segments are identical or the merging processes in "Step 2" will fail

1G) Click the "ENCODE" button. You can chance your destination at the bottom. The process goes a bit faster if the input and output files are on two separate drives.

(The entire processes above can be skipped if you encode directly to MKV from the originals)

2A) Once the above processes is done, you should have 2 MKV files (or more if you're combining more than 2 segments) make sure the file names are identical with a 001 appended to the first segment and 002 to the second.

2B) Launch mkvmerge. Click and drag the first segment into the "input files" queue. Click on APPEND button and select the second segment.

2C) Click on "start muxing" Once this processes completes you should have a 3rd MKV which is (almost) the finished product. I like to open the file and make sure it's working and audio is in sync, then proceed to the final step (3)

3A) Open XMedia Recode and load the new MKV file created in the previous step into the queue.

3B) Select APPLE for profile and sub profile most suitable for your application.

3C) In the VIDEO tab set MODE to COPY

3D) In the AUDIO tab, select the audio stream. Set MODE to COPY and CODEC to AC3.

3E) Click on ADD JOB and then ENCODE

Don't let the "encode" button frighten you, as long as you selected "copy" in the video tab, it will not processes the video but simply change the container to M4V.

It's somewhat of a processes, but that should get you a merged M4V file with AC3 audio and chapters intact. Unfortunately after several days of searching and trying different apps, I was unable to find a program that successfully merged M4V files. QT came close only to deflate me at the end. MPEG Streamclip (another suggested app) came even closer, it merged the video perfectly but completely stripped out the audio.
2IS is offline   0 Reply With Quote
Old Oct 19, 2013, 05:58 PM   #9
sugarbear
macrumors newbie
 
Join Date: Aug 2010
I tried the above instructions with a series of small clips hoping I'd get 1 file with each clip as a different chapter.

No dice. One big chapter.

The file did work, however, and was great quality.

Also, for ATV videos, you usually want two audio tracks -the stereo and the surround - which affords some flexibility if you move the file to iDevices or Airplay it to certain setups. I couldn't get the stereo track, which was included in all of the clips, to work on the compiled file... but that may have been my fault along the way.
sugarbear is offline   0 Reply With Quote
Old Oct 20, 2013, 03:04 AM   #10
priitv8
macrumors 68000
 
Join Date: Jan 2011
Location: Estonia
Quote:
Originally Posted by sugarbear View Post
No dice. One big chapter.
Adding chapters later to a m4v movie is kid's play.
priitv8 is offline   0 Reply With Quote
Old Oct 20, 2013, 01:12 PM   #11
2IS
macrumors 68020
 
Join Date: Jan 2011
Quote:
Originally Posted by sugarbear View Post
I tried the above instructions with a series of small clips hoping I'd get 1 file with each clip as a different chapter.

No dice. One big chapter.

The file did work, however, and was great quality.

Also, for ATV videos, you usually want two audio tracks -the stereo and the surround - which affords some flexibility if you move the file to iDevices or Airplay it to certain setups. I couldn't get the stereo track, which was included in all of the clips, to work on the compiled file... but that may have been my fault along the way.
It's been a while since I posted that but IIRC, that process does not add chapters based on the number of clips but keeps the chapter data already contained within the files in tact.
__________________
No one can deny that Apple's growth is slowing down or that they have new competitors in the market or that they need something exciting in the near future.
-Pirg
2IS is offline   0 Reply With Quote
Old Apr 22, 2014, 06:21 AM   #12
cool11
macrumors 65816
 
Join Date: Sep 2006
Quote:
Originally Posted by Menneisyys2 View Post
It does. Just drag the first video in the app, then, double-click it in the list, select the Video Joining tab (fourth) and drag the additional, to-be-joined videos there in the order you want to join them.

If the videos are in the same format + resolution + fps, they will be joined without (!!!) recompression and VERY quickly.
I will try it.
cool11 is offline   0 Reply With Quote
Old Apr 24, 2014, 12:09 AM   #13
rosiel122
macrumors newbie
 
Join Date: Feb 2014
Location: Midwest
I used mp4 joiner to do exactly what you are trying to do. It was very handy in preserving chapter marks.

It is free and multi platform.
rosiel122 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Hardware > Apple TV and Home Theater

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
m4v file is missing after Handbrake finishes Rob9874 Apple TV and Home Theater 6 Nov 20, 2014 02:25 PM
iTunes won't add .m4v file OsloBergen Apple TV and Home Theater 7 Jan 28, 2014 05:02 PM
Why will one .m4v file add to iTunes and the other doesn't? MoodyM Mac Applications and Mac App Store 0 Aug 18, 2013 01:46 PM
iTunes automatically changes m4v file name guydor Apple TV and Home Theater 7 Oct 8, 2012 02:25 PM
Best way to split m4v file into separate chapters? danny_w Apple TV and Home Theater 8 Jul 16, 2012 02:17 AM

Forum Jump

All times are GMT -5. The time now is 11:57 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC