Hi, I am trying to figure out the best way to import footage from a trail camera into VMS 16 Platinum. The camera generates a .MOV that MediaInfo identifies as QuickTime, and when I try to import that, VMS complains about QuickTime not being installed. I'm comfortable using the ffmpeg command-line and my usual solution to this type of problem is to transcode to AVC/AAC with very high quality. However, the trail cam output is YUV 4:2:2, and I'm unable to import any transcoded clips from ffmpeg into VMS unless I also change the pixel format to YUV 4:2:0. From searching the forum it seems that YUV 4:2:2 is common and generally works in VMS 15 and 16 with so4compoundplug.dll? So I'm wondering if there is something else about my transcoded files that VMS doesn't like.
Computer is an Intel i5-3360M with 16GB RAM, Windows 10 Home build 1809, VMS 16.0 build 109, also VMS 11 previously installed.
MediaInfo for original file, from a Stealth Cam G45NGX:
General Complete name : test.MOV Format : MPEG-4 Format profile : QuickTime Codec ID : qt 0000.00 (qt ) File size : 494 MiB Duration : 2 min 0 s Overall bit rate : 34.5 Mb/s Encoded date : UTC 2019-03-16 13:24:20 Tagged date : UTC 2019-03-16 13:24:20 Writing library : icat Video ID : 1 Format : JPEG Codec ID : jpeg Duration : 2 min 0 s Bit rate : 34.3 Mb/s Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 30.000 FPS Color space : YUV Chroma subsampling : 4:2:2 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 1.242 Stream size : 492 MiB (100%) Language : English Encoded date : UTC 2019-03-16 13:24:20 Tagged date : UTC 2019-03-16 13:24:20 Audio ID : 2 Format : PCM Format settings : Little / Signed Codec ID : sowt Duration : 2 min 0 s Bit rate mode : Constant Bit rate : 128 kb/s Channel(s) : 1 channel Sampling rate : 8 000 Hz Bit depth : 16 bits Stream size : 1.83 MiB (0%) Language : English Encoded date : UTC 2019-03-16 13:24:20 Tagged date : UTC 2019-03-16 13:24:20
I first tried rewrapping this as an mp4 using "ffmpeg -i test.MOV -vcodec copy -acodec copy test_rewrap.mp4" but VMS still behaved as if it was QuickTime.
General Complete name : test_rewrap.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso2/mp41) File size : 494 MiB Duration : 2 min 0 s Overall bit rate mode : Constant Overall bit rate : 34.5 Mb/s Writing application : Lavf58.9.100 Video ID : 1 Format : JPEG Codec ID : mp4v-6C Duration : 2 min 0 s Bit rate mode : Constant Bit rate : 34.3 Mb/s Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 30.000 FPS Color space : YUV Chroma subsampling : 4:2:2 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 1.242 Stream size : 492 MiB (100%) Language : English Audio ID : 2 Format : PCM Format settings : Little / Signed Codec ID : sowt Duration : 2 min 0 s Bit rate mode : Constant Bit rate : 256 kb/s Channel(s) : 2 channels Sampling rate : 8 000 Hz Bit depth : 16 bits Stream size : 1.83 MiB (0%) Language : English Default : Yes Alternate group : 1
After transcoding with "ffmpeg -i test.MOV -movflags faststart -vcodec libx264 -preset veryslow -crf 18 -acodec libfdk_aac -b:a 192k test_recode.mp4", VMS imports it but the video shows every frame as green:
General Complete name : test_recode.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso2/avc1/mp41) File size : 80.6 MiB Duration : 2 min 0 s Overall bit rate mode : Variable Overall bit rate : 5 612 kb/s Writing application : Lavf58.9.100 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High 4:2:2@L5 Format settings : CABAC / 16 Ref Frames Format settings, CABAC : Yes Format settings, ReFrames : 16 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 2 min 0 s Bit rate : 5 573 kb/s Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 30.000 FPS Color space : YUV Chroma subsampling : 4:2:2 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.202 Stream size : 79.9 MiB (99%) Writing library : x264 core 155 r2901 7d0ff22 Encoding settings : cabac=1 / ref=16 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Language : English Color range : Full Codec configuration box : avcC Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 2 min 0 s Duration_LastFrame : -120 ms Bit rate mode : Variable Bit rate : 48.0 kb/s Maximum bit rate : 192 kb/s Channel(s) : 1 channel Channel layout : C Sampling rate : 8 000 Hz Frame rate : 7.813 FPS (1024 SPF) Compression mode : Lossy Stream size : 707 KiB (1%) Language : English Default : Yes Alternate group : 1 General Name: test_recode.mp4 Folder: C:\video Type: AVC Size: 82.53 MB (84,506,485 bytes) Created: Thursday, April 4, 2019, 9:26:49 PM Modified: Saturday, March 16, 2019, 1:26:20 PM Accessed: Thursday, April 4, 2019, 9:20:06 PM Attributes: Archive Streams Video: 00:02:00.200, 30.000 fps progressive, 1280x720x16, AVC Audio: 00:02:00.200, 8,000 Hz, Mono, AAC ACID information ACID chunk: no Stretch chunk: no Stretch list: no Stretch info2: no Beat markers: no Detected beats: no Other metadata Regions/markers: no Command markers: no Media manager Media tags: no Plug-In Name: compoundplug.dll Folder: C:\Program Files\VEGAS\Movie Studio Platinum 16.0\FileIO Plug-Ins\compoundplug Format: AVC Version: Version 16.0 (Build 109) Company: MAGIX Computer Products Intl. Co.
Other presets (medium, slow, slower) behave the same. Only when I force a conversion to yuv420p does the clip import correctly into VMS 16.
ffmpeg -i test.MOV -movflags faststart -vcodec libx264 -preset veryslow -crf 18 -pix_fmt yuv420p -acodec libfdk_aac -b:a 192k test_recode_yuv420p.mp4
General Complete name : test_recode_yuv420p.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso2/avc1/mp41) File size : 71.9 MiB Duration : 2 min 0 s Overall bit rate mode : Variable Overall bit rate : 5 004 kb/s Writing application : Lavf58.9.100 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L5 Format settings : CABAC / 16 Ref Frames Format settings, CABAC : Yes Format settings, ReFrames : 16 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 2 min 0 s Bit rate : 4 964 kb/s Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 30.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.180 Stream size : 71.1 MiB (99%) Writing library : x264 core 155 r2901 7d0ff22 Encoding settings : cabac=1 / ref=16 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Language : English Codec configuration box : avcC Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 2 min 0 s Duration_LastFrame : -120 ms Bit rate mode : Variable Bit rate : 48.0 kb/s Maximum bit rate : 192 kb/s Channel(s) : 1 channel Channel layout : C Sampling rate : 8 000 Hz Frame rate : 7.813 FPS (1024 SPF) Compression mode : Lossy Stream size : 707 KiB (1%) Language : English Default : Yes Alternate group : 1 General Name: test_recode_yuv420p.mp4 Folder: C:\video Type: AVC Size: 73.58 MB (75,345,086 bytes) Created: Sunday, April 7, 2019, 7:51:33 PM Modified: Saturday, March 16, 2019, 1:26:20 PM Accessed: Thursday, April 4, 2019, 9:20:06 PM Attributes: Archive Streams Video: 00:02:00.200, 30.000 fps progressive, 1280x720x32, AVC Audio: 00:02:00.056, 8,000 Hz, Mono, AAC Summary [TCFM]: 7 ACID information ACID chunk: no Stretch chunk: no Stretch list: no Stretch info2: no Beat markers: no Detected beats: no Other metadata Regions/markers: no Command markers: no Media manager Media tags: no Plug-In Name: so4compoundplug.dll Folder: C:\Program Files\VEGAS\Movie Studio Platinum 16.0\FileIO Plug-Ins\so4compoundplug Format: AVC Version: Version 1.0 (Build 8532) Company: MAGIX Computer Products Intl. Co.
I noticed that the yuv420p transcoded files are imported with "so4compoundplug.dll" while the yuv422p files are imported with "compoundplug.dll", although it's not obvious why that is.
Any ideas why VMS won't import these unless I convert to yuv420?