Thanks. That got me closer. I think the problem is that it is expecting 'PUT' HTTP request.
I've tried to use the `-method PUT` on the ffmpeg CLI but that doesn't seem to change anything for how the request is done for output. I'll keep digging Farid Zakaria On Mon, Jan 25, 2016 at 2:01 PM, Moritz Barsnick <[email protected]> wrote: > > > ffmpeg -y -i > > https://s3.amazonaws.com/myfake-bucket/sample.mp4 -codec:v libx264 > > -profile:v high -preset slow -f mp4 " > > > https://myfake-bucket.s3.amazonaws.com/output.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIM6U6GTEIXT3QXLQ%2F20160125%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20160125T213822Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=29edc68cce9d8a4fbc9a7dcad23b2fd19aea28b11b71a44f68f93c85e4dfbf1e > > " > > > > It seems to grab the video fine from the input but fails at writing it to > > the HTTP output. > > Have you checked the http options? > https://www.ffmpeg.org/ffmpeg-protocols.html#http > I have no experience, but I could imagine you need the option > "-chunked_post 0". And since you set the Content-Type with curl, you > may need to do so with ffmpeg as well, using "-content_type video/mp4". > > Just guessing, > Moritz > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
