"Is it working?"

ffmpeg -i sermon_widescreen.mp4 -vf "chromashift=crh=20:crv=20" -c:a copy alien_pastor.mp4

He hits Enter. The terminal scrolls rapidly.

"I will. But first, I’ll encode a copy to Georgie’s hidden ‘music’ folder. For educational purposes."

The computer beeps. Sheldon plays the final file. The screen shows a perfectly centered, correctly deinterlaced, pillar-boxed version of Pastor Jim waving awkwardly.

He cracks his knuckles. Missy looks up.

ffmpeg -i sermon_fixed.mp4 -vf "scale=1920:1080:force_original_aspect_ratio=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" -c:a copy sermon_widescreen.mp4

"Yes. That’s the tragedy of ffmpeg. When it works perfectly, no one notices. But if I had accidentally mapped the audio to the wrong channel and swapped the red-blue chroma planes, Pastor Jim would have looked like a purple alien from the Andromeda galaxy."

Idi na Vrh
X