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
|
# 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'] []
|
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
|
| ffmpeg run
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ def main []: nothing -> any {
|
|||||||
print '# Re-encode the video to 30fps, specifying input and output streams'
|
print '# Re-encode the video to 30fps, specifying input and output streams'
|
||||||
print '('
|
print '('
|
||||||
print ' fmpeg cmd ['https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4'] []'
|
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 ' | ffmpeg run'
|
||||||
print ')'
|
print ')'
|
||||||
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'] []
|
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 cmd to-args
|
||||||
| ['ffmpeg' ...$in]
|
| ['ffmpeg' ...$in]
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ use ../ffprobe;
|
|||||||
def main [] {
|
def main [] {
|
||||||
print "# Return a table from ffprobe"
|
print "# Return a table from ffprobe"
|
||||||
print "> ffprobe https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4"
|
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