CN105469381B - Information processing method and terminal - Google Patents

Information processing method and terminal Download PDF

Info

Publication number
CN105469381B
CN105469381B CN201410461497.7A CN201410461497A CN105469381B CN 105469381 B CN105469381 B CN 105469381B CN 201410461497 A CN201410461497 A CN 201410461497A CN 105469381 B CN105469381 B CN 105469381B
Authority
CN
China
Prior art keywords
video file
preset
video
target picture
screenshot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410461497.7A
Other languages
Chinese (zh)
Other versions
CN105469381A (en
Inventor
王文涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410461497.7A priority Critical patent/CN105469381B/en
Publication of CN105469381A publication Critical patent/CN105469381A/en
Application granted granted Critical
Publication of CN105469381B publication Critical patent/CN105469381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention discloses an information processing method and a terminal; wherein the method comprises the following steps: acquiring and analyzing a video file to acquire attribute parameters of the video file; determining the starting time of screenshot according to the attribute parameters of the video file; capturing the video file by utilizing a first preset mode based on the starting time to obtain a target picture; and judging whether the target picture meets a preset condition, and storing the target picture when the target picture meets the preset condition.

Description

Information processing method and terminal
Technical Field
The present invention relates to communications technologies, and in particular, to an information processing method and a terminal.
Background
In the process of implementing the technical solution of the embodiment of the present application, the inventor of the present application finds at least the following technical problems in the related art:
under the condition that the content generated by the user is gradually taken as a mainstream form of the internet, how to better and automatically organize and display the content generated by the user is an urgent problem to be solved. In the video field, automatic screenshot of video content by a user is a relatively common way for the user to generate the content. The conventional screenshot of video content generally adopts the following two ways: one way is through manual editing, namely the user edits the video file, sample some frame of video file thus obtain the screenshot; the other mode is that the terminal sends a screenshot instruction to the server, and the server samples a certain frame of the video file to obtain the screenshot.
Then, the first screenshot method requires a large amount of human resources; the second screenshot mode requires the server to sample the video file, and consumes a certain time in the process of sending an instruction from the terminal to the server and in the process of carrying out screenshot processing logic by the server, and the screenshot obtained by the server is often not the screenshot desired by the user.
If an information processing scheme is provided, the user interference is not needed, namely, the user does not need to manually carry out video capture, the video capture logic does not need to be executed through a server side, and the automatic control of the video capture can be realized only through a terminal. However, in the related art, there is no effective solution to this problem.
Disclosure of Invention
In view of this, embodiments of the present invention are intended to provide an information processing method and a terminal, which can implement intelligent screenshot of a video file on a terminal side.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides an information processing method, which comprises the following steps:
acquiring and analyzing a video file to acquire attribute parameters of the video file;
determining the starting time of screenshot according to the attribute parameters of the video file;
capturing the video file by utilizing a first preset mode based on the starting time to obtain a target picture;
and judging whether the target picture meets a preset condition, and storing the target picture when the target picture meets the preset condition.
In the above scheme, the target picture satisfies a preset condition, including:
generating a gray picture from the target picture in a preset conversion mode;
determining the gray value of each pixel point in the gray picture;
counting the number of pixel points according to a preset gray scale interval,
and when the ratio of the number of the pixel points in all the gray scale intervals to the number of all the pixel points does not reach the preset threshold value, determining that the target picture meets the preset condition.
In the foregoing solution, before the screenshot is performed on the video file in a first preset manner based on the start time, the method further includes:
setting a first parameter; the first parameter includes: a time interval for capturing the video file, and a time interval for capturing the video file.
In the foregoing solution, the capturing the video file in a first preset manner based on the start time to obtain a target picture includes:
based on the time interval and the starting time, capturing the video file in the time interval by using the first preset mode to obtain M frames of target pictures; m is a positive integer;
correspondingly, the saving the target picture includes:
saving N frames of target pictures; n is a positive integer; and the N frames of target pictures are target pictures meeting the preset conditions in the M frames of target pictures.
In the above scheme, the method further comprises: and generating a dynamic picture from the N frames of target pictures according to a second preset mode.
In the above scheme, the attribute parameter of the video file is the duration of the video file;
the determining the start time of the screenshot according to the attribute parameters of the video file comprises the following steps:
determining the type of the video file according to the duration of the video file, and determining the starting time of screenshot according to the preset empirical value of each video file.
In the above scheme, the video file is an MP4 file or a streaming media (HLS) file.
An embodiment of the present invention further provides a terminal, where the terminal includes: the device comprises an acquisition unit, a screenshot unit, a judgment unit and a storage unit; wherein the content of the first and second substances,
the acquisition unit is used for acquiring and analyzing a video file to acquire the attribute parameters of the video file;
the screenshot unit is used for determining the starting time of screenshot according to the attribute parameters of the video file acquired by the acquisition unit; capturing the video file by utilizing a first preset mode based on the starting time to obtain a target picture;
the judging unit is used for judging whether the target picture obtained by the screenshot unit meets a preset condition or not;
the storage unit is used for saving the target picture when the judging unit determines that the target picture meets the preset condition.
In the above scheme, the determining unit is configured to generate a grayscale picture from the target picture through a preset conversion manner; determining the gray value of each pixel point in the gray picture; counting the number of pixel points according to a preset gray scale interval, and determining that the target picture meets the preset condition when the ratio of the number of the pixel points in all the gray scale intervals to the number of all the pixel points does not reach the preset threshold.
In the above scheme, the terminal further includes a setting unit, configured to set a first parameter before the screenshot unit performs screenshot on the video file based on the start time in a first preset manner; the first parameter includes: a time interval for capturing the video file, and a time interval for capturing the video file.
In the above scheme, the screenshot unit is configured to capture a screenshot of the video file in the time interval by using the first preset mode based on the time interval and the start time set by the setting unit, so as to obtain M target pictures; m is a positive integer;
correspondingly, the judging unit is used for judging whether the M frames of target pictures obtained by the screenshot unit meet preset conditions to obtain a judgment result;
the storage unit is used for storing the N frames of target pictures when the judgment result obtained by the judgment unit is that the N frames of target pictures meet the preset condition; and the N frames of target pictures are target pictures meeting the preset conditions in the M frames of target pictures.
In the foregoing solution, the terminal further includes a generating unit, configured to generate a dynamic picture from the N frames of target pictures stored in the storage unit according to a second preset mode.
In the above scheme, the attribute parameter of the video file is the duration of the video file;
the screenshot unit is used for determining the type of the video file according to the duration of the video file and determining the starting time of screenshot according to the preset empirical value of each video file.
In the above scheme, the video file is an MP4 file or an HLS file.
According to the information processing method and the terminal provided by the embodiment of the invention, the video file is obtained and analyzed through the terminal, and the attribute parameters of the video file are obtained; determining the starting time of screenshot according to the attribute parameters of the video file; capturing the video file by utilizing a first preset mode based on the starting time to obtain a target picture; and judging whether the target picture meets a preset condition, and storing the target picture when the target picture meets the preset condition. Therefore, the intelligent screenshot of the video file on the terminal side is realized, the screenshot of the video file on the terminal can be realized without manual operation, and the human resources are greatly saved; and the video screenshot logic does not need to be executed through the server, so that the time delay caused by video screenshot performed by the server is avoided, and the user experience is improved.
Drawings
Fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention;
FIGS. 2a to 2f are schematic diagrams illustrating whether a target image satisfies a predetermined condition according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating an information processing method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating an information processing method according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention;
fig. 6 is a schematic diagram of a first structure of a terminal according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a second structure of the terminal according to the embodiment of the present invention;
fig. 8 is a schematic diagram of a third structure of the terminal according to the embodiment of the present invention.
Detailed Description
The following describes the embodiments in further detail with reference to the accompanying drawings.
Example one
The embodiment of the invention provides an information processing method; the information processing method is applied to the terminal; fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention; as shown in fig. 1, the method includes:
step 101: and acquiring and analyzing the video file to acquire the attribute parameters of the video file.
Here, the existence form of the video file mainly includes two ways: one way is in the form of a local file, i.e. the video file is already completely stored locally at the terminal; the other mode is a remote file mode, namely, a video file is stored on a remote server, and an end user is connected with the remote server through a browser or a client to watch the video file.
The information processing method provided by the embodiment of the invention supports two video formats: MP4 or HLS; when the video file exists in the form of a local file, the video file has a local access address, for example: file// var/mobile/Application/FASLDKW-2323JSD-34SNDFJ-34453M/Documents/d ownloads/1.mp 4; when the video file exists in a remote file form, the video file has a network access address, and a terminal can access the video file through the network access address; specifically, the network access address may be represented by a Uniform Resource Locator (URL); for example: the URL of the video file may be: http:// video. qq.com/12333/2222/1.m3u 8. Therefore, in this step, the obtaining a video file includes: determining the format of the video file according to the access address of the video file, and acquiring the video file when determining that the format of the video file is MP4 or HLS. Specifically, the terminal may determine the format of the video file according to a suffix of an access address of the video file, and if the suffix of the video file in the form of a local file shown in this embodiment is ". mp 4", the video file is determined to be an mp4 video file; if the suffix of the video file in the form of a remote file shown in this embodiment is ". m3u 8", the video file is determined to be an HLS file. In addition, when the video file exists in the form of a local file, the format of the video file may also be determined according to a suffix of the file name of the video file, and if the file name of the video file is "1. mp 4", it means that the file name of the video file is "1", and the file format is mp 4.
Preferably, when the video file exists in a form of a remote file, the obtaining the video file further includes: and downloading the video file.
Here, the attribute parameter of the video file includes a duration of the video file; the analyzing the video file to obtain the attribute parameters of the video file includes: analyzing the video file, obtaining information such as the size and the encoding rate of the video file, and determining the duration of the video file according to the size and the encoding rate of the video file, namely obtaining the attribute parameters of the video file.
Step 102: and determining the starting time of the screenshot according to the attribute parameters of the video file.
Here, the determining the start time of the screenshot according to the attribute parameters of the video file includes:
determining the type of the video file according to the duration of the video file, and determining the starting time of screenshot according to the preset empirical value of each video file.
Specifically, the video files can be divided into three types according to the duration of the video files: short videos, episode-type videos, and movie-type videos; wherein, the video file with the duration less than 20 minutes can be determined as a short video; a video file with the duration between 20 minutes and 60 minutes can be determined as an episode type video; a video file having a duration of more than 100 minutes may be determined as a movie type video. The start time may be determined based on empirical values of the leader length and the advertisement length of the short video, the episode-type video, and the movie-type video, respectively, e.g., the start time of the short video may be determined to be 15 seconds of the start time; the start time of the episode-type video may be determined to be 120 seconds from the start time; the start time of the movie type video may be determined to be 180 seconds from the start time.
Step 103: and carrying out screenshot on the video file by utilizing a first preset mode based on the starting time to obtain a target picture.
In this embodiment, if the first predetermined manner is FFMPEG, the step may also be: and capturing the video file by utilizing FFMPEG based on the starting time to obtain a target picture.
Step 104: and judging whether the target picture meets a preset condition, and storing the target picture when the target picture meets the preset condition.
Here, the target picture satisfies a preset condition, including:
generating a gray picture from the target picture in a preset conversion mode;
determining the gray value of each pixel point in the gray picture;
counting the number of pixel points according to a preset gray scale interval, and determining that the target picture does not meet the preset condition when the ratio of the number of the pixel points in any gray scale interval to the number of all the pixel points reaches a preset threshold;
and when the ratio of the number of the pixel points in all the gray scale intervals to the number of all the pixel points does not reach the preset threshold value, determining that the target picture meets the preset condition.
Specifically, the gray value range in the gray image is 0 to 255; in this embodiment, the gray value range may be divided into 10 intervals on average, that is, gray value statistics may be performed every 25.5 gray unit intervals; if the gray value range is divided into 10 intervals on average: [0,25.5>, [25.5,51>, [51,76.5>, [76.5,102>, [102,127.5>, [127.5,153>, [153,178.5>, [178.5,204>, [204,229.5> and [229.5,255 ]; wherein "[" means equal to or greater than; "]" means equal to or less than; ">" means less than; counting the number of pixel points in the ten gray value intervals, comparing the number of the pixel points in the ten gray value intervals with the number of all the pixel points of the target image to obtain the percentage of the number of the pixel points in each gray value interval to the number of all the pixel points, and when the percentage of any gray value interval exceeds a preset threshold (the preset threshold is 50%), determining that the target image does not meet the preset condition; when the percentage of all gray value intervals does not exceed the preset threshold (the preset threshold is 50%), the target image meets the preset condition.
FIGS. 2a to 2f are schematic diagrams illustrating whether a target image satisfies a predetermined condition according to an embodiment of the present invention; in this example, the preset threshold is 50%. As shown in fig. 2a, the ratio of the number of pixels in the gray scale value interval to the total number of pixels in the image is up to 95%, and it is determined that the image does not satisfy the preset condition; as shown in fig. 2b, the ratio of the number of pixels in the gray scale value interval to the total number of pixels in the image is up to 73%, and it is determined that the image does not satisfy the preset condition; as shown in fig. 2c, the ratio of the number of pixels in the gray scale value interval to the total number of pixels in the image is up to 42%, and it is determined that the image satisfies the preset condition; as shown in fig. 2d, the ratio of the number of pixels in the gray scale value interval to the total number of pixels in the image is up to 46%, and it is determined that the image satisfies the preset condition; as shown in fig. 2e, the ratio of the number of pixels in the gray scale value interval to the total number of pixels in the image is up to 37%, and it is determined that the image satisfies the preset condition; as shown in fig. 2f, the ratio of the number of pixels in the gray scale value interval to the total number of pixels in the image is up to 24%, and it is determined that the image does not satisfy the preset condition.
In this embodiment, when the target picture meets the preset condition, it is described that the content of the target picture is richer, and the target picture is saved as a video screenshot by excluding the case that the target picture is a black screen frame, a monotone picture frame, and the like.
The embodiment of the invention provides a video screenshot scheme, which is used for obtaining a target picture; in a preferred implementation manner of the embodiment of the present invention, before the screenshot of the video file in a first preset manner based on the start time, the method further includes:
setting a first parameter; the first parameter includes: a time interval for capturing the video file, and a time interval for capturing the video file.
Here, the time interval for capturing the video file is, for example: the length of the video file is 50 minutes, and the time interval can be set from 3 minutes to 45 minutes; the time interval for capturing the video file is, for example: screenshot x frames per second; x is a positive integer; certainly, the time interval of the screenshot and the time interval of the screenshot are not limited to the above setting; the first parameter can be preset through a terminal, or can be manually set by a user before the video screenshot.
Further, based on the time interval and the starting time, capturing the video file in the time interval by using the first preset mode to obtain M frames of target pictures; m is a positive integer;
judging whether the M frames of target pictures meet preset conditions or not;
saving N frames of target pictures; n is a positive integer; and the N frames of target pictures are target pictures meeting the preset conditions in the M frames of target pictures.
Here, the implementation methods of obtaining the M-frame target pictures and storing the N-frame target pictures are the same as those of steps 103 to 104 in the first embodiment, and are not described herein again; in the present embodiment, based on the set time interval of the screenshot, M frames of target pictures are obtained in the set time interval of the screenshot, and N frames of target pictures meeting the preset condition are stored.
And further, generating a dynamic picture by the N frames of target pictures according to a second preset mode.
Here, a Graphic exchange Format (GIF) moving picture can be generated from the N frames of target pictures by a preset picture processing tool (e.g., PHOTOSHOP).
By adopting the technical scheme of the embodiment of the invention, the intelligent screenshot of the video file on the terminal side is realized, the screenshot of the video file on the terminal can be realized without manual operation, and the human resources are greatly saved; and the video screenshot logic does not need to be executed through the server, so that the time delay caused by video screenshot performed by the server is avoided, and the user experience is improved.
The following describes embodiments of the present invention in further detail by taking specific application scenarios as examples.
Example two
The embodiment of the invention also provides an information processing method; in this embodiment, the video file is in a remote file mode, that is, the video file is stored on a remote server, and the format of the video file is MP4 format; FIG. 3 is a flowchart illustrating an information processing method according to a second embodiment of the present invention; as shown in fig. 3, the method includes:
step 201: analyzing the URL of the video file, determining the type of the video file to be MP4, and downloading the video file.
Here, the video file is stored on a remote server, the video file has a network access address, and a terminal can access the video file through the network access address; specifically, the network access address may be represented by a URL; for example: the URL of the video file may be: http:// video.qq.com/12333/2222/1.mp 4; the terminal analyzes the URL of the video file, and may determine the format of the video file according to the suffix of the access address of the video file, for example, the suffix of the video file in the form of a remote file shown in this embodiment is ". MP 4", and determines that the video file is an MP4 video file; and downloading the video file based on the URL of the video file.
Step 202: and analyzing the video file to obtain the attribute parameters of the video file.
Here, the attribute parameter of the video file includes a duration of the video file; the analyzing the video file to obtain the attribute parameters of the video file includes: analyzing the video file, obtaining information such as the size and the encoding rate of the video file, and determining the duration of the video file according to the size and the encoding rate of the video file, namely obtaining the attribute parameters of the video file.
Step 203: and determining the starting time of the screenshot according to the attribute parameters of the video file.
Here, the determining the start time of the screenshot according to the attribute parameters of the video file includes:
determining the type of the video file according to the duration of the video file, and determining the starting time of screenshot according to the preset empirical value of each video file.
Specifically, the video files can be divided into three types according to the duration of the video files: short videos, episode-type videos, and movie-type videos; wherein, the video file with the duration less than 20 minutes can be determined as a short video; a video file with the duration between 20 minutes and 60 minutes can be determined as an episode type video; a video file having a duration of more than 100 minutes may be determined as a movie type video. The start time may be determined based on empirical values of the leader length and the advertisement length of the short video, the episode-type video, and the movie-type video, respectively, e.g., the start time of the short video may be determined to be 15 seconds of the start time; the start time of the episode-type video may be determined to be 120 seconds from the start time; the start time of the movie type video may be determined to be 180 seconds from the start time.
Step 204: and capturing the video file by utilizing FFMPEG based on the starting time to obtain a target picture.
Step 205: judging whether the target picture meets a preset condition, and if so, executing a step 206; when the result of the determination is negative, step 207 is performed.
Here, the target picture satisfies a preset condition, including:
generating a gray picture from the target picture in a preset conversion mode;
determining the gray value of each pixel point in the gray picture;
counting the number of pixel points according to a preset gray scale interval, and determining that the target picture does not meet the preset condition when the ratio of the number of the pixel points in any gray scale interval to the number of all the pixel points reaches a preset threshold;
and when the ratio of the number of the pixel points in all the gray scale intervals to the number of all the pixel points does not reach the preset threshold value, determining that the target picture meets the preset condition.
Specifically, the gray value range in the gray image is 0 to 255; in this embodiment, the gray value range may be divided into 10 intervals on average, that is, gray value statistics may be performed every 25.5 gray unit intervals; if the gray value range is divided into 10 intervals on average: [0,25.5>, [25.5,51>, [51,76.5>, [76.5,102>, [102,127.5>, [127.5,153>, [153,178.5>, [178.5,204>, [204,229.5> and [229.5,255 ]; wherein "[" means equal to or greater than; "]" means equal to or less than; ">" means less than; counting the number of pixel points in the ten gray value intervals, comparing the number of the pixel points in the ten gray value intervals with the number of all the pixel points of the target image to obtain the percentage of the number of the pixel points in each gray value interval to the number of all the pixel points, and when the percentage of any gray value interval exceeds a preset threshold (the preset threshold is 50%), determining that the target image does not meet the preset condition; when the percentage of all gray value intervals does not exceed the preset threshold (the preset threshold is 50%), the target image meets the preset condition.
Step 206: and saving the target picture, and ending the screenshot.
In this embodiment, when the target picture meets the preset condition, it is described that the content of the target picture is richer, and the target picture is saved as a video screenshot by excluding the case that the target picture is a black screen frame, a monotone picture frame, and the like.
Step 207: the start time of the video file is reselected, and step 204 to step 205 are further performed.
In this embodiment, when the target picture does not satisfy the preset condition, the start time is reselected, that is, step 204 to step 205 are executed again; the reselection starting time can be delayed for a preset time period according to the initially determined starting time; for example, the first determined start time is 180 seconds of the video file, the newly selected start time may be determined to be 180 seconds +5 seconds of the video file (the 5 seconds is a preset time period and is not limited to the current value).
The technical scheme provided by the embodiment is applied to a far-end file mode scene, and the video file is an MP4 video file; when the MP4 video file exists in the local file mode, step 202 to step 207 are directly performed without downloading the video file.
By adopting the technical scheme of the embodiment of the invention, the intelligent screenshot of the video file on the terminal side is realized, the screenshot of the video file on the terminal can be realized without manual operation, and the human resources are greatly saved; and the video screenshot logic does not need to be executed through the server, so that the time delay caused by video screenshot performed by the server is avoided, and the user experience is improved.
EXAMPLE III
The embodiment of the invention also provides an information processing method; in this embodiment, the video file is in a remote file mode, that is, the video file is stored in a remote server, and the format of the video file is in an HLS format; FIG. 4 is a flowchart illustrating an information processing method according to a third embodiment of the present invention; as shown in fig. 4, the method includes:
step 301: analyzing the URL of the video file, determining that the type of the video file is HLS, and downloading the video file; wherein the video file is stored in a video file fragment form.
Here, the video file is stored on a remote server, the video file has a network access address, and a terminal can access the video file through the network access address; specifically, the network access address may be represented by a URL; for example: the URL of the video file may be: http:// video.qq.com/12333/2222/1.m3u 8; the terminal analyzes the URL of the video file, and may determine the format of the video file according to the suffix of the access address of the video file, for example, the suffix of the video file in the form of a remote file shown in this embodiment is ". m3u 8", and it is determined that the video file is an HLS video file.
In this embodiment, when the terminal downloads the video file, first, an M3U8 index file of the video file is obtained, and the index file is analyzed; and selecting the fragments of the video file according to the sub-indexes in the index file, and downloading the fragments of the video file.
Step 302: and analyzing the fragments of the video file to obtain the attribute parameters of the fragments of the video file.
Here, the attribute parameter of the segment of the video file includes a duration of the video file; then, the analyzing the fragments of the video file to obtain the attribute parameters of the fragments of the video file includes: analyzing the fragment of the video file to obtain information such as the size and the encoding rate of the fragment of the video file, and determining the duration of the fragment of the video file according to the size and the encoding rate of the fragment of the video file, namely obtaining the attribute parameters of the fragment of the video file.
Step 303: and determining the starting time of the screenshot according to the attribute parameters of the fragment of the video file.
Here, the determining the start time of the screenshot according to the attribute parameters of the segment of the video file includes:
determining the type of the video file according to the total time length of the fragments of the video file, and determining the starting time of screenshot according to the preset empirical value of each video file.
Specifically, the video files can be divided into three types according to the duration of the video files: short videos, episode-type videos, and movie-type videos; wherein, the video file with the duration less than 20 minutes can be determined as a short video; a video file with the duration between 20 minutes and 60 minutes can be determined as an episode type video; a video file having a duration of more than 100 minutes may be determined as a movie type video. The start time may be determined based on empirical values of the leader length and the advertisement length of the short video, the episode-type video, and the movie-type video, respectively, e.g., the start time of the short video may be determined to be 15 seconds of the start time; the start time of the episode-type video may be determined to be 120 seconds from the start time; the start time of the movie type video may be determined to be 180 seconds from the start time.
In this embodiment, since the video file is an HLS file, the obtained video file includes a plurality of video file fragments; when the current video fragment is determined to be the first video fragment of the video file, the starting time is determined according to the experience values of the fragment head length and the advertisement length; when the current video fragment is determined not to be the first video fragment of the video file, the start time is the start time of the current video fragment.
Step 304: and capturing the fragments of the video file by using FFMPEG based on the starting time to obtain a target picture.
Step 305: judging whether the target picture meets a preset condition, and if so, executing step 306; when the result of the determination is no, step 307 is executed.
Here, the target picture satisfies a preset condition, including:
generating a gray picture from the target picture in a preset conversion mode;
determining the gray value of each pixel point in the gray picture;
counting the number of pixel points according to a preset gray scale interval, and determining that the target picture does not meet the preset condition when the ratio of the number of the pixel points in any gray scale interval to the number of all the pixel points reaches a preset threshold;
and when the ratio of the number of the pixel points in all the gray scale intervals to the number of all the pixel points does not reach the preset threshold value, determining that the target picture meets the preset condition.
Specifically, the gray value range in the gray image is 0 to 255; in this embodiment, the gray value range may be divided into 10 intervals on average, that is, gray value statistics may be performed every 25.5 gray unit intervals; if the gray value range is divided into 10 intervals on average: [0,25.5>, [25.5,51>, [51,76.5>, [76.5,102>, [102,127.5>, [127.5,153>, [153,178.5>, [178.5,204>, [204,229.5> and [229.5,255 ]; wherein "[" means equal to or greater than; "]" means equal to or less than; ">" means less than; counting the number of pixel points in the ten gray value intervals, comparing the number of the pixel points in the ten gray value intervals with the number of all the pixel points of the target image to obtain the percentage of the number of the pixel points in each gray value interval to the number of all the pixel points, and when the percentage of any gray value interval exceeds a preset threshold (the preset threshold is 50%), determining that the target image does not meet the preset condition; when the percentage of all gray value intervals does not exceed the preset threshold (the preset threshold is 50%), the target image meets the preset condition.
Step 306: and saving the target picture, and ending the screenshot.
In this embodiment, when the target picture meets the preset condition, it is described that the content of the target picture is richer, and the target picture is saved as a video screenshot by excluding the case that the target picture is a black screen frame, a monotone picture frame, and the like.
Step 307: the start time of the video file is reselected.
In this embodiment, when the target picture does not satisfy the preset condition, reselecting the start time, that is, re-performing the step after selecting the start time of the video file; the reselection starting time can be delayed for a preset time period according to the initially determined starting time; for example, the first determined start time is 180 seconds of the video file, the newly selected start time may be determined to be 180 seconds +5 seconds of the video file (the 5 seconds is a preset time period and is not limited to the current value).
The technical scheme provided by the embodiment is applied to a remote file mode scene, and the video file is an HLS video file; when the HLS video file exists in the local file mode, the steps 302 to 307 are directly performed without downloading the video file.
By adopting the technical scheme of the embodiment of the invention, the intelligent screenshot of the video file on the terminal side is realized, the screenshot of the video file on the terminal can be realized without manual operation, and the human resources are greatly saved; and the video screenshot logic does not need to be executed through the server, so that the time delay caused by video screenshot performed by the server is avoided, and the user experience is improved.
Example four
The embodiment of the invention also provides an information processing method; in this embodiment, the video file is in a remote file mode, that is, the video file is stored in a remote server, and the format of the video file is in an HLS format; FIG. 5 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention; as shown in fig. 5, the method includes:
step 401: setting a first parameter; the first parameter includes: a time interval for capturing the video file, and a time interval for capturing the video file.
Here, the time interval for capturing the video file is, for example: the length of the video file is 50 minutes, and the time interval can be set from 3 minutes to 45 minutes; the time interval for capturing the video file is, for example: screenshot x frames per second; x is a positive integer; certainly, the time interval of the screenshot and the time interval of the screenshot are not limited to the above setting; the first parameter can be preset through a terminal, or can be manually set by a user before the video screenshot.
Step 402: and performing screenshot on the video file by utilizing the first preset mode based on a first parameter to obtain M frames of target pictures.
Step 403: and judging whether the M frames of target pictures meet preset conditions or not, and obtaining a judgment result.
Step 404: and when the judgment result shows that N target pictures in the M target pictures meet the preset condition, storing the N target pictures.
In this embodiment, the implementation methods of obtaining the M frames of target pictures and storing the N frames of target pictures are the same as those of steps 103 to 105 in the first embodiment, and are not described herein again; in the present embodiment, based on the set time interval of the screenshot, M frames of target pictures are obtained in the set time interval of the screenshot, and N frames of target pictures meeting the preset condition are stored.
Step 405: and generating a dynamic picture from the N frames of target pictures according to a second preset mode.
Here, a Graphic exchange Format (GIF) moving picture can be generated from the N frames of target pictures by a preset picture processing tool (e.g., PHOTOSHOP).
By adopting the technical scheme of the embodiment of the invention, the intelligent screenshot of the video file on the terminal side is realized, and the dynamic picture is generated based on the intelligent screenshot, so that manual operation is not needed, and the human resources are greatly saved; and the video screenshot logic does not need to be executed through the server, so that the time delay caused by video screenshot performed by the server is avoided, and the user experience is improved.
Here, it should be noted that: the following description of the terminal items is similar to the above description of the method, and the description of the beneficial effects of the method is omitted for brevity. For technical details not disclosed in the terminal embodiment of the present invention, refer to the description of the method embodiment of the present invention.
EXAMPLE five
The embodiment of the invention also provides a terminal; fig. 6 is a schematic diagram of a first structure of a terminal according to an embodiment of the present invention; as shown in fig. 6, the terminal includes: an acquisition unit 61, a screen capture unit 62, a determination unit 63, and a storage unit 64; wherein the content of the first and second substances,
the acquiring unit 61 is configured to acquire and analyze a video file to obtain attribute parameters of the video file;
the screenshot unit 62 is configured to determine start time of screenshot according to the attribute parameter of the video file acquired by the acquiring unit 61; capturing the video file by utilizing a first preset mode based on the starting time to obtain a target picture;
the judging unit 63 is configured to judge whether the target picture obtained by the screenshot unit 62 meets a preset condition;
the storage unit 64 is configured to save the target picture when the determination unit 63 determines that the target picture meets a preset condition.
Specifically, the determining unit 63 is configured to generate a grayscale picture from the target picture through a preset conversion manner; determining the gray value of each pixel point in the gray picture; counting the number of pixel points according to a preset gray scale interval, and determining that the target picture meets the preset condition when the ratio of the number of the pixel points in all the gray scale intervals to the number of all the pixel points does not reach the preset threshold.
Specifically, the attribute parameter of the video file is the duration of the video file;
the screenshot unit 62 is configured to determine the type of the video file according to the duration of the video file, and determine the start time of screenshot according to a preset empirical value of each video file.
Wherein, the video file is an MP4 file or a streaming media HLS file.
It should be understood by those skilled in the art that the functions of each processing unit in the terminal according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the terminal according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
EXAMPLE six
The embodiment of the invention also provides a terminal; fig. 7 is a schematic diagram of a second structure of the terminal according to the embodiment of the present invention; as shown in fig. 7, the terminal includes: an acquisition unit 61, a screen capture unit 62, a determination unit 63, a storage unit 64, and a setting unit 65; wherein the content of the first and second substances,
the acquiring unit 61 is configured to acquire and analyze a video file to obtain attribute parameters of the video file;
the setting unit 65 is configured to set a first parameter before the screenshot unit 62 captures the video file in a first preset manner based on the start time; the first parameter includes: a time interval for capturing the video file and a time interval for capturing the video file;
the screenshot unit 62 is configured to determine start time of screenshot according to the attribute parameter of the video file acquired by the acquiring unit 61; based on the time interval and the start time set by the setting unit 65, capturing the video file in the time interval by using the first preset mode to obtain M frames of target pictures; m is a positive integer;
the judging unit 63 is configured to judge whether the M-frame target picture obtained by the screenshot unit 62 meets a preset condition, and obtain a judgment result;
the storage unit 64 is configured to store the N frames of target pictures when the judgment result obtained by the judgment unit 63 is that the N frames of target pictures meet a preset condition; and the N frames of target pictures are target pictures meeting the preset conditions in the M frames of target pictures.
Specifically, the determining unit 63 is configured to generate a grayscale picture from the target picture through a preset conversion manner; determining the gray value of each pixel point in the gray picture; counting the number of pixel points according to a preset gray scale interval, and determining that the target picture meets the preset condition when the ratio of the number of the pixel points in all the gray scale intervals to the number of all the pixel points does not reach the preset threshold.
Specifically, the attribute parameter of the video file is the duration of the video file;
the screenshot unit 62 is configured to determine the type of the video file according to the duration of the video file, and determine the start time of screenshot according to a preset empirical value of each video file.
Wherein, the video file is an MP4 file or a streaming media HLS file.
It should be understood by those skilled in the art that the functions of each processing unit in the terminal according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the terminal according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
EXAMPLE seven
The embodiment of the invention also provides a terminal; fig. 8 is a schematic diagram of a third structure of the terminal according to the embodiment of the present invention; as shown in fig. 8, the terminal includes: an acquisition unit 61, a screen capture unit 62, a determination unit 63, a storage unit 64, a setting unit 65, and a generation unit 66; wherein the content of the first and second substances,
the acquiring unit 61 is configured to acquire and analyze a video file to obtain attribute parameters of the video file;
the setting unit 65 is configured to set a first parameter before the screenshot unit 62 captures the video file in a first preset manner based on the start time; the first parameter includes: a time interval for capturing the video file and a time interval for capturing the video file;
the screenshot unit 62 is configured to determine start time of screenshot according to the attribute parameter of the video file acquired by the acquiring unit 61; based on the time interval and the start time set by the setting unit 65, capturing the video file in the time interval by using the first preset mode to obtain M frames of target pictures; m is a positive integer;
the judging unit 63 is configured to judge whether the M-frame target picture obtained by the screenshot unit 62 meets a preset condition, and obtain a judgment result;
the storage unit 64 is configured to store the N frames of target pictures when the judgment result obtained by the judgment unit 63 is that the N frames of target pictures meet a preset condition; the N frames of target pictures are target pictures meeting the preset conditions in the M frames of target pictures;
the generating unit 66 is configured to generate a dynamic picture from the N frames of target pictures stored in the storage unit 64 according to a second preset mode.
Specifically, the determining unit 63 is configured to generate a grayscale picture from the target picture through a preset conversion manner; determining the gray value of each pixel point in the gray picture; counting the number of pixel points according to a preset gray scale interval, and determining that the target picture meets the preset condition when the ratio of the number of the pixel points in all the gray scale intervals to the number of all the pixel points does not reach the preset threshold.
Specifically, the attribute parameter of the video file is the duration of the video file;
the screenshot unit 62 is configured to determine the type of the video file according to the duration of the video file, and determine the start time of screenshot according to a preset empirical value of each video file.
Wherein, the video file is an MP4 file or a streaming media HLS file.
It should be understood by those skilled in the art that the functions of each processing unit in the terminal according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the terminal according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
In the fifth embodiment and the seventh embodiment, the terminal can be implemented by a computer, a tablet computer, a smart phone or other terminal devices in practical application; the obtaining Unit 61, the screenshot Unit 62, the determining Unit 63, the setting Unit 65 and the generating Unit 66 in the terminal can be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable Gate Array (FPGA) in the terminal in practical application; the memory unit 64 in the terminal may, in practical applications, be implemented by a memory of the terminal.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (17)

1. An information processing method, applied to a terminal, includes:
acquiring and analyzing a video file to acquire the duration of the video file, wherein the video file comprises a plurality of video file fragments;
determining the type of the video file according to the duration of the video file, and determining the starting time of screenshot according to a preset experience value corresponding to the video file of the determined type; wherein the video file comprises any one of: the preset experience values indicate the leader length and the advertisement length of the video file;
when the current video fragment is determined to be the first video fragment of the video file, the starting time is determined according to the experience values of the fragment head length and the advertisement length;
when the current video fragment is determined not to be the first video fragment of the video file, the starting time is the starting time of the current video fragment;
based on the starting time and the set time interval, utilizing a first preset mode to capture each video file fragment in the video files to obtain a target picture;
converting the target picture into a grayscale picture;
counting the number of pixel points in the gray picture according to a preset gray interval;
when the ratio of the number of the pixel points in all the gray scale intervals to the number of all the pixel points does not reach a preset threshold value, determining that the target picture meets a preset condition, and storing the target picture;
and when the ratio of the number of the pixel points in any gray scale interval to the number of all the pixel points reaches a preset threshold value, determining that the target picture does not meet the preset condition, and continuously selecting the next frame as the target picture.
2. The method of claim 1, wherein before the capturing the video file in a first preset manner based on the start time and the set time interval, the method further comprises:
setting a first parameter; the first parameter includes: a time interval for capturing the video file, and a time interval for capturing the video file.
3. The method of claim 2, wherein capturing the video file in a first preset manner based on the start time and the set time interval to obtain a target picture comprises:
based on the time interval and the starting time, capturing the video file in the time interval by using the first preset mode to obtain M frames of target pictures; m is a positive integer;
the saving the target picture comprises:
saving N frames of target pictures; n is a positive integer; and the N frames of target pictures are target pictures meeting the preset conditions in the M frames of target pictures.
4. The method of claim 3, further comprising: and generating a dynamic picture from the N frames of target pictures according to a second preset mode.
5. The method according to claim 1, wherein the capturing the video file in a first preset manner based on the start time and the set time interval to obtain a target picture comprises:
and based on the starting time, utilizing a video processing tool FFMPEG to capture the video file to obtain the target picture.
6. The method of claim 1, wherein the preset gray scale interval comprises a plurality of gray scale interval, the method further comprising:
determining the gray value of each pixel point in the gray picture;
counting the number of pixels in the gray value intervals according to the gray value of each pixel, and comparing the number of pixels in the gray value intervals with the number of all pixels of the target picture to obtain the percentage of the number of pixels in each gray value interval to the number of all pixels;
when the percentage of any gray value interval exceeds a preset threshold value by 50%, the target picture does not meet the preset condition; and when the percentage of all the gray value intervals does not exceed 50% of the preset threshold value, the target picture meets the preset condition.
7. The method of claim 1, wherein the video file is an MP4 file or an HLS file; the acquiring and analyzing the video file to obtain the duration of the video file includes:
when the format of the video file is determined to be the MP4 format or the HLS format, acquiring the video file;
analyzing the obtained video file to obtain the size and the encoding rate of the video file;
and determining the duration of the video file according to the size and the encoding rate of the video file.
8. The method according to claim 1, wherein when it is determined that the target picture does not satisfy the preset condition, the continuing to select the next frame as the target picture comprises:
delaying the determined starting time by a preset time period to obtain new starting time;
determining the new starting time as the screenshot starting time of the next frame;
and based on the screenshot starting time of the next frame and the set time interval, utilizing the first preset mode to screenshot the video file to obtain the target picture.
9. A terminal, characterized in that the terminal comprises: the device comprises an acquisition unit, a screenshot unit, a judgment unit and a storage unit; wherein the content of the first and second substances,
the acquisition unit is used for acquiring and analyzing a video file to acquire the duration of the video file, wherein the video file comprises a plurality of video file fragments;
the screenshot unit is used for determining the type of the video file according to the duration of the video file and determining the starting time of screenshot according to a preset experience value corresponding to the video file of the determined type; wherein the video file comprises any one of: the preset experience values indicate the leader length and the advertisement length of the video file; when the current video fragment is determined to be the first video fragment of the video file, the starting time is determined according to the experience values of the fragment head length and the advertisement length; when the current video fragment is determined not to be the first video fragment of the video file, the starting time is the starting time of the current video fragment; based on the starting time and the set time interval, utilizing a first preset mode to capture each video file fragment in the video files to obtain a target picture;
the judging unit is used for converting the target picture into a gray picture; counting the number of pixel points according to a preset gray level interval; when the ratio of the number of the pixel points in all the gray scale intervals to the number of all the pixel points does not reach a preset threshold value, determining that the target picture meets a preset condition; when the ratio of the number of the pixel points in any gray scale interval to the number of all the pixel points reaches a preset threshold value, determining that the target picture does not meet the preset condition;
and the storage unit is used for storing the target picture when the target picture meets a preset condition, and otherwise, continuously selecting the next frame as the target picture.
10. The terminal according to claim 9, wherein the terminal further comprises a setting unit, configured to set a first parameter before the screenshot unit performs screenshot on the video file in a first preset manner based on the start time and the set time interval; the first parameter includes: a time interval for capturing the video file, and a time interval for capturing the video file.
11. The terminal according to claim 10, wherein the screenshot unit is configured to capture the video file in the time interval by using the first preset manner based on the time interval and the start time set by the setting unit, so as to obtain M target pictures; m is a positive integer;
the judging unit is used for judging whether the M frames of target pictures obtained by the screenshot unit meet preset conditions or not to obtain a judgment result;
the storage unit is used for storing the N frames of target pictures when the judgment result obtained by the judgment unit is that the N frames of target pictures meet the preset condition; and the N frames of target pictures are target pictures meeting the preset conditions in the M frames of target pictures.
12. The terminal according to claim 11, further comprising a generating unit, configured to generate a dynamic picture from the N frames of target pictures stored in the storage unit according to a second preset manner.
13. The terminal of claim 9,
the screenshot unit is configured to capture a screenshot of the video file by using a video processing tool FFMPEG based on the start time to obtain the target picture.
14. The terminal of claim 9,
the judging unit is used for determining the gray value of each pixel point in the gray picture; counting the number of pixels in the gray value intervals according to the gray value of each pixel, and comparing the number of pixels in the gray value intervals with the number of all pixels of the target picture to obtain the percentage of the number of pixels in each gray value interval to the number of all pixels;
when the percentage of any gray value interval exceeds a preset threshold value by 50%, the target picture does not meet the preset condition; and when the percentage of all the gray value intervals does not exceed 50% of the preset threshold value, the target picture meets the preset condition.
15. The terminal according to claim 9, wherein the video file is an MP4 file or an HLS file; the acquisition unit is further configured to:
when the format of the video file is determined to be the MP4 format or the HLS format, acquiring the video file; analyzing the obtained video file to obtain the size and the encoding rate of the video file; and determining the duration of the video file according to the size and the encoding rate of the video file.
16. The terminal of claim 9,
the terminal further comprises a processing unit, which is used for delaying the determined starting time by a preset time period to obtain a new starting time; determining the new starting time as the screenshot starting time of the next frame; and based on the screenshot starting time of the next frame and the set time interval, utilizing the first preset mode to screenshot the video file to obtain the target picture.
17. A computer-readable storage medium, characterized in that the storage medium has stored therein executable instructions that, when executed, implement the information processing method of any one of claims 1 to 8.
CN201410461497.7A 2014-09-11 2014-09-11 Information processing method and terminal Active CN105469381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410461497.7A CN105469381B (en) 2014-09-11 2014-09-11 Information processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410461497.7A CN105469381B (en) 2014-09-11 2014-09-11 Information processing method and terminal

Publications (2)

Publication Number Publication Date
CN105469381A CN105469381A (en) 2016-04-06
CN105469381B true CN105469381B (en) 2021-02-05

Family

ID=55607040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410461497.7A Active CN105469381B (en) 2014-09-11 2014-09-11 Information processing method and terminal

Country Status (1)

Country Link
CN (1) CN105469381B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101868A (en) * 2016-07-18 2016-11-09 乐视控股(北京)有限公司 Reduced graph generating method and generating means
CN106412674B (en) * 2016-10-08 2019-04-23 广州华多网络科技有限公司 The screenshot method and its device of dynamic video
CN106604126A (en) * 2016-12-20 2017-04-26 天脉聚源(北京)传媒科技有限公司 Intelligent video screenshot capture method and device
CN107172482B (en) * 2017-03-31 2020-01-10 北京奇艺世纪科技有限公司 Method and device for generating image with interchangeable format
CN108810609A (en) * 2017-04-27 2018-11-13 深圳市优朋普乐传媒发展有限公司 A kind of memory management method, equipment and system
CN108377429A (en) * 2018-04-24 2018-08-07 中国广播电视网络有限公司 A kind of demolition of video flowing and take out frame method
CN110460894A (en) * 2019-06-25 2019-11-15 维沃移动通信有限公司 A kind of video image display method and terminal device
CN115082441B (en) * 2022-07-22 2022-11-11 山东微山湖酒业有限公司 Retort material tiling method in wine brewing distillation process based on computer vision

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1361630A (en) * 2002-01-25 2002-07-31 安凯(广州)软件技术有限公司 Cartoon compressing method for radio network and hand-held radio equipment
CN101075258A (en) * 2007-05-14 2007-11-21 腾讯科技(深圳)有限公司 Method and device for generating video microform
CN101527690A (en) * 2009-04-13 2009-09-09 腾讯科技(北京)有限公司 Method for intercepting dynamic image, system and device thereof
US20100208986A1 (en) * 2009-02-18 2010-08-19 Wesley Kenneth Cobb Adaptive update of background pixel thresholds using sudden illumination change detection
CN103001925A (en) * 2011-09-08 2013-03-27 百度在线网络技术(北京)有限公司 Method and equipment for confirming playing skipping information of multimedia data on basis of statistics
CN103606158A (en) * 2013-11-29 2014-02-26 深圳市龙视传媒有限公司 Preprocessing method and terminal for video clipping

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1361630A (en) * 2002-01-25 2002-07-31 安凯(广州)软件技术有限公司 Cartoon compressing method for radio network and hand-held radio equipment
CN101075258A (en) * 2007-05-14 2007-11-21 腾讯科技(深圳)有限公司 Method and device for generating video microform
US20100208986A1 (en) * 2009-02-18 2010-08-19 Wesley Kenneth Cobb Adaptive update of background pixel thresholds using sudden illumination change detection
CN101527690A (en) * 2009-04-13 2009-09-09 腾讯科技(北京)有限公司 Method for intercepting dynamic image, system and device thereof
CN103001925A (en) * 2011-09-08 2013-03-27 百度在线网络技术(北京)有限公司 Method and equipment for confirming playing skipping information of multimedia data on basis of statistics
CN103606158A (en) * 2013-11-29 2014-02-26 深圳市龙视传媒有限公司 Preprocessing method and terminal for video clipping

Also Published As

Publication number Publication date
CN105469381A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN105469381B (en) Information processing method and terminal
RU2599385C2 (en) Method and device for video communication
CN106303157B (en) Video noise reduction processing method and video noise reduction processing device
CN108124194B (en) Video live broadcast method and device and electronic equipment
CN109474854B (en) Video playing method, playlist generating method and related equipment
CN110392306B (en) Data processing method and equipment
WO2017107441A1 (en) Method and device for capturing continuous video pictures
US10582211B2 (en) Neural network to optimize video stabilization parameters
CN106911943B (en) Video display method and device and storage medium
CN107682714B (en) Method and device for acquiring online video screenshot
US9760780B2 (en) Thumbnail management
CN104580907A (en) Anti-shake photographing method and device
CN108737884B (en) Content recording method and equipment, storage medium and electronic equipment
WO2017107737A1 (en) Method, apparatus and device for adjusting screen turn-off time of terminal, and computer storage media
CN104244101A (en) Method and device for commenting multimedia content
CN109120995B (en) Video cache analysis method, device, equipment and medium
CN105430393B (en) Picture processing method, picture processing device, picture processing platform and storage medium
CN111343503B (en) Video transcoding method and device, electronic equipment and storage medium
CN111970565A (en) Video data processing method and device, electronic equipment and storage medium
CN106899894A (en) The adaptive stream media method of dynamic optimization, device and server
EP3070951A1 (en) Video code stream obtaining method and apparatus
CN110740316A (en) Data coding method and device
CN107493478B (en) Method and device for setting coding frame rate
WO2023207513A1 (en) Video processing method and apparatus, and electronic device
CN113542909A (en) Video processing method and device, electronic equipment and computer storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant