Sub topic 16
Exporting and a Final Review Checklist
This chapter covers the last step of lecture post-production: turning your finished edit into a file you can publish, and checking that file before anyone else sees it. It assumes you have already made your cuts, added zooms, and produced a corrected SRT file. It also assumes you can run a command in a terminal and know what a codec and a container are. The ffmpeg commands are examples. Every editor has an export dialog with equivalent settings.
Why export comes last
Most lecture formats use lossy compression, so every re-encode throws away a little picture detail. Export is the one pass where you accept that loss. Do not export an intermediate file, edit it further, and export again if you can avoid it. If you find a problem during review, go back to the project or the source files, fix it there, and export again.
This is the practical meaning of non-destructive editing from the start of the tutorial. Your original recording and your project stay untouched. The exported file is disposable and can be regenerated.
Choosing export settings
For a lecture that people watch in a browser or a learning platform, a safe default is an MP4 container with H.264 video and AAC audio. Almost every device and platform plays this combination.
| Setting | Recommended value | Why |
|---|---|---|
| Container | MP4 | Widest playback support, supports soft subtitle tracks |
| Video codec | H.264 (libx264) | Plays everywhere, good quality per megabyte |
| Quality | CRF 18 to 23 | Constant quality. Lower numbers give better quality and larger files |
| Preset | slow or medium | Slower presets give smaller files at the same quality |
| Pixel format | yuv420p | Required by many players. Without it some show a black or garbled picture |
| Resolution and frame rate | Same as the source | Scaling or changing frame rate adds blur or judder without helping text legibility |
| Audio codec | AAC, 128 to 192 kbps | Speech does not need more |
| Fast start | Enabled | Moves metadata to the start of the file so playback begins before the download ends |
Screen recordings with small text are the exception to "lower quality is fine." Compression blurs thin lines first, so keep CRF at 20 or lower and never export below the source resolution.
A complete export command
This command takes your edited file, burns in the captions, and writes a final MP4:
ffmpeg -i lecture_cut.mp4 \
-vf "subtitles=captions.srt" \
-c:v libx264 -preset slow -crf 20 -pix_fmt yuv420p \
-c:a aac -b:a 160k \
-movflags +faststart \
lecture_final.mp4Each group of options does one job:
-vf "subtitles=captions.srt"draws the captions into the picture.-c:v libx264 -preset slow -crf 20 -pix_fmt yuv420psets the video codec, the speed and quality trade-off, and a widely compatible pixel format.-c:a aac -b:a 160kencodes the audio.-movflags +faststartprepares the file for streaming.
If you want captions that viewers can switch off, skip the subtitles filter. Export the video first, then add the SRT as a separate track without re-encoding:
ffmpeg -i lecture_final.mp4 -i captions.srt \
-c copy -c:s mov_text \
-metadata:s:s:0 language=eng \
lecture_soft.mp4Here -c copy leaves the audio and video untouched, so this step takes seconds and costs no quality. The language tag lets players label the track correctly.
Burned-in or separate track at export time
Decide this before you export, because it changes the file you produce.
- Choose burned-in captions when the destination player cannot show subtitle tracks, such as a social media upload or an embedded slide viewer. The cost is that viewers cannot turn them off, and you cannot fix a typo without re-encoding the video.
- Choose a separate track when the platform supports it. You can correct or translate captions later without touching the video.
- Many teams export one clean video, upload the SRT separately where supported, and make a burned-in copy only for platforms that need it.
Inspecting the result
Do not trust that the export did what you intended. Ask the file itself with ffprobe:
ffprobe -v error \
-show_entries stream=codec_type,codec_name,width,height,r_frame_rate,duration \
-of default=noprint_wrappers=1 lecture_final.mp4Check three things in the output:
- The video stream is
h264at the resolution you expect, and the audio stream isaac. - The frame rate matches the source.
- The video and audio durations differ by no more than a few hundredths of a second. A larger gap points to a sync problem that will grow over a long lecture.
You can also measure loudness. Lectures that are too quiet force viewers to raise the volume, and then the next video blasts them. This command reports loudness without writing a file:
ffmpeg -i lecture_final.mp4 -af loudnorm=I=-16:TP=-1.5:LRA=11:print_format=summary -f null -Read the "Input Integrated" value in the summary. Around -16 LUFS is a common target for spoken content online. If yours is far off, fix the audio gain in the project and export again.
The review loop
A review is a loop, not a single pass. Any fix sends you back to the project, and the file is re-exported and checked again.
Final review checklist
Watch the whole exported file at normal speed, start to finish, at least once. Skimming by dragging the playhead will not reveal sync drift or a caption that lags near the end. If possible, use a different device or player from the one you edited on, because that is where pixel format and subtitle problems appear.
Cuts and sync
- Every cut point sounds clean, with no clicks, clipped words, or repeated syllables.
- Lips and speech match at the start, middle, and end of the lecture.
- No dead air remains that you meant to remove, and no pause was cut so tightly that sentences run together.
Zooms
- Each zoom lands on the area the speaker is discussing.
- Zoomed text is still sharp. If it looks soft, the zoom is too large for the source resolution.
- Zoom-in and zoom-out transitions finish before the speaker moves on.
Captions
- Captions match the final edit. If you cut after transcribing, timings have shifted and must be regenerated or offset.
- Technical terms, names, and numbers are spelled correctly.
- Lines are short enough to read, with no cue covering important slide content.
- If you used a separate track, it appears in the player's menu with the right language label.
Audio and file
- Volume is consistent throughout and the loudness check is near your target.
- The file plays in at least two different players.
- The first frame is not black or a leftover mistake, and the last frame is not cut off.
- The file size is reasonable for your platform's upload limit.
Common errors
- Black or green picture in some players. The source used a pixel format such as yuv444p. Add
-pix_fmt yuv420p. - Captions drift away from speech. The SRT was timed before the cuts. Generate it from the final edit or shift the cue times.
- The
subtitlesfilter cannot find the file. The filter parses its argument, so unusual characters in the path can break it. Use a simple filename in the working directory. - Audio is slightly longer than video. This often comes from a variable frame rate recording. Re-export with a fixed frame rate, for example by adding
-r 30if the source is 30 fps. - Quality looks worse than the source. CRF is too high, or the export scaled the video down. Lower the CRF value and keep the original resolution.
Exercise
Your exported lecture has captions that are correct at the start but about two seconds late by the end. The video was cut after the SRT was created. Which part of the workflow should you fix, and why not just fix the exported file?
Show answer
Fix the caption timings in the project stage, either by regenerating the SRT from the final cut or by correcting the cue times after each cut point, then export again. Cuts remove time, so every cue after a cut is late by the removed duration. The exported file is only an output. Editing it means another re-encode and loses quality, and the next export would bring the error back.
Exercise
A colleague exports with burned-in captions and uploads the file to a platform that supports separate subtitle tracks. A student asks for Spanish captions. What does this cost compared with exporting a clean video and a separate SRT?
Show answer
With burned-in captions, adding Spanish means editing the video and re-encoding it, with some quality loss, and the English captions cannot be turned off. With a clean video and separate SRT files, you only create a Spanish SRT and upload it as another track. The video is not touched.