from ffmpeg_streaming import GCS, CloudManager
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] ="storage.json"
gcs = GCS()
save_to_gcs = CloudManager().add(gcs, bucket_name="bucket-name")
video = ffmpeg_streaming.input("/var/media/video.mp4")
hls = video.hls(Formats.h264())
hls.auto_generate_representations()
hls.output(clouds=save_to_gcs)
This is not working with all the access using storage.json
from ffmpeg_streaming import GCS, CloudManager
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] ="storage.json"
gcs = GCS()
save_to_gcs = CloudManager().add(gcs, bucket_name="bucket-name")
video = ffmpeg_streaming.input("/var/media/video.mp4")
hls = video.hls(Formats.h264())
hls.auto_generate_representations()
hls.output(clouds=save_to_gcs)
This is not working with all the access using storage.json