LINGMIRAGE: SIX-SECOND 2D PHOTO-MOTION COMPARISON RECIPE v1 This is a plain-text recipe. It changes a single flat photo with a centered zoom from 1.00 to 1.05. No generative AI, 3D, recovered depth, new angle, object animation, or the paid guide's materials were tested by this example. It is a silent baseline for comparison, not a generated product video. SOURCE CREDIT Mug image - Mohanraj55 / Wikimedia Commons, CC0 1.0. Fixed file-description revision: https://commons.wikimedia.org/w/index.php?title=File:Mug_image.jpg&oldid=1129715131 CC0: https://creativecommons.org/publicdomain/zero/1.0/deed.en Legal code: https://creativecommons.org/publicdomain/zero/1.0/legalcode.en Original JPEG: 960x1280, 117361 bytes. SHA-256: f46f6bc74eb235b489bcd75430f31f66a7ff4a84a87ed239f9bc8aa47b163a5f The accompanying lingmirage-photo-motion-source-v1.jpg is an exact byte copy. Credit records provenance; no author endorsement or new customer-photo rights are implied. Source review used the file's own uploader-declared CC0/own-work statement. It is not an independent investigation of the uploader's rights chain or a complete clearance of all possible third-party design rights. PREREQUISITES AND ACTUAL TEST Use an already installed local FFmpeg with libx264, scale, pad, zoompan and setsar, plus FFprobe and a POSIX shell. No installer or download is included. Tested: FFmpeg 6.0; FFprobe 4.4. No binary, library, font or installer is included. Other builds need the named filters and encoder; playback depends on the player. Actual output: H264/yuv420p, 720x1280, square pixels, 30fps, 180 frames, 6.000 seconds, zero audio streams; MP4 moov atom before mdat (+faststart). Five decoded frames (0,45,90,135,179) were inspected; cup rim, left lip, handle, body/base, background and cream margin remain recognizable. Scaling/lossy encoding/color conversion change pixels; no pixel identity or all-frame continuity guarantee is made. Browser playback is reviewed separately. FIT AND MOTION VALUES Fit the whole photo inside 960x1280 without stretching, then center on a 1080x1920 canvas filled with 0xece9e1. For this original, pad offset=(60,320). Zoom = 1+0.05*on/179 over 180 frames: frame0=1.00, frame179=1.05. The centered maximum-zoom crop is approximately 1028.57x1828.57, larger than the 960x1280 photo, so the complete photo fits inside the final crop. The result is 720x1280 at 30fps. Source detail and original viewing angle remain limited by the photograph. There is no audio. COPY COMMAND: use the supplied source JPEG or replace the input with ONE local still you are authorized to use/modify. Open a terminal in the candidate folder. The output filename below must not already exist. No file is replaced. Adjust ffmpeg executable path only if your existing installation requires it. ffmpeg -hide_banner -nostdin -n -i ./lingmirage-photo-motion-source-v1.jpg \ -vf "scale=960:1280:force_original_aspect_ratio=decrease:force_divisible_by=2,pad=1080:1920:(ow-iw)/2:(oh-ih)/2:color=0xece9e1,zoompan=z='1+0.05*on/179':x='iw/2-iw/zoom/2':y='ih/2-ih/zoom/2':d=180:s=720x1280:fps=30,setsar=1" \ -frames:v 180 -t 6 -r 30 -an \ -c:v libx264 -preset medium -crf 18 -pix_fmt yuv420p \ -map_metadata -1 -metadata title='2D photo-motion baseline - no AI or new angles' \ -movflags +faststart ./my-new-comparison.mp4 CHECK YOUR RESULT ffprobe -v error -count_frames -show_streams -show_format -of json ./my-new-comparison.mp4 Check duration=6.000000, nb_read_frames=180, fps=30/1, size=720x1280, pix_fmt=yuv420p and one video stream with no audio. Play your own output and inspect frames for framing, orientation, visual artifacts and source retention. Other photo aspect ratios gain extra padding. The fit step does not improve detail or remove backgrounds. Recheck if you change zoom, dimensions or source. OPTIONAL FAIL-CLEAR SHELL WRAPPER Save the following original wrapper as build-photo-motion.sh if you want its existing-file and input checks. It expects source/mug-image-original.jpg by default, so pass the supplied candidate source explicitly: /bin/sh ./build-photo-motion.sh ./lingmirage-photo-motion-source-v1.jpg ./another-new-output.mp4 Set FFMPEG_BIN and FFPROBE_BIN to your existing local executables if needed. The wrapper contains no download or installer. #!/bin/sh # Original recipe: one licensed still -> centered, silent 2D photo-motion video. # No download, installer, font, generated view, or AI processing is involved. set -eu umask 077 fail() { printf '%s\n' "$*" >&2; exit 1; } recipe_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) ffmpeg_bin=${FFMPEG_BIN:-ffmpeg} ffprobe_bin=${FFPROBE_BIN:-ffprobe} source_image=${1:-"$recipe_dir/source/mug-image-original.jpg"} output_video=${2:-"$recipe_dir/mug-photo-motion-2d-6s.mp4"} [ "$#" -le 2 ] || fail 'Usage: sh build-photo-motion.sh [licensed-image] [new-output.mp4]' command -v "$ffmpeg_bin" >/dev/null 2>&1 || fail 'FFmpeg is required. Set FFMPEG_BIN to an existing local executable.' command -v "$ffprobe_bin" >/dev/null 2>&1 || fail 'FFprobe is required. Set FFPROBE_BIN to an existing local executable.' [ -f "$source_image" ] || fail "Input image does not exist: $source_image" [ ! -e "$output_video" ] || fail "Output exists; choose a new filename. Nothing overwritten: $output_video" [ -d "$(dirname -- "$output_video")" ] || fail 'The output directory must already exist.' case "$output_video" in *.mp4) ;; *) fail 'Output must have an .mp4 extension.' ;; esac input_size=$("$ffprobe_bin" -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 "$source_image") [ -n "$input_size" ] || fail 'Could not read an image size. Use one readable local still image.' printf 'Input: %s (%s)\nOutput: %s\n' "$source_image" "$input_size" "$output_video" printf '%s\n' 'Building 180 frames at 30 fps. This changes only a flat image window.' # Fit the whole still inside 960x1280; never stretch it. The sample is already # 960x1280, so the next step pads it at (60,320) on a 1080x1920 canvas. # A centered 1.00 -> 1.05 zoom over 179 intervals leaves the entire image inside # the crop at every frame, including the maximum zoom. No new angle is created. filter="scale=960:1280:force_original_aspect_ratio=decrease:force_divisible_by=2,pad=1080:1920:(ow-iw)/2:(oh-ih)/2:color=0xece9e1,zoompan=z='1+0.05*on/179':x='iw/2-iw/zoom/2':y='ih/2-ih/zoom/2':d=180:s=720x1280:fps=30,setsar=1" "$ffmpeg_bin" -hide_banner -nostdin -n -i "$source_image" \ -vf "$filter" -frames:v 180 -t 6 -r 30 -an \ -c:v libx264 -preset medium -crf 18 -pix_fmt yuv420p \ -map_metadata -1 -metadata title='2D photo-motion baseline - no AI or new angles' \ -movflags +faststart "$output_video" [ -s "$output_video" ] || fail 'FFmpeg returned without a nonempty output.' printf '%s\n' 'Encoding finished. Probe, inspect frames, and check playback separately.'