const { Source } = require('.')
async function main() {
const src = new Source(
'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4'
)
src.open(async () => {
console.log(await src.toBuffer())
})
}
main()