Re: [FFmpeg-user] Compiling ffmpeg with libx264

2016-01-26 Thread Farid Zakaria
The website has some pretty clear documents on how to do it.

Just add --libx264 and make sure the shared libraries are in a default path
(or you can add to the LD_LIBRARY_PATH)
On 25 Jan 2016 10:21 p.m., "Rayden" 
wrote:

> Is there anyone who could help in this?
>
>
>
> --
> View this message in context:
> http://ffmpeg-users.933282.n4.nabble.com/Compiling-ffmpeg-with-libx264-tp4674076p4674112.html
> Sent from the FFmpeg-users mailing list archive at Nabble.com.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] FFMPEG output to HTTP

2016-01-25 Thread Farid Zakaria
Pretty sure it would work as is if ffmpeg supported different method
actions for the output.
The docs make it sound like it only does when acting as a server.

I'll try to see in code where HTTP method type is hardcoded.

Having input and output straight from/to S3 would be a great demonstration.
Would make transcoding pipelines much simpler.
On 25 Jan 2016 10:06 p.m., "Vlad Kroutik" <vkrou...@gmail.com> wrote:

> Have you tried using FTP, ffmpeg supports it and you can mount s3 via ftp
>
>
> http://stackoverflow.com/questions/23939179/ftp-sftp-access-to-an-amazon-s3-bucket
>
> On Mon, Jan 25, 2016 at 3:43 PM, Farid Zakaria <farid.m.zaka...@gmail.com>
> wrote:
>
> > 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 <barsn...@gmx.net>
> 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=AKIAIM6U6GTEIXT3QXLQ%2F20160125%2Fus-east-1%2Fs3%2Faws4_request=20160125T213822Z=300=host=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
> > > ffmpeg-user@ffmpeg.org
> > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > >
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] FFMPEG output to HTTP

2016-01-25 Thread Farid Zakaria
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 <barsn...@gmx.net> 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=AKIAIM6U6GTEIXT3QXLQ%2F20160125%2Fus-east-1%2Fs3%2Faws4_request=20160125T213822Z=300=host=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
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user