mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
fix: make QA videos seekable with faststart and frequent keyframes
moov atom was at end of file (8.6MB offset) — browser had to download the entire video before seeking. Keyframes were only every 10 seconds. Add -movflags +faststart (moov before mdat) and -g 60 (keyframe every 2.4s at 25fps) to ffmpeg conversion.
This commit is contained in:
1
.github/workflows/pr-qa.yaml
vendored
1
.github/workflows/pr-qa.yaml
vendored
@@ -385,6 +385,7 @@ jobs:
|
||||
echo "Converting $WEBM ($(du -h "$WEBM" | cut -f1)) to mp4"
|
||||
ffmpeg -y -i "$WEBM" \
|
||||
-c:v libx264 -preset ultrafast -crf 23 -pix_fmt yuv420p \
|
||||
-movflags +faststart -g 60 \
|
||||
"$dir/qa-session.mp4" 2>&1 | tail -5 \
|
||||
|| echo "ffmpeg conversion failed for $WEBM (non-fatal)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user