Skip to content

Commit

Permalink
Added ffmpeg command to join image and audio into video
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Nov 15, 2024
1 parent f62c069 commit c5ebdb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions snippets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Some pieces of code I find useful for some reason.
- `( ow=640; oh=360; ffmpeg -i input.mp4 -vf "scale=$ow:$oh:force_original_aspect_ratio=decrease,pad=$ow:$oh:(ow-iw)/2:(oh-ih)/2" output.mp4 )`
- `for i in *.mp3; do echo "$i"; ffmpeg -i "$i" -af volumedetect -vn -sn -dn -f null /dev/null 2>&1 | grep -E '^\[Parsed_volumedetect.+_volume: .+$'; done`
- `ffmpeg -i input.mp3 -filter:a 'dynaudnorm=p=0.9:s=5' output.mp3`
- `ffmpeg -loop 1 -i image.jpg -i audio.mp3 -c:v libx264 -c:a aac -b:a 192k -shortest output.mp4`
- `watch -n.2 date`
- `scp myfile.txt user@hostname:/home/user/myfile.txt`
- `ipfs daemon &`, `jobs`, `fg 1`, `kill %1`
Expand Down

0 comments on commit c5ebdb7

Please sign in to comment.