Converting Lots of Short Videos MOV to MP4

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
Rundamental
New User
Posts: 1
Joined: Wed Feb 14, 2018 12:05 am

Converting Lots of Short Videos MOV to MP4

Post by Rundamental »

Wanting to convert a folder of Videos


I am looking to find the easiest way to convert about 300 short videos from an apple phone (.MOV) into MP4. I have them all in the same file, but don't know whether I will need to do them 1 by 1 or if I can do them all together? Any tips would be appreciated.


Newest Version for Windows


Windows 10




Provide a URL from any image hosting site.

HandBrake 1.0.7 (2017040900) - 64bit
OS: Microsoft Windows NT 10.0.16299.0 - 64bit
CPU: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz
Ram: 8136 MB,
GPU Information:
NVIDIA GeForce GTX 760 - 23.21.13.8813
Screen: 1920x1080
Temp Dir: C:\Users\Cameron\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Cameron\AppData\Roaming\HandBrake Team\HandBrake\1.0.7.0

-------------------------------------------


# Starting Encode ...

[19:01:54] hb_init: starting libhb thread
[19:01:54] 1 job(s) to process
[19:01:54] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": 65536,
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
1073807360,
1073743872,
1074003968,
1073750016,
1090519040,
1074790400,
1074266112,
1107296256
],
"FallbackEncoder": 2048
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"File": "C:\\Users\\Cameron\\Desktop\\Videos for Project Converted\\Converted.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": 131072
},
"Filters": {
"FilterList": [
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 3,
"Settings": {
"block-height": "16",
"block-thresh": "40",
"block-width": "16",
"filter-mode": "2",
"mode": "3",
"motion-thresh": "1",
"spatial-metric": "2",
"spatial-thresh": "1"
}
},
{
"ID": 11,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 6,
"Settings": {
"mode": "2",
"rate": "27000000/900000"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "C:\\Users\\Cameron\\Desktop\\Videos for Project\\20171209_033348.mp4"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": 65536,
"Level": "4.0",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "fast",
"Profile": "main",
"Quality": 22.0,
"OpenCL": false,
"HWDecode": false,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[19:01:54] CPU: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz
[19:01:54] - Intel microarchitecture Haswell
[19:01:54] - logical processor count: 4
[19:01:54] Intel Quick Sync Video support: no
[19:01:54] hb_scan: path=C:\Users\Cameron\Desktop\Videos for Project\20171209_033348.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image C:\Users\Cameron\Desktop\Videos for Project\20171209_033348.mp4
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[19:01:54] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[19:01:54] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Cameron\Desktop\Videos for Project\20171209_033348.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2017-12-09 08:34:06
Duration: 00:00:17.60, start: 0.000000, bitrate: 17180 kb/s
Stream #0:0(eng): Video: h264 (High) [avc1 / 0x31637661]
yuv420p, 1920x1080, 16985 kb/s
29.97 fps, 90k tbn (default)
Metadata:
creation_time : 2017-12-09 08:34:06
handler_name : VideoHandle
Side data:
displaymatrix: rotation of -90.00 degrees
Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
48000 Hz, stereo, fltp, 256 kb/s (default)
Metadata:
creation_time : 2017-12-09 08:34:06
handler_name : SoundHandle
[19:01:54] scan: decoding previews for title 1
[19:01:54] scan: audio 0x1: aac, rate=48000Hz, bitrate=256026 English (AAC) (2.0 ch)
[19:01:54] scan: 10 previews, 1920x1080, 29.944 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[19:01:54] scan: supported video decoders: avcodec qsv
[19:01:54] libhb: scan thread found 1 valid title(s)
[19:01:54] Skipping subtitle scan. No suitable subtitle tracks.
[19:01:54] starting job
[19:01:54] decomb filter thread started for segment 0
[19:01:54] decomb filter thread started for segment 1
[19:01:54] decomb filter thread started for segment 2
[19:01:54] decomb check thread started for segment 3
[19:01:54] mask filter thread started for segment 1
[19:01:54] decomb check thread started for segment 1
[19:01:54] decomb check thread started for segment 2
[19:01:54] decomb filter thread started for segment 3
[19:01:54] mask filter thread started for segment 0
[19:01:54] decomb check thread started for segment 0
[19:01:54] mask filter thread started for segment 2
[19:01:54] mask filter thread started for segment 3
[19:01:54] mask erode thread started for segment 0
[19:01:54] yadif thread started for segment 3
[19:01:54] mask erode thread started for segment 2
[19:01:54] mask erode thread started for segment 3
[19:01:54] work: track 1, dithering not supported by codec
[19:01:54] mask dilate thread started for segment 0
[19:01:54] work: only 1 chapter, disabling chapter markers
[19:01:54] job configuration:
[19:01:54] * source
[19:01:54] + C:\Users\Cameron\Desktop\Videos for Project\20171209_033348.mp4
[19:01:54] + title 1, chapter(s) 1 to 1
[19:01:54] + container: mov,mp4,m4a,3gp,3g2,mj2
[19:01:54] + data rate: 17180 kbps
[19:01:54] * destination
[19:01:54] + C:\Users\Cameron\Desktop\Videos for Project Converted\Converted.mp4
[19:01:54] mask dilate thread started for segment 2
[19:01:54] + container: MPEG-4 (libavformat)
[19:01:54] * video track
[19:01:54] mask dilate thread started for segment 1
[19:01:54] + decoder: h264
[19:01:54] + bitrate 16985 kbps
[19:01:54] + filters
[19:01:54] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[19:01:54] mask dilate thread started for segment 3
[19:01:54] + Decomb (mode=39)
[19:01:54] + Framerate Shaper (mode=2:rate=27000000/900000)
[19:01:54] + frame rate: 29.944 fps -> peak rate limited to 30.000 fps
[19:01:54] yadif thread started for segment 0
[19:01:54] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[19:01:54] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[19:01:54] + Output geometry
[19:01:54] + storage dimensions: 1920 x 1080
[19:01:54] + pixel aspect ratio: 1 : 1
[19:01:54] + display dimensions: 1920 x 1080
[19:01:54] + encoder: H.264 (libx264)
[19:01:54] + preset: fast
[19:01:54] + profile: main
[19:01:54] + level: 4.0
[19:01:54] yadif thread started for segment 1
[19:01:54] + quality: 22.00 (RF)
[19:01:54] * audio track 1
[19:01:54] + decoder: English (AAC) (2.0 ch) (track 1, id 0x1)
[19:01:54] + bitrate: 256 kbps, samplerate: 48000 Hz
[19:01:54] + mixdown: Stereo
[19:01:54] + encoder: AAC (libavcodec)
[19:01:54] + bitrate: 160 kbps, samplerate: 48000 Hz
[19:01:54] yadif thread started for segment 2
[19:01:54] mask erode thread started for segment 1
[19:01:55] sync: expecting 527 video frames
[19:01:55] encx264: min-keyint: 30, keyint: 300
[19:01:55] encx264: encoding at constant RF 22.000000
[19:01:55] encx264: unparsed options: vbv-maxrate=20000:vbv-bufsize=25000:8x8dct=0:level=4.0:ref=2:weightp=1:rc-lookahead=30:subme=6
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
x264 [info]: profile Main, level 4.0
[19:01:55] sync: first pts video is 0
[19:01:55] sync: "Chapter 1" (1) at frame 1 time 0
[19:01:55] sync: first pts audio 0x1 is 0
[19:02:11] reader: done. 1 scr changes
[19:02:17] work: average encoding speed for job is 27.037596 fps
[19:02:17] comb detect: heavy 0 | light 5 | uncombed 520 | total 525
[19:02:17] decomb: deinterlaced 0 | blended 5 | unfiltered 520 | total 525
[19:02:17] vfr: 525 frames output, 0 dropped and 0 duped for CFR/PFR
[19:02:17] vfr: lost time: 0 (0 frames)
[19:02:17] vfr: gained time: 0 (0 frames) (0 not accounted for)
[19:02:17] aac-decoder done: 825 frames, 0 decoder errors
[19:02:17] h264-decoder done: 525 frames, 0 decoder errors
[19:02:17] sync: got 525 frames, 527 expected
[19:02:17] sync: framerate min 21.137 fps, max 30.110 fps, avg 29.925 fps
x264 [info]: frame I:6 Avg QP:19.42 size: 66758
x264 [info]: frame P:132 Avg QP:22.21 size: 38250
x264 [info]: frame B:387 Avg QP:23.45 size: 21766
x264 [info]: consecutive B-frames: 1.3% 0.8% 1.1% 96.8%
x264 [info]: mb I I16..4: 53.2% 0.0% 46.8%
x264 [info]: mb P I16..4: 20.8% 0.0% 7.3% P16..4: 44.9% 12.9% 5.5% 0.0% 0.0% skip: 8.7%
x264 [info]: mb B I16..4: 12.1% 0.0% 0.7% B16..8: 37.9% 9.5% 0.3% direct:21.6% skip:17.9% L0:51.3% L1:44.2% BI: 4.5%
x264 [info]: coded y,uvDC,uvAC intra: 20.2% 57.8% 8.7% inter: 13.4% 48.4% 0.5%
x264 [info]: i16 v,h,dc,p: 38% 25% 22% 15%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 20% 26% 5% 6% 5% 6% 5% 3%
x264 [info]: i8c dc,h,v,p: 57% 18% 20% 5%
x264 [info]: Weighted P-Frames: Y:1.5% UV:0.8%
x264 [info]: ref P L0: 62.2% 37.8%
x264 [info]: ref B L0: 82.7% 17.3%
x264 [info]: ref B L1: 93.5% 6.5%
x264 [info]: kb/s:6326.12
[19:02:17] mux: track 0, 525 frames, 13872870 bytes, 6306.04 kbps, fifo 512
[19:02:17] mux: track 1, 825 frames, 348788 bytes, 158.54 kbps, fifo 1024
[19:02:17] libhb: work result = 0


Use any pastebin website and provide the URL it generates
- or -

Code: Select all

Paste log text between these markers.
[code][/i]
Woodstock
Veteran User
Posts: 4619
Joined: Tue Aug 27, 2013 6:39 am

Re: Converting Lots of Short Videos MOV to MP4

Post by Woodstock »

If they're a single file, there is nothing automatic in the graphic user interface that would help. Using the command line interface, you could create a shell script to do it.
andrewk89
Novice
Posts: 65
Joined: Thu Jun 13, 2013 4:29 pm

Re: Converting Lots of Short Videos MOV to MP4

Post by andrewk89 »

If not HB command line, then maybe with ffmpeg.

Here is a .bat file I made to "fix" some .m4a audio files that wouldn't play. It is written to use from Windows Explorer. Drag the files and drop them onto the .bat file. It loops through each of the files that are dropped onto it, running the ffmpeg command on each one. The ffmpeg command specifically appends "-copy" to the filename to distinguish the original from the fixed (so banana.m4a would be converted to banana-copy.m4a).

If it's just a container conversion from MOV to MP4, the ffmpeg arguments shouldn't be too difficult. If you want to transcode, it's not impossible.

Code: Select all

setlocal
set path=%path%;C:\Program Files (x86)\FFmpeg for Audacity
if "%1" == "" goto error
:again
rem if %1 is blank, we are finished
if "%1" == "" goto end
ffmpeg -i %1 -vn -c:a copy %~n1-copy%~x1
shift
goto again
:error
echo missing argument!
pause
:end
endlocal
pause
Post Reply