chore: update examples

This commit is contained in:
Adrian Shum 2022-10-23 17:12:46 +08:00
parent fa056d87be
commit 5cf44446fd

View file

@ -58,7 +58,7 @@ http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp
``` ```
Retrieving the frame at 5 minutes elapsed time of this video: Retrieving the frame at 5 minutes elapsed time of this video:
``` ```
http://localhost:8000/unsafe/200x0/filters:frame(5m)/http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 http://localhost:8000/unsafe/filters:frame(5m)/http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
``` ```
It results a complete black frame. It results a complete black frame.
@ -68,7 +68,7 @@ This is where `seek(n)` comes handy. It seeks to the key frame before the 5 minu
The result is a reasonable image that sits close to the specified time: The result is a reasonable image that sits close to the specified time:
``` ```
http://localhost:8000/unsafe/200x0/filters:seek(5m)/http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 http://localhost:8000/unsafe/filters:seek(5m)/http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
``` ```
![seek 5m](https://raw.githubusercontent.com/cshum/imagorvideo/master/testdata/seek5m.jpg) ![seek 5m](https://raw.githubusercontent.com/cshum/imagorvideo/master/testdata/seek5m.jpg)