View Full Version : Batch remux MOVs into MP4s?
um3k
16th February 2010, 04:12
Is this doable? I'm going insane trying to figure it out. I prefer a GUI, but I'd do command line if someone could walk me through it. Windows XP.
b66pak
16th February 2010, 18:50
try mp4box:
mp4box -add myclip.mov -new myclip.mp4
_
Dark Shikari
16th February 2010, 19:01
mv oldfile.mp4 newfile.mov
b66pak
16th February 2010, 19:09
@Dark Shikari sorry i don't understand! what do you mean by:
mv oldfile.mp4 newfile.mov
_
Dark Shikari
16th February 2010, 19:32
@Dark Shikari sorry i don't understand! what do you mean by:
_mp4 and mov are basically the same thing and so for most cases you can just rename the file.
um3k
18th February 2010, 01:12
Bah, I can't get anything to work. The files are from a 7D, it must be some kind of Canon/Apple conspiracy to make things a pain in the ass.
b66pak
18th February 2010, 18:12
ok...install mediainfo (http://mediainfo.sourceforge.net)...rightclick on the .mov then select "Media Info" and post the infos about the file...also i recommend to record 10-15 sec and upload it to www.mediafire.com so we can make tests...
_
um3k
18th February 2010, 23:38
General
Complete name : I:\7D\Working\MVI_0003.MOV
Format : MPEG-4
Format profile : QuickTime
Codec ID : qt
File size : 63.6 MiB
Duration : 11s 511ms
Overall bit rate : 46.3 Mbps
Encoded date : UTC 2009-11-27 21:35:20
Tagged date : UTC 2009-11-29 00:23:45
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L5.0
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 11s 511ms
Bit rate mode : Variable
Bit rate : 44.7 Mbps
Width : 1 920 pixels
Height : 1 088 pixels
Display aspect ratio : 16/9
Frame rate mode : Constant
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.893
Stream size : 61.4 MiB (97%)
Encoded date : UTC 2009-11-27 21:35:20
Tagged date : UTC 2009-11-27 21:35:20
Audio
ID : 2
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : sowt
Duration : 11s 511ms
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 2.11 MiB (3%)
Encoded date : UTC 2009-11-27 21:35:20
Tagged date : UTC 2009-11-27 21:35:20
I think the problem is audio-related, judging by the error messages I've gotten. The file is gonna take a while to upload, I'd edit this post when it is done.
EDIT: New link in next post.
Selur
19th February 2010, 08:41
better upload it to http://www.multiupload.com/ so that people without a google account, can get it,...
(audio needs to be reencoded to mp3/aac/ac3 since pcm isn't allowed in .mp4 afaik,.. Hybrid should be able to handle the files: start Hybrid, set Audio Handling to custom add, set Video to passthrough, enable audio encoding in the audio tab and configure the format you want, open all the files you want to convert, set an output, add job to queue, change to queue tab, start queue)
um3k
19th February 2010, 16:15
Huh, that's odd. I have it set to allow viewing without signing in. Apparently it isn't working how I expect it to. Well, I'll go ahead and upload to multiupload, and try Hybrid in the mean time.
EDIT: Here is the link: http://www.multiupload.com/B9GDKV3P06
b66pak
19th February 2010, 18:52
tools you need:
ffmpeg:
http://megui.org/auto/stable/ffmpeg-20900.zip
neroaacenc:
http://www.nero.com/eng/downloads-nerodigital-nero-aac-codec.php
mp4box:
http://kurtnoise.free.fr/mp4tools/MP4Box-0.4.5.zip
then make a __remux.bat like this:
for %%a in ("*.mov") do ffmpeg -i "%%a" -vn -f wav "%%~na.wav"
for %%a in ("*.wav") do neroaacenc -ignorelength -q 0.5 -if "%%a" -of "%%~na.m4a"
for %%a in ("*.mov") do mp4box -add "%%a"#video -add "%%~na.m4a" -new "%%~na.mp4"
copy this files in a working folder:
__remux.bat
ffmpeg.exe
gpac_20081211.patch
js32.dll
MP4Box.exe
neroAacEnc.exe
add all the .movs you want and run __remux.bat
you will get .mp4 (with h264+aac)
_
Snowknight26
20th February 2010, 06:04
You could consolidate those three loops into one, by the way.
wbardo
16th March 2010, 13:11
Is this doable? I'm going insane trying to figure it out. I prefer a GUI, but I'd do command line if someone could walk me through it. Windows XP.
[* avih: edited as advertisement. *]
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.