MP4Cam2AVI - MPEG4/MJPEG to .AVI converter/joiner for digital cameras

MP4Cam2AVI overview

Introduction

Features

Interface

FAQ

Included software


Quick Guide

MPEG-4 cameras

MJPEG (photo cameras)

Other cameras

Command-line mode


Download page

at sourceforge.net

MP4Cam2AVI Overview

Introduction:

MP4Cam2AVI is MPEG4/MJPEG to AVI converter/joiner for MPEG-4 camcorders and digital photo cameras. It makes MPEG-4 camera clips DivX/XviD compatible and playable with any DVD-MPEG4 player like regular MPEG-4 movie. Program supports *.MP4, *.MOV, and *.AVI input (MPEG-4 AVI's from Casio P505/Z750 cameras are not DivX-compatible). MJPEG *.MOV's from photo cameras are supported as well.
MP4Cam2AVI doesn't recompress video, that means no quality loss and fast operation (5-20x realtime, depending on audio settings). Audio can be stored in source format, or converted to MP3 (best for DVD-MPEG4 players) or PCM (best for editing).

Unlike many converting apps, MP4Cam2AVI doesn't require QuickTime or any codecs to work, it performs all the job itself.

Featutes:

With MP4Cam2AVI, you can:
- Convert and join MPEG-4 clips from your camera to single DivX-compatible MPEG-4 movie (to watch on PC or DVD-MPEG4 player);
- Batch convert many clips to edit with any avi editing app;
- Correct audio/video lag in some cameras like Minolta A200
- Make sound 'softer' with configurable lowpass filter (great for Sanyo Xacti C1)

From version 2.20 MP4Cam2AVI supports MPEG-4 AVI files from cameras like Casio EX505/750, Casio S500, Pentax Optio s5n. Files from these cameras are not DivX-compatible, most DVD-MPEG4 players won't play them. Repacking with MP4Cam2AVI solves this problem.

Tested cameras:

MPEG4 camcorders: Sanyo/Fisher C1/C4/C5, Olympus C770 Movie, Sony DSC-M1, Pentax Optio MX/MX4, Samsung V40/50/70, Samsung V700, Casio EX P505/Z750, Casio S500, Pentax Optio s5n.

Photo cameras with MOV MJPEG video: Kodak LS753, Minolta A2, Minolta Dimage Z3, Nikon Coolpix 5200, Nikon 8400, Nikon E8800, Panasonic FX7, Panasonic FZ-1, Pentax 750Z, Olympus C-5000/C-5050/C-8080, Olympus mini digital, Pentax Optio X, Sanyo Xacti J1.

Other cameras: Kodak DX4530 (H.263 video)

Advanced settings. MP4Cam2AVI has additional audio proccessing options: configurable lowpass filter (great for Sanyo Xacti C1), audio track shift (for cameras with audio lag, i.e. Minolta A200), audio volume adjust, audio resampling, mono output option (for Olympus C770 with mono internal mic).

Command-line mode. In command-line mode all options are configurable via command-line, (see help for more details). Use it to call MP4Cam2AVI from your scripts.

Supported file types / formats

Input files:
File type: *.MP4, *.MOV, *.AVI, *.3GP
(3gp support is experimental, no AMR audio)
Video: MPEG4 ASP, MJPEG, H.263, Sorenson Video 3
Audio: AAC, PCM, u-Law, ADPCM, MP3

Output files:
File types: *.AVI

Video: Source video, no recompression
Audio: Source audio, PCM or MP3





Interface:

Main window:



'file prefix:'

Use it for custom file re-order. When you push 'file prefix' button, selected files are renamed like VCLP****.MP4 -> NN_VCLP****.MP4, where NN - is prefix value (for example 01, 03, etc.). Files are sorted by name, so you can use prefixes to re-order files.

To remove existing prefixes, set prefix to '' and push 'file prefix:' button.

'source files:'

Select extension for input files. MP4Cam2AVI works with MP4, MOV and AVI files. 3GP support is experimental.

'action'

Select what to do:

1. Convert & join selected files to one avi

2. Batch convert (just convert, without joining)

'preview playlist'

Generates .asx playlist from selected files and opens it in default player. Use for preview (you should have mp4-capable codec installed, like 3ivX or Nero Digital).

To change player, go to 'Edit -> External apps'

'fcc change'

Use this button to change fourCC in selected avi files. Be careful, wrong fourCC will make file unplayable, use it if you exactly know what you are doing.

'use advanced settings'

Check this option to configure advanced settings (additional audio processing options and some other). When unchecked, advanced options will be ignored.

'audio format'

Set desired audio format:

'Source audio' - audio is not recompressed, but be careful with AAC input sound - target avi files may not be compatible with hardware DVD-MPEG4 players and video editing software. This option won't work with some cameras, use it for preview only.

To edit avi files with avi editing apps, use PCM audio option, for playback on PC or DVD-MPEG4 players use MP3, High quality is recommended.

'avi size limit'

Maximum target avi size (for 'Many -> One' mode only). AVI file can't be larger than 2Gb (format limitation), but some DVD-MPEG4 players don't understand avi files larger than 1Gb, be careful.

When this limit exceeds, MP4Cam2AVI creates next fragment automatically (i.e. OutFileName01.avi, OutFileName02.avi etc.)

'files with frozen frames'

With some slow or bad SD cards Sanyo C1 video can freeze sometimes, use this option to exclude frozen fragments from target avi file. 'save good fragments > msec [2000]' means that frozen fragment will be excluded, and the remaining part of video sample will be saved, if it is longer than 2000 msec (2 seconds).



Advanced settings window:



'mono output'

Useful for Olympus C770 owners. Although it records sound as stereo, it's internal mic is mono.

'resample to 24000 Hz'

Changes output sample rate to 24000 Hz (i.e. 48000 Hz -> 24000 Hz).

'audio volume adjust, %'

For cameras with quite sound. With value=100, audio volume is not affected.

'audio track delay, ms'

For cameras with audio lag (i.e. Minalta A200). If audio comes later, set negative values

'audio preload, ms'

This is audio/video interleaving parameter, it doesn't affect audio/video sync, but affects data layout in avi file. In most cases, default value '500' is suitable. If you have problems with sound on your DVD-MPEG4 player, try to 'play' with this value - first try to increase it (i.e. to 1000).

'lowpass filter'

Great for Sanyo Xacti C1, makes it's sound softer. 'Good' values are 4000 - 12000 for cutoff frequency and 2..4 for filter power.

'crop video frames ...'

Check it, if you want crop frames at the end of the file, if audio stream is shorter then video stream. When unchecked, audio silence will be inserted instead of cropping. If some of your files have no audio (Olympus C-770), uncheck this option, otherwise these files will be skipped.



Program settings window:



Prompt to owerwrite target file

Uncheck it to owerwrite target file with no prompt.

Set [target file date] = [source file date]

For Many -> Many mode, target files will have the same date attribute as the source files.

MP4 video trak ID -> AVI FourCC mapping

In most cases, you don't need to change these settings. To change FourCC for target avi files, change corresponding value in 'AVI FourCC' column, check if it's present in 'Acceptable FourCC's' string.





FAQ:

Why should I convert .MP4|.MOV files from my camera to .AVI format?

To use them with video editing software - MP4|MOV file format is not supported by most of video editing programs (i.e. Adobe Premiere, Pinnacle Studio etc.).

To play them with hardware DVD-MPEG4 players (most of them play MPEG4 only in AVI container)

My camera already makes MPEG-4 AVI's - should I use MP4Cam2AVI?

Some cameras (Casio EX505/750, Casio S500, Pentax Optio s5n) make MPEG4 AVI's incompatible with popular MPEG-4 codecs - DivX and XviD (but, Microsoft MPEG-4 codecs play them well). Most of DVD-MPEG4 players won't play these files - repacking with MP4Cam2AVI solves this problem.

Also, you can use MP4Cam2AVI to join clips.

My DVD-MPEG4 player plays converted AVI with no sound...

1. Be sure you made file with MP3 audio (DVD-MPEG4 player may not understand another format).

2. If sample rate is 8000 Hz (Pentax Optio MX/MX4, Samsung V50/70), try to increase audio preload value in advanced settings (i.e. to 1000), or try to check 'resample to 24000' option.

I can't view converted avi file with Windows Media Player. What's wrong?

To view MPEG-4 movie, you should install MPEG-4 compatile codec (DivX, XviD, 3ivX). See quick guide for more details.

To view MJPEG avi file, you should install MJPEG video codec, (i.e. Morgan Multimedia MJPEG codec).
VirtualDub has it's own MJPEG decoder, so it doesn't need any codec to understand MJPEG avi files.

I can't import converted MPEG4 AVI file to Adobe Premiere (Pinnacle Studio, etc.), while Media Player plays it fine. What's wrong?

To import avi files to avi editing app, you should have Video for Windows (VfW) ISO MPEG-4 compatible codec installed. Directshow codecs, such as those used by Windows Media player, are not suitable. DivX codec is recommended (see quick guide for more details)

I'd like only to convert files, not to join them, but MP4Cam2AVI joins them to one file...

Set action: 'Batch convert'

How to determine whether my .mov files are MPEG-4 or MJPEG?

In MP4Cam2AVI, click file name and see 'file information'.

Why target avi file is so large?

Check audio format option. When it is set to 'PCM', audio is stored without compression. Use 'MP3' or 'Source audio' option to get smaller file.

Does MP4Cam2AVI re-encode audio?

If you choose 'Source audio' option - audio is not re-encoded, but be careful - some programs and hardware mpeg4-dvd players won't work with these files. Also you can convert audio to PCM (best fo further editing) or MP3 (best for DVD-MPEG4 player).

There are many video converting apps. Why should I use MP4Cam2AVI?

1. Unlike other video converting apps, MP4Cam2AVI doesn't re-encode video, it means no video quality loss and much faster operation (~5..20x realtime) than other converters with video recompression (cause video compression requires much CPU time).

2. MP4Cam2AVI doesn't need QuickTime or any other codecs, it performs all the job itself.

3. It fixes audio/video sync issue. Audio and video lengths in MP4 video fragments are not exactly the same (i.e. for Sanyo/Fisher C1, audio is ~50ms shorter). When you join many video fragments, you will have audio/video desync increasing to the end of the target file. MP4Cam2AVI solves this problem - it inserts silence when audio stream ends or crops 'silent' frames at the end of each fragment.



Included software:

1. libfaad2.dll GPL library (a part of FAAD 2.0 project) - used for AAC decompression. For more info about FAAD visit www.audiocoding.com

1. libmad.dll GPL library - MPEG audio decompression. For more info visit www.underbit.com/products/mad/

2. lame_enc.dll GPL library (a part of L.A.M.E project) - used for mp3 compression. For more info visit lame.sourceforge.net



© Mikheev Oleg 2004-2005; All Rights Reserved

web: http://graywolf.nm.ru

e-mail: graywolf2004@mail.ru

KEYWORDS: mp4 (aac) to avi (mp3) conversion, digital mpeg4 camcorders, freeware and open source mp4 to avi converter, mp4 to avi conversion and joining tool with no video recompression, direct stream copy mov to avi convert, mov2avi, mp42avi, mp4toavi, pass mp4 to avi, quicktime to avi, mp4 file problem, how to edit mp4 files.