Skip to content

Video

Some of the video processing capabilities are also available in the cli.

video probe

Returns the result of ffprobe in the console.

Terminal window
genaiscript video probe myvid.mp4

video extract-audio

Extracts the audio to a smaller format, optimized for transcription.

Terminal window
genaiscript video extract-audio myvid.mp4

video extract-frames

Extracts screenshots from the video. You can specify timestamps in seconds or h:mm:ss, or a count of videos.

Terminal window
genaiscript video extract-video myvid.mp4