選單
案例影片

這支 31.5 秒的直式短影音,從「古有孔明借東風,今有平野借颱風」的趣味切入,把賽事因天候延後、投手多了休息時間的話題,轉成一段 Q 版動畫。製作流程分成事實清單、角色參考、八鏡頭影片、配樂、字幕與 HP 疊圖五層;其中 HP 百分比是敘事示意,不是球員的實際體能數據。

先把「事實」與「畫面比喻」分開

賽程、比分與投球數先整理成獨立的事實清單,再決定哪些資訊要進入畫面。手冊以製作當時的賽事報導為依據,影片結尾也使用當時的預定賽程;後續變動應查看中華職棒官方公告。HP 條的起始值、補滿動畫、火焰和「回血」效果則屬故事語言,不能據此推斷球員的健康或出賽狀態。

這種分層有一個實務好處:賽程若改變,只需更新資訊文字與片尾;角色與多數鏡頭不必全部重做。

角色怎麼保持一致

先為平野與三位投手各準備一張角色主圖,固定髮型、鬍鬚、配件、球衣號碼與色系。手冊記錄的圖像模型是 GPT Image 2.5,設定為 1:1、品質 medium,再把角色圖上下延伸為 9:16 的參考圖,避免直接拉伸人物。以下是手冊中的勝騎士角色提示詞範例;其他角色只調整外貌特徵、配件與背號。

Chibi super-deformed baseball video game character, 2.5-heads-tall,
based on the face and look of the man in the reference photo (short dark
hair, full dark beard, tanned skin, athletic build), wearing a bright
yellow short-sleeve CTBC Brothers pitcher jersey with number 30, white
baseball pants, navy cap with a B logo, holding a baseball and a brown
glove. Cute Japanese baseball game chibi art, clean bold outlines, cel
shading, big expressive eyes, tired droopy smile. Full body, standing
front 3/4 view, centered on a plain soft light-grey background. No text.

提示詞把「角色辨識點」放在前面,背景保持簡單,並要求不要生成文字。進入影片模型前,再將四張主圖轉成與成片相同的直式比例。參考圖在影片提示詞中依序標成 @Image1 平野、@Image2 勝騎士、@Image3 菲力士、@Image4 羅戈;同時註明沿用角色造型,但不沿用參考圖的灰底與站姿。

八個鏡頭一次生成

手冊記錄的影片設定為 Seedance 2.5、portrait 9:16、720p、約 30 秒,保留動作音效,不要背景音樂與人聲。整段影片一次生成,讓角色、光線與畫風盡量連續。鏡頭順序是:風雨屋頂與羽扇、閃電轉場、勝騎士冰敷後起身、菲力士吃牛肉麵、羅戈喝珍奶、三人擊掌、球場通道並肩前進、大巨蛋收尾。

手冊保留了鏡頭表與提示詞架構,未保存完整原始影片提示詞。下面是依鏡頭表整理的可重用範例,不是宣稱與當次提交給模型的全文逐字相同:

Assets: @Image1 is the manager in a scholar costume with a feather fan;
@Image2, @Image3 and @Image4 are the three pitchers. Keep each character's
face, outfit and colors consistent. Do not reuse the reference background
or static pose.

Style: vertical 9:16, Japanese baseball-game chibi animation, clean bold
outlines, 2D cel shading, candy colors, expressive squash-and-stretch.
No generated on-screen letters, numbers or subtitles. Preserve the jersey
design from the references. No dialogue or BGM.
Use only scene sound effects.

Shot 1: Stormy night. Start wide, push toward the rooftop. @Image1 raises
the feather fan; a spiral cloud forms. Wind, rain and thunder.
Shot 2: Orbit once around @Image1. The fan sweeps; lightning flashes.
Cut on the flash.
Shot 3: Morning recovery room. @Image2 rests with an ice pack, then green
healing particles rise and he springs up. Snore, healing chime.
Shot 4: @Image3 eats a large bowl of beef noodles and clenches a fist.
Warm, playful motion; noodle sound.
Shot 5: @Image4 drinks milk tea, then flexes. Straw sound and energy chime.
Shot 6: The three pitchers high-five. A gold ring bursts outward.
Shot 7: Track backward as the three walk toward camera through a stadium
tunnel. Footsteps, distant crowd, yellow glow behind them.
Shot 8: On the mound, the three point upward while @Image1 waves the fan
behind them. Confetti, fireworks and crowd cheer. Hold the final frame.

每個鏡頭只指定一個主要運鏡,並寫出看得見、聽得見的動作。像「疲憊」這種抽象狀態,改用冰敷袋、睡姿和起身動作表達。字幕與比分不交給影片模型繪製,因為中文字和數字必須能逐字校對。

配樂、字幕與 HP 怎麼合成

配樂是約 35 秒、120 BPM 的純器樂:前八秒以古箏、琵琶與低鼓建立古風氣氛;中段轉成 8-bit 遊戲恢復音色;最後加入球場搖滾鼓、電吉他與銅管,推向收尾。這是依手冊設定整理的配樂提示詞範例:

35 seconds, 120 BPM, instrumental only, no vocals.
0:00-0:08: mysterious pentatonic guzheng and pipa, low taiko pulse,
soft wind ambience; intensity 4/10.
0:08-0:23: bright major-key 8-bit square-wave melody, healing arpeggios,
playful chimes; intensity 5/10.
0:23-0:32: stadium rock drums, electric guitar and brass fanfare,
building to a triumphant finish; intensity 9/10.
Clean ending at 32 seconds.

字幕與 HP 面板由 Python、Pillow 逐格繪製成透明影片 overlay.mov。七組字幕使用黃白字與粗黑描邊;HP 面板包含姓名、背號、球數說明與數值。數值在設定的時間區間平滑補到 100,低於 30 用紅色、30 到 60 用黃色、60 以上用綠色;補滿時再顯示 FULL!。這樣數字與條形的進度由同一個值驅動,不會出現畫面已滿格、文字卻還停在半途的情況。

以下是手冊記錄的實際合成指令。它假設原始影片、透明疊圖與配樂分別位於 clips/main.mp4、overlay.mov、bgm.mp3;只有成品 MP4 隨本案例公開,這三個中間檔並未附在網站下載。

ffmpeg -y -i clips/main.mp4 -i overlay.mov -i bgm.mp3 \
  -filter_complex "[0:v]tpad=stop_mode=clone:stop_duration=1.5[v0];
   [v0][1:v]overlay=0:0:format=auto[v];
   [0:a]apad=pad_dur=2,atrim=0:31.5,volume=1.0[sfx];
   [2:a]atrim=0:31.5,afade=t=out:st=29.5:d=2,volume=0.5[bgm];
   [sfx][bgm]amix=inputs=2:duration=first:normalize=0[a]" \
  -map "[v]" -map "[a]" -t 31.5 \
  -c:v libx264 -crf 18 -pix_fmt yuv420p -r 24 \
  -c:a aac -b:a 192k -movflags +faststart cpbl_hp_recovery.mp4

tpad 把最後一格延長 1.5 秒,讓片尾大標停留;overlay 疊上透明字幕;amix 保留原片音效並把配樂壓到 50%;最後兩秒淡出。成片採 H.264 + AAC、720×1280、24 fps。網站提供的是另行壓縮、方便線上播放的版本,內容與長度仍為 31.5 秒。

修改與驗收

要改字幕或出現時間,調整 overlay.py 的 CAPS;要改 HP 起點與補血區間,調整 HUDS;要換鏡頭,重做 clips/main.mp4;只改配樂則替換 bgm.mp3 並重新合成。這種分層讓新聞資訊、視覺動畫和音訊可以分別修改。

輸出後先以 ffprobe 查解析度、影格率、時長與音軌,再抽樣檢查字幕是否被裁切;最後還應完整播放一次,確認音畫同步與片尾停留。手冊記錄的是抽樣畫面與音訊偵測,沒有記錄當時逐秒完整播放,因此不能把抽樣檢查寫成完整人工觀影驗收。

ffprobe -v error -show_entries stream=codec_name,width,height,r_frame_rate \
  -show_entries format=duration -of default=noprint_wrappers=1 cpbl_hp_recovery.mp4

這個案例最值得重用的是「事實清單 → 一致角色 → 可編輯字幕與數字 → 合成驗收」的分工。運動話題可以快速變成短影音,但賽程與球員資訊仍須獨立查核,趣味比喻也要清楚留在比喻的位置。