Skip to content

Commit

Permalink
fix truncation
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman committed Dec 26, 2024
1 parent 33956c4 commit e7c8db4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ jobs:
echo "![Demo GIF](https://github.com/${{ github.repository }}/blob/${{ steps.auto-commit.outputs.pull-request-head-sha }}/docs/demo.gif?raw=true)" >> $GITHUB_STEP_SUMMARY
echo "## Demo Video" >> $GITHUB_STEP_SUMMARY
echo "![Demo Video](https://github.com/${{ github.repository }}/blob/${{ steps.auto-commit.outputs.pull-request-head-sha }}/demo/recordings/mp4/atmos-with-audio.mp4?raw=true)" >> $GITHUB_STEP_SUMMARY
echo "https://github.com/${{ github.repository }}/blob/${{ steps.auto-commit.outputs.pull-request-head-sha }}/demo/recordings/mp4/atmos-with-audio.mp4?raw=true" >> $GITHUB_STEP_SUMMARY
- name: No changes
if: steps.auto-commit.outputs.pull-request-operation == 'none' || steps.auto-commit.outputs.pull-request-operation == 'closed'
Expand Down
2 changes: 1 addition & 1 deletion demo/recordings/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ for scene_file in "${SCENE_FILES[@]}"; do
ffmpeg -i "$MP4_OUTDIR/$scene_name.mp4" -i "$AUDIO_FILE" \
-filter_complex "[1:a]afade=t=out:st=${FADE_START}:d=5[aout]" \
-map 0:v -map "[aout]" \
-c:v copy -shortest -c:a aac "$MP4_OUTDIR/$scene_name-with-audio.mp4"
-c:v copy -c:a aac "$MP4_OUTDIR/$scene_name-with-audio.mp4"

# Create GIF
echo " Creating GIF -> $GIF_OUTDIR/$scene_name.gif"
Expand Down

0 comments on commit e7c8db4

Please sign in to comment.