# podcast-long-video-to-highlight-clip: commands.log (2026-11-21, ffmpeg 6.1.1) test file: episode.mp4 (synthetic voice reading three of our own sentences with pauses of 1.2, 1.5, 0.9 and 1.1 s; plain picture) codec_name=h264 width=1280 height=720 pix_fmt=yuv420p color_transfer=unknown r_frame_rate=25/1 codec_name=aac sample_rate=48000 channels=1 r_frame_rate=0/0 duration=18.830000 size=275356 sentence lengths (s): 4.565000 5.085000 4.480000 ## 1. list the pauses published: ffmpeg -i episode.mp4 -af silencedetect=noise=-35dB:d=0.4 -f null - silence_start: 0 silence_end: 1.42698 | silence_duration: 1.42698 silence_start: 5.60877 silence_end: 7.51169 | silence_duration: 1.90292 silence_start: 12.1724 silence_end: 13.5025 | silence_duration: 1.33015 silence_start: 17.5567 silence_end: 18.8373 | silence_duration: 1.28062 exit=0 edge: the same speech with pink noise mixed in (episode-noisy.mp4) published: ffmpeg -i episode-noisy.mp4 -af silencedetect=noise=-35dB:d=0.4 -f null - exit=0 pauses found: 0 noise floor of episode-noisy.mp4 in the first second (before speech): mean_volume: -40.2 dB max_volume: -28.7 dB edge, raised threshold: silencedetect=noise=-15dB:d=0.4 on the noisy file finds: 4 pauses ## 2. cut the second sentence, from the middle of the pause before it to the middle of the pause after it pause midpoints: start 6.56 s, end 12.84 s published: ffmpeg -ss 6.56 -to 12.84 -i episode.mp4 -c:v libx264 -crf 20 -c:a aac -b:a 160k highlight.mp4 exit=0 time=2.391s codec_name=h264 width=1280 height=720 pix_fmt=yuv420p color_transfer=unknown r_frame_rate=25/1 codec_name=aac sample_rate=48000 channels=1 r_frame_rate=0/0 duration=6.280000 size=117553 check: silence at the head and tail of highlight.mp4: silence_start: 0 silence_end: 0.951688 | silence_duration: 0.951688 silence_start: 5.61238 silence_end: 6.29333 | silence_duration: 0.680958 edge: a cut 0.5 s late (starts inside the sentence): first 0.2 s mean volume: mean_volume: -15.9 dB same measure on highlight.mp4: mean_volume: -91.0 dB