The editor pulled a frame from 0.3 seconds before the end of shot 4, a slow drone-style glide over the Douro at dawn, and gave it to the video generator as the starting image for shot 5.
The new clip began exactly where the old one stopped: same water, same pink light on the Ribeira roofs, same direction of travel. Played back to back, the 2 generations read as one 9-second move. That is frame chaining, and it was the single technique that rescued an otherwise awkward recruitment video.
The video in question is illustrative, but the problems are the ones we see whenever a hiring team in Portugal tries to make a short employer piece on a small budget. It ran 45 seconds, combined AI-generated b-roll with real interviews filmed on phones, and was meant for a careers page and LinkedIn. The first cut had 3 seams that anyone could spot. This teardown takes them one at a time, then gives the procedure, the arithmetic and the honesty rules that made the second cut work.
The video on the table: 45 seconds, 11 shots, 3 visible seams
The brief came from an engineering manager at a mid-sized software company in Porto, hiring backend and platform engineers, many of them from outside Portugal. The company had no video budget and no office worth filming, since most of the team worked hybrid from a shared space. The plan was to open with city atmosphere, cut to 5 engineers answering one question each ("why did you stay?"), and close on the job link.
Six shots were generated with an AI video tool: the river at dawn, a tram on a hill street, a laptop on a café table with azulejo tiles behind it, two abstract shots of code and network graphs, and a closing wide shot of the coast at Matosinhos. The 5 interview shots were filmed by the engineers themselves on 3 different phone models. The editor had one afternoon.
| Shot | Source | Screen time | Seam in first cut | Cause | Fix in second cut |
|---|---|---|---|---|---|
| 1 to 2 | AI, river | 9 s | Jump in light and water direction | Two separate prompts, no shared start frame | Frame chaining from shot 1 into shot 2 |
| 3 | AI, tram | 4 s | Slight stutter every second | 24 fps clip in a 30 fps timeline | Conform to one rate before cutting |
| 4 to 8 | Phones, interviews | 22 s | Colour shifted between speakers | Three phones, auto white balance | Single correction pass, matched to one reference |
| 9 to 10 | AI, code graphics | 5 s | Felt detached from the rest | Different aspect ratio, letterboxed | Regenerated at 16:9 with the same palette words |
| 11 | AI, coast | 5 s | Morphing rocks on the final frames | Last second of a generation, least stable | Trimmed 0.6 s using the handle |
Read the table by cause rather than by shot and the pattern is clear. One seam was technical format, one was continuity between generations, and one was the instability that sits at the edges of every AI clip. None was an editing problem in the usual sense. The cuts were in sensible places; the material on either side of them simply did not match.
Seam one: the clips did not share a technical format
The stutter on the tram shot is the easiest seam to explain and the one most often missed. AI generators commonly deliver 24 frames per second. Phones default to 30, sometimes 60. European broadcast heritage is 25. If you drop all of them on one timeline, the editing software has to invent or drop frames to make the rates agree, and the result is a faint judder on any shot with steady motion. A tram crossing the frame is a perfect test pattern for it.
Aspect ratio caused the second format problem. One of the code graphics came out square because the prompt had been reused from an Instagram test, and the editor letterboxed it inside the 16:9 timeline. Letterboxing is not wrong, but in a 45-second piece it signals that the shot came from somewhere else.
The fix is a conform pass before any cutting. Pick the delivery format first, then convert every clip to it. For this video the delivery was 1920 by 1080, 25 fps, 8-bit 4:2:0, which suits LinkedIn, the careers page and any later reuse in a European event screen.
| Parameter | AI clips as delivered | Phone footage | Conformed target | How to convert |
|---|---|---|---|---|
| Frame rate | 24 fps | 30 fps, one at 60 | 25 fps | Speed AI clips by 4 percent; resample phone clips |
| Resolution | 1280 by 720 or 1920 by 1080 | 1920 by 1080 or 3840 by 2160 | 1920 by 1080 | Scale with padding only where unavoidable |
| Aspect | 16:9, one at 1:1 | 16:9 | 16:9 | Regenerate the 1:1 shot |
| Pixel format | 4:2:0 | 4:2:0, some HDR | 8-bit 4:2:0, SDR | Tone map HDR before grading |
| Audio | None | Mono or stereo, varied levels | Stereo, single loudness target | Normalise per interview |
The 24 to 25 conversion deserves a note. Resampling 24 frames into 25 means repeating one frame every second, which is the judder you were trying to remove. For b-roll without dialogue, speeding the clip up by 4 percent is invisible and keeps every frame unique: a 4.0-second clip becomes 3.84 seconds. Phone footage at 30 fps cannot be sped up because of the speech, so it is resampled, which is far less visible on talking heads than on a moving tram.
HDR phone footage is a trap of its own. Recent iPhones and many Android phones record in HDR by default, and an HDR clip placed next to standard footage looks washed out or over-bright depending on the player. Converting it to SDR with tone mapping before the colour pass avoids a mismatch that no amount of grading will fully hide later.
Seam two: motion and light did not carry across the cut
The first river shot glided left to right, with the sun low behind the bridge. The second, generated from a separate prompt with similar words, glided right to left under flatter morning light. Each clip was beautiful. Together they told the viewer that a camera had teleported. This is the continuity seam, and it comes from the way generators work: each generation is a new sample, so anything you do not pin down will vary.
There are 3 ways to make motion and light carry across a cut, and the second cut of the video used all of them.
Frame chaining handles continuous movement. Export a clean frame near the end of clip A, feed it to the generator as the first frame of clip B, and keep the prompt for camera direction, time of day and colour words identical.
Choose a frame a few frames before the true end, because generations tend to degrade in their last fraction of a second. Chaining works for 2 or 3 links. After that, small drifts compound: the bridge thickens, the water changes texture, and you are better off cutting to a different shot.
Cutting on action handles changes of angle. If the tram is moving left in the wide shot, the close shot must also show it moving left, entering or already in motion. The viewer's eye follows the motion across the cut and forgives small differences in detail that would be glaring in a static frame.
Cutaways handle the seams you cannot fix. A 1.5-second insert of something related, such as a hand on a laptop trackpad or tiles on a wall, gives the viewer a reason for the image to change. In the second cut, a cutaway between the café shot and the first interview hid the fact that the café lighting was warm and the interview light was cold daylight.
Interviews need their own continuity work. Three phones produce 3 colour temperatures. The fix was to choose the best-lit speaker as the reference and match the other 4 to them in one grading pass: white balance first, then exposure, then saturation. Matching the AI shots to the same reference afterwards pulled the whole piece into one palette. The prompt words for the AI shots were also adjusted to name the same warm neutral tones, so the regenerated clips needed less correction.
The arithmetic of handles and retakes
The morphing rocks in the final shot came from using a generation to its very last frame. Every AI clip has an unstable fringe at the start and the end, where the model is still settling or starting to drift. Editors call the spare footage on each side of the part you use the handle. In AI work the handle is not a luxury. It is how you avoid regenerating a whole shot because of its last half second.
Handles cost generation time and credits, and retakes cost more. Planning both before you generate keeps the budget predictable.
generated_seconds = SUM over shots of (screen_seconds + 2 x handle_seconds) x retake_factor
generations = generated_seconds / seconds_per_generation (round up per shot)
xfade_offset = duration_of_clip_A - fade_duration
final_length = SUM(screen_seconds) - SUM(fade_durations)
speed_factor_24_to_25 = 24 / 25 = 0.96 (new duration = old duration x 0.96)
For the hiring video, the 6 AI shots needed 23 seconds of screen time. With a handle of 0.5 seconds on each side, each shot needed 1 extra second, so 29 seconds of usable material.
The retake factor, meaning how many generations it took on average to get one keeper, was 2.5 in the first round, which is typical for shots with people or complex motion and pessimistic for abstract graphics. That means about 73 seconds of generated video. With a tool that produces 5-second generations, that is around 15 generations, or 3 per shot after rounding up.
The crossfade line matters when you join clips in ffmpeg rather than in an editor. A 0.4-second fade from a 4.0-second clip has to start at 3.6 seconds; get the offset wrong and the fade either cuts into the action or never happens. Crossfades also shorten the film: 4 fades of 0.4 seconds remove 1.6 seconds from the total, which is why the second cut landed at 45 seconds only after adding a little to the closing shot.
Track the retake factor per shot type. After 2 or 3 projects you will know that your abstract graphics come out right on the first or second try, while anything with hands, faces or text needs 3 to 4 tries. That number is what lets a recruiter quote a realistic turnaround to a hiring manager.
The stitching procedure, step by step
This is the order the second cut followed. It assumes ffmpeg for conforming and joining, which runs on any laptop, though the same logic applies inside any editing application.
- Fix the delivery format: 1920 by 1080, 25 fps, SDR, stereo. Write it down and do not change it mid-project.
- Write a shot list with screen time, camera direction, light, colour words and the intended last frame of each AI shot.
- Generate AI shots with handles, chaining where motion continues. Export the handoff frame from a few frames before the end.
- Inspect every clip's frame rate, size and pixel format, and conform all of them before cutting.
- Grade interviews to one reference speaker, then grade AI shots to the same reference.
- Cut on a timeline, trimming handles. Use straight cuts by default, short fades only where time or place changes.
- Mix audio: normalise each interview, add music under the b-roll, and target one loudness level for the export.
- Export, watch on a phone with sound off, and fix anything that only reads with sound.
The commands below cover steps 3, 4 and 6. Replace file names with your own.
# step 3: take a handoff frame 0.3 s before the end of clip 04
ffmpeg -sseof -0.3 -i clip04.mp4 -frames:v 1 handoff04.png
# step 4: inspect a clip
ffprobe -v error -select_streams v:0 -show_entries stream=width,height,r_frame_rate,pix_fmt -of csv=p=0 clip04.mp4
# step 4: speed a 24 fps AI clip to 25 fps without repeated frames (no audio)
ffmpeg -i clip04.mp4 -vf "setpts=PTS*24/25,scale=1920:1080" -r 25 -an -c:v libx264 -crf 18 -pix_fmt yuv420p c04.mp4
# step 4: resample a 30 fps phone interview to 25 fps, keep audio
ffmpeg -i int02.mov -vf "fps=25,scale=1920:1080" -c:v libx264 -crf 18 -pix_fmt yuv420p -c:a aac -b:a 192k i02.mp4
# step 6: 0.4 s crossfade between two 4.0 s clips (offset = 4.0 - 0.4)
ffmpeg -i c04.mp4 -i c05.mp4 -filter_complex "[0:v][1:v]xfade=transition=fade:duration=0.4:offset=3.6,format=yuv420p" -c:v libx264 -crf 18 c0405.mp4
# step 6: join already conformed clips with straight cuts
ffmpeg -f concat -safe 0 -i list.txt -c copy rough.mp4
Two cautions. The concat method with stream copy only works when every file has identical codec settings, which is the whole point of step 4; if one clip slips through unconformed, the join will glitch or fail. And the crossfade filter needs both inputs at the same size, frame rate and pixel format, so it also depends on the conform pass. Most failed joins trace back to a skipped step 4.
Real people, synthetic b-roll and what candidates are owed
A recruitment video is not an ordinary ad. Candidates use it to judge where they would spend their working days, and some of them will relocate countries on the strength of what they see. That changes what is acceptable to generate.
The rule the Porto team adopted was short: AI may show places and ideas, never colleagues, offices or perks. The river, the tram and the abstract graphics were generated. Every person, workspace and benefit on screen was real. A generated shot of a bright open-plan office with a terrace, for a team that actually works from a shared space with a small kitchen, would have been a promise the company could not keep, and engineers who move to Portugal for a job tend to remember such promises.
Disclosure is the second rule. The video carried a short line in the description and an on-screen credit in the last second: "City and graphic shots created with AI. Team interviews filmed by our engineers." Beyond good practice, the EU AI Act includes transparency obligations for AI-generated or manipulated content that could pass for real, with the relevant provisions scheduled to apply from August 2026.
Atmospheric b-roll of a real city is a grey area. A synthetic person speaking on camera is not. Check the current guidance with whoever handles legal questions for the company before publishing.
Consent is the third. Employees who appear in a recruitment video are processing their image for the employer's marketing, which under the GDPR calls for a clear, freely given consent that can be withdrawn. In Portugal the data protection authority is the CNPD. In practice that means a one-page release that says where the video will run and for how long, and a plan to remove the clip if someone leaves and asks.
Mistakes that made the first cut look synthetic
- Generating before writing the shot list, so each clip had its own light, direction and palette.
- Using the full length of each generation, including the unstable first and last frames.
- Mixing 24, 25, 30 and 60 fps material on one timeline and trusting the editor to sort it out.
- Reusing a prompt from a vertical social test, which produced a square shot inside a 16:9 film.
- Chaining 5 generations in a row; by the fourth link the bridge had changed shape.
- Long dissolves between every shot, which made the piece feel like a slideshow.
- Grading AI shots and interviews separately, which left two colour worlds in one video.
- Generating a team shot "to fill a gap", which was cut after the first internal review for misrepresenting the workplace.
The direction of travel is easy to see. Generation lengths keep growing and tools increasingly accept start and end frames, character references and camera paths, which will reduce the need for manual chaining over the next product cycles. What will not go away is the conform pass, the handles and the honesty question.
As generated footage becomes indistinguishable from filmed footage, candidates will lean more on disclosure lines and real faces to decide what to trust, and the employers who already label their synthetic shots clearly will have an easier time being believed.