u2takey / ffmpeg-go

golang binding for ffmpeg
Apache License 2.0
1.8k stars 175 forks source link

How to run "ffmpeg -i 1.mp4 -i watermark.png -filter_complex "[1]format=rgba,rotate=a=-PI*45/180:c=0x00000000,colorchannelmixer=aa=0.95[logo];[0][logo]overlay=(W-w)/2:(H-h)/2:format=auto" -threads 2 -c:a copy test.mp4" ? #59

Open AdonisYo opened 2 years ago

AdonisYo commented 2 years ago

"[1]format=rgba,rotate=a=-PI*45/180:c=0x00000000,colorchannelmixer=aa=0.95[logo];[0][logo]overlay=(W-w)/2:(H-h)/2:format=auto", i want to retain this "" character, but this character `` is identified as an escape character \ ,so running the ffmpeg cmd fails...