Re: [FFmpeg-user] Write audio volume info to file

2023-02-16 Thread Nicolas George
Alexander Bieliaev via ffmpeg-user (12023-02-16):
> At best, I would like to get an average audio volume. The problem with
> using the volumedetect filter for me is that I'm using the ffmpeg library
> for c#

Condolences.

> and I can't see the ffmpeg console output,

Install a custom log handler.

I grant you there is a need for a better API to extract data from
filters. But volumedetect is fast but inaccurate. ebur128 can set up
metadata to return the volume.

> so I want to write data to a file.

Redirecting outputs is system programming, it is not related to FFmpeg.

> On Thu, Feb 16, 2023 at 1:44 PM Michael Koch 
> wrote:

Top-posting is forbidden on FFmpeg lists; if you do not know what it
means, look it up.

Regards,

-- 
  Nicolas George
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Write audio volume info to file

2023-02-16 Thread Alexander Bieliaev via ffmpeg-user
At best, I would like to get an average audio volume. The problem with
using the volumedetect filter for me is that I'm using the ffmpeg library
for c# and I can't see the ffmpeg console output, so I want to write data
to a file.

On Thu, Feb 16, 2023 at 1:44 PM Michael Koch 
wrote:

> Am 16.02.2023 um 12:31 schrieb Alexander Bieliaev via ffmpeg-user:
> > How can I analyze the volume of input audio (in dB) and write that to the
> > text file?
> >
>
> If you want to know the mean and maximum volume in the whole stream,
> that can be done with the volumedetect filter. Or do you want to know
> the volume as a function over time?
>
> Michael
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>

-- 
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify the system manager. 
Please note that any views or opinions presented in this email are solely 
those of the author and do not necessarily represent those of the company. 
Finally, the recipient should check this email and any attachments for the 
presence of viruses. The company accepts no liability for any damage caused 
by any virus transmitted by this email. 

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Write audio volume info to file

2023-02-16 Thread Michael Koch

Am 16.02.2023 um 12:31 schrieb Alexander Bieliaev via ffmpeg-user:

How can I analyze the volume of input audio (in dB) and write that to the
text file?



If you want to know the mean and maximum volume in the whole stream, 
that can be done with the volumedetect filter. Or do you want to know 
the volume as a function over time?


Michael

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-user] Write audio volume info to file

2023-02-16 Thread Alexander Bieliaev via ffmpeg-user
How can I analyze the volume of input audio (in dB) and write that to the
text file?

-- 
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify the system manager. 
Please note that any views or opinions presented in this email are solely 
those of the author and do not necessarily represent those of the company. 
Finally, the recipient should check this email and any attachments for the 
presence of viruses. The company accepts no liability for any damage caused 
by any virus transmitted by this email. 

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".