Difference between revisions of "MP4 and M4A File Support"

From JRiverWiki
Jump to: navigation, search
(Enabling MP4 Playback Using the DirectShow Engine)
(Enabling MP4 Playback in MC)
Line 35: Line 35:
 
* Install DirectShow filters capable of decoding the MP4 files and any audio and video streams that may be contained within the file.  This normally requires a set of multiple different filters.
 
* Install DirectShow filters capable of decoding the MP4 files and any audio and video streams that may be contained within the file.  This normally requires a set of multiple different filters.
 
* Set MC to use DirectShow to decode and play these file types.
 
* Set MC to use DirectShow to decode and play these file types.
 
=== Installing DirectShow Filters ===
 
  
 
There are a wide variety of different filters that can be used to decode MP4 files using DirectShow.  By far, the simplest method to make it Just Work is via the [http://www.cccp-project.net/ Combined Community Codec Pack (CCCP)].  For more information on this codec pack, including how to obtain and install it, please refer to the main [[DirectShow Playback Guide]] article.
 
There are a wide variety of different filters that can be used to decode MP4 files using DirectShow.  By far, the simplest method to make it Just Work is via the [http://www.cccp-project.net/ Combined Community Codec Pack (CCCP)].  For more information on this codec pack, including how to obtain and install it, please refer to the main [[DirectShow Playback Guide]] article.
Line 42: Line 40:
 
If CCCP doesn't work for you for some reason, there are alternatives discussed in the [[DirectShow_Playback_Guide:Alternative_Filters#MPEG-4_Container_Family_.28mp4_.2F_m4a_.2F_m4v.29|DirectShow Playback Guide: Alternative Filters article]].
 
If CCCP doesn't work for you for some reason, there are alternatives discussed in the [[DirectShow_Playback_Guide:Alternative_Filters#MPEG-4_Container_Family_.28mp4_.2F_m4a_.2F_m4v.29|DirectShow Playback Guide: Alternative Filters article]].
  
=== Enabling DirectShow Playback Support in MC ===
+
Then you also need to tell MC to use DirectShow (rather than Quicktime) to play these file types back. Simply go to ''Tools --> Options --> Playback --> DirectShow Playback Settings'' and check ''M4A'' and/or ''MP4'' in the ''DirectShow Filters list''.  Refer to the image above, and '''check both boxes''' (rather than unchecking them as you would to enable Quicktime playback).

Revision as of 12:57, 30 October 2007

A MP4 file is the common name (based on the regular file extension) for MPEG-4 Part 14 container files. Put simply, MP4 files are a modern file format that serves a similar purpose to AVI files and other audio and video container formats (but provides new features not available in older formats).

M4A files are simply MP4 files that contain only an audio stream (usually AAC encoded). There is no difference between a M4A file and a MP4 file other than the file extension. In fact, the M4A extension was actually not part of the original MP4 "specification" but was invented by Apple to differentiate audio-only MP4 files from video MP4 files. Other common MP4 extensions include: M4V (for video), M4P (for MP4 files "protected" with Apple's DRM system), 3gp (for Mobile Phones), and M4B (audiobooks). All of these different file types are really just MP4 files "inside" (though 3GP files are special simplified MP4 files).

Enabling MP4 Playback in MC

In order to play these files back with MC you need to have either:

  • Apple's Quicktime Player installed
  • proper DirectShow filters installed, and you need to enable DirectShow M4A support in MC

Generally, using DirectShow for playback will give better results for M4A files in MC12. DirectShow playback allows MC to use visualizations on the files, to natively convert the files to other formats, and a number of other features not available with Quicktime-supported file types. However, because most new users have Quicktime already installed (while they may not have proper DirectShow filters installed to support MP4 decoding), MC disables DirectShow support in favor of Quicktime by default. This is easy to change though!

Enabling MP4 Playback Using Quicktime Player's Engine

Uncheck both M4A and MP4 in the DirectShow Playback Settings dialog box in order to enable playback of these filetypes using the Quicktime engine.
further information: DirectShow Playback Guide: Apple Quicktime Player

This couldn't be simpler. Simply install Apple's Quicktime Player, which is available free of charge from Apple for a variety of platforms.

Installing Quicktime can sometimes create more problems than it solves because of some of the default settings the application uses when you install it. All of these annoying qualities can be mitigated or eliminated by being very careful as you proceed through the installation process, and by taking a few steps after the installation is complete. For a detailed guide to installing Quicktime in the least annoying method possible, refer to the Quicktime Installation Guide at CodecGuide.com.

Then you also need to tell MC to use Quicktime (rather than DirectShow) to play these file types back. Simply go to Tools --> Options --> Playback --> DirectShow Playback Settings and uncheck M4A and/or MP4 in the DirectShow Filters list.

Enabling MP4 Playback Using the DirectShow Engine

further information: DirectShow Playback Guide: What Filters Do I Need

As mentioned earlier, while MC uses the Quicktime Engine as it's default method of decoding MP4 and M4A files, this is not always the best option. You can get greatly expanded features and capabilities by using DirectShow to decode and play back these file types. In order to properly handle MP4 playback in MC12, you must do both of the following:

  • Install DirectShow filters capable of decoding the MP4 files and any audio and video streams that may be contained within the file. This normally requires a set of multiple different filters.
  • Set MC to use DirectShow to decode and play these file types.

There are a wide variety of different filters that can be used to decode MP4 files using DirectShow. By far, the simplest method to make it Just Work is via the Combined Community Codec Pack (CCCP). For more information on this codec pack, including how to obtain and install it, please refer to the main DirectShow Playback Guide article.

If CCCP doesn't work for you for some reason, there are alternatives discussed in the DirectShow Playback Guide: Alternative Filters article.

Then you also need to tell MC to use DirectShow (rather than Quicktime) to play these file types back. Simply go to Tools --> Options --> Playback --> DirectShow Playback Settings and check M4A and/or MP4 in the DirectShow Filters list. Refer to the image above, and check both boxes (rather than unchecking them as you would to enable Quicktime playback).