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

filter output #23

Open
jjgordon7109 opened this issue Jun 28, 2020 · 1 comment
Open

filter output #23

jjgordon7109 opened this issue Jun 28, 2020 · 1 comment

Comments

@jjgordon7109
Copy link

Not an issue, but a request. Your library is very nice, elegant, thanks for providing! Background: I compiled FFmpeg 4.2.2 using msys2 / gcc7.3.0. I compiled ffmpeg-cpp into a DLL using Qt and gcc7.3.0. Examples I have compiled are working well. I am interested in audio filters. I have started with the filtering_audio example. How do I get the output of each filter? For example, loudnorm uses a 2-pass approach (see http://k.ylo.ph/2016/04/04/loudnorm.html), where you parse the output of the first pass, and use those parameters in the second. Would appreciate if you can provide guidance.

@jjgordon7109
Copy link
Author

Ok, I redirected stderr to a callback using solution at https://stackoverflow.com/questions/31181618/how-to-enable-the-ffmpeg-logging/31183796. This allows filter output to be collected. Next problem: loudnorm filter requires first pass to be run with no output file ("-f null -"). How to do this using ffmpeg-cpp?

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

1 participant