Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //SVG
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="1440" height="200">
- <rect x="0" y="20" height="160" width="1440" fill="rgba(222,222,222,0.5)"/>
- <rect x="51" y="1" height="180" width="180" fill="tomato" stroke="gray" stroke-width="2" stroke-dasharray="10 5" opacity="0.75"/>
- <circle cx="359" cy="91" r="90" fill="lightblue" stroke="gray" stroke-width="2" stroke-dasharray="10 5" opacity="0.75"/>
- <polygon points="160,199 340,199 250,43" fill="lightgreen" stroke="darkgray" stroke-width="4" opacity="0.75"/>
- </svg>
- //console
- ffmpeg -i input_video.mp4 -ss 00:00:33 -t 00:00:10 -c:v copy cropped.mp4
- convert -resize 50% -background none -depth 8 plate.svg plate.png
- ffmpeg -i cropped.mp4 -i plate.png -filter_complex "[0:v][1:v]overlay=0:446:enable=between(t\,1\,8)" plated.mp4
- ffmpeg -i plated.mp4 -vf drawtext="fontfile=Arial.ttf:text='hylenampacanam':x=200:y=476:fontcolor=black:fontsize=13:enable=between(t\,2\,8)" result.mp4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement