Learn R Programming

Rbgs (version 0.2)

totalframe: Total number of frames in a video.

Description

This function takes as input URL of the video. This function returns total number of frames contained in the video file.

Usage

totalframe(videoURL)

Arguments

videoURL

Path to the input video file

Value

count total no of frames in a video.

Examples

Run this code
# NOT RUN {
##Save the URL of the video file into R session and then load videoframes
videoURL <- system.file("extdata","daria_skip.avi",package = "Rbgs")
no_of_frames <- totalframe(videoURL)
# }

Run the code above in your browser using DataLab