CN103313122A - Data processing method and electronic device - Google Patents
Data processing method and electronic device Download PDFInfo
- Publication number
- CN103313122A CN103313122A CN2012100623215A CN201210062321A CN103313122A CN 103313122 A CN103313122 A CN 103313122A CN 2012100623215 A CN2012100623215 A CN 2012100623215A CN 201210062321 A CN201210062321 A CN 201210062321A CN 103313122 A CN103313122 A CN 103313122A
- Authority
- CN
- China
- Prior art keywords
- video
- audio
- sub
- playing
- videos
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 33
- 238000000034 method Methods 0.000 claims abstract description 76
- 230000008569 process Effects 0.000 claims abstract description 52
- 238000012545 processing Methods 0.000 claims description 20
- 239000012634 fragment Substances 0.000 abstract 1
- 230000006870 function Effects 0.000 description 16
- 230000008859 change Effects 0.000 description 7
- 238000000605 extraction Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000003139 buffering effect Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000035772 mutation Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Abstract
The invention discloses a data processing method and an electronic device. The data processing method is suitable for the electronic device with the function of video/audio playing. The method comprises the steps of cutting a video/audio into at least two sub videos/audios according to a default fragment cutting mode in a video/audio playing process; and carrying out extracting and/or marking on at least two sub videos/audios. According to the scheme provided by the invention, the video/audio is cut in the video/audio playing process, and extracting and/or marking are/is carried out on the cut sub videos/audios; and without affecting the user experience, the video/audio focused on by a user is edited.
Description
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a data processing method and an electronic device.
Background
With the rapid development of science and technology, various electronic products are continuously enriched and facilitate the public life. Because the electronic product has the advantages of convenience, rapidness, resource saving and the like when used for processing information, the electronic product becomes an indispensable part in life or work of people.
For example, people can watch videos, audios and the like which are interested by people at any time and any place by using devices such as mobile phones, notebooks, PADs and the like. The media data may be from the internet, or may be local media data of the electronic device, such as homemade video or audio data by a user, network multimedia data downloaded to the local, and the like. These are great convenience and enrich the daily life of the user.
However, when a user plays a video/audio, only a part of the video/audio is interested in and wants to save it, the general practice is that the user firstly has the complete video/audio, then enters an editing mode by using video/audio editing software, and selects the video/audio required by the user to edit. The post-processing interrupts the watching feeling of the user, is time-consuming and labor-consuming operation, and is ineffective for the video/audio played on line by the mobile television.
Therefore, how to edit and process the video/audio that the user pays attention to without affecting the user experience is a significant problem.
Disclosure of Invention
In order to solve the foregoing technical problem, embodiments of the present invention provide a data processing method and an electronic device, so as to implement editing processing on video/audio focused by a user without affecting user experience, where the technical scheme is as follows:
a data processing method is applied to an electronic device with a video/audio playing function, and comprises the following steps:
in the process of playing a video/audio, cutting the video/audio into at least two sub-videos/audios according to a preset segment cutting mode;
extracting and/or marking the at least two sub-videos/audios.
When the video/audio is a network video/audio played online, the video/audio is cut into at least two sub-videos/audios according to a preset segment cutting mode, specifically:
and in the process of playing the network video/audio, according to a preset segment cutting mode, cutting the buffered video/audio corresponding to the network video/audio in the buffer area into at least two sub-videos/audios.
When the video/audio is locally stored video/audio, the video/audio is cut into at least two word videos/audios according to a preset segment cutting mode, specifically:
and in the process of playing the locally stored video/audio, cutting the locally stored video/audio into at least two sub-videos/audios according to a preset segment cutting mode.
When a video is played, the preset segment cutting mode is as follows:
a video clip cutting mode based on the abrupt shot and the gradual shot;
or,
a video segment cutting mode based on the artificial mark synchronously generated in the video generation process;
or,
and (4) a scene cutting mode based on image recognition.
When an audio is played, the preset segment cutting mode is as follows:
and cutting the audio segments based on the artificial marks synchronously generated in the audio generation process.
Wherein the method further comprises:
the extracted and/or tagged sub-video/audio is merged and saved.
Wherein the method further comprises:
and after receiving a segment playing instruction, playing the sub video/audio corresponding to the segment playing instruction in the extracted and/or marked sub video/audio.
Correspondingly, the embodiment of the invention also provides the electronic equipment, which has a video/audio playing function; the electronic device further includes:
the sub-video/audio generation module is used for cutting a video/audio into at least two sub-videos/audios according to a preset segment cutting mode in the process of playing the video/audio;
and the sub video/audio processing module is used for extracting and/or marking the at least two sub videos/audios.
Wherein, the sub-video/audio generation module comprises:
and the first sub video/audio generation sub-module is used for cutting the buffered video/audio corresponding to the network video/audio in the buffer area into at least two sub video/audio according to a preset segment cutting mode in the process of playing the network video/audio.
Wherein, the sub-video/audio generation module comprises:
and the second sub video/audio generation sub-module is used for cutting the locally stored video/audio into at least two sub video/audio according to a preset segment cutting mode in the process of playing the locally stored video/audio.
Wherein, still include:
and the merging and storing module is used for merging and storing the extracted and/or marked sub video/audio.
Wherein, still include:
and the sub video/audio playing instruction processing module is used for playing the sub video/audio corresponding to the segment playing instruction in the extracted and/or marked sub video/audio after receiving the segment playing instruction.
According to the technical scheme provided by the embodiment of the invention, in the process of playing a video/audio, the video/audio is cut into at least two sub-videos/audios according to a preset segment cutting mode, and then the determined sub-videos/audios are extracted and/or marked. Therefore, the video/audio is cut in the process of playing the video/audio, and the cut sub-video/audio is extracted and/or marked, so that the aim of editing the video/audio concerned by the user is fulfilled without influencing the user experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a first flowchart of a data processing method according to an embodiment of the present invention;
fig. 2 is a second flowchart of a data processing method according to an embodiment of the present invention;
fig. 3 is a third flowchart of a data processing method according to an embodiment of the present invention;
fig. 4 is a fourth flowchart of a data processing method according to an embodiment of the present invention;
fig. 5 is a fifth flowchart of a data processing method according to an embodiment of the present invention;
fig. 6 is a sixth flowchart of a data processing method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to achieve the purpose of editing and processing video/audio focused by a user without affecting user experience, embodiments of the present invention provide a data processing method and an electronic device.
First, a data processing method provided in an embodiment of the present invention is described below.
It should be noted that, the data processing method provided by the embodiment of the present invention is applicable to an electronic device with a video/audio playing function. Wherein, the electronic device can be: the device comprises a mobile phone, a notebook computer, a PAD and the like with the video/audio playing function.
As shown in fig. 1, a data processing method may include:
s101, in the process of playing a video/audio, cutting the video/audio into at least two sub-videos/audios according to a preset segment cutting mode;
s102, extracting and/or marking the at least two sub videos/audios.
According to the technical scheme provided by the embodiment of the invention, in the process of playing a video/audio, the video/audio is cut into at least two sub-videos/audios according to a preset segment cutting mode, and then the determined sub-videos/audios are extracted and/or marked. Therefore, the video/audio is cut in the process of playing the video/audio, and the cut sub-video/audio is extracted and/or marked, so that the aim of editing the video/audio concerned by the user is fulfilled without influencing the user experience.
The following describes a data processing method provided by the embodiment of the present invention by taking online played network video/audio as an example.
It should be noted that, the data processing method provided by the embodiment of the present invention is applicable to an electronic device with a video/audio playing function. Wherein, the electronic device can be: the device comprises a mobile phone, a notebook computer, a PAD and the like with the video/audio playing function.
As shown in fig. 2, a data processing method may include:
s201, in the process of playing a network video/audio, according to a preset segment cutting mode, cutting a buffered video/audio corresponding to the network video/audio in a buffer area into at least two sub-videos/audios;
during playing a network video/audio, the buffering video/audio corresponding to the network video/audio is buffered in the buffering area of the electronic device, that is, the data played by the electronic device is substantially the locally stored buffering video/audio. Therefore, under the condition that the user experience is not influenced, the electronic equipment can cut the buffered video/audio corresponding to the currently played network video/audio in the buffer area into at least two sub-videos/audios according to a preset segment cutting mode.
It should be noted that, for a video, the preset cutting method may be: a video clip cutting mode based on the abrupt shot and the gradual shot; or, a video segment cutting mode based on the artificial mark synchronously generated in the video generation process; or a scene cutting mode based on image recognition.
The video cutting method based on the abrupt shot and the gradual shot is simply introduced as follows:
for ease of understanding, some basic concepts are first briefly described below:
lens: a set of inherently related consecutive video frames, taken consecutively by one camera lens, which is used to represent a spatio-temporally consecutive set of actions, is the basic unit of video structuring.
Video sequence: consists of several video scenes, each containing one or more shots, which may be consecutive or spaced, and each containing consecutive image frames.
Scene: the video clip capable of expressing certain semantic content is formed by a plurality of semantically related shots.
The shot conversion process is accompanied by semantic conversion, the shot boundary is a frame between adjacent shots, the boundary can be an end frame of a previous shot or a start frame of a next shot, or a series of visual special effect frames inserted in the middle of a video shot. Therefore, there are two main types of conversion methods between lenses: mutation (cut transition) and gradual transition (gradual transition). The sudden change lens is formed by directly connecting two lenses together without special effect when the two lenses are connected; gradual change is formed by connecting video effects together, and according to the difference of the effects, a gradual change lens can be divided into fade-in fade-out (fade), wipe (wipe), dissolve (dissovle) and other modes. Usually, abrupt shot switching does not exceed 5 frames, and gradual shot switching is longer.
The video segment cutting method based on the artificial mark synchronously generated in the video generation process is suitable for the video with the artificial mark, wherein the artificial mark is the mark synchronously generated in the video generation process and used for representing the video segment splicing boundary corresponding to the video.
For the scene cutting mode based on image recognition, the video is cut into sub-videos with different scenes by combining the image recognition technology.
Meanwhile, for an audio, the preset segment cutting mode may be: and cutting the audio segments based on the artificial marks synchronously generated in the audio generation process. It is understood that the audio cutting method is suitable for audio with artificial marks, and the artificial marks are marks which are synchronously generated in the generation process of the audio and are used for representing the splicing boundaries of the audio segments corresponding to the audio.
S202, extracting and/or marking the cut at least two sub videos/audios.
After the video/audio is cut into at least two sub-videos/audios according to a preset segment cutting mode, the cut sub-videos/audios may be subjected to extraction processing, or marking and extracting processing. It is understood that after the extracted and/or marked sub-videos/audios are processed by extraction and/or marking, the extracted and/or marked sub-videos/audios can be combined and stored according to the user requirement.
According to the technical scheme provided by the embodiment of the invention, when a network video/audio is played online, the buffer video/audio corresponding to the network video/audio in the buffer area is cut into at least two sub-videos/audios according to a preset segment cutting mode, and then the determined sub-videos/audios are extracted and/or marked. Therefore, the video/audio is cut in the process of playing the network video/audio, and the cut sub-video/audio is extracted and/or marked, so that the aim of editing the video/audio concerned by the user is fulfilled without influencing the user experience.
The following describes a data processing method provided by an embodiment of the present invention, taking playing local video/audio as an example.
It should be noted that, the data processing method provided by the embodiment of the present invention is applicable to an electronic device with a video/audio playing function. Wherein, the electronic device can be: the device comprises a mobile phone, a notebook computer, a PAD and the like with the video/audio playing function.
As shown in fig. 3, a data processing method may include:
s301, in the process of playing a locally stored video/audio, the locally stored video/audio is cut into at least two sub-videos/audios according to a preset segment cutting mode;
in the process of playing a locally stored video/audio, since the video/audio is already stored in the electronic device, the electronic device can directly cut the locally stored video/audio into at least two sub-videos/audios according to a preset segment cutting mode.
Similarly, for a video, the preset cutting mode may be: a video clip cutting mode based on the abrupt shot and the gradual shot; or, a video segment cutting mode based on the artificial mark synchronously generated in the video generation process; or a scene cutting mode based on image recognition. For an audio, the predetermined cutting pattern may be: and cutting the audio segments based on the artificial marks synchronously generated in the audio generation process.
S302, extracting and/or marking the at least two cut sub-videos/audios.
After the video/audio is cut into at least two sub-videos/audios according to a preset segment cutting mode, the cut sub-videos/audios may be subjected to extraction processing, or marking and extracting processing. It is understood that after the extracted and/or marked sub-videos/audios are processed by extraction and/or marking, the extracted and/or marked sub-videos/audios can be combined and stored according to the user requirement.
According to the technical scheme provided by the embodiment of the invention, when a locally stored video/audio is played, the locally stored video/audio is cut into at least two sub-videos/audios according to a preset segment cutting mode, and then the determined sub-videos/audios are extracted and/or marked. Therefore, the video/audio is cut in the process of playing the locally stored video/audio, and the cut sub-video/audio is extracted and/or marked, so that the aim of editing the video/audio concerned by the user is fulfilled without influencing the user experience.
In practical application, after extracting and/or marking the cut video/audio, the sub-video/audio can be processed to a certain extent according to the requirements of a user, and therefore, another data processing method is provided in the embodiment of the invention.
It should be noted that, the data processing method provided by the embodiment of the present invention is applicable to an electronic device with a video/audio playing function. Wherein, the electronic device can be: the device comprises a mobile phone, a notebook computer, a PAD and the like with the video/audio playing function.
As shown in fig. 4, a data processing method may include:
s401, in the process of playing a video/audio, cutting the video/audio into at least two sub-videos/audios according to a preset segment cutting mode;
it can be understood that, when playing a network video/audio, the video/audio is cut into at least two sub-videos/audios according to a preset segment cutting mode, specifically:
and in the process of playing the network video/audio, according to a preset segment cutting mode, cutting the buffered video/audio corresponding to the network video/audio in the buffer area into at least two sub-videos/audios.
When playing a locally stored video/audio, the video/audio is cut into at least two sub-videos/audios according to a preset segment cutting mode, specifically:
and in the process of playing the locally stored video/audio, cutting the locally stored video/audio into at least two sub-videos/audios according to a preset segment cutting mode.
S402, extracting and/or marking the at least two cut sub-videos/audios;
after the video/audio is cut into at least two sub-videos/audios according to a preset segment cutting mode, the cut sub-videos/audios may be subjected to extraction processing, or marking and extracting processing. It is understood that after the extracted and/or marked sub-videos/audios are processed by extraction and/or marking, the extracted and/or marked sub-videos/audios can be combined and stored according to the user requirement.
S403, after receiving the segment playing command, playing the sub video/audio corresponding to the segment playing command in the extracted and/or marked sub video/audio.
And after receiving a segment playing instruction sent by the user, playing the sub video/audio corresponding to the segment playing instruction to provide the video/audio data concerned by the user.
It can be understood that, in practical applications, other processing may be performed on the cut sub-video/audio, and the processing is not limited to the sub-video/audio corresponding to the play segment playing instruction described in this embodiment, for example: and performing special effect processing on the cut sub video/audio.
In this embodiment, when a video/audio is played, the video/audio is cut into at least two sub-videos/audios according to a preset segment cutting mode, and then the determined sub-videos/audios are extracted and/or marked, and after a segment playing instruction sent by a user is received, the sub-videos/audios corresponding to the segment playing instruction are played to the user. By utilizing the scheme, the video/audio concerned by the user is edited and processed under the condition of not influencing the user experience, and the concerned data is played according to the user requirement.
The following describes a data processing method provided by the present invention with processing a network video as a specific application example.
It should be noted that the data processing method is applicable to an electronic device with a video/audio playing function. Wherein, the electronic device can be: the device comprises a mobile phone, a notebook computer, a PAD and the like with the video/audio playing function.
As shown in fig. 5, a data processing method may include:
s501, in the process of playing a network video, according to a video clip cutting mode based on a sudden change lens and a gradual change lens, cutting a buffer video corresponding to the network video in a buffer area into at least two sub-videos;
in the process of playing a network video, a buffer video corresponding to the network video is buffered in the buffer area of the electronic device, that is, the data played by the electronic device is substantially the locally stored buffer video. Therefore, under the condition of not influencing the user experience, the electronic equipment can cut the electronic equipment according to the preset segment cutting mode: and based on the abrupt shot and the gradual shot, cutting the buffer video corresponding to the currently played network video in the buffer area into at least two sub-videos/audios.
S502, marking the at least two cut sub-videos;
after the video is cut into at least two sub-videos according to a preset segment cutting mode, the cut sub-videos can be marked. It can be understood that after the cut sub-videos are marked, the marked sub-videos can be merged and stored according to the user requirement.
And S503, after receiving the segment playing instruction, playing the sub-video corresponding to the segment playing instruction in the marked sub-video.
And after receiving a segment playing instruction sent by the user, playing the sub-video corresponding to the segment playing instruction to provide the concerned video data for the user.
In this embodiment, when a network video is played, the network video is cut into at least two sub-videos according to a segment cutting mode based on a sudden change shot and a gradual change shot, so as to mark the determined sub-videos, and after a segment playing instruction sent by a user is received, the sub-video corresponding to the segment playing instruction is played to the user. By utilizing the scheme, the network video concerned by the user is edited and processed under the condition that the user experience is not influenced, and the purpose of playing the concerned data according to the user requirement is achieved.
A data processing method provided by the present invention will be described below with reference to processing a local audio as a specific application example.
It should be noted that the data processing method is applicable to an electronic device with a video/audio playing function. Wherein, the electronic device can be: the device comprises a mobile phone, a notebook computer, a PAD and the like with the video/audio playing function.
As shown in fig. 6, a data processing method may include:
s601, in the process of playing a locally stored audio, cutting the locally stored audio into at least two sub-audios according to an audio segment cutting mode based on an artificial mark synchronously generated in the audio generation process;
in the process of playing a locally stored audio, because the audio is already stored in the electronic equipment, the electronic equipment can directly cut the locally stored audio into at least two sub-audios according to an audio segment cutting mode based on the artificial mark synchronously generated in the audio generation process.
S602, extracting at least two cut sub-audios;
after the video is cut into at least two sub-audios according to a preset segment cutting mode, the cut sub-audios can be extracted. It can be understood that after the extracted sub-audio is processed, the extracted sub-audio can be merged and stored according to the user requirement.
S603, after receiving the segment playing instruction, playing the sub audio corresponding to the segment playing instruction in the extracted sub audio.
After receiving a segment playing instruction sent by a user, playing the sub-audio corresponding to the segment playing instruction to provide the audio data concerned by the user.
In this embodiment, when a local audio is played, the local audio is cut into at least two sub-audios according to an audio segment cutting mode based on an artificial mark synchronously generated in an audio generation process, so as to mark the determined sub-audios, and after a segment playing instruction sent by a user is received, the sub-audio corresponding to the segment playing instruction is played to the user. By utilizing the scheme, the purposes of editing the local audio concerned by the user and playing the concerned data according to the user requirement under the condition of not influencing the user experience are achieved.
Through the above description of the method embodiments, those skilled in the art can clearly understand that the present invention can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes 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 steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program codes, such as Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and so on.
Corresponding to the above method embodiment, the embodiment of the present invention further provides an electronic device, which has a video/audio playing function; as shown in fig. 7, the electronic device may further include:
the sub-video/audio generating module 110 is configured to, in a process of playing a video/audio, cut the video/audio into at least two sub-videos/audios according to a preset segment cutting manner;
a sub video/audio processing module 120, configured to extract and/or mark the at least two sub videos/audios.
According to the electronic device provided by the embodiment of the invention, in the process of playing a video/audio, the video/audio is cut into at least two sub-videos/audios according to a preset segment cutting mode, and then the determined sub-videos/audios are extracted and/or marked. Therefore, by utilizing the electronic equipment, the video/audio is cut, extracted and/or marked in the process of playing the video/audio, and the purpose of editing the video/audio concerned by the user under the condition of not influencing the user experience is realized.
The sub video/audio generating module 110 may include:
and the first sub video/audio generation sub-module is used for cutting the buffered video/audio corresponding to the network video/audio in the buffer area into at least two sub video/audio according to a preset segment cutting mode in the process of playing the network video/audio.
The sub video/audio generating module 110 may include:
and the second sub video/audio generation sub-module is used for cutting the locally stored video/audio into at least two sub video/audio according to a preset segment cutting mode in the process of playing the locally stored video/audio.
Still further, the electronic device may further include:
and the merging and storing module is used for merging and storing the extracted and/or marked sub video/audio.
Still further, the electronic device may further include:
and the sub video/audio playing instruction processing module is used for playing the sub video/audio corresponding to the segment playing instruction in the extracted and/or marked sub video/audio after receiving the segment playing instruction.
For device or system embodiments, as they correspond substantially to method embodiments, reference may be made to the method embodiments for some of their descriptions. The above-described embodiments of the apparatus or system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways without departing from the spirit and scope of the present application. The present embodiment is an exemplary example only, and should not be taken as limiting, and the specific disclosure should not be taken as limiting the purpose of the application. For example, the division of the unit or the sub-unit is only one logical function division, and there may be another division manner in actual implementation, for example, a plurality of units or a plurality of sub-units are combined together. In addition, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
Additionally, the systems, apparatus, and methods described, as well as the illustrations of various embodiments, may be combined or integrated with other systems, modules, techniques, or methods without departing from the scope of the present application. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The foregoing is directed to embodiments of the present invention, and it is understood that various modifications and improvements can be made by those skilled in the art without departing from the spirit of the invention.
Claims (12)
1. A data processing method, adapted for use in an electronic device having a video/audio playing function, the method comprising:
in the process of playing a video/audio, cutting the video/audio into at least two sub-videos/audios according to a preset segment cutting mode;
extracting and/or marking the at least two sub-videos/audios.
2. The method according to claim 1, wherein when the video/audio is a network video/audio played online, the video/audio is divided into at least two sub-videos/audios according to a preset segment division manner, specifically:
and in the process of playing the network video/audio, according to a preset segment cutting mode, cutting the buffered video/audio corresponding to the network video/audio in the buffer area into at least two sub-videos/audios.
3. The method according to claim 1, wherein when the video/audio is locally stored video/audio, the video/audio is cut into at least two word videos/audios according to a preset segment cutting mode, specifically:
and in the process of playing the locally stored video/audio, cutting the locally stored video/audio into at least two sub-videos/audios according to a preset segment cutting mode.
4. The method according to claim 2 or 3, wherein when playing a video, the predetermined segment cutting manner is:
a video clip cutting mode based on the abrupt shot and the gradual shot;
or,
a video segment cutting mode based on the artificial mark synchronously generated in the video generation process;
or,
and (4) a scene cutting mode based on image recognition.
5. The method according to claim 2 or 3, wherein when playing an audio, the predetermined segment cutting manner is:
and cutting the audio segments based on the artificial marks synchronously generated in the audio generation process.
6. The method of claim 1, further comprising:
the extracted and/or tagged sub-video/audio is merged and saved.
7. The method of claim 1, further comprising:
and after receiving a segment playing instruction, playing the sub video/audio corresponding to the segment playing instruction in the extracted and/or marked sub video/audio.
8. An electronic device, characterized in that it has a video/audio playing function; the electronic device further includes:
the sub-video/audio generation module is used for cutting a video/audio into at least two sub-videos/audios according to a preset segment cutting mode in the process of playing the video/audio;
and the sub video/audio processing module is used for extracting and/or marking the at least two sub videos/audios.
9. The electronic device of claim 8, wherein the sub-video/audio generation module comprises:
and the first sub video/audio generation sub-module is used for cutting the buffered video/audio corresponding to the network video/audio in the buffer area into at least two sub video/audio according to a preset segment cutting mode in the process of playing the network video/audio.
10. The electronic device of claim 8, wherein the sub-video/audio generation module comprises:
and the second sub video/audio generation sub-module is used for cutting the locally stored video/audio into at least two sub video/audio according to a preset segment cutting mode in the process of playing the locally stored video/audio.
11. The electronic device of claim 8, further comprising:
and the merging and storing module is used for merging and storing the extracted and/or marked sub video/audio.
12. The electronic device of claim 8, further comprising:
and the sub video/audio playing instruction processing module is used for playing the sub video/audio corresponding to the segment playing instruction in the extracted and/or marked sub video/audio after receiving the segment playing instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210062321.5A CN103313122B (en) | 2012-03-09 | 2012-03-09 | A kind of data processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210062321.5A CN103313122B (en) | 2012-03-09 | 2012-03-09 | A kind of data processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103313122A true CN103313122A (en) | 2013-09-18 |
CN103313122B CN103313122B (en) | 2018-02-27 |
Family
ID=49137827
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210062321.5A Active CN103313122B (en) | 2012-03-09 | 2012-03-09 | A kind of data processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103313122B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105493512A (en) * | 2014-12-14 | 2016-04-13 | 深圳市大疆创新科技有限公司 | Video processing method, video processing device and display device |
US9973728B2 (en) | 2014-12-14 | 2018-05-15 | SZ DJI Technology Co., Ltd. | System and method for supporting selective backtracking data recording |
CN108614829A (en) * | 2016-12-12 | 2018-10-02 | 中移(杭州)信息技术有限公司 | A kind of playback method and terminal |
CN112311961A (en) * | 2020-11-13 | 2021-02-02 | 深圳市前海手绘科技文化有限公司 | Method and device for setting lens in short video |
Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1149924A (en) * | 1995-04-08 | 1997-05-14 | 索尼公司 | Editing system |
JPH10275418A (en) * | 1997-03-28 | 1998-10-13 | Nippon Telegr & Teleph Corp <Ntt> | Multimedia server, multimedia on-demand system and multimedia information distribution method |
US6477314B1 (en) * | 1999-07-29 | 2002-11-05 | Geo Vision Inc. | Method of recording image data, and computer system capable of recording image data |
US20040187160A1 (en) * | 2003-03-17 | 2004-09-23 | Qwest Communications International Inc. | Methods and systems for providing video on demand |
CN1668097A (en) * | 2005-04-07 | 2005-09-14 | 北京北大方正电子有限公司 | A method for quick generation of video file |
CN1725845A (en) * | 2004-07-23 | 2006-01-25 | 上海乐金广电电子有限公司 | PVR equipment and method |
CN101021904A (en) * | 2006-10-11 | 2007-08-22 | 鲍东山 | Video content analysis system |
WO2007105618A1 (en) * | 2006-03-14 | 2007-09-20 | Nec Corporation | Buffer control method, relaying device and communication system |
CN101076111A (en) * | 2006-11-15 | 2007-11-21 | 腾讯科技(深圳)有限公司 | Method for acquiring keyframe section positioning infromation in video fluid |
WO2008027074A1 (en) * | 2006-08-31 | 2008-03-06 | Sony Ericsson Mobile Communications Ab | System and method for searching based on audio search criteria |
CN101158967A (en) * | 2007-11-16 | 2008-04-09 | 北京交通大学 | Quick-speed audio advertisement recognition method based on layered matching |
CN101207758A (en) * | 2007-11-27 | 2008-06-25 | 深圳市同洲电子股份有限公司 | Method for removing fragment in record program |
CN101308501A (en) * | 2008-06-30 | 2008-11-19 | 腾讯科技(深圳)有限公司 | Method, system and device for generating video frequency abstract |
CN101494764A (en) * | 2008-01-21 | 2009-07-29 | 阿尔卡特朗讯 | Method for preparing content for audiovisual programmes and associated system |
CN101547183A (en) * | 2008-03-27 | 2009-09-30 | 田园 | Method for watching multimedia file on line |
JP2010022748A (en) * | 2008-07-24 | 2010-02-04 | Daiichi Shokai Co Ltd | Game machine |
CN101790049A (en) * | 2010-02-25 | 2010-07-28 | 深圳市茁壮网络股份有限公司 | Newscast video segmentation method and system |
CN101909161A (en) * | 2009-12-17 | 2010-12-08 | 新奥特(北京)视频技术有限公司 | Video clipping method and device |
CN102163201A (en) * | 2010-02-24 | 2011-08-24 | 腾讯科技(深圳)有限公司 | Multimedia file segmentation method, device thereof and code converter |
CN102238434A (en) * | 2011-07-22 | 2011-11-09 | 中兴通讯股份有限公司 | Method and system for segmenting internet protocol television (IPTV) stream media file virtually |
-
2012
- 2012-03-09 CN CN201210062321.5A patent/CN103313122B/en active Active
Patent Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1149924A (en) * | 1995-04-08 | 1997-05-14 | 索尼公司 | Editing system |
JPH10275418A (en) * | 1997-03-28 | 1998-10-13 | Nippon Telegr & Teleph Corp <Ntt> | Multimedia server, multimedia on-demand system and multimedia information distribution method |
US6477314B1 (en) * | 1999-07-29 | 2002-11-05 | Geo Vision Inc. | Method of recording image data, and computer system capable of recording image data |
US20040187160A1 (en) * | 2003-03-17 | 2004-09-23 | Qwest Communications International Inc. | Methods and systems for providing video on demand |
CN1725845A (en) * | 2004-07-23 | 2006-01-25 | 上海乐金广电电子有限公司 | PVR equipment and method |
CN1668097A (en) * | 2005-04-07 | 2005-09-14 | 北京北大方正电子有限公司 | A method for quick generation of video file |
WO2007105618A1 (en) * | 2006-03-14 | 2007-09-20 | Nec Corporation | Buffer control method, relaying device and communication system |
WO2008027074A1 (en) * | 2006-08-31 | 2008-03-06 | Sony Ericsson Mobile Communications Ab | System and method for searching based on audio search criteria |
CN101021904A (en) * | 2006-10-11 | 2007-08-22 | 鲍东山 | Video content analysis system |
CN101076111A (en) * | 2006-11-15 | 2007-11-21 | 腾讯科技(深圳)有限公司 | Method for acquiring keyframe section positioning infromation in video fluid |
CN101158967A (en) * | 2007-11-16 | 2008-04-09 | 北京交通大学 | Quick-speed audio advertisement recognition method based on layered matching |
CN101207758A (en) * | 2007-11-27 | 2008-06-25 | 深圳市同洲电子股份有限公司 | Method for removing fragment in record program |
CN101494764A (en) * | 2008-01-21 | 2009-07-29 | 阿尔卡特朗讯 | Method for preparing content for audiovisual programmes and associated system |
CN101547183A (en) * | 2008-03-27 | 2009-09-30 | 田园 | Method for watching multimedia file on line |
CN101308501A (en) * | 2008-06-30 | 2008-11-19 | 腾讯科技(深圳)有限公司 | Method, system and device for generating video frequency abstract |
JP2010022748A (en) * | 2008-07-24 | 2010-02-04 | Daiichi Shokai Co Ltd | Game machine |
CN101909161A (en) * | 2009-12-17 | 2010-12-08 | 新奥特(北京)视频技术有限公司 | Video clipping method and device |
CN102163201A (en) * | 2010-02-24 | 2011-08-24 | 腾讯科技(深圳)有限公司 | Multimedia file segmentation method, device thereof and code converter |
CN101790049A (en) * | 2010-02-25 | 2010-07-28 | 深圳市茁壮网络股份有限公司 | Newscast video segmentation method and system |
CN102238434A (en) * | 2011-07-22 | 2011-11-09 | 中兴通讯股份有限公司 | Method and system for segmenting internet protocol television (IPTV) stream media file virtually |
Non-Patent Citations (2)
Title |
---|
孙季丰,李颖雄: "《视频镜头自动分割的若干方法》", 《华南理工大学学报( 自然科学版)》 * |
邓玉春, 姜昱明, 张建荣: "《视频序列图像中运动对象分割综述》", 《计算机应用研究》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105493512A (en) * | 2014-12-14 | 2016-04-13 | 深圳市大疆创新科技有限公司 | Video processing method, video processing device and display device |
US9973728B2 (en) | 2014-12-14 | 2018-05-15 | SZ DJI Technology Co., Ltd. | System and method for supporting selective backtracking data recording |
US20180227539A1 (en) | 2014-12-14 | 2018-08-09 | SZ DJI Technology Co., Ltd. | System and method for supporting selective backtracking data recording |
US10284808B2 (en) | 2014-12-14 | 2019-05-07 | SZ DJI Technology Co., Ltd. | System and method for supporting selective backtracking data recording |
US10567700B2 (en) | 2014-12-14 | 2020-02-18 | SZ DJI Technology Co., Ltd. | Methods and systems of video processing |
US10771734B2 (en) | 2014-12-14 | 2020-09-08 | SZ DJI Technology Co., Ltd. | System and method for supporting selective backtracking data recording |
US11095847B2 (en) | 2014-12-14 | 2021-08-17 | SZ DJI Technology Co., Ltd. | Methods and systems of video processing |
CN108614829A (en) * | 2016-12-12 | 2018-10-02 | 中移(杭州)信息技术有限公司 | A kind of playback method and terminal |
CN112311961A (en) * | 2020-11-13 | 2021-02-02 | 深圳市前海手绘科技文化有限公司 | Method and device for setting lens in short video |
Also Published As
Publication number | Publication date |
---|---|
CN103313122B (en) | 2018-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11615131B2 (en) | Method and system for storytelling on a computing device via social media | |
CN111836111A (en) | Technique for generating barrage | |
CN106792152B (en) | Video synthesis method and terminal | |
US20140344751A1 (en) | Image Processing Method and Terminal Device | |
CN111327968A (en) | Short video generation method, short video generation platform, electronic equipment and storage medium | |
CN110267113B (en) | Video file processing method, system, medium, and electronic device | |
KR101991188B1 (en) | Promotion information processing method, device, and apparatus, and non-volatile computer storage medium | |
CN113722535B (en) | Method for generating book recommendation video, electronic device and computer storage medium | |
CN109672902A (en) | A kind of video takes out frame method, device, electronic equipment and storage medium | |
CN107318038B (en) | Method for synchronizing video playing and comment, terminal equipment and storage medium | |
CN103810185A (en) | Information processing method and device, and electronic equipment | |
CN103313122B (en) | A kind of data processing method and electronic equipment | |
CN105791938A (en) | Multimedia file splicing method and apparatus | |
CN111556329B (en) | Method and device for inserting media content in live broadcast | |
CN105760490A (en) | Resource storage method and device and electronic equipment | |
CN110781349A (en) | Method, equipment, client device and electronic equipment for generating short video | |
CN106878807B (en) | Video switching method and device | |
US9076489B1 (en) | Circular timeline for video trimming | |
CN104349173A (en) | Video repeating method and device | |
CN106331553B (en) | Video storage method and device and electronic equipment | |
CN104780389B (en) | A kind of method for processing video frequency and device | |
CN114582348A (en) | Voice playing system, method, device and equipment | |
CN116506694B (en) | Video editing method, device, electronic equipment and storage medium | |
US12142303B2 (en) | Enhanced trim assistance for video editing environments | |
KR101564659B1 (en) | System and method for adding caption using sound effects |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |