$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
This study proposes a multimodal supervised video summarizing method that falls into the generic video summarization category, commonly referred to as video skimming. This includes techniques that concentrate on finding key segments of a larger video to create a temporally condensed version of it. This study suggests a supervised technique to analyze the video stream in 1 s sections that include audio and visual representations, as shown in Figure 1. These segments are then categorized as either "uninteresting" or "informative". As opposed to synthetic or simulated data, "real data" now refers to the actual video datasets utilized for experiments. Video segments that provide important audio-visual signals necessary for summarization -- such as high motion, voice, or scene transitions -- are referred to as "informative segments." "Uninteresting" parts are defined as repetitious or redundant frames that do not add anything new to the synopsis.
The input videos are segmented into frames, and the multimodal features are extracted from each frame using the proposed GARNN model. The audio and visual features are fused and fed as input into the dimensionality reduction phase, where the redundant frames are removed for further processing. Finally, the proposed AELSTM is applied to the reduced data for video summarization. A supervised binary classifier trained with feature representations from the visual, audio, or mixed modalities, called multi-modalities, is used to achieve this.

Figure 1: Overview of the proposed video summarization model. The pipeline includes multimodal feature extraction, dimensionality reduction, and summary generation using AELSTM. Please click here to view a larger version of this figure.
Dataset
The effectiveness of the suggested solutions is determined using VSUMM17 and SumMe18 datasets, a pair of benchmark datasets in static video summarization. CNN features created using AlexNet with LSTM and real data are among the datasets. The real data and datasets are accessible to the general public19. The 50 films in the VSUMM dataset are from websites like YouTube and span 110 min at 30 frames per second. They come in a variety of genres, including cartoons, news, sports, advertising, TV series, and home videos. Among these, 25 videos consist of holidays, festivals, and sports that were obtained from the well-known YouTube site and tagged with at least 15 human-generated summaries (390 in total) make up the "SumMe"20 video summary dataset. The duration range of videos is 1-6 min.
The original video is converted into RGB images, which are fed as input into the pretrained proposed GARNN model for feature extraction. This model consists of AlexNet and a gated RNN. The original number of features is 64, and the features from AlexNet have 4100 features.
Proposed Gated-AlexNet-RNN based feature extraction
Both the visual and audio modes of information have been used to summarize the videos. To achieve a feature representation in both modalities, we identified hand-crafted features that are often used in audio and visual clustering and classification tasks, such as picture retrieval, video classification, auditory scene analysis, and music information retrieval. The goal was to include as many instructional visual and audio components as possible. Figure 2 shows a conceptual illustration of the process used to extract features for the audio and visual modalities.

Figure 2: Proposed multimodal GARNN-based feature extraction. Features from both visual and audio modalities are extracted using AlexNet and GARNN components. Please click here to view a larger version of this figure.
Gated- AlexNetRNN: (GARNN)
For virtual image analysis, CNN is a popular DL model21. In general, CNN uses the image as an input and divides it into several groups. Input neurons, a sequence of layers with convolutional pooling, layers that are completely linked, and normalizing layers make up its structure22. The convolution layer's neurons are connected to the preceding layer via a narrow region. The layers underneath them are fully connected to the activating neurons of the fully linked layers. Eqn (1) represents the forward and backward propagation of a fully connected function.
(1)
(2)
Where
is the activation of ith neuron in lth layer is,
is the gradient of ith neuron in lth layer,
is the weight of ith neuron in l+1th layer. Numerous CNN designs have emerged as a result of recent research advancements. AlexNet has been used in this work.
The architecture of AlexNet, shown in Figure 3, reflects a meticulous and well-structured design. Three completely connected layers and five convolution layers make up its eight learning layers. The class labels are produced by feeding the result of the last layer into the function that activates softmax. The second, fourth, or fifth tier kernels are connected to their antecedent levels via GPU sharing. The second and third layer kernels are fully connected to each other. The normalization layer is connected to the max pooling layers after the first and second levels. ReLU is linked to all learning layers.

Figure 3: Architecture of AlexNet. Five convolutional layers and three fully connected layers are used to process visual data in the summarization model. Please click here to view a larger version of this figure.
The primary backbone network for the work was a dense-layer GARNN. There are three layers in the thick RNN. With 80 neurons in the second layer and 170 in the first, it is made up of two fully connected (fc) layers. The following layers are batch normalization and dropout. The fc, the last layer, is made up of three neurons and is used to divide up the image. The dense layer, which comes after the LSTM, divides the area around the brain tumor. AlexNet gives the LSTM layer features. The dataset has a maximum of 20 slices, which is equal to the total number of sequences that have been declared. The first layer of the GARNN contains 100 hidden units, whereas the third layer contains 125 hidden units.
The gating mechanism was incorporated into the dense (completely linked) layer of AlexNet in our suggested GARNN-AE-LSTM framework. Convolutional feature maps are often processed by AlexNet and sent straight into fully connected layers for classification. All retrieved spatial characteristics, including redundant or less significant patterns, are treated equally by this method. We addressed this by introducing a gating function that functions as a feature filter and is based on a sigmoid. In mathematical terms, a gate vector g = σ(wX) + b, modulates the dense layer's output, with σ representing the sigmoid function. During training, this gate learns to give various feature activation weights ranging from 0 to 1. They are: (i) low gate values suppress irrelevant features (e.g., background noise or redundant textures). (ii) Higher gate values highlight discriminative features (such as important object regions or motion-sensitive patterns). (iii) This improved feature set is then used by the RNN component, which enables it to better capture temporal dependencies without getting sidetracked by irrelevant spatial information. (iv) Backpropagation is used to change the gating parameters during training in tandem with AlexNet and the RNN. This implies that over time, the model learns which aspects are most important for summarizing in addition to which features to extract.
In Figure 4, the variable X denotes the input data, C denotes the cell, and H denotes the hidden state.

Figure 4: Gated Recurrent Neural Network architecture (GARNN) model. The GARNN integrates batch normalization, dropout, and multiple dense layers for effective sequence modeling. Please click here to view a larger version of this figure.
In each block, the respective weights, such as Iw, Rw, and bias called input, recurrent weight, and bias, respectively, have been utilized as in Eqn (3) to Eqn (5)
(3)
(4)
(5)
At a certain time stamp t, the state of the cell is denoted as in Eqn (6)
(6)
Where
the product of Hadamard and the state of hidden unit is denoted as in Eqn (7)
(7)
Thus, it utilizes the py Audio Analysis module to compute segment-level audio characteristics for every audio clip that has been extracted from the corresponding video file, utilizing ffmpeg (https: //github.com/tyiannak/pyaudioanalysis)23. The extracted features are listed in Table 1. In accordance with this process, audio feature extraction is initially done on a temporary basis. The final part of the representation is composed of segment-level feature statistics that are calculated at a second level. Specifically, a short-term processing is performed for each segment of the audio signal, resulting in the computation of 68 short-term features (34 features and 34 deltas) for every segment-level window, which may be overlapping or non-overlapping. We have used a variety of visual characteristics to convey the content of the visual information in addition to extracting auditory elements from each video's sound signal. This modality is anticipated to be crucial to the summary process. The multimodal_movie_analysis library (https://github.com/tyiannak/multimodal_movie_analysis) has been used to extract features that reflect visual aspects of a video in order to extract these visual elements. Specifically, the 88 visual elements listed below are taken from the matching frame every 0.2 s. In this, the multimodal features are fused, and a total of 59 features are used for further analysis of classifying the video as informative and not interesting by doing the video summarization.
Feature reduction using PCA
The dimension of the features in this study has been reduced by the application of principal component analysis (PCA). The basic characteristics are transformed into key features in order to boost their prominence and importance. PCA has been widely used by numerous researchers in a variety of domains24. The eigenvalues are used to determine the properties. The highest eigenvalue features are selected, while the lowest eigenvalue features are removed.
Following the removal of superfluous frames, PCA is used in this study as an optional feature reduction step. PCA suppresses noise and redundant information by compressing the high-dimensional feature vectors produced by GARNN into a small subspace. This increases the AE-LSTM's computational efficiency while guaranteeing that keyframe detection is dominated by the most discriminative visual and aural clues. In order to balance scalability and accuracy in video summarization, PCA is utilized as a useful tool. The algorithm (Algorithm 1) is provided as Supplementary File 1.
Any frame that is exactly the same as or strikingly comparable to the preceding frame is considered redundant. It is obvious that changing the framerate can have an impact on the proportion of removed video frames. More specifically, as frame rates increase, the similarity between successive frames increases as well, leading to a higher percentage of frames being removed. Now, the dimensionality-reduced features are used to train the ML model, which is called the adversarial AE-LSTM model.
Training using AELSTM
A neural network called a GAN25 is made up of two rival subnetworks: i) a "generator" network (G) that creates data that resembles an unknown distribution, and ii) a "discriminator" network (D) that distinguishes between the created samples and those from actual observations. The aim is to find a generator that maximizes the likelihood of the discriminator committing a mistake while fitting the actual data distribution.
Assume X is the input and E is the prior input noise, X’= g(E) is the sample generated. Using the minimax optimization, learning is formulated:
(8)
Where D is qualified to obtain the correct probability of the classification. The components of our developed training model are shown in Figure 5. The selector LSTM chooses the frames subset from the input video sequence X. The selected frames are converted into fixed-length feature E using the encoder-LSTM, followed by the video reconstruction X' using the decoder-LSTM. The classification of X' into real video or summary class is performed by the discriminator-LSTM. In this study, AE-LSTM is used for video summarization with GAN structure for efficient, diverse, and structured video summaries. The AE can eliminate the unnecessary background changes, and the LSTM can detect the scene transitions rather than treating the frames as images, and the GAN, the generator can summarize the video, and the discriminator ensures the summary is diverse

Figure 5: Architecture of the AELSTM summarization model. Includes Selector-LSTM, Encoder-LSTM, Decoder-LSTM, and Discriminator-LSTM to optimize video summaries via adversarial training. Please click here to view a larger version of this figure.
By giving the GARNN features for each frame in the input video X called
, the summarizer utilizes the Selector LSTM to choose the frames subset, and the encoder encodes the frames as E followed by the decoder reconstructing the video as X' at each frame xt. The selector utilizes the importance score when selecting the frame. The features are given by the weight value using the scores, and then move onto the encoder. For each frame with score st = 1, the subset is only received by the encoder. The discriminator chooses the classes as original or summary by estimating the distance between X and X' and assigning the labels. In this case, the discriminator computes the error between the original and summary videos. Algorithm 2 (Supplementary File 2) denotes the summarization of the training of AELSTM for video summarization.
Post-processing – Video summarization
Video summaries can be produced by segment-level classifiers once they have been trained. Three steps are involved in achieving this: (i) Determine each video segment's audio, visual, or blended characteristics. (ii) Classify each video segment using the appropriate audio, visual, or fusion classifier. (iii) To prevent glaring mistakes, post-process the orderly classifier predictions.
To meet this demand, a pipeline consisting of two distinct filters has been developed for the post-processing step. The input array is first subjected to a median filter of length N1 utilizing local windows in order to smooth the sequential classifier predictions. The final predictions are then determined by hard filtering using a straightforward method that maintains a series of consecutively positive predictions (informative segments) if at least N2 segments are included in that sequence. Stated differently, that criterion requires an instructive segment to last at least N2 seconds.