How to edit ZOOM Q4 Video
Update: Feb. 3, 2014
Feb. 1, 2014
I have been used ZOOM Q3HD for some years and I bought Q4 too.
In case of Q3HD, basic editing can be made only with ZOOM HandyShare.
I thought Q4 is the same. But it is not.
So, I need to process Q4 video files without HandyShare.
The following editing process should be OK for Q3HD too.
I am a Linux guy and use Windows for applications
available only on Windows, such as Internet banking,
online indivisual tax return, ZOOM HandyShare.
But I tried Windows applications this time for general interest.
There may be fewer issues if PCM 16bit or compressed AAC
recording mode is used but I insists on PCM 24bit
because 24bit allows much margin for recording gain adjustment.
0. Example files
Audio: PCM 24bit, 48kHz
Drum and music sounds are recorded by ZOOM Q4 built-in mics
at manual low gain position
Music was played very loudly on the 15 inch PA speakers.
- ZOOM0001.MOV(Auto mode, built-in mics)
(784,343,264 bytes, 6min)
- ZOOM0002.MOV(Concert Lighting mode, built-in mics,
quite dark)
(404,733,288 bytes, 3min)
Right click the link for download. Copyrighted songs are not included.
Feel free to use for test or practice.
File details
ffprobe ZOOM0001.MOV
avprobe version 0.8.9-4:0.8.9-0ubuntu0.12.04.1, Copyright (c) 2007-2013 the Libav developers
built on Nov 9 2013 19:08:00 with gcc 4.6.3
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ZOOM0001.MOV':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2014-01-19 13:32:32
Duration: 00:06:02.69, start: 0.000000, bitrate: 17300 kb/s
Stream #0.0(eng): Video: h264 (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 14990 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
Metadata:
creation_time : 2014-01-19 13:32:32
Stream #0.1(eng): Audio: pcm_s24le, 48000 Hz, 2 channels, s32, 2304 kb/s
Metadata:
creation_time : 2014-01-19 13:32:32
1. Initial Status (Windows 7)
- ZOOM HandyShare does NOT work with Q4 video. The video freezes.
It messes up video/audio synchronization if trimmed.
(It still can be used for WAV audio only files.)
- QuickTime can play this video/audio format but video freezes or plays slow.
- Windows Media Player -- good video but no audio.
It can play PCM 24bit audio in nature but only play 24bit wav file of
specific header information.
(It worked fine for PCM 24bit after K-lite codec pack was installed.)
My computer spec:
lenovo ThinkPad Edge
Windows 7 Home Premium (64bit)
CPU: AMD Athlon II Neo K345 Dual-Core 1.4GHz
Memory: 4GB
2. Application Software Added (Windows 7)
Basics
- Windows Essentials 2012 -- includes Windows Live Movie Maker
http://windows.microsoft.com/en-us/windows-live/movie-maker#t1=overview
- K-lite codec pack (full) -- for PCM 24bit audio
http://codecguide.com/download_kl.htm
Advanced audio editing
- 7-zip -- compress/uncompress (install before ffmpeg)
http://sevenzip.sourceforge.jp/
- ffmpeg (windows binary build) -- command line mpeg editing tool,
which many applications internally use.
http://www.ffmpeg.org/(source code),
http://ffmpeg.zeranoe.com/builds/(Windows binaries, current version
N-60274-gdce9321)
- (optional)Audacity -- audio track editing tool
http://audacity.sourceforge.net/ (I have not yet used this)
- (optional)ZOOM HandyShare -- easy audio effect for WAV files
(do NOT use for video)
http://www.zoom.co.jp/products/handyshare/downloads/
3. Windows Live Movie Maker (on Windows 7)
- Download ans install "Windows Live Movie Maker" from the MS site.
- It did not handle PCM 24bit audio.
- Then I added K-lite codec pack (full) and yeah MLMM works fine.
Movie Maker is a part of Windows Essentials 2012.
I chose Movie Maker(and Photo Gallary, no choice) only but it failed.
Then I installed all of "Windows Essentials 2012".
4. ffmpeg installation
- Download the packed archive file (Choose 32bit or 64bit according to
your OS. Static compilation is bigger but easier to maintain.)
- In the file browser (in Download?) -- click the file with right mouse
button and choose extract.
- move extracted directory(folder) to C:\ffmpeg\ (or your choice)
- Edit path environment variable of your account in Control Panel
-- this is the difficult part
http://www.itechtalk.com/thread3595.html
add "PATH C:\ffmpeg\bin" in User variables of your account.
- Open "Command Prompt" window and type the command.
5. Simple Edit (trimming only) with WLMM(Windows Live Movie Maker)
Goal: Make 3 files for each song (the file consists of 3 songs)
from ZOOM0001.MOV
- Audio volume max (still not enough)
- Trim, save each part in recommended setting,
and reload the original file again.
- Result (part1)
001-part1.mp4(45,302,739 bytes,
1:37, 3.7MB/s, audio aac 48kHz, stereo, 131 kb/s(default))
Questions
- Is the volume saved? -- yes
- Is undo button for trim/split? -- ctrl-Z or return icon on the top toolbar
- Is no-video-reencoding option? (no reencoding is faster) -- No?
- Save in multiple files as splitted? -- No. Saved all.
- The video bit rate of the saved file
is much lower than recommended setting suggesttion (20MB/s HD).
- PCM audio output? -- No.
6. Brightness Control in WLMM
Goal: Make ZOOM002.MOV(taken in Concert Lighting mode) brighter
- Max brightness -- too bright?
- Max audio volume
- Trim
- Save in recommended setting
- Result 002.mp4
(71,505,234 bytes, 1:37)
(drum play is rather out of sync:-))
Questions
- Q4's Concert Lighting mode is much darker than that of Q3HD.
Is auto mode better for amature gig with low cost lighting system?
7. Making it louder (from trimmed video file by MLMM)
In PCM 24bit recording, audio gain should be set to rather low to give
much dynamic range margin.
This method is easier.
Input file: 001-part1.mp4
MP4 file ------> video only MP4 file -------------->
(split with ffmpeg) process audio
------> audio only MP4(m4a) file -------------->
(join with ffmpeg or MLMM)
========================> MP4 file
Fig 1. Processing Flow
- Split video and audio with ffmpeg command
ffmpeg -i 001-part1.mp4 -vcodec copy -an 001-part1-video.mp4
ffmpeg -i 001-part1.mp4 -vn -acodec copy 001-part1-audio.mp4
(-an denotes "no audio", -vn denotes "no video"
(Correct file extension for audio file may be ".m4a")
- Normalize/Maximize audio
- with ZOOM HandyShare (easy operation)
ffmpeg -i 001-part1-audio.mp4 tmp.wav
(conversion to wav. HandyShare can process m4a but converts to PCM internally
and it is very slow.)
copy the tmp.wav to Documents\ZOOM HandyShare\Media\ and use effect for
the file.
Combine mp4 video and wav with MLMM (wav to AAC conversion).
or with ffmpeg but AC3 audio. (ffmpeg has experimental AAC encoder but
I have not tried yet.)
- with Audacity (will be tested later)
- with ffmpeg commands (not easy)
ffmpeg -i 001-part1-audio.mp4 -af volumedetect -f null -
(and read max_volume: -6.7dB)
ffmpeg -i 001-part1-audio.mp4 -af volume=6.7 001-part1-audio-norm.mp4
(converted to 16bit. -acodec pcm_s24le keeps the same format)
ffmpeg -i 001-part1-audio-norm.mp4 -af volumedetect -f null -
(and verify max_volume: 0.0dB)
- Join video and audio(AAC)
other options -- first normalize at -3 or -6dBFS and maximize or ultramaximize
(to be tested later)
8. Making it louder from original file (high quality but not easy)
Not finished the test.
This is to make video files for Blu-ray at highest quality.
No video re-encoding and best quality compressed audio.
Best quality audio is AAC(Advanced Audio Compression) at 192kbps.
For Dolby AC3, 384kbps might be good enough.
Input file: ZOOMXXX.MOV
MOV file ------> video only MP4 file -------------->
(split with ffmpeg) process audio convert to AAC
------> audio only WAV file --------------> ---->
(join with ffmpeg or MLMM, audio conversion to AAC(MLMM or NeroAAC) or AC3(ffmpeg))
========================> MP4 file
No video re-encoding (highest quality)
Audio format conversion is only once (highest quality)
Fig 2. Processing from the original file
Additional Software
- NeroAAC (AAC codec, Win32 or Linux)
http://www.nero.com/enu/company/about-nero/nero-aac-codec.php
Copy *.exe to \FFMPEG\bin\ or other directory and add path.
- MP4Box
http://gpac.wp.mines-telecom.fr/mp4box/
(Installation at C:\ProgramFiles(x86) failed. I used c:\GPAC
instead and add the command search path.
Operation
- Split audio and video with ffmpeg
ffmpeg -i INPUT.MOV -an -vcodec copy VIDEO-ONLY.mp4
ffmpeg -i INPUT.MOV -vn -acodec copy AUDIO-ONLY.wav
- Process OUTPUT.wav (normalize, maximize, ultramaximize, equalization etc.)
with HandyShare, ffmpeg, Audacity etc.
- Join audio and video
- Trim with MP4Box
(Play and record begin/end timestamps
with Windows Media Player before using this command)
mp4box -splitx beginsec:endsec INPUT.mp4 -out OUTPUT.mp4
(NG -- did NOT work correctly)
ffmpeg -ss hh:mm:ss -t hh:mm:ss -i INPUT.mp4 -codec copy OUTPUT.mp4
(may not work correctly)
-ss : begining -- in sec.frac or hh:mm:ss.frac
-t : duration = end - begin in sec.frac or hh:mm:ss.frac
(OK with reencoding according to google search results)
ffmpeg -i INPUT.mp4 -ss hh:mm:ss -t hh:mm:ss -i INPUT.mp4 -acodec copy -sameq OUTPUT.mp4
9. Uploading to YouTube, Making Blu-ray R or DVD-R
YouTube
Simply upload the mp4 file with any WWW browser that YouTube supports.
As far as I know, no 24bit wav, other formats may be OK.
Since audio track of YouTube mp4 stream is 44.1kHz AAC,
best quality audio will be available by posting in the YouTube format
(to let YouTube not re-encode audio).
Blu-ray (using TV program recorder (VCR with HDD and Blu-ray drive))
- multiAVCHD -- prepare files for Blu-ray or TV recorder
http://multiavchd.deanbg.com/
Input: mp4 or mpeg2 TS files etc.
Output: SDHC card (I have not succeeded in writing to Blu-ray disc on PC)
- Insert SDHC card into TV program recorder (I use Panasonic.)
and import video files to HDD.
- Modify titles for each video clip and write to Blu-ray disc.
- Burn many discs. It takes just a 10 to 15 minutes per disc.
DVD-R (using VCR and PC)
In case of my VCR, DVD video writing is also easy.
- Choose video clips(AVCHD) on the HDD and write to DVD-R in DVD video
format (not in TV program dubbing format).
- Automatically, menus are created.
- But the writing speed is 1x (total play time of all video files).
So, burn only one DVD-R.
- Then, duplicate the master DVD-R disc to many DVD-R on a PC in 4x or more.
10. Overray
Links
- Review
http://video-editing-software-review.toptenreviews.com/
- Video Pad
http://www.nchsoftware.com/videopad/index.html(Free version)
- http://videomeld.com/(5min)
- MoviePlus Starter Edition
http://www.serif.com/free-video-editing-software/
- ffmpeg
http://ffmpeg.org/ffmpeg-filters.html#overlay-1、
http://stackoverflow.com/questions/13766793/presenting-more-than-2-videos-using-ffmpeg
goto at kmgoto.jp