Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- nombre=$1
- bgcolor="202030FF"
- wavecolor="40a0FFFF"
- picture_output="/tmp/audvid.png"
- output="${nombre%.*}-video.mp4"
- ffmpeg -y -i $nombre -filter_complex "color=c=$bgcolor[color];aformat=channel_layouts=mono,showwavespic=s=1280x960:colors=$wavecolor[wave];[color][wave]scale2ref[bg][fg];[bg][fg]overlay=format=auto" -frames:v 1 $picture_output
- ffmpeg -loop 1 -i $picture_output -i $nombre -shortest -fflags shortest -max_interleave_delta 100M -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p $output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement