Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. //SVG
  2. <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="1440" height="200">
  3. <rect x="0" y="20" height="160" width="1440" fill="rgba(222,222,222,0.5)"/>
  4. <rect x="51" y="1" height="180" width="180" fill="tomato" stroke="gray" stroke-width="2" stroke-dasharray="10 5" opacity="0.75"/>
  5. <circle cx="359" cy="91" r="90" fill="lightblue" stroke="gray" stroke-width="2" stroke-dasharray="10 5" opacity="0.75"/>
  6. <polygon points="160,199 340,199 250,43" fill="lightgreen" stroke="darkgray" stroke-width="4" opacity="0.75"/>
  7. </svg>
  8.  
  9. //console
  10. ffmpeg -i input_video.mp4 -ss 00:00:33 -t 00:00:10 -c:v copy cropped.mp4
  11. convert -resize 50% -background none -depth 8 plate.svg plate.png
  12. ffmpeg -i cropped.mp4 -i plate.png -filter_complex "[0:v][1:v]overlay=0:446:enable=between(t\,1\,8)" plated.mp4
  13. 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