Re: [FFmpeg-user] Zoom out/scale down dynamically

2018-09-12 Thread astian
Carl Eugen Hoyos:> 2018-09-10 6:04 GMT+02:00, astian : > >> I want to dynamically (per frame) zoom out/scale down >> a video below 100% size. > > Isn't it sufficient to pad first, and use zoompan in a later > filter? Do you mean work in reverse? Scale down, pad, zoompan in reverse, then reverse

Re: [FFmpeg-user] Zoom out/scale down dynamically

2018-09-12 Thread astian
Gyan: > On Mon, Sep 10, 2018 at 9:34 AM astian wrote: > >> >> I want to dynamically (per frame) zoom out/scale down a video below 100% >> size. >> It seems that the zoompan filter would be ideal for this case, but >> unfortunately it clamps the zoom ratio to [1,10], that is, it only zooms >>

Re: [FFmpeg-user] FFMPEG failing in AWS Lambda

2018-09-12 Thread Carl Eugen Hoyos
2018-09-12 16:27 GMT+02:00, Zaid Amir : >> What does not work? > > If I provide a valid video, it fails with the errors shown in > the logs from the original email. (And I assume the output is wrong, no?) Every video file or only certain types? Can you run "md5sum" on the target system? Carl

Re: [FFmpeg-user] capture from camera (macOS) and pass video to ffplay

2018-09-12 Thread Peter Gusev
thanks! On Wed, 12 Sep 2018 at 11:48, Moritz Barsnick wrote: > On Wed, Sep 12, 2018 at 11:10:19 -0700, Peter Gusev wrote: > > relevant question - is there a way to dump argb frames to a file pipe > (not > > stdout)? > > Is a "file pipe" what Unix calls a "fifo" or "named pipe"? Sure, just >

Re: [FFmpeg-user] capture from camera (macOS) and pass video to ffplay

2018-09-12 Thread Moritz Barsnick
On Wed, Sep 12, 2018 at 11:10:19 -0700, Peter Gusev wrote: > relevant question - is there a way to dump argb frames to a file pipe (not > stdout)? Is a "file pipe" what Unix calls a "fifo" or "named pipe"? Sure, just replace "-" or "pipe:" with the name of the named pipe. Moritz

Re: [FFmpeg-user] capture from camera (macOS) and pass video to ffplay

2018-09-12 Thread Peter Gusev
relevant question - is there a way to dump argb frames to a file pipe (not stdout)? On Wed, 12 Sep 2018 at 10:52, Peter Gusev wrote: > this actually helped! thanks a lot! > > On Wed, 12 Sep 2018 at 09:37, Kieran O Leary > wrote: > >> Hi >> >> On Wed, 12 Sep 2018, 17:09 Peter Gusev, wrote: >>

Re: [FFmpeg-user] capture from camera (macOS) and pass video to ffplay

2018-09-12 Thread Peter Gusev
this actually helped! thanks a lot! On Wed, 12 Sep 2018 at 09:37, Kieran O Leary wrote: > Hi > > On Wed, 12 Sep 2018, 17:09 Peter Gusev, wrote: > > > Hi! well I'm sure the ones I tried are incorrect as I'm not familiar with > > ffmpeg much. But here's one of them: > > > > ffmpeg -f

Re: [FFmpeg-user] capture from camera (macOS) and pass video to ffplay

2018-09-12 Thread Kieran O Leary
Hi On Wed, 12 Sep 2018, 17:09 Peter Gusev, wrote: > Hi! well I'm sure the ones I tried are incorrect as I'm not familiar with > ffmpeg much. But here's one of them: > > ffmpeg -f avfoundation -framerate 30 -i "0" -f rawvideo -pix_fmt argb - | > ffplay -f rawvideo -s1280x720 -pix_fmt argb -i - >

Re: [FFmpeg-user] capture from camera (macOS) and pass video to ffplay

2018-09-12 Thread Peter Gusev
Hi! well I'm sure the ones I tried are incorrect as I'm not familiar with ffmpeg much. But here's one of them: ffmpeg -f avfoundation -framerate 30 -i "0" -f rawvideo -pix_fmt argb - | ffplay -f rawvideo -s1280x720 -pix_fmt argb -i - ffmpeg version 3.4ffplay version 3.4 Copyright © 2000-2017 the

Re: [FFmpeg-user] FFMPEG failing in AWS Lambda

2018-09-12 Thread Zaid Amir
> Do the jpg files look as expected? The generated jpegs look identical. Color bars with some scattered pixels and a diagonal bar going through them > What does not work? If I provide a valid video, it fails with the errors shown in the logs from the original email.

Re: [FFmpeg-user] capture from camera (macOS) and pass video to ffplay

2018-09-12 Thread Carl Eugen Hoyos
2018-09-12 1:25 GMT+02:00, Peter Gusev : > Hi there! I need to capture video from a camera (macOS) and then pass it > through a file pipe to ffplay for displaying it. Can't figure out how to > specify ffmpeg's output pixel format. When passing -pix_fmt argb ffmpeg > says that the format is

Re: [FFmpeg-user] FFMPEG failing in AWS Lambda

2018-09-12 Thread Carl Eugen Hoyos
2018-09-12 8:01 GMT+02:00, Zaid Amir : > Running ' ffmpeg -f lavfi -i testsrc2 -vframes 10 out%2d.jpg' > gives this output: Do the jpg files look as expected? What does not work? (Is it file input that is not working?) Carl Eugen ___ ffmpeg-user

Re: [FFmpeg-user] Zoom out/scale down dynamically

2018-09-12 Thread Carl Eugen Hoyos
2018-09-10 6:04 GMT+02:00, astian : > I want to dynamically (per frame) zoom out/scale down > a video below 100% size. Isn't it sufficient to pad first, and use zoompan in a later filter? Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] Dealing with incomplete HEVC/h265 video

2018-09-12 Thread Gyan
On Wed, Sep 12, 2018 at 3:00 PM Aviv Hurvitz wrote: > > I'll try to delve into the HEVC stream format, maybe I'll see a record of > the skipping in there. I hope there is a frame index or time stamp per > frame within. (?) > Suggest you try mp4box to mux the raw stream into MP4. Gyan

Re: [FFmpeg-user] Zoom out/scale down dynamically

2018-09-12 Thread Gyan
On Mon, Sep 10, 2018 at 9:34 AM astian wrote: > > I want to dynamically (per frame) zoom out/scale down a video below 100% > size. > It seems that the zoompan filter would be ideal for this case, but > unfortunately it clamps the zoom ratio to [1,10], that is, it only zooms > in/scales up. Why?

Re: [FFmpeg-user] Dealing with incomplete HEVC/h265 video

2018-09-12 Thread Aviv Hurvitz
I tried converting to mkv but it exhibited the same "skipping" problem. I'll try to delve into the HEVC stream format, maybe I'll see a record of the skipping in there. I hope there is a frame index or time stamp per frame within. (?) On Wed, Sep 12, 2018 at 12:40 AM Carl Eugen Hoyos wrote: >

Re: [FFmpeg-user] Multiply audio samples

2018-09-12 Thread Paul B Mahol
On 9/12/18, Michael Koch wrote: > Am 12.09.2018 um 09:55 schrieb Paul B Mahol: >> Hi, >> >> On 9/12/18, Michael Koch wrote: >>> Is it possible to multiply audio samples from two sources? >>> I'd like to downconvert the 15kHz to 25kHz range to the 0 to 10kHz >>> range. First apply a strong 15kHz

Re: [FFmpeg-user] Multiply audio samples

2018-09-12 Thread Michael Koch
Am 12.09.2018 um 09:55 schrieb Paul B Mahol: Hi, On 9/12/18, Michael Koch wrote: Is it possible to multiply audio samples from two sources? I'd like to downconvert the 15kHz to 25kHz range to the 0 to 10kHz range. First apply a strong 15kHz highpass filter, then multiply the signal with a

Re: [FFmpeg-user] Multiply audio samples

2018-09-12 Thread Paul B Mahol
Hi, On 9/12/18, Michael Koch wrote: > Is it possible to multiply audio samples from two sources? > I'd like to downconvert the 15kHz to 25kHz range to the 0 to 10kHz > range. First apply a strong 15kHz highpass filter, then multiply the > signal with a 15kHz sine wave (which produces sum and

[FFmpeg-user] Multiply audio samples

2018-09-12 Thread Michael Koch
Is it possible to multiply audio samples from two sources? I'd like to downconvert the 15kHz to 25kHz range to the 0 to 10kHz range. First apply a strong 15kHz highpass filter, then multiply the signal with a 15kHz sine wave (which produces sum and difference signals), then apply a 10kHz

Re: [FFmpeg-user] FFMPEG failing in AWS Lambda

2018-09-12 Thread Zaid Amir
> Did you use the *identical* input file in both environments (the successfull > and the failing env)? Yes I did, and tried multiple files all fails on lambda but succeed on the EC2 instance. >Did you use the identical ffmpeg binary in both environments? E.g. the >ffmpeg-4.0.2-static

Re: [FFmpeg-user] FFMPEG failing in AWS Lambda

2018-09-12 Thread Zaid Amir
Yes I am testing on the same file both on the EC2 instance and lambda function. Running ' ffmpeg -f lavfi -i testsrc2 -vframes 10 out%2d.jpg' gives this output: ffmpeg version N-91639-g85c0064 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-28)