Patent ID: 11900683
Assignee: SNAP INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 0:
1. A method, comprising:
determining plural shot boundaries for a video, each shot boundary defining a shot corresponding to a contiguous sequence of video frames that is free of cuts or transitions; and
for each shot boundary of the plural shot boundaries,
performing a set of breakpoint tests on the shot boundary, each breakpoint test configured to return a respective score indicating whether the shot boundary corresponds to a breakpoint for potential insertion of an ad during playback of the video,
calculating a combined score for the shot boundary based on combining the each of the respective scores, and
setting, in a case where the combined score meets a threshold value, the shot boundary as the breakpoint,
wherein the set of breakpoint tests includes an audio frequency histogram test configured to:
determine audio frequency histograms for adjacent shots corresponding to the shot boundary;
detect, based on the audio frequency histograms, a threshold difference in audio content between the adjacent shots; and
return the respective score indicating that the shot boundary corresponds to the breakpoint based on the detecting.