Relatively new to HitFilm but have not had this problem before. Source video is 1920x1080 but is importing to a project as a square with blacks boxes on both sides. Show this way in trimmer and timeline.
Ah. We have two errors here. Yours is setting up your project incorrectly, mine is not spotting the issue correctly in the first place.
Pixel dimensions are given in the order of X,Y or Horizontal/Vertical.
You have put 1080x1920 video into a 1920x1080 Timeline. This means the center 1080x1080 part of your video is showing while the top and bottom are cut off. The black bars on the sides are the empty spaces where there's no video.
In short, set your Timeline to 1080x1920 and all should be fine.
Now let's talk about your next problem..
Your MediaInfo report contains...
Frame rate mode : Variable
Frame rate : 59.940 (59940/1000) FPS
Minimum frame rate : 54.545 FPS
Maximum frame rate : 60.000 FPS
No NLE likes Variable Frame Rate (VFR) footage. You have VFR footage. Anything shot on a phone or tablet will be VFR. VFR footage can cause problems on export, including stuttering frames or audio drift. Again, this will happen in ANY NLE and is the fault of the phone manufacturers for using VFR encoding.
You will need to use a third party transcoder like Handbrake or FFMpeg to transcode your footage to a Constant Frame Rate (CFR) of 59.94 fps before import. You will ALWAYS need to do that with phone footage (unless the next iPhone that's supposed to record ProRes records CFR).
While we're at it your footage is HEVC/h.265. HEVC is NOT mp4, and whichever engineers and standards committee members approved non-mp4 video in "Mp4" files should be slapped, because that is stupid and confusing. Anyways, HEVC is terrible for editing. As long as you're transcoding, transcode to AVC/h.264/Mp4. H.264 is less resource intensive than h.265 in general, and, in Hitfilm specifically there is hardware GPU decoding for h.264. H.264 is just faster to work with.
Skip to 23:43 in this video for an overview of transcoding with Handbrake - and tested/optimized h.264 settings for faster editing.
This is all extremely helpful info. Much appreciated.
@uniform72 What are your Project Settings? Sounds like you have already started a project and that the new footage you are bringing in does not match. You might have to manually scale the footage to fit your original project settings.
Project settings are 1080p 60. I've tried in existing projects and new projects but the result is the same. It's only with 3 specific videos, everything else is fine and the ones giving me problems play full HD widescreen just fine outside of HitFilm.
@uniform72 those three videos... What type of camera were they shot with?
Did you transcode them before import to Hitfilm?
You might consider downloading s free program called "MediaInfo,," generating a "Tree" report of one of the files, and pasting that here.
@Stargazer54 first, best guess here is uniform's footage is actually 1440x1080 and should be at a pixel aspect ratio of 1.33 or needs to be scaled on X to 133%. I'm asking about transcoding to see if it got converted to a "true" 1920x1080 with the wrong PAR.
Uniform - some early HD cameras didn't actually record 1920x1080, but 1440x1080 with a "stretched" pixel. If the videos were shot on an "HDV" camera this is certainly the case. Also certain point-and-shoot cameras. "Pixel Aspect Ratio" is the shape of the pixel. Old NTSC (North America) SD was 0.9 (taller than wide). True HD should be 1.0 (square). HDV was 1.33 (wider than tall).
Right click one of the files in the Media Bin, select "Properties" then look for "Pixel Aspect Ratio." Uncheck "From File" and try 1.333. See if that fixes it.
Otherwise, on the Timeline, select a clip and go to the Controls Panel. Look for "Transform>Scale." Click the "chain link" icon between the numbers then set the first value (X) to 133.33%. See if that looks right.
All the footage I've shot has been on the iPhone 11 Pro. Nothing has been transcoded and everything else has been fine up until this point. If I change the Pixel Aspect ratio to 1.33 then it stretches the video unnaturally. Here's the MediaInfo tree for one of the files in question.
Complete name : D:\medium\VIDEO_RAW\Video Aug 15, 3 54 38 PM.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/mp41/mp42)
File size : 664 MiB
Duration : 7 min 52 s
Overall bit rate : 11.8 Mb/s
Encoded date : UTC 2021-08-15 22:54:38
Tagged date : UTC 2021-08-15 23:02:30
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : [email protected]@Main
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Bit rate : 11.7 Mb/s
Width : 1 080 pixels
Height : 1 920 pixels
Display aspect ratio : 0.563
Rotation : 270°
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.094
Stream size : 659 MiB (99%)
Title : Core Media Video
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : hvcC
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Source duration : 7 min 52 s
Bit rate mode : Constant
Bit rate : 64.0 kb/s
Channel(s) : 1 channel
Channel layout : C
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 3.60 MiB (1%)
Source stream size : 3.60 MiB (1%)
Title : Core Media Audio
The files in question show the true dimensions of the file in the Viewer when I trim it from the Timeline, but what it actually shows in the viewer when playing the project through is inconsistent. Most of the time it will be just the truncated square with black on both sides, but in some instances it has actually start flipping back and forth between that and full widescreen. Although that might be latency from pausing/unpausing.
UPDATE: Double checked other files and they're all showing in properties as 1080x1920. For the problem files, the top and bottom of the video is not what's getting cut off, it's the sides. When I set the project dimensions to 1080x1920 it then becomes a vertical orientation of widescreen and the files still show in the timeline as a square, but now with the top and bottom being black.
Here's a MediaInfo tree for a file I worked with previously that did not give me any problems. I don't understand how one is HVEC (first example) and the other is AVC (new example below), but I've had stuttering issues with both (both VFR).
Complete name : D:\medium\VIDEO_RAW\BJHD2441.MP4
Format profile : QuickTime
Codec ID : qt 0000.00 (qt )
File size : 1.50 GiB
Duration : 8 min 13 s
Overall bit rate : 26.2 Mb/s
Encoded date : UTC 2021-07-12 06:17:49
Tagged date : UTC 2021-07-12 06:24:03
Writing library : Apple QuickTime
com.apple.photos.originating.signature : AXW9uynPs5vUQKJsu9qaDEtsiUpl
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Bit rate : 24.8 Mb/s
Scan type : Progressive
Bits/(Pixel*Frame) : 0.199
Stream size : 1.42 GiB (95%)
Codec configuration box : avcC
Source duration : 8 min 13 s
Stream size : 3.79 MiB (0%)
Source stream size : 3.79 MiB (0%)