
Video
Some of the video processing capabilities are also available in the cli.
video probe
Section titled “video probe”Returns the result of ffprobe
in the console.
genaiscript video probe myvid.mp4
video extract-audio
Section titled “video extract-audio”Extracts the audio to a smaller format, optimized for transcription.
genaiscript video extract-audio myvid.mp4
video extract-frames
Section titled “video extract-frames”Extracts screenshots from the video. You can specify timestamps in seconds or h:mm:ss
, or a count of videos.
genaiscript video extract-video myvid.mp4