[FFmpeg-user] FFMPEG output to HTTP

Moritz Barsnick barsnick at gmx.net
Mon Jan 25 23:01:15 CET 2016


> > 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


More information about the ffmpeg-user mailing list