Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using FFprobe to output loudness data #57

Open
davidjmerritt opened this issue Dec 1, 2016 · 1 comment
Open

Using FFprobe to output loudness data #57

davidjmerritt opened this issue Dec 1, 2016 · 1 comment

Comments

@davidjmerritt
Copy link

Hello,

This is more of a question. Is there a way to use libebur128 in ffprobe to output the loudness information that loundorm outputs within ffmpeg?

Here is what I am doing now:

ffmpeg -i in.aif -filter_complex "[0a]loudnorm=I=-5:TP=0:LRA=1:print_format=json[lna]; [lna]alimiter=limit=.8: level=disable[a_1]" -map "[a_1]"  -b:a 48k -ar 16000 out.mp3

Outputting this:

{
	"input_i" : "-10.26",
	"input_tp" : "-1.05",
	"input_lra" : "2.56",
	"input_thresh" : "-20.34",
	"output_i" : "-7.77",
	"output_tp" : "+0.00",
	"output_lra" : "2.09",
	"output_thresh" : "-17.84",
	"normalization_type" : "dynamic",
	"target_offset" : "2.77"
}

What I would like to do is add that data to this command's output:

/usr/local/bin/ffprobe -i test.mp3 -v quiet -print_format json -show_format -show_streams

Thanks!
-D

@kylophone
Copy link
Contributor

This is a question for [email protected].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants