Sub topic 2
Making Cuts Less Noticeable
This chapter assumes you can split and delete clips on a timeline, know what a video codec is, and can run ffmpeg in a terminal.
Smoothing the cut
A hard cut can jolt viewers when sound or picture changes abruptly. Two common fixes:
- Fade the audio out and in across the cut. A fade of a few tens of milliseconds removes clicks in speech. Music usually needs a longer fade.
- Use a J or L cut. In a J cut, the next clip's audio starts before its picture. In an L cut, the previous clip's audio continues over the next picture.
Why keyframes and re-encoding affect cut accuracy
A video codec stores some frames in full, called keyframes (I-frames). It stores the other frames as differences from them. A stream copy (-c copy) can only start cleanly at a keyframe. Re-encoding rebuilds every frame, so the cut lands exactly where you set it, at the cost of quality and time.
When a zoom helps the viewer
A zoom directs attention to a small area, such as a code line or a menu item that is hard to read at the delivery size. Avoid zooms that change every few seconds, because constant movement distracts viewers.
Adding a zoom with crop and scale
A zoom is a crop followed by a scale back to full frame. The following command takes 10 seconds starting at 20 seconds, crops the centre of the frame to about 1.5 times magnification, and scales it back to 1920x1080:
ffmpeg -ss 20 -t 10 -i lecture.mp4 \
-vf "crop=iw/1.5:ih/1.5,scale=1920:1080" \
-c:v libx264 -c:a aac zoomed_segment.mp4To zoom on a different area, pass explicit offsets as the third and fourth crop arguments, for example crop=iw/1.5:ih/1.5:100:50.
Animating zoom in and out
A sudden zoom looks abrupt. In most editors, set two keyframes on the zoom: one at 100% and one at about 150%. Choose an ease-in-out curve and make the change last half a second to one second.
Why captions matter
Captions help deaf and hard-of-hearing viewers, non-native speakers, and people watching without sound. Automatic transcripts often misspell technical terms, so check captions against the speech before you publish.
Exercise
A cut falls 0.4 seconds after a keyframe, and you copy the stream. What may the viewer see at the start of the new clip?
Show answer
The clip starts at the keyframe before the cut, so it may include up to 0.4 seconds you meant to remove, and the first frames may look garbled. Re-encode that segment for a frame-exact cut.