Amazon S3 (Simple Storage Service) é um serviço de armazenamento em nuvem da Amazon Web Services (AWS) que permite armazenar e recuperar arquivos de qualquer lugar na Internet. É uma solução popular para empresas que precisam armazenar grandes quantidades de dados e fornecer acesso rápido a esses dados de qualquer local.
Um dos recursos interessantes do Amazon S3 é a possibilidade de armazenar vídeos e permitir que eles sejam baixados. Neste artigo, vamos explorar como baixar um vídeo em vez de assisti-lo sob demanda no AWS S3.
Etapa 1: acesse o console do Amazon S3
Para começar, vá para o Amazon S3 Console. Isso pode ser feito por meio do AWS Management Console. Após efetuar login no console, selecione o serviço S3. Isso o levará para a página inicial do Amazon S3 Console.
Etapa 2: Selecione o bucket de origem
On the Amazon S3 Console homepage, you’ll see a list of buckets. Select the bucket containing the video you want to download. If you’re not sure which bucket contains the video, try identifying the bucket by its filename.
Etapa 3: localize o arquivo de vídeo
After selecting the correct bucket, browse for the video file you want to download. This can be done by browsing the bucket’s folders and subfolders or using the search bar.
Etapa 4: Configurar metadados do objeto
Before downloading the video, it’s important to verify the object’s metadata. Probably, when sending the file in MP4, for example, there will be something like “MP4/Video” in the “Content-Type” metadata, just remove this metadata completely and save the file.
Etapa 5: Gerar uma URL de download
Once the object’s permissions have been set correctly, you can generate a download URL for the video. To do this, right-click on the video file and select “Generate download link”.
Isso gerará uma URL que você pode usar para baixar o vídeo. Copie a URL e cole-a em um navegador da web para iniciar o download.
Etapa 6: Baixe o vídeo
Ao clicar na URL de download gerada, o vídeo será baixado para seu computador. O tempo que levará para baixar o vídeo dependerá do tamanho do arquivo e da velocidade da sua conexão de internet.
Esperamos ter ajudado! Dúvidas? Compartilhe conosco nos comentários!
Foto por panumas nikhomkhai