[FFmpeg-user] Average a "rolling" N frames?

2022-04-20 Thread Steven Kan
I’m putting together a time-lapse video of bees building comb in the hive. I have 5,000+ jpgs (and growing!) in a directory that I process with: ffmpeg -hwaccel videotoolbox -framerate 60 -pattern_type glob -i '*.jpg' -c:v h264_videotoolbox -b:v 100M CombLapse.mp4 which results in: https://www

Re: [FFmpeg-user] Fluorescent White Balance Video Filters

2022-04-20 Thread Roger
>> Found through Google, >> https://lutify.me/free-white-balance-correction-luts-for-everyone/ >> Download: Free White Balance Correction LUTs >> Lutify-me-Free-White-Balance-Correction-3D-LUTs.zip >> >> 2800 Kelvin - 3200 Kelvin - 0.34 CTO.cube >> 2800 Kelvin - 4300 Kelvin - 0.95 CTO.cube >> 2800

Re: [FFmpeg-user] Hardware acceleration for converting PNGs into VP9

2022-04-20 Thread Dennis Mungai
On Wed, 20 Apr 2022 at 14:22, Klimek, Denis < dkli...@stadtwerke-norderstedt.de> wrote: > Hi there, > > I’ve got an question regarding conversation from multiple PNGs into a VP9 > movie. Currently we are doing this job with our CPU and this is quite slow… > about 2.5fps in average and we have mult

[FFmpeg-user] Normalize video on a section of the video

2022-04-20 Thread Benjamin Hill
I have a time-lapse of a beach scene. The exposure wasn't locked. So, I'd like to keep the exposure as constant as possible, likely from using the "normalize" filter. The problem is that it takes the entire frame into account - including the pal

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Ferdi Scholten
Rephrasing the requirement. We have an audio pipeline which redacts the audios using the set of start time and end time provided from our ML team. To achieve this, we execute the ffmpeg command with filter "volume=enable='between(t,starttime,endtime)':volume=0". For some cases, we are receiving a

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Bouke / edit 'B
> On 20 Apr 2022, at 19:50, Shubham Tiwari wrote: > > I think you are not reading the message properly. I think I do. > If you notice, the size > of the file i am passing is 2 mb, the return file size is 176 mb. Does 88 > times increase seem reasonable to you? Yes, as far as it goes for your

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Carl Zwanzig
Please stop top-posting. On 4/20/2022 11:19 AM, Shubham Tiwari wrote: *behaviour: *executed within a second, input file size 2.1 mb, output file size 176 mb Yep, 15 minutes at 48k samples/second is... 48000 * 60 * 15 = 43 million(!) samples. In 16 bit stereo at 4 bytes/sample, hmm, at least 1

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread morgan holly via ffmpeg-user
> On Apr 20, 2022, at 12:13 PM, morgan holly via ffmpeg-user > wrote: > > >> On Apr 20, 2022, at 12:04 PM, Shubham Tiwari >> wrote: >> >> Thanks Bouke for the opinion. >> Help from any other person is appreciated!! >> >> Regards, >> Shubham >> > > I have not read the entire thread, but

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Shubham Tiwari
Rephrasing the requirement. We have an audio pipeline which redacts the audios using the set of start time and end time provided from our ML team. To achieve this, we execute the ffmpeg command with filter "volume=enable='between(t,starttime,endtime)':volume=0". For some cases, we are receiving au

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread morgan holly via ffmpeg-user
> On Apr 20, 2022, at 12:04 PM, Shubham Tiwari > wrote: > > Thanks Bouke for the opinion. > Help from any other person is appreciated!! > > Regards, > Shubham > I have not read the entire thread, but it looks like your source is highly compressed, your output is uncompressed. So yes, in th

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Shubham Tiwari
Thanks Bouke for the opinion. Help from any other person is appreciated!! Regards, Shubham On Wed, Apr 20, 2022 at 11:27 PM Bouke / edit 'B wrote: > > > > On 20 Apr 2022, at 19:50, Shubham Tiwari > wrote: > > > > 1 million audio files per day. > > Hire a specialist. Now. Immediately. Pay him /

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Bouke / edit 'B
> On 20 Apr 2022, at 19:50, Shubham Tiwari wrote: > > 1 million audio files per day. Hire a specialist. Now. Immediately. Pay him / her well. Do NOT hesitate. Do NOT think, just do it. Right now. It WILL pay off. Did I mention you DO NOT HAVE time to waste? Bouke / edit 'B videotoolshed.c

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Shubham Tiwari
I think you are not reading the message properly. If you notice, the size of the file i am passing is 2 mb, the return file size is 176 mb. Does 88 times increase seem reasonable to you? I want the file to be in approximately similar quality and file size should go at max 2 to 3 times. In this case

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Bouke / Videotoolshed
> On 20 Apr 2022, at 19:30, Shubham Tiwari wrote: > > Please accept my apology for putting a large size msg. I appreciate all the > help received. > > I have another example with similar behavior. The exact commands used are > below. The detailed output is attached in this email. > > *command

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Shubham Tiwari
Please accept my apology for putting a large size msg. I appreciate all the help received. I have another example with similar behavior. The exact commands used are below. The detailed output is attached in this email. *command 1*: ffmpeg -i call.wav -af "volume=enable='between(t,0,1)':volume=0"

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Bouke / edit 'B
Hi Shubham, When I copy your mail below (not done on this list, mind you!), it’s exactly as long as it was before. What do you expect? Bouke > On 20 Apr 2022, at 15:01, Shubham Tiwari wrote: > > Hi, > > When I run ffmpeg command on a wav file, the received output file is of > large size as c

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Carl Zwanzig
On 4/20/2022 9:31 AM, Shubham Tiwari wrote: My use case is redaction of audio. To achieve this, our backend adds the filter to mute the audio in the ffmpeg command and then executes on audio files. What are those commands? The original email only shows basic file conversion. When we use th

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Shubham Tiwari
Hi Ferdi, My use case is redaction of audio. To achieve this, our backend adds the filter to mute the audio in the ffmpeg command and then executes on audio files. For some audio files it's taking more than 30 seconds which is causing high cpu usage and low throughput. The problem in our scenario

Re: [FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Ferdi Scholten
Hi, When I run ffmpeg command on a wav file, the received output file is of large size as compared to the original file. The command and the output are below, *FFMPEG command* % ~/Downloads/audio/ffmpeg -i call-redacted.wav output.wav ffmpeg version 4.4.1-tessus https://evermeet.cx/ffmpeg/

[FFmpeg-user] What versions get point releases (active support)

2022-04-20 Thread B S
Hi I am a maintainer of https://endoflife.date/. It is a community-maintained project to document end-of-life dates, and support lifecycles of various products. We have ffmpeg listed there as well. With the latest stable releases of ffmpeg a discussion started about what versions get point rel

[FFmpeg-user] Large Sized output files recieved while encoding the audio

2022-04-20 Thread Shubham Tiwari
Hi, When I run ffmpeg command on a wav file, the received output file is of large size as compared to the original file. The command and the output are below, *FFMPEG command* % ~/Downloads/audio/ffmpeg -i call-redacted.wav output.wav ffmpeg version 4.4.1-tessus https://evermeet.cx/ffmpeg/ C

[FFmpeg-user] Hardware acceleration for converting PNGs into VP9

2022-04-20 Thread Klimek, Denis
Hi there, I’ve got an question regarding conversation from multiple PNGs into a VP9 movie. Currently we are doing this job with our CPU and this is quite slow… about 2.5fps in average and we have multiple movies to create every hour. My idea was to accelerate it via an dedicated graphic card whi