Generate a FFMPEG command to download the HLS Google DAI ads clip given an asset key.
ruby dai_clip.rb --asset_key=my-asset-key --offset=3 --ogncluster=abc --bitrate=1234567 --domain=http://domain.com
make build
ASSET_KEY=asset-key OFFSET=3 BITRATE=1835000 DOMAIN=http://domain.com make run
Chooses the variant bitrate to be downloaded
Usage:
-bBITRATE
or
--bitrate=BITRATE
Asset key to fetch DAI manifest
Usage:
-aASSET_KEY
or
--asset_key=ASSET_KEY
User cluster param for segmented AD
Usage:
-oOGNCLUSTER
or
--ogncluster=OGNCLUSTER
The number of segments of the stream to use before and after the AD
Usage:
-OOFFSET
or
--offset=OFFSET
The name for the output file
Usage:
-nNAME
or
--output_name=NAME
Override output file
Usage:
-y
or
--override