docs: Moved examples to bottom of README.md.

This commit is contained in:
Spencer Brower
2024-03-03 01:02:31 -05:00
parent 674406054b
commit de46159a10
7 changed files with 104 additions and 101 deletions

View File

@@ -2,8 +2,8 @@
use ../ffprobe ["main" "dimensions" "streams video"];
# Extract the dimensions of a video stream
def main [] {
echo "# Extract the dimensions of a video stream"
echo "> ffprobe https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4 | streams video | first | dimensions"
ffprobe $'($env.FILE_PWD)/videos/sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4'
| streams video | first | dimensions