Patent ID: 11412023

Abstract:
The present disclosure discloses a video description generation method and apparatus, a video playing method and apparatus, and a computer-readable storage medium. The method includes: extracting video features, and obtaining a video feature sequence corresponding to video encoding moments in a video stream; encoding the video feature sequence by using a forward recurrent neural network and a backward recurrent neural network, to obtain a forward hidden state sequence and a backward hidden state sequence corresponding to each video encoding moment; and positioning, according to the forward hidden state sequence and the backward hidden state sequence, an event corresponding to each video encoding moment and an interval corresponding to the event at the video encoding moment, thereby predicting a video content description of the event. On the basis of distinguishing overlapping events, the interval corresponding to the event is introduced to predict and generate a word corresponding to the event at the video encoding moment, and events that overlap at the video encoding moment correspond to different intervals, so that the video content descriptions of events at this video encoding moment have a high degree of distinction. By analogy, events in the given video stream can be described more distinctively.