Start server:
go run .Open http://localhost:3000/:
open http://localhost:3000/| #!/usr/bin/env python | |
| from datetime import datetime | |
| from urllib.request import urlopen | |
| url = "http://embed.wistia.com/deliveries/8e6be92cd89f92bd9278aebd6c3e05e0eef9b0ea/file.mp4" | |
| print("Method 1: chunks of 1024") | |
| start = datetime.now() |
Start server:
go run .Open http://localhost:3000/:
open http://localhost:3000/Run CLI:
go run .Run Go program:
go run hello.go| #!/usr/bin/env bash | |
| # Creates a looping 630x500 GIF that fades from image1 to image2 and back | |
| ffmpeg \ | |
| -loop 1 -t 3 -i image1.png \ | |
| -loop 1 -t 3 -i image2.png \ | |
| -loop 1 -t 3 -i image1.png \ | |
| -filter_complex " | |
| [0:v][1:v]xfade=transition=fade:duration=1:offset=2[first]; | |
| [first][2:v]xfade=transition=fade:duration=1:offset=4, |