AVCHD Editing on Mac revisited
I recently purchased a Panasonic HDC-SD600 camcorder – featuring full HD 1080p recording options and OIS to boot. While I cannot praise the camera enough, the workflow for editing an AVCHD file on a Mac leaves something to be desired. The fact remains that even after nearly four years of widespread AVCHD use, there are “no” editors for OSX that will edit the AVCHD MTS file natively.
I visited this issue a while back, comparing the merits of MJPEG vs AVCHD Lite with regard to editing ease on the Mac, and concluded that MJPEG while inferior in terms of compression, is infinitely better in terms of editing ease. It sparked an interesting debate and a lot of comments from other interested people who have come across the same problem – the cumbersome editing process on a Mac while using AVCHD Lite.
Not having the MJPEG option on this camera, I was determined to figure out a good middle ground for editing the AVCHD MTS files on the Mac without losing quality. Converting the video to a format OSX software can work with is inevitable. What one can try and achieve is the most optimal conversion process so that the end result is spectacular. Here I believe I have a workflow that works quite well, at least for me.
Once again this is very subjective and YMMV. I am trying to stick to the free/near free options for OSX. One could go with Adobe Premiere Pro CS5 and edit the AVCHD files with minimal loss of quality, but that suite is rather expensive and for the casual hobbyist videographer, an overkill. One could also choose Voltaic HD, but I tried the demo from their website, and came out very underwhelmed. Here’s the suite of apps that I use:-
That is all. All editing was done on my mid-2009 iMac with a 3.06 GHz Core2Duo and 4GB RAM. The workflow is really quite simple. Succinctly put, I convert the MTS files to M4V using Handbrake and my custom settings (below). I then import these M4V files into iMovie allowing it to convert the files to MOV and generating thumbnails. Once I edit the movie, I export the same from iMovie using my presets. Couldn’t be simpler. You can click on the images below to view them full-size.
Step 1: Fire Up Handbrake and let ‘er rip!
Choose the file to convert, and then in the Video Tab, choose constant quality with a value of 18-20.
![]()
I found that the lower this value is, the better is the quality. The downside to choosing a lower value is the huge file size. So make sure you have HDD room to spare. In my experience, values for Constant Quality < 18 really don't really show any significant improvement, however the file-size is nearly doubled. On a side note, I also tried the constraining by file size and data rate options, but these are just the opposite of what you would want to do, to preserve the quality.
![]()
The advanced tab, I keep my values as shown. They are based on a lot of research into what is recommended by the cognoscenti and personal experience as well. Feel free to recommend any alterations.
![]()
Press the start button, and let Handbrake convert that MTS to M4V for you.
Step 2: Open iMovie and import the movie
Import the M4V you just created with Handbrake to iMovie. Don’t forget to check the “Optimize video: Full – Original Size” option. iMovie will import the M4V file and convert the same into MOV for easier editing. If you didn’t choose the Optimize video option, iMovie would still import the video, but any attempts to edit it, will cause your system to lag. I’ve seen this happen on Core i7s as well.
Once the movie is imported, you can edit it in the timeline view, and to your heart’s content.
![]()
Step 3: Share the movie
From Share, choose Export Movie, -> HD 1080p, press Export and Bob’s your uncle.
![]()
Note that there are other ways to import an AVCHD MTS file into iMovie – by connecting your camera and importing directly – but these conversions are very lossy. I compared a movie exported using this method, and the method outlined above, and the difference is more than significant. The picture quality for the Handbrake converted videos is considerably better. It definitely does help to go the extra mile in this case.
AVCHD Lite vs Motion JPEG – editing ease on the Mac
UPDATE: 11/05/10 – Thanks to your insightful comments, I have written a new article on AVCHD editing on OSX.
With the new camera come a whole slew of editing questions – which format is better, which format lends to easy editing, which format produces the best audio/video… To better educate myself on this topic, I have been trawling the web, finding resources, reviews, experiences of ZS3 users, as well as shooting sample videos using my ZS3 and editing the same on my Mac. It turns out that Motion JPEG is better overall, in terms of quality of audio/video and ease of editing – the two most important benchmarks in my opinion. Intrigued? Read on. Word of caution – this is aimed solely at the hobbyists – people who shoot videos for personal or family leisure. Professionals, well you are just way off base here.
AVCHD Lite is the 720p cousin of the more famed AVCHD format pushed by Sony and Panasonic. Recording at 30fps, at a variety of Mbps (9-17), it is a newer format being implemented by many Point and Shoot cameras. The main pro of shooting in this format is the smaller file size on the card. Everything else touted as a pro, is actually a con. AVCHD uses frame blending (the main reason why the file sizes are smaller) to capture video. It encodes one full frame every X second, the rest being all deltas, which is GREAT for file sizes, but is horrid for editing when converted to another format.
MJPEG or Motion JPEG was the first generation of video compression available to the users back in the day, and arguably is the least efficient way to compress video, but it is on the flip side, the fastest to decode and edit. This is due to the fact that each frame is encoded separately using JPEG compression. It takes the least amount of processing power to encode, edit or playback. It is indeed very wasteful in terms of space consumption. An eight minute sample will take 2GB of space in 720p setting.
Before we start, editing an AVCHD Lite video is NOT natively supported with any of the OS X based video editors. Some have pointed that Final Cut Pro (FCP) can edit the AVCHD files, but I can confirm that it actually converts the MTS video to ProRes 422.
Test Setup
I shot three sequences of videos in low light, out in the snow, and indoors – well lit. All shot in AVCHD Lite format, SuperHigh settings (17Mbps) with Dolby Digital stereo audio, with auto focus in manual settings. I used iMovie ’09 and Final Cut Pro. The former imported the MTS files as AIC (Apple Intermediate Codec) and the latter as ProRes 422 (HD) files. The time taken to convert the MTS files to AIC and ProRes 422 were nearly 80% of the length of the clip. For instance, a clip of a minute took 40 seconds to import to iMovie and FCP.
I repeated the same set of videos with MJPEG, auto-focus and manual settings. There was no conversion necessary and all clips were natively imported in iMovie ’09 and FCP.
The movies were then spliced together, and output as an HD MOV file with bitrate of 9100kbps and two pass encoding. I can post the other setup variables as well. The encoding took the same amount of time, since working with AIC and ProRes 422 is the same as working with MJPEG (native).
Initial Reaction
Video
The time taken for video conversion notwithstanding, the MJPEG format seemed to be a clear winner of the two. Not only was the video sharper, featuring more vibrant and true-life colors, and much less noise (especially compared to the AVCHD videos converted to ProRes and AIC), but also, the quality of the output encoded video was clearly much superior. I could already notice artifacts and loss of quality on the ProRes and AIC encoded videos but this got trebled (nearly) in the final product. The end result seemed to be shot with a normal non-HD camera.
Audio
There was no appreciable difference in terms of audio quality. Even though the AVCHD Lite format supports Dolby Digital audio input, after encoding and compression, there is no discernible difference between the AAC encoded audio from AVCHD Lite and the stereo 2-channel audio recorded with MJPEG.
Preliminary Conclusion
Clearly from an editing standpoint, on the Mac, MJPEG is the clear winner. The editing ease and persistence of quality and low level noise in day-to-day videos makes the benefits of AVCHD (eg. longer recording times) moot. Even though with MJPEG videos are limited to 8 minutes per recording, and translate to roughly 2 GB file (per 8 minutes of video) on the SD card, it more than offsets this lack of compression, with the ease and ability to edit and encode the video on one’s tools of choice be it basic trimming with Quicktime, or Timeline based editing on iMovie and FCP.
My recommendation is a resounding yes for MJPEG. Keep a couple of 16GB SDHC Class 6 cards handy though.




