From 323999041ed0c9dad0b92b9301db2942f3a11052 Mon Sep 17 00:00:00 2001 From: Alex Butler Date: Thu, 25 Jul 2024 22:52:45 +0100 Subject: [PATCH] Add Debug section to readme --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index ffb2127..e30630a 100644 --- a/README.md +++ b/README.md @@ -90,5 +90,12 @@ cargo install --git https://github.com/alexheretic/ab-av1 `ffmpeg` should be in `$PATH`. +## Debug +Enable debug logs by setting env var `RUST_LOG=ab_av1=debug`. This includes all ffmpeg calls. + +``` +$ RUST_LOG=ab_av1=debug ab-av1 auto-encode -i vid.mkv +``` + ## Minimum supported rust compiler Maintained with [latest stable rust](https://gist.github.com/alexheretic/d1e98d8433b602e57f5d0a9637927e0c).