[FFmpeg-user] FFMPEG output to HTTP

Farid Zakaria farid.m.zakaria at gmail.com
Mon Jan 25 22:44:32 CET 2016


I'm wondering if its possible for ffmpeg to output to S3 ?
The idea here is that I'd like to have the input from HTTP and write it
back via POST/PUT to another http endpoint.

The "real use case" is using S3 https://aws.amazon.com/s3/ and the ability
to provide "pre-signed urls" (temporary urls providing upload access)

Here is the sample command I tried

> ffmpeg -y -i
https://s3.amazonaws.com/myfake-bucket/sample.mp4 -codec:v libx264
-profile:v high -preset slow -f mp4 "

It seems to grab the video fine from the input but fails at writing it to
the HTTP output. I know that the URL I'm generating is correct by
validating it via an upload through cURL

>  curl -H "Content-Type:video/mp4" -v --upload-file ~/Downloads/sample.mp4
-X PUT "
Farid Zakaria

More information about the ffmpeg-user mailing list