mirror of
https://github.com/sbrow/nu-ffmpeg.git
synced 2025-12-29 16:23:11 -05:00
14 lines
460 B
Nu
Executable File
14 lines
460 B
Nu
Executable File
#!/usr/bin/env nu
|
|
|
|
use ../ffprobe;
|
|
|
|
# Use ffprobe on mutliple files at once
|
|
def main [] {
|
|
echo "> ffprobe https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4 https://sample-videos.com/video321/mkv/720/big_buck_bunny_720p_1mb.mkv"
|
|
(
|
|
ffprobe
|
|
$'($env.FILE_PWD)/videos/sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4'
|
|
$'($env.FILE_PWD)/videos/sample-videos.com/video321/mkv/720/big_buck_bunny_720p_1mb.mkv'
|
|
)
|
|
}
|