https://github.com/andrewarrow/inspiredby2
https://github.com/andrewarrow/inspiredby2
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/andrewarrow/inspiredby2
- Owner: andrewarrow
- License: mit
- Created: 2024-08-24T00:18:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-04T01:50:26.000Z (almost 2 years ago)
- Last Synced: 2025-03-02T10:22:28.389Z (over 1 year ago)
- Language: Go
- Size: 261 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# inspiredby2
```
ffmpeg -i 000.mp4 -t 3 -acodec pcm_s16le -ar 44100 -ac 2 -y 000.wav
ffmpeg -i "$f" -acodec pcm_s16le -ar 44100 -ac 2 "wav_files/${f%.mp3}.wav"
for f in wav_files/*.wav; do echo "file '$PWD/$f'" >> file_list.txt; done
ffmpeg -f concat -safe 0 -i file_list.txt -c:a pcm_s16le output.wav
ffmpeg -i output.wav -c:a aac -b:a 192k output.aac
ffmpeg -i file1.mp4 -i file2.mp4 -filter_complex "[1:v]scale=1280:720[bg];[0:v]scale=320:180[pip];[bg][pip]overlay=W-w-10:10" -c:v libx264 -crf 23 -preset veryfast -movflags +faststart -y output.mp4
ffmpeg -i file1.mp4 -i file2.mp4 -filter_complex "[1:v]scale=1280:720[bg];[0:v]scale=320:180[pip];[bg][pip]overlay=W-w-10:10[v];[0:a][1:a]amix=inputs=2:duration=longest[a]" -map "[v]" -map "[a]" -c:v libx264 -crf 23 -preset veryfast -movflags +faststart -y output.mp4
ffmpeg -i file1.mp4 -i file2.mp4 -filter_complex "[1:v]scale=1280:720[bg];[0:v]scale=320:180,pad=360:220:20:20:orange[bordered_pip];[bg][bordered_pip]overlay=50:50[v];[0:a][1:a]amix=inputs=2:duration=longest[a]" -map "[v]" -map "[a]" -c:v libx264 -crf 23 -preset veryfast -movflags +faststart -y output.mp4
```
# silence hiss
```
ffmpeg -loop 1 -i frame005.jpg -f lavfi -i anoisesrc=d=10:c=pink -filter:a "volume=0.02" -c:v libx264 -t 10 -pix_fmt yuv420p -vf "scale=1280:720" -c:a aac -b:a 192k output.mp4
```
```
```
```
```