# interview-to-vertical-short: commands.log (2026-11-21, ffmpeg 6.1.1) test file: two.mp4 (two drawn figures centred at x=500 and x=1420 of 1920, 6 s, tone) codec_name=h264 width=1920 height=1080 pix_fmt=yuv420p color_transfer=unknown r_frame_rate=30/1 codec_name=aac sample_rate=44100 channels=1 r_frame_rate=0/0 duration=6.000000 size=74674 ## 1. stack the two halves: left speaker on top, right speaker below published: ffmpeg -i two.mp4 -filter_complex "[0:v]crop=iw/2:iw*4/9:0:(ih-oh)/2,scale=1080:960[top];[0:v]crop=iw/2:iw*4/9:iw/2:(ih-oh)/2,scale=1080:960[bottom];[top][bottom]vstack" -c:a copy stacked.mp4 exit=0 time=8.384s codec_name=h264 width=1080 height=1920 pix_fmt=yuv420p color_transfer=unknown r_frame_rate=30/1 codec_name=aac sample_rate=44100 channels=1 r_frame_rate=0/0 duration=6.000000 size=74741 edge: 1280x720 source at 25 fps, no audio published: ffmpeg -i two-720.mp4 -filter_complex "[0:v]crop=iw/2:iw*4/9:0:(ih-oh)/2,scale=1080:960[top];[0:v]crop=iw/2:iw*4/9:iw/2:(ih-oh)/2,scale=1080:960[bottom];[top][bottom]vstack" -c:a copy edge-stacked-720.mp4 exit=0 time=6.020s codec_name=h264 width=1080 height=1920 pix_fmt=yuv420p color_transfer=unknown r_frame_rate=25/1 duration=4.000000 size=11173 ## 2. one speaker at a time: crop on the left speaker (x = 500 - 304 = 196) published: ffmpeg -i two.mp4 -vf "crop=ih*9/16:ih:196:0,scale=1080:1920" -c:a copy left-speaker.mp4 exit=0 time=10.06s codec_name=h264 width=1080 height=1920 pix_fmt=yuv420p color_transfer=unknown r_frame_rate=30/1 codec_name=aac sample_rate=44100 channels=1 r_frame_rate=0/0 duration=6.000000 size=74561 edge: 1280x720 source at 25 fps, same command (left figure centred at x=330, so x=196 puts it right of centre) published: ffmpeg -i two-720.mp4 -vf "crop=ih*9/16:ih:196:0,scale=1080:1920" -c:a copy edge-left-720.mp4 exit=0 time=7.020s codec_name=h264 width=1080 height=1920 pix_fmt=yuv420p color_transfer=unknown r_frame_rate=25/1 duration=4.000000 size=10906 not published: fixed pixel sizes on the 720p file [Parsed_crop_0 @ 0x589e8e82a500] Invalid too big or non positive size for width '608' or height '1080' exit=234 ## arithmetic 1920x1080: each half is 960x853.3 px (9:8), taken from rows 113.3 to 966.7; scaled x1.125 to 1080x960; 79.0% of the height kept 1280x720: each half is 640x568.9 px (9:8), taken from rows 75.6 to 644.4; scaled x1.688 to 1080x960; 79.0% of the height kept single speaker crop on 1920x1080: 608 px = 31.7% of the width, zoom x1.778