mirror of
https://github.com/sbrow/nu-ffmpeg.git
synced 2025-12-29 16:23:11 -05:00
docs: Fixed Error in README.md
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
@@ -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]
|
||||
)
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user