docs: Fixed Error in README.md

This commit is contained in:
2025-12-29 14:55:00 -05:00
parent a9264aa2f0
commit bd3b07ddbf
3 changed files with 4 additions and 4 deletions

View File

@@ -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
)

View File

@@ -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]
)

View File

@@ -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
}