Pages

Subscribe:

Ads 468x60px

Labels

Monday, November 28, 2011

How to playback Motion JPEG encoded video?

Yesterday I tested an Android app called "TimeLapse!" by ExplorerDC to record a timelapse video. That software is very easy to use and create high quality video, and free of charge. It produces video in AVI format which is motion jpeg encoded. It playbacks well in my Windows machine, but it doesn't play on my new MacBook Air!

QuickTime is pre-installed in Mac and it seems to be the most popular video player on this platform. It does not play my recorded motion jpeg avi. VLC seems to be the most popular alternative in Mac environment, downloaded that and play, it doesn't work neither. Tested again on another famous one, the DIVX player, doesn't work!

The solution: MPlayerX
MPlayerX does work very well in playing back motion jpeg encoded video. You can find it free of charge in Apple AppStore.

However, this still leave me the question, what exactly can QuickTime player plays? What is the architecture of video playback in Mac? Video file, like AVI, is a container that allow the use of different codec. Motion JPEG as the TimeLapse! app use is one of them, there are many common codecs which are specify by a FOURCC code in the header such as DIVX, MPEG, XVID. In Windows, the architecture mainly use is the DirectShow. DirectShow, based on the four character codes, pass the video data to different codec for video decoding. How is that done in Mac? The far I can get is that the video codec are installed in /Library/QuickTime/ as below:



How to install additional codec to the Mac OS? How to check what kind of AVI codec supported? Any experts can help providing more information?

0 comments:

Post a Comment