From bd3b07ddbf87c9e6bb744d26bb5650807013828c Mon Sep 17 00:00:00 2001 From: Spencer Brower Date: Mon, 29 Dec 2025 14:55:00 -0500 Subject: [PATCH] docs: Fixed Error in README.md --- README.md | 2 +- examples/convert-to-30-fps-with-filterchain.nu | 4 ++-- examples/ffprobe.nu | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 899eaa3..59f3d9e 100644 --- a/README.md +++ b/README.md @@ -204,7 +204,7 @@ Would run: # Re-encode the video to 30fps, specifying input and output streams ( fmpeg cmd ['https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4'] [] - | filterchain -i ['0'] -o ['video'] { fps 30 } + | filterchain --input ['0'] --output ['video'] { fps 30 } | ffmpeg run ) diff --git a/examples/convert-to-30-fps-with-filterchain.nu b/examples/convert-to-30-fps-with-filterchain.nu index 387e205..05a0d6c 100755 --- a/examples/convert-to-30-fps-with-filterchain.nu +++ b/examples/convert-to-30-fps-with-filterchain.nu @@ -9,7 +9,7 @@ def main []: nothing -> any { print '# Re-encode the video to 30fps, specifying input and output streams' print '(' print ' fmpeg cmd ['https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4'] []' - print " | filterchain -i ['0'] -o ['video'] { fps 30 }" + print " | filterchain --input ['0'] --output ['video'] { fps 30 }" print ' | ffmpeg run' print ')' print '' @@ -17,7 +17,7 @@ def main []: nothing -> any { ( ffmpeg cmd ['https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4'] [] - | filterchain -i ['0'] -o ['video'] { fps 30 } + | filterchain --input ['0'] --output ['video'] { fps 30 } | ffmpeg cmd to-args | ['ffmpeg' ...$in] ) diff --git a/examples/ffprobe.nu b/examples/ffprobe.nu index 99dc07d..ef9b3f2 100755 --- a/examples/ffprobe.nu +++ b/examples/ffprobe.nu @@ -5,5 +5,5 @@ use ../ffprobe; def main [] { print "# Return a table from ffprobe" print "> ffprobe https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4" - ffprobe $'($env.FILE_PWD)/videos/sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4' + ffprobe $'($env.FILE_PWD)/videos/sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4' | table -e }