[go: up one dir, main page]

CN112584208B - Video browsing editing method and system based on artificial intelligence - Google Patents

Video browsing editing method and system based on artificial intelligence Download PDF

Info

Publication number
CN112584208B
CN112584208B CN202010990932.0A CN202010990932A CN112584208B CN 112584208 B CN112584208 B CN 112584208B CN 202010990932 A CN202010990932 A CN 202010990932A CN 112584208 B CN112584208 B CN 112584208B
Authority
CN
China
Prior art keywords
application program
video file
editing
editing application
video
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
CN202010990932.0A
Other languages
Chinese (zh)
Other versions
CN112584208A (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.)
Hebei Nengrui Technology Co ltd
Original Assignee
Hebei Nengrui Technology 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 Hebei Nengrui Technology Co ltd filed Critical Hebei Nengrui Technology Co ltd
Priority to CN202010990932.0A priority Critical patent/CN112584208B/en
Publication of CN112584208A publication Critical patent/CN112584208A/en
Application granted granted Critical
Publication of CN112584208B publication Critical patent/CN112584208B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention provides a video browsing editing method, a device, an electronic device and a computer readable storage medium based on artificial intelligence, which are characterized in that when a user opens a video file, the number and types of application programs capable of opening the file are firstly identified, and when only one type of application program capable of opening the video is available, the video is opened by using a default application program; identifying the number and the size of the screens when the application programs capable of opening the video are of multiple types, and then respectively adopting the application programs of different types to open the video and adopting a multi-screen or split-screen mode to play the video; thus, the opening and editing efficiency of different application programs of the same video is improved. In addition, the video opened for the same application program can be automatically and synchronously played, so that the browsing efficiency of the user on the video is improved. Meanwhile, editing and browsing of the video file can be automatically adapted to the current screen parameters, so that the screen utilization rate is maximized.

Description

Video browsing editing method and system based on artificial intelligence
Technical Field
The invention relates to the technical field of artificial intelligence and terminal video management, in particular to a video browsing editing method and device based on artificial intelligence.
Background
Currently, with the continuous rise of mobile internet and self-media, more and more users have more demands for video editing, and various video editing software, such as: 1. bee clipping provides rich and various words, filters, transition, stacking and animation special effects, and supports functions of reverse playing, acceleration and deceleration, mosaic adding, local amplification, segmentation, clipping, picture-in-picture and the like. 2. HitFilm, which supports the creation of 2D, 3D animations 410+ special effects and unlimited transition functions, belongs to professional video editing software, and is suitable for movie production. In addition, there are also love clips, sound and shadows, and the like.
However, when a user edits a video file through the video editing software, the user usually switches between different versions of the video file before and after editing in the same editing software, so as to compare a certain detail of the video file before and after editing; therefore, the user repeatedly switches the edited versions of different video files and drags to search the specific position of the video file time axis, and the editing and browsing efficiency of the used video files is greatly reduced. In addition, the user needs to copy and rename the browsed video files manually, and the storage efficiency of the video files is low; thus causing a problem of wasting operator time caused by repetitive operations when editing and browsing a plurality of video files. Finally, editing of the video file does not automatically adapt to the current screen parameters, and the problem of low screen utilization efficiency exists. Therefore, a method for rapidly opening, editing, browsing, and comparing different versions of the same video file before and after editing by using a plurality of different application programs is to be proposed, so as to improve the editing and browsing efficiency of the video file.
Disclosure of Invention
The invention provides a video browsing editing method based on artificial intelligence, which comprises the following steps:
s1, acquiring an opening operation of a user on a first video file, and identifying an application program and a category in a terminal, wherein the application program and the category can be used for opening the first video file;
s2, if the application programs capable of opening the first video file are non-editing application programs or editing application programs, opening the first video file by using a default application program in the non-editing application programs or a default application program in the editing application programs; if the application program capable of opening the first video file comprises a non-editing application program and an editing application program, executing step S3;
s3, identifying the number of screens and the screen size of the terminal; if the number of the screens is multiple, opening the first video file on a first screen by using a first editing application program, and opening the first video file on a second screen by using a first non-editing application program;
s4, if only one screen exists and the size of the screen is larger than or equal to a first size threshold, respectively opening the first video file by using a first editing application program and a first non-editing application program, and displaying the first video file opened by the first editing application program and the first video file opened by the first non-editing application program in a split screen mode;
And S5, if only one screen exists in the number and the size of the screen is smaller than a first size threshold, opening the first video file by using a default application program in a non-editing application program or a default application program in an editing application program.
As a preferred embodiment, the step S3 or S4 further includes:
and if the user adjusts the playing progress of the first video file through the first editing application program/the first non-editing application program, synchronously adjusting the playing progress of the first non-editing application program/the first editing application program on the first video file so as to keep the playing progress of the first editing application program and the first non-editing application program on the first video file synchronous.
As a preferred embodiment, maintaining synchronization of the playing progress of the first video file by the first editing application and the first non-editing application, further includes:
acquiring screen positions of the first editing application program and the first non-editing application program, and establishing corresponding relations among the first editing application program, the first non-editing application program and left and right channels of a loudspeaker according to the screen positions;
And respectively controlling the left and right channels of the loudspeaker by the first editing application program and the first non-editing application program according to the corresponding relation between the first editing application program and the first non-editing application program and the left and right channels of the loudspeaker.
As a preferred embodiment, the first editing application and the first non-editing application control the left and right channels of the speaker, respectively, and further include:
acquiring a sound playing mode of the terminal, if the sound playing mode is a loudspeaker playing mode, acquiring the position of a cursor, and if the interface of the cursor is the interface of a first editing application program, controlling left and right channels of the loudspeaker by the first editing application program; if the interface where the cursor is located is the interface where the first non-editing application program is located, controlling left and right channels of the loudspeaker by the first non-editing application program;
and if the speaker is in the earphone playing mode, controlling the left and right channels of the speaker by the first editing application program and the first non-editing application program respectively.
As a preferred embodiment, maintaining synchronization of the playing progress of the first video file by the first editing application and the first non-editing application, further includes:
Detecting whether a user clips the first video file, if so, marking the position information of the video segment where the first video file is cut or inserted, and acquiring the position of a cursor;
if the interface where the cursor is located is the interface where the first editing application program is located, when the clipped first video file is played to the clipping position, the first non-editing application program skips the clipped video segment and continues to play the first video file; when the clipped first video file is played to the insertion position, the first non-editing application program pauses the playing of the first video file, wherein the pause time is the playing time of the inserted video segment;
if the interface where the cursor is located is the interface where the first non-editing application program is located, when the first editing application program plays to the cutting position of the first video file, the first video file is paused, and the pause time is the play time of the inserted video segment; and skipping the inserted video segment and continuing to play the first video file when the first editing application program plays to the insertion position of the first video file.
As a preferred embodiment, the step S3 or S4 further includes:
acquiring the editing operation of a user on the first video file through the first editing application program, and automatically naming and storing a copy of the edited first video file after the user stores the edited first video file;
the first non-editing application program obtains the save operation and the save path of the copy, and prompts the user whether to open the copy of the first video file at the interface of opening the first video file; if yes, the first non-editing application program closes the first video file and opens the copy; if not, the copy is not opened.
As a preferred embodiment, after automatically naming and saving the edited copy of the first video file, the method further comprises:
and if the user executes editing operation on the second video file through the first editing application program, automatically naming the copy of the edited second video file after the user saves the edited second video file, and newly creating an automatically named folder for saving the copy of the first video file and the copy of the second video file.
As a preferred embodiment, further comprising:
if the user executes the closing operation on the first video file through the first editing application program, executing the closing operation on the first video file through the first non-editing application program at the same time;
and if the user executes closing operation on the first video file through the first non-editing application program, not closing the first non-editing application program and the opened first video file thereof.
The invention provides a video browsing editing method based on artificial intelligence, when a user opens a video file, firstly identifying the number and types of application programs capable of opening the file, and when only one type of application program capable of opening the video is available, opening the video by using a default application program; identifying the number and the size of the screens when the application programs capable of opening the video are of multiple types, and then respectively adopting the application programs of different types to open the video and adopting a multi-screen or split-screen mode to play the video; thus, the opening and editing efficiency of different application programs of the same video is improved. In addition, the video opened for the same application program can be automatically and synchronously played, so that the browsing efficiency of the user on the video is improved. Meanwhile, editing and browsing of the video file can be automatically adapted to the current screen parameters, so that the screen utilization rate is maximized.
As another embodiment, the present invention provides an artificial intelligence based video browsing editing system, which is characterized in that the system includes the following modules:
the first identification module is used for acquiring the opening operation of a user on the first video file and identifying the application programs and the categories which can be used for opening the first video file in the terminal;
the second identification module is used for opening the first video file by using a default application program in the non-editing application program or a default application program in the editing application program if the application programs capable of opening the first video file are all non-editing application programs or editing application programs; executing a first video file opening module if the application program capable of opening the first video file comprises a non-editing type application program and an editing type application program;
the first video file opening module is used for identifying the number of screens and the screen size of the terminal; if the number of the screens is multiple, opening the first video file on a first screen by using a first editing application program, and opening the first video file on a second screen by using a first non-editing application program;
The second video file opening module is used for opening the first video file by using a first editing application program and a first non-editing application program respectively and displaying the first video file opened by the first editing application program and the first video file opened by the first non-editing application program in a split screen mode if the number of the screens is only one and the size of the screens is larger than or equal to a first size threshold;
and the third video file opening module is used for opening the first video file by using a default application program in a non-editing application program or a default application program in an editing application program if only one screen exists and the size of the screen is smaller than a first size threshold.
As a preferred embodiment, the first video file opening module or the second video file opening module further includes:
and if the user adjusts the playing progress of the first video file through the first editing application program/the first non-editing application program, synchronously adjusting the playing progress of the first non-editing application program/the first editing application program on the first video file so as to keep the playing progress of the first editing application program and the first non-editing application program on the first video file synchronous.
As a preferred embodiment, maintaining synchronization of the playing progress of the first video file by the first editing application and the first non-editing application, further includes:
acquiring screen positions of the first editing application program and the first non-editing application program, and establishing corresponding relations among the first editing application program, the first non-editing application program and left and right channels of a loudspeaker according to the screen positions;
and respectively controlling the left and right channels of the loudspeaker by the first editing application program and the first non-editing application program according to the corresponding relation between the first editing application program and the first non-editing application program and the left and right channels of the loudspeaker.
As a preferred embodiment, the first editing application and the first non-editing application control the left and right channels of the speaker, respectively, and further include:
acquiring a sound playing mode of the terminal, if the sound playing mode is a loudspeaker playing mode, acquiring the position of a cursor, and if the interface of the cursor is the interface of a first editing application program, controlling left and right channels of the loudspeaker by the first editing application program; if the interface where the cursor is located is the interface where the first non-editing application program is located, controlling left and right channels of the loudspeaker by the first non-editing application program;
And if the speaker is in the earphone playing mode, controlling the left and right channels of the speaker by the first editing application program and the first non-editing application program respectively.
As a preferred embodiment, maintaining synchronization of the playing progress of the first video file by the first editing application and the first non-editing application, further includes:
detecting whether a user clips the first video file, if so, marking the position information of the video segment where the first video file is cut or inserted, and acquiring the position of a cursor;
if the interface where the cursor is located is the interface where the first editing application program is located, when the clipped first video file is played to the clipping position, the first non-editing application program skips the clipped video segment and continues to play the first video file; when the clipped first video file is played to the insertion position, the first non-editing application program pauses the playing of the first video file, wherein the pause time is the playing time of the inserted video segment;
if the interface where the cursor is located is the interface where the first non-editing application program is located, when the first non-editing application program plays to the cutting position of the first video file, the first video file is paused, and the pause time is the play time of the inserted video segment; and skipping the inserted video segment and continuing to play the first video file when the first non-editing application program plays to the insertion position of the first video file.
As a preferred embodiment, the first video file opening module or the second video file opening module further includes:
acquiring the editing operation of a user on the first video file through the first editing application program, and automatically naming and storing a copy of the edited first video file after the user stores the edited first video file;
the first non-editing application program obtains the save operation and the save path of the copy, and prompts the user whether to open the copy of the first video file at the interface of opening the first video file; if yes, the first non-editing application program closes the first video file and opens the copy; if not, the copy is not opened.
As a preferred embodiment, after automatically naming and saving the edited copy of the first video file, the method further comprises:
and if the user executes editing operation on the second video file through the first editing application program, automatically naming the copy of the edited second video file after the user saves the edited second video file, and newly creating an automatically named folder for saving the copy of the first video file and the copy of the second video file.
As a preferred embodiment, further comprising:
if the user executes the closing operation on the first video file through the first editing application program, executing the closing operation on the first video file through the first non-editing application program at the same time;
and if the user executes closing operation on the first video file through the first non-editing application program, not closing the first non-editing application program and the opened first video file thereof.
The invention provides a video browsing and editing device based on artificial intelligence, which firstly identifies the number of application programs and types of the application programs capable of opening a video file when a user opens the video file, and opens the video by using a default application program when only one type of application programs capable of opening the video is available; identifying the number and the size of the screens when the application programs capable of opening the video are of multiple types, and then respectively adopting the application programs of different types to open the video and adopting a multi-screen or split-screen mode to play the video; thus, the opening and editing efficiency of different application programs of the same video is improved. In addition, the video opened for the same application program can be automatically and synchronously played, so that the browsing efficiency of the user on the video is improved. Meanwhile, editing and browsing of the video file can be automatically adapted to the current screen parameters, so that the screen utilization rate is maximized.
As another embodiment, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the above-mentioned video browsing editing method based on artificial intelligence when executing the program.
As another embodiment, the present invention provides a computer readable storage medium stored in a memory within the mobile terminal, the computer readable storage medium comprising performing an artificial intelligence based video browsing editing method as described above.
The invention provides a video browsing editing method, a system, an electronic device and a computer readable storage medium based on artificial intelligence, which are characterized in that when a user opens a video file, the number and types of application programs capable of opening the file are firstly identified, and when only one type of application program capable of opening the video is available, the video is opened by using a default application program; identifying the number and the size of the screens when the application programs capable of opening the video are of multiple types, and then respectively adopting the application programs of different types to open the video and adopting a multi-screen or split-screen mode to play the video; thus, the opening and editing efficiency of different application programs of the same video is improved. In addition, the video opened for the same application program can be automatically and synchronously played, so that the browsing efficiency of the user on the video is improved. Meanwhile, editing and browsing of the video file can be automatically adapted to the current screen parameters, so that the screen utilization rate is maximized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments and 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 other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of steps of an artificial intelligence-based video browsing editing method of the present invention.
Fig. 2 is a schematic structural diagram of an artificial intelligence-based video browsing and editing device of the present invention.
Detailed Description
Embodiments of the present invention are further described below with reference to the accompanying drawings.
Embodiment one:
as shown in fig. 1, the present invention provides a video browsing editing method based on artificial intelligence, which includes the following steps:
s1, acquiring an opening operation of a user on a first video file, and identifying an application program and a category in a terminal, wherein the application program and the category can be used for opening the first video file; it should be noted that, the opening operation of the user on the first video file may be a double-click operation performed on the icon of the first video file by the user; the opening operation of the first video file by calling the first video file in other manners, for example, the video file of the first video file format type is obtained by reading the video file format type of the first video file in a certain application software, and then the opening operation of the first video file by selecting the first video file is performed; and is not limited herein. In addition, the video opening of the invention can trigger the double-screen or split-screen opening of a plurality of application programs, and the opening operation of the invention is to realize the editing function of the video; therefore, in order to distinguish the conventional video opening operation of the user, the operation of opening the first video file according to the present invention may be other opening operations, such as long pressing a left mouse button, dragging an icon of the first video file, and the like, which are not limited herein. The first video file is of a format type such as MPEG, WMV, RM, RMVB. After the user performs the opening operation of the first video file, it indicates that the user may have a requirement of performing comparative browsing on the first video file in a dual-screen or split-screen browsing manner, and since the same video cannot be opened twice with the same opening software at the same time, the comparative browsing often has a requirement of opening the same video twice. In this regard, it is desirable to automatically identify the application and category in the terminal where the first video file may be opened to determine whether the above-described basic conditions for aligned browsing of video files exist. By way of example, an application and a category in the terminal that can open the first video file are identified, for example, a plurality of video player software is installed in the terminal, wherein the first video player software can edit a video, and the second video player software cannot edit the video but can only play the video; at this time, the application program categories for opening the first video file are classified into non-editing application programs and editing application programs. The application program opening the first video file is classified into the above categories because the user may have a need to edit the video while browsing the first video file, and the editing-type application program has a function of editing the video. And when the user browses the same video through multiple screens or split screens, the user often only has the requirement of editing on one of the opened video interfaces so as to continuously adjust the edited content, and the interface opened to the other application program often only has the purpose of comparison, so that the first video file browsed through the split screens or the multiple screens is opened by adopting different types of application programs. On the other hand, if two application programs for opening the first video file are editing application programs during double-screen or split-screen browsing, the user can be caused to edit by misoperation on a certain unedited screen, and the problem that the user is inconvenient to search due to the fact that different editing version files exist due to the fact that the user edits on the two screens. In view of the above, the present invention employs opening an editable version of a first video file using an editing-type application on one screen or split screen, and opening a first video file that can only be browsed using a non-editing-type application on another split screen or split screen; to avoid the problems described above.
S2, if the application programs capable of opening the first video file are non-editing application programs or editing application programs, opening the first video file by using a default application program in the non-editing application programs or a default application program in the editing application programs; if the application program capable of opening the first video file comprises a non-editing application program and an editing application program, executing step S3; it should be noted that, if the applications capable of opening the first video file are non-editing applications, that is, only applications or editing applications capable of browsing the first video file, at this time, since only similar applications exist to implement the same video browsing or editing function, and no different types of applications exist to implement different browsing and editing functions respectively, it is not necessary to open the first video file twice using the similar applications to implement the same browsing or editing function; at this time, the first video file is opened using a default application program in the non-editing application program or a default application program in the editing application program; that is, the first video file is opened only by using the default application program in the application software, that is, the conventional video opening method is not described herein.
S3, identifying the number of screens and the screen size of the terminal; if the number of the screens is multiple, opening the first video file on a first screen by using a first editing application program, and opening the first video file on a second screen by using a first non-editing application program; it should be noted that, except for the category of the application program, the video browsing experience of the user can be affected, that is, different types of application programs can respectively implement different browsing and editing functions thereof; the number of screens and the screen size also affect the editing and browsing functions of the first video file; for example, in a case of a single screen and a smaller screen, for example, in a notebook operating environment, the effect of editing and browsing by a user on two screens or a split screen is often poor, at this time, the user adopts the scheme of the present invention to simultaneously edit and browse the first video file, which has a problem of poor effect, so as to improve the effect achieved by the scheme of the present invention; the number of screens and the screen size of the terminal need to be identified, i.e. the scheme of the present invention is only performed if the number of screens or the screen size reaches the set requirements to achieve the desired editing and browsing effects. At this time, if the number of the screens is plural, for example, the current operating system is connected to a dual-screen display screen, opening the first video file on a first screen by using a first editing application program, and opening the first video file on a second screen by using a first non-editing application program; therefore, user operation and watching effect when the first video file is operated by double screens are ensured while one screen edits the first video file and the other screen browses the first video file. Further, if the number of screens connected by the current operating system is 3 or more, it is preferable that a corresponding number of screens may be determined according to the number of application categories for opening the first video file to open the first video file using one category of application on each screen; if the number of application categories for opening the first video file is inconsistent with the number of screens, the user may preset the application categories for opening the first video file or initiate the screens for multi-screen browsing, or an artificial intelligence algorithm may be used to automatically set the relationship between the application categories for opening the first video file and the number thereof and the number of screens, which is not limited herein. Preferably, the first screen is a main screen and the second screen is a sub-screen.
S4, if only one screen exists and the size of the screen is larger than or equal to a first size threshold, respectively opening the first video file by using a first editing application program and a first non-editing application program, and displaying the first video file opened by the first editing application program and the first video file opened by the first non-editing application program in a split screen mode; it should be noted that, similarly to the above, in order to improve the effect achieved by the solution of the present invention, it is necessary to identify the number of screens and the screen size of the terminal, that is, only if the number of screens or the screen size reaches the set requirement so as to achieve the desired editing and browsing effect. At this time, if the number of screens is only one and the size of the screen is equal to or larger than a first size threshold, for example, the first size threshold is 27 inches, so that the desired visual effect can be achieved only when editing and browsing the first video file when the screen size is larger than the size threshold; at the moment, a first video file is opened by using a first editing application program and a first non-editing application program respectively, and the first video file opened by the first editing application program and the first video file opened by the first non-editing application program are displayed in a split screen mode; the editing and browsing of the first video file are realized in two split screens simultaneously by automatically adopting a split screen mode.
And S5, if only one screen exists in the number and the size of the screen is smaller than a first size threshold, opening the first video file by using a default application program in a non-editing application program or a default application program in an editing application program. It should be noted that, continuing with the foregoing method, if there is only one screen and the size of the screen is smaller than the first size threshold, for example, the first size threshold is 27 inches, the screen editing and browsing the first video file cannot achieve the desired visual effect due to the time when the screen size is smaller than the size threshold; at this time, the default application program in the non-editing application program or the default application program in the editing application program is used to open the first video file, that is, only one default application program is used to open the first video file, and this conventional video opening manner is not described again.
Therefore, according to the video browsing and editing method based on artificial intelligence, when a user opens a video file, the number and types of application programs capable of opening the file are firstly identified, and when only one type of application program capable of opening the video is available, the video is opened by using a default application program; identifying the number and the size of the screens when the application programs capable of opening the video are of multiple types, and then respectively adopting the application programs of different types to open the video and adopting a multi-screen or split-screen mode to play the video; thus, the opening and editing efficiency of different application programs of the same video is improved. In addition, the video opened for the same application program can be automatically and synchronously played, so that the browsing efficiency of the user on the video is improved. Meanwhile, editing and browsing of the video file can be automatically adapted to the current screen parameters, so that the screen utilization rate is maximized.
As a preferred embodiment, the step S3 or S4 further includes:
and if the user adjusts the playing progress of the first video file through the first editing application program/the first non-editing application program, synchronously adjusting the playing progress of the first non-editing application program/the first editing application program on the first video file so as to keep the playing progress of the first editing application program and the first non-editing application program on the first video file synchronous. It should be noted that, because the user has a requirement of browsing different versions of video in comparison when editing the video file, preferably, the present invention adopts a method of synchronizing the first editing application program and the first non-editing application program to synchronously play the edited version and the original version of the first video file, that is, if the user adjusts the playing progress of the first video file through the first editing application program, for example, performs fast forward, pause and fast backward operations on the first video file of the edited version, the playing progress of the first non-editing application program on the first video file is synchronously adjusted so as to keep the playing progress of the first editing application program and the first non-editing application program on the first video file synchronous; likewise, if the user adjusts the playing progress of the first video file through the first non-editing application program, for example, fast forward, pause and fast backward operations are performed on the first video file of the original version, the playing progress of the first video file by the first editing application program is synchronously adjusted, so that the playing progress of the first video file by the first non-editing application program and the first editing application program is kept synchronous. Therefore, the same content of the first video file is synchronously played by the first editing application program and the first non-editing application program, so that a user can intuitively compare differences between the edited video file and the video file before editing, such as effects of repairing pictures, beautifying faces and filtering mirrors.
As a preferred embodiment, maintaining synchronization of the playing progress of the first video file by the first editing application and the first non-editing application, further includes:
acquiring screen positions of the first editing application program and the first non-editing application program, and establishing corresponding relations among the first editing application program, the first non-editing application program and left and right channels of a loudspeaker according to the screen positions; it should be noted that, since the terminal will only grant the audio signal to a single application running in the foreground in the current terminal under normal conditions, there is a difficulty in the grant of the audio signal when playing multiple videos on multiple screens or split screens; in this regard, the invention fully considers the distribution situation of audio signals when playing different videos by multiple screens or split screens, namely, the screen positions of the first editing application program and the first non-editing application program are obtained, and the corresponding relation among the first editing application program, the first non-editing application program and the left and right channels of the loudspeaker is established according to the screen positions; for example, the video playing interface displayed by the first editing application program is located on the left side of the split screen interface or the left side display screen of the dual-screen display screen, and the video playing interface displayed by the first non-editing application program is located on the right side of the split screen interface or the right side display screen of the dual-screen display screen.
And then, respectively controlling the left and right channels of the loudspeaker by the first editing application program and the first non-editing application program according to the corresponding relation among the first editing application program, the first non-editing application program and the left and right channels of the loudspeaker. For example, according to the above relation, the first editing application program controls the speaker left channel, and the first non-editing application program controls the speaker left channel; i.e. left-hand headphones or channels are controlled by the first editing-type application and right-hand headphones or channels are controlled by the first non-editing-type application. Therefore, corresponding sound channels are allocated for different application programs of split-screen or multi-screen video playing, and the simultaneous answering of audio information in the video is realized; more importantly, the invention can provide better comparison effect for double-screen or split-screen video editing and browsing, simultaneously realize synchronous comparison of video and audio and improve comparison efficiency.
As a preferred embodiment, the first editing application and the first non-editing application control the left and right channels of the speaker, respectively, and further include:
Acquiring a sound playing mode of the terminal, if the sound playing mode is a loudspeaker playing mode, acquiring the position of a cursor, and if the interface of the cursor is the interface of a first editing application program, controlling left and right channels of the loudspeaker by the first editing application program; if the interface where the cursor is located is the interface where the first non-editing application program is located, controlling left and right channels of the loudspeaker by the first non-editing application program; it should be noted that, because the two speakers play different video files at the same time, the user can hear the audio after mixing the audio, and at this time, the difference between the two audio signals is difficult to distinguish; therefore, the speaker play mode is not suitable for controlling the left and right channels of the speaker by the first editing-type application program and the first non-editing-type application program, respectively; therefore, a mode that one application program independently controls the audio signal to play is needed, and in order to accurately identify which video playing application program the user more intend to play the audio signal, preferably, the invention acquires the position of the cursor, and further judges which application program interface the attention of the user is on according to the position of the cursor; if the interface where the cursor is located is the interface where the first editing application program is located, controlling the left and right channels of the loudspeaker by the first editing application program; and if the interface where the cursor is located is the interface where the first non-editing application program is located, controlling the left and right channels of the loudspeaker by the first non-editing application program. Therefore, the method and the device can determine and adjust the audio signal source of the loudspeaker according to the cursor position of the attention of the user, thereby improving the intelligentization of audio signal playing.
And if the speaker is in the earphone playing mode, controlling the left and right channels of the speaker by the first editing application program and the first non-editing application program respectively. It should be noted that, if the earphone playing mode is adopted, the user can hear the difference between the sounds of the video files of different versions through different earphones, so that the further video files are modified and edited. Thereby controlling the left and right channels of the speaker by the first editing-type application program and the first non-editing-type application program, respectively; for example, according to the foregoing relationship, the speaker left channel is controlled by the first editing-class application, and the speaker left channel is controlled by the first non-editing-class application; i.e. left-hand headphones or channels are controlled by the first editing-type application and right-hand headphones or channels are controlled by the first non-editing-type application. Therefore, corresponding sound channels are allocated for different application programs of split-screen or multi-screen video playing, and the simultaneous answering of audio information in the video is realized; more importantly, the invention can provide better comparison effect for double-screen or split-screen video editing and browsing, simultaneously realize synchronous comparison of video and audio and improve comparison efficiency.
As a preferred embodiment, maintaining synchronization of the playing progress of the first video file by the first editing application and the first non-editing application, further includes:
detecting whether a user clips the first video file, if so, marking the position information of the video segment where the first video file is cut or inserted, and acquiring the position of a cursor; it should be noted that, since the user may have operations of inserting and deleting video segments in editing the video file, that is, the length of the video may be different from that of the original video, at this time, the simple synchronous playing cannot accurately correspond to the same picture and audio signal; therefore, accurate identification of play synchronization of both is required. For example, whether the user clips the first video file is detected, and if so, further determination is required to be made on the image correspondence of the video files of different versions; at this time, the position information of the video segment where the first video file is cut or inserted, i.e., the 1 minute 30 seconds to 1 minute 50 seconds of the original video file is cut off, and the 20 seconds video of the title is newly added. The location of the cursor is then obtained to determine the application at which the user's current attention is located.
If the interface where the cursor is located is the interface where the first editing application program is located, when the clipped first video file is played to the clipping position, the first non-editing application program skips the clipped video segment and continues to play the first video file; when the clipped first video file is played to the insertion position, the first non-editing application program pauses the playing of the first video file, wherein the pause time is the playing time of the inserted video segment; it should be noted that, if the interface where the cursor is located is the interface where the first editing application program is located, that is, the user is browsing the first video file played on the first editing application program; and when the clipped first video file is played to the clipping position, for example, a position which is clipped for 1 minute 30 seconds to 1 minute 50 seconds, the first non-editing application program skips the clipped video segment and continues to play the first video file, so that the synchronization of the playing picture of the first non-editing application program and the first editing application program is realized. Similarly, when the clipped first video file is played to the insertion position, for example, a 20 second video with a new clip is added, the first non-editing application program pauses to play the first video file, where the pause time is the play time of the inserted video segment, that is, when the first editing application program plays the newly added video segment, the first non-editing application program pauses to play to wait for the synchronization of the frames, and the synchronization of the play frames of the first non-editing application program and the first editing application program is realized until the frames of the two after 20 seconds can be synchronized.
If the interface where the cursor is located is the interface where the first non-editing application program is located, when the first editing application program plays to the cutting position of the first video file, the first video file is paused, and the pause time is the play time of the inserted video segment; and skipping the inserted video segment and continuing to play the first video file when the first editing application program plays to the insertion position of the first video file. It should be noted that, if the interface where the cursor is located is the interface where the first non-editing application program is located, that is, the user is browsing the first video file played on the first non-editing application program; and when the first editing application program plays to the cut position of the first video file, for example, a position cut from 1 minute 30 seconds to 1 minute 50 seconds, the first video file is paused, and the pause time is the play time of the inserted video segment, so that the synchronization of the play picture of the first editing application program and the first non-editing application program is realized. And when the first editing application program plays to the insertion position of the first video file, for example, a 20-second video with a new title is added, skipping the inserted video segment and continuing to play the first video file, so that the synchronization of the play picture of the first editing application program and the first non-editing application program is realized.
As a preferred embodiment, the step S3 or S4 further includes:
acquiring the editing operation of a user on the first video file through the first editing application program, and automatically naming and storing a copy of the edited first video file after the user stores the edited first video file; it should be noted that, because the first non-editing application program opens the original text of the first video file, the text content of the first video file has been changed after the first editing application program edits the first video file, and in order not to affect the first non-editing application program to open the original text of the first video file and the user to browse the original text, preferably, after the user saves the edited first video file, the invention automatically names and saves the copy of the edited first video file; therefore, when the user edits the first video file repeatedly through the first editing application program, the first non-editing application program is not influenced to open the original text of the first video file and browse the original text.
The first non-editing application program obtains the save operation and the save path of the copy, and prompts the user whether to open the copy of the first video file at the interface of opening the first video file; if yes, the first non-editing application program closes the first video file and opens the copy; if not, the copy is not opened. It should be noted that, the user still has a requirement of comparative browsing on the copy of the first video file saved after editing; in this regard, the first non-editing application program is used to obtain the edited saving operation of the first editing application program on the first video file and the saving path of the copy, and prompt the user whether to open the copy of the first video file on the interface of the first non-editing application program for opening the first video file; if so, the first non-editing application program closes the first video file and opens the copy to realize comparative browsing of the copy of the first video file. Otherwise, if the No or no operation prompting dialog is clicked, the first non-editing class application maintains the state of opening the first video file without opening the copy.
As a preferred embodiment, after automatically naming and saving the edited copy of the first video file, the method further comprises:
and if the user executes editing operation on the second video file through the first editing application program, automatically naming the copy of the edited second video file after the user saves the edited second video file, and newly creating an automatically named folder for saving the copy of the first video file and the copy of the second video file. It should be noted that, the comparative browsing of the user is not limited to one video file, for example, may be a plurality of video files in a continuous or same storage path, and at this time, the user is obtained to execute editing operation on the second video file through the first editing application program; and if the user executes editing operation on the second video file through the first editing application program, automatically naming the copy of the edited second video file after the user saves the edited second video file, and newly creating an automatically named folder for saving the copy of the first video file and the copy of the second video file.
As a preferred embodiment, further comprising:
if the user executes the closing operation on the first file through the first editing application program, executing the closing operation on the first file through the first non-editing application program at the same time; it should be noted that, because the user usually operates and edits the first file on the main screen and browses the first file in an auxiliary screen, when the user performs the closing operation on the first file through the first editing application program, it indicates that the user finishes editing and browsing the first video file, and at this time, the closing operation is performed on the first file through the first non-editing application program; therefore, the operation efficiency of the user on closing the first video file is improved.
And if the user executes the closing operation on the first file through the first non-editing application program, not closing the first non-editing application program and the opened first file thereof. It should be noted that, on the contrary, if the user performs the closing operation on the first file through the first non-editing application program, that is, closes the browsing interface on the secondary screen for the first video file, it cannot be proved that the user has finished the editing operation on the first video file, so that the first non-editing application program and the opened first file thereof are not closed.
According to the video browsing editing method based on artificial intelligence, when a user opens a video file, the number and types of application programs capable of opening the file are firstly identified, and when only one type of application program capable of opening the video is available, the video is opened by using a default application program; identifying the number and the size of the screens when the application programs capable of opening the video are of multiple types, and then respectively adopting the application programs of different types to open the video and adopting a multi-screen or split-screen mode to play the video; thus, the opening and editing efficiency of different application programs of the same video is improved. In addition, the video opened for the same application program can be automatically and synchronously played, so that the browsing efficiency of the user on the video is improved. Meanwhile, editing and browsing of the video file can be automatically adapted to the current screen parameters, so that the screen utilization rate is maximized.
Embodiment two:
as shown in fig. 2, the invention provides an artificial intelligence-based video browsing editing device and system, which are characterized by comprising the following modules:
the first identification module is used for acquiring the opening operation of a user on the first video file and identifying the application programs and the categories which can be used for opening the first video file in the terminal; it should be noted that, the opening operation of the user on the first video file may be a double-click operation performed on the icon of the first video file by the user; the opening operation of the first video file by calling the first video file in other manners, for example, the video file of the first video file format type is obtained by reading the video file format type of the first video file in a certain application software, and then the opening operation of the first video file by selecting the first video file is performed; and is not limited herein. In addition, the video opening of the invention can trigger the double-screen or split-screen opening of a plurality of application programs, and the opening operation of the invention is to realize the editing function of the video; therefore, in order to distinguish the conventional video opening operation of the user, the operation of opening the first video file according to the present invention may be other opening operations, such as long pressing a left mouse button, dragging an icon of the first video file, and the like, which are not limited herein. The first video file is of a format type such as MPEG, WMV, RM, RMVB. After the user performs the opening operation of the first video file, it indicates that the user may have a requirement of performing comparative browsing on the first video file in a dual-screen or split-screen browsing manner, and since the same video cannot be opened twice with the same opening software at the same time, the comparative browsing often has a requirement of opening the same video twice. In this regard, it is desirable to automatically identify the application and category in the terminal where the first video file may be opened to determine whether the above-described basic conditions for aligned browsing of video files exist. By way of example, an application and a category in the terminal that can open the first video file are identified, for example, a plurality of video player software is installed in the terminal, wherein the first video player software can edit a video, and the second video player software cannot edit the video but can only play the video; at this time, the application program categories for opening the first video file are classified into non-editing application programs and editing application programs. The application program opening the first video file is classified into the above categories because the user may have a need to edit the video while browsing the first video file, and the editing-type application program has a function of editing the video. And when the user browses the same video through multiple screens or split screens, the user often only has the requirement of editing on one of the opened video interfaces so as to continuously adjust the edited content, and the interface opened to the other application program often only has the purpose of comparison, so that the first video file browsed through the split screens or the multiple screens is opened by adopting different types of application programs. On the other hand, if two application programs for opening the first video file are editing application programs during double-screen or split-screen browsing, the user can be caused to edit by misoperation on a certain unedited screen, and the problem that the user is inconvenient to search due to the fact that different editing version files exist due to the fact that the user edits on the two screens. In view of the above, the present invention employs opening an editable version of a first video file using an editing-type application on one screen or split screen, and opening a first video file that can only be browsed using a non-editing-type application on another split screen or split screen; to avoid the problems described above.
The second identification module is used for opening the first video file by using a default application program in the non-editing application program or a default application program in the editing application program if the application programs capable of opening the first video file are all non-editing application programs or editing application programs; executing a first video file opening module if the application program capable of opening the first video file comprises a non-editing type application program and an editing type application program; it should be noted that, if the applications capable of opening the first video file are non-editing applications, that is, only applications or editing applications capable of browsing the first video file, at this time, since only similar applications exist to implement the same video browsing or editing function, and no different types of applications exist to implement different browsing and editing functions respectively, it is not necessary to open the first video file twice using the similar applications to implement the same browsing or editing function; at this time, the first video file is opened using a default application program in the non-editing application program or a default application program in the editing application program; that is, the first video file is opened only by using the default application program in the application software, that is, the conventional video opening method is not described herein.
The first video file opening module is used for identifying the number of screens and the screen size of the terminal; if the number of the screens is multiple, opening the first video file on a first screen by using a first editing application program, and opening the first video file on a second screen by using a first non-editing application program; it should be noted that, except for the category of the application program, the video browsing experience of the user can be affected, that is, different types of application programs can respectively implement different browsing and editing functions thereof; the number of screens and the screen size also affect the editing and browsing functions of the first video file; for example, in a case of a single screen and a smaller screen, for example, in a notebook operating environment, the effect of editing and browsing by a user on two screens or a split screen is often poor, at this time, the user adopts the scheme of the present invention to simultaneously edit and browse the first video file, which has a problem of poor effect, so as to improve the effect achieved by the scheme of the present invention; the number of screens and the screen size of the terminal need to be identified, i.e. the scheme of the present invention is only performed if the number of screens or the screen size reaches the set requirements to achieve the desired editing and browsing effects. At this time, if the number of the screens is plural, for example, the current operating system is connected to a dual-screen display screen, opening the first video file on a first screen by using a first editing application program, and opening the first video file on a second screen by using a first non-editing application program; therefore, user operation and watching effect when the first video file is operated by double screens are ensured while one screen edits the first video file and the other screen browses the first video file. Further, if the number of screens connected by the current operating system is 3 or more, it is preferable that a corresponding number of screens may be determined according to the number of application categories for opening the first video file to open the first video file using one category of application on each screen; if the number of application categories for opening the first video file is inconsistent with the number of screens, the user may preset the application categories for opening the first video file or initiate the screens for multi-screen browsing, or an artificial intelligence algorithm may be used to automatically set the relationship between the application categories for opening the first video file and the number thereof and the number of screens, which is not limited herein. Preferably, the first screen is a main screen and the second screen is a sub-screen.
The second video file opening module is used for opening the first video file by using a first editing application program and a first non-editing application program respectively and displaying the first video file opened by the first editing application program and the first video file opened by the first non-editing application program in a split screen mode if the number of the screens is only one and the size of the screens is larger than or equal to a first size threshold; it should be noted that, similarly to the above, in order to improve the effect achieved by the solution of the present invention, it is necessary to identify the number of screens and the screen size of the terminal, that is, only if the number of screens or the screen size reaches the set requirement so as to achieve the desired editing and browsing effect. At this time, if the number of screens is only one and the size of the screen is equal to or larger than a first size threshold, for example, the first size threshold is 27 inches, so that the desired visual effect can be achieved only when editing and browsing the first video file when the screen size is larger than the size threshold; at the moment, a first video file is opened by using a first editing application program and a first non-editing application program respectively, and the first video file opened by the first editing application program and the first video file opened by the first non-editing application program are displayed in a split screen mode; the editing and browsing of the first video file are realized in two split screens simultaneously by automatically adopting a split screen mode.
And the third video file opening module is used for opening the first video file by using a default application program in a non-editing application program or a default application program in an editing application program if only one screen exists and the size of the screen is smaller than a first size threshold. It should be noted that, continuing with the foregoing method, if there is only one screen and the size of the screen is smaller than the first size threshold, for example, the first size threshold is 27 inches, the screen editing and browsing the first video file cannot achieve the desired visual effect due to the time when the screen size is smaller than the size threshold; at this time, the default application program in the non-editing application program or the default application program in the editing application program is used to open the first video file, that is, only one default application program is used to open the first video file, and this conventional video opening manner is not described again.
Therefore, when a user opens a video file, the video browsing and editing device and system based on artificial intelligence firstly identify the number and types of application programs capable of opening the file, and when only one type of application program capable of opening the video is available, the video is opened by using a default application program; identifying the number and the size of the screens when the application programs capable of opening the video are of multiple types, and then respectively adopting the application programs of different types to open the video and adopting a multi-screen or split-screen mode to play the video; thus, the opening and editing efficiency of different application programs of the same video is improved. In addition, the video opened for the same application program can be automatically and synchronously played, so that the browsing efficiency of the user on the video is improved. Meanwhile, editing and browsing of the video file can be automatically adapted to the current screen parameters, so that the screen utilization rate is maximized.
As a preferred embodiment, the first video file opening module or the second video file opening module further includes:
and if the user adjusts the playing progress of the first video file through the first editing application program/the first non-editing application program, synchronously adjusting the playing progress of the first non-editing application program/the first editing application program on the first video file so as to keep the playing progress of the first editing application program and the first non-editing application program on the first video file synchronous. It should be noted that, because the user has a requirement of browsing different versions of video in comparison when editing the video file, preferably, the present invention adopts a method of synchronizing the first editing application program and the first non-editing application program to synchronously play the edited version and the original version of the first video file, that is, if the user adjusts the playing progress of the first video file through the first editing application program, for example, performs fast forward, pause and fast backward operations on the first video file of the editing version, the playing progress of the first non-editing application program on the first video file is synchronously adjusted so as to keep the playing progress of the first editing application program and the first non-editing application program on the first video file synchronous; likewise, if the user adjusts the playing progress of the first video file through the first non-editing application program, for example, fast forward, pause and fast backward operations are performed on the first video file of the original version, the playing progress of the first video file by the first editing application program is synchronously adjusted, so that the playing progress of the first video file by the first non-editing application program and the first editing application program is kept synchronous. Therefore, the same content of the first video file is synchronously played by the first editing application program and the first non-editing application program, so that a user can intuitively compare differences between the edited video file and the video file before editing, such as effects of repairing pictures, beautifying faces and filtering mirrors.
As a preferred embodiment, maintaining synchronization of the playing progress of the first video file by the first editing application and the first non-editing application, further includes:
acquiring screen positions of the first editing application program and the first non-editing application program, and establishing corresponding relations among the first editing application program, the first non-editing application program and left and right channels of a loudspeaker according to the screen positions; it should be noted that, since the terminal will only grant the audio signal to a single application running in the foreground in the current terminal under normal conditions, there is a difficulty in the grant of the audio signal when playing multiple videos on multiple screens or split screens; in this regard, the invention fully considers the distribution situation of audio signals when playing different videos by multiple screens or split screens, namely, the screen positions of the first editing application program and the first non-editing application program are obtained, and the corresponding relation among the first editing application program, the first non-editing application program and the left and right channels of the loudspeaker is established according to the screen positions; for example, the video playing interface displayed by the first editing application program is located on the left side of the split screen interface or the left side display screen of the dual-screen display screen, and the video playing interface displayed by the first non-editing application program is located on the right side of the split screen interface or the right side display screen of the dual-screen display screen.
And then, respectively controlling the left and right channels of the loudspeaker by the first editing application program and the first non-editing application program according to the corresponding relation among the first editing application program, the first non-editing application program and the left and right channels of the loudspeaker. For example, according to the above relation, the first editing application program controls the speaker left channel, and the first non-editing application program controls the speaker left channel; i.e. left-hand headphones or channels are controlled by the first editing-type application and right-hand headphones or channels are controlled by the first non-editing-type application. Therefore, corresponding sound channels are allocated for different application programs of split-screen or multi-screen video playing, and the simultaneous answering of audio information in the video is realized; more importantly, the invention can provide better comparison effect for double-screen or split-screen video editing and browsing, simultaneously realize synchronous comparison of video and audio and improve comparison efficiency.
As a preferred embodiment, the first editing application and the first non-editing application control the left and right channels of the speaker, respectively, and further include:
Acquiring a sound playing mode of the terminal, if the sound playing mode is a loudspeaker playing mode, acquiring the position of a cursor, and if the interface of the cursor is the interface of a first editing application program, controlling left and right channels of the loudspeaker by the first editing application program; if the interface where the cursor is located is the interface where the first non-editing application program is located, controlling left and right channels of the loudspeaker by the first non-editing application program; it should be noted that, because the two speakers play different video files at the same time, the user can hear the audio after mixing the audio, and at this time, the difference between the two audio signals is difficult to distinguish; therefore, the speaker play mode is not suitable for controlling the left and right channels of the speaker by the first editing-type application program and the first non-editing-type application program, respectively; therefore, a mode that one application program independently controls the audio signal to play is needed, and in order to accurately identify which video playing application program the user more intend to play the audio signal, preferably, the invention acquires the position of the cursor, and further judges which application program interface the attention of the user is on according to the position of the cursor; if the interface where the cursor is located is the interface where the first editing application program is located, controlling the left and right channels of the loudspeaker by the first editing application program; and if the interface where the cursor is located is the interface where the first non-editing application program is located, controlling the left and right channels of the loudspeaker by the first non-editing application program. Therefore, the method and the device can determine and adjust the audio signal source of the loudspeaker according to the cursor position of the attention of the user, thereby improving the intelligentization of audio signal playing.
And if the speaker is in the earphone playing mode, controlling the left and right channels of the speaker by the first editing application program and the first non-editing application program respectively. It should be noted that, if the earphone playing mode is adopted, the user can hear the difference between the sounds of the video files of different versions through different earphones, so that the further video files are modified and edited. Thereby controlling the left and right channels of the speaker by the first editing-type application program and the first non-editing-type application program, respectively; for example, according to the foregoing relationship, the speaker left channel is controlled by the first editing-class application, and the speaker left channel is controlled by the first non-editing-class application; i.e. left-hand headphones or channels are controlled by the first editing-type application and right-hand headphones or channels are controlled by the first non-editing-type application. Therefore, corresponding sound channels are allocated for different application programs of split-screen or multi-screen video playing, and the simultaneous answering of audio information in the video is realized; more importantly, the invention can provide better comparison effect for double-screen or split-screen video editing and browsing, simultaneously realize synchronous comparison of video and audio and improve comparison efficiency.
As a preferred embodiment, maintaining synchronization of the playing progress of the first video file by the first editing application and the first non-editing application, further includes:
detecting whether a user clips the first video file, if so, marking the position information of the video segment where the first video file is cut or inserted, and acquiring the position of a cursor; it should be noted that, since the user may have operations of inserting and deleting video segments in editing the video file, that is, the length of the video may be different from that of the original video, at this time, the simple synchronous playing cannot accurately correspond to the same picture and audio signal; therefore, accurate identification of play synchronization of both is required. For example, whether the user clips the first video file is detected, and if so, further determination is required to be made on the image correspondence of the video files of different versions; at this time, the position information of the video segment where the first video file is cut or inserted, i.e., the 1 minute 30 seconds to 1 minute 50 seconds of the original video file is cut off, and the 20 seconds video of the title is newly added. The location of the cursor is then obtained to determine the application at which the user's current attention is located.
If the interface where the cursor is located is the interface where the first editing application program is located, when the clipped first video file is played to the clipping position, the first non-editing application program skips the clipped video segment and continues to play the first video file; when the clipped first video file is played to the insertion position, the first non-editing application program pauses the playing of the first video file, wherein the pause time is the playing time of the inserted video segment; it should be noted that, if the interface where the cursor is located is the interface where the first editing application program is located, that is, the user is browsing the first video file played on the first editing application program; and when the clipped first video file is played to the clipping position, for example, a position which is clipped for 1 minute 30 seconds to 1 minute 50 seconds, the first non-editing application program skips the clipped video segment and continues to play the first video file, so that the synchronization of the playing picture of the first non-editing application program and the first editing application program is realized. Similarly, when the clipped first video file is played to the insertion position, for example, a 20 second video with a new clip is added, the first non-editing application program pauses to play the first video file, where the pause time is the play time of the inserted video segment, that is, when the first editing application program plays the newly added video segment, the first non-editing application program pauses to play to wait for the synchronization of the frames, and the synchronization of the play frames of the first non-editing application program and the first editing application program is realized until the frames of the two after 20 seconds can be synchronized.
If the interface where the cursor is located is the interface where the first non-editing application program is located, when the first editing application program plays to the cutting position of the first video file, the first video file is paused, and the pause time is the play time of the inserted video segment; and skipping the inserted video segment and continuing to play the first video file when the first editing application program plays to the insertion position of the first video file. It should be noted that, if the interface where the cursor is located is the interface where the first non-editing application program is located, that is, the user is browsing the first video file played on the first non-editing application program; and when the first editing application program plays to the cut position of the first video file, for example, a position cut from 1 minute 30 seconds to 1 minute 50 seconds, the first video file is paused, and the pause time is the play time of the inserted video segment, so that the synchronization of the play picture of the first editing application program and the first non-editing application program is realized. And when the first editing application program plays to the insertion position of the first video file, for example, a 20-second video with a new title is added, skipping the inserted video segment and continuing to play the first video file, so that the synchronization of the play picture of the first editing application program and the first non-editing application program is realized.
As a preferred embodiment, the first video file opening module or the second video file opening module further includes:
acquiring the editing operation of a user on the first video file through the first editing application program, and automatically naming and storing a copy of the edited first video file after the user stores the edited first video file; it should be noted that, because the first non-editing application program opens the original text of the first video file, the text content of the first video file has been changed after the first editing application program edits the first video file, and in order not to affect the first non-editing application program to open the original text of the first video file and the user to browse the original text, preferably, after the user saves the edited first video file, the invention automatically names and saves the copy of the edited first video file; therefore, when the user edits the first video file repeatedly through the first editing application program, the first non-editing application program is not influenced to open the original text of the first video file and browse the original text.
The first non-editing application program obtains the save operation and the save path of the copy, and prompts the user whether to open the copy of the first video file at the interface of opening the first video file; if yes, the first non-editing application program closes the first video file and opens the copy; if not, the copy is not opened. It should be noted that, the user still has a requirement of comparative browsing on the copy of the first video file saved after editing; in this regard, the first non-editing application program is used to obtain the edited saving operation of the first editing application program on the first video file and the saving path of the copy, and prompt the user whether to open the copy of the first video file on the interface of the first non-editing application program for opening the first video file; if so, the first non-editing application program closes the first video file and opens the copy to realize comparative browsing of the copy of the first video file. Otherwise, if the No or no operation prompting dialog is clicked, the first non-editing class application maintains the state of opening the first video file without opening the copy.
As a preferred embodiment, after automatically naming and saving the edited copy of the first video file, the method further comprises:
and if the user executes editing operation on the second video file through the first editing application program, automatically naming the copy of the edited second video file after the user saves the edited second video file, and newly creating an automatically named folder for saving the copy of the first video file and the copy of the second video file. It should be noted that, the comparative browsing of the user is not limited to one video file, for example, may be a plurality of video files in a continuous or same storage path, and at this time, the user is obtained to execute editing operation on the second video file through the first editing application program; and if the user executes editing operation on the second video file through the first editing application program, automatically naming the copy of the edited second video file after the user saves the edited second video file, and newly creating an automatically named folder for saving the copy of the first video file and the copy of the second video file.
As a preferred embodiment, further comprising:
if the user executes the closing operation on the first file through the first editing application program, executing the closing operation on the first file through the first non-editing application program at the same time; it should be noted that, because the user usually operates and edits the first file on the main screen and browses the first file in an auxiliary screen, when the user performs the closing operation on the first file through the first editing application program, it indicates that the user finishes editing and browsing the first video file, and at this time, the closing operation is performed on the first file through the first non-editing application program; therefore, the operation efficiency of the user on closing the first video file is improved.
And if the user executes the closing operation on the first file through the first non-editing application program, not closing the first non-editing application program and the opened first file thereof. It should be noted that, on the contrary, if the user performs the closing operation on the first file through the first non-editing application program, that is, closes the browsing interface on the secondary screen for the first video file, it cannot be proved that the user has finished the editing operation on the first video file, so that the first non-editing application program and the opened first file thereof are not closed.
According to the video browsing and editing device and system based on artificial intelligence, when a user opens a video file, the number and types of application programs capable of opening the file are firstly identified, and when only one type of application program capable of opening the video is available, the video is opened by using a default application program; identifying the number and the size of the screens when the application programs capable of opening the video are of multiple types, and then respectively adopting the application programs of different types to open the video and adopting a multi-screen or split-screen mode to play the video; thus, the opening and editing efficiency of different application programs of the same video is improved. In addition, the video opened for the same application program can be automatically and synchronously played, so that the browsing efficiency of the user on the video is improved. Meanwhile, editing and browsing of the video file can be automatically adapted to the current screen parameters, so that the screen utilization rate is maximized.
Embodiment III:
as another embodiment, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the artificial intelligence-based video browsing method when executing the program.
Embodiment four:
as another embodiment, the present invention provides a computer readable storage medium stored in a memory within the mobile terminal, the computer readable storage medium comprising performing the artificial intelligence based video browsing method described above.
The invention provides a video browsing editing method, a system, an electronic device and a computer readable storage medium based on artificial intelligence, which are characterized in that when a user opens a video file, the number and types of application programs capable of opening the file are firstly identified, and when only one type of application program capable of opening the video is available, the video is opened by using a default application program; identifying the number and the size of the screens when the application programs capable of opening the video are of multiple types, and then respectively adopting the application programs of different types to open the video and adopting a multi-screen or split-screen mode to play the video; thus, the opening and editing efficiency of different application programs of the same video is improved. In addition, the video opened for the same application program can be automatically and synchronously played, so that the browsing efficiency of the user on the video is improved. Meanwhile, editing and browsing of the video file can be automatically adapted to the current screen parameters, so that the screen utilization rate is maximized.
Those skilled in the art will appreciate that the present invention includes apparatuses related to performing one or more of the operations described herein. These devices may be specially designed and constructed for the required purposes, or may comprise known devices in general purpose computers. These devices have computer programs stored therein that are selectively activated or reconfigured. Such a computer program may be stored in a device (e.g., a computer) readable medium or any type of medium suitable for storing electronic instructions and respectively coupled to a bus, including, but not limited to, any type of disk (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROMs (Read-Only memories), RAMs (Random Access Memory, random access memories), EPROMs (Erasable Programmable Read-Only memories), EEPROMs (Electrically Erasable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
It will be understood by those within the art that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. Those skilled in the art will appreciate that the computer program instructions can be implemented in a general purpose computer, special purpose computer, or other programmable data processing method, such that the blocks of the block diagrams and/or flowchart illustration are implemented by the processor of the computer or other programmable data processing method.
Those of skill in the art will appreciate that the various operations, methods, steps in the flow, acts, schemes, and alternatives discussed in the present invention may be alternated, altered, combined, or eliminated. Further, other steps, means, or steps in a process having various operations, methods, or procedures discussed herein may be alternated, altered, rearranged, disassembled, combined, or eliminated. Further, steps, measures, schemes in the prior art with various operations, methods, flows disclosed in the present invention may also be alternated, altered, rearranged, decomposed, combined, or deleted.
It will be understood by those within the art that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. Those skilled in the art will appreciate that the computer program instructions can be implemented in a general purpose computer, special purpose computer, or other programmable data processing method, such that the blocks of the block diagrams and/or flowchart illustration are implemented by the processor of the computer or other programmable data processing method.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent structures or equivalent processes or direct or indirect application in other related technical fields are included in the scope of the present invention.

Claims (10)

1. The video browsing editing method based on artificial intelligence is characterized by comprising the following steps of:
s1, acquiring an opening operation of a user on a first video file, and identifying an application program and a category in a terminal, wherein the application program and the category can be used for opening the first video file;
S2, if the application programs capable of opening the first video file are non-editing application programs or editing application programs, opening the first video file by using a default application program in the non-editing application programs or a default application program in the editing application programs; if the application program capable of opening the first video file comprises a non-editing application program and an editing application program, executing step S3;
s3, identifying the number of screens and the screen size of the terminal; if the number of the screens is multiple, opening the first video file on a first screen by using a first editing application program, and opening the first video file on a second screen by using a first non-editing application program;
s4, if only one screen exists and the size of the screen is larger than or equal to a first size threshold, respectively opening the first video file by using a first editing application program and a first non-editing application program, and splitting the screen to play the first video file opened by the first editing application program and the first video file opened by the first non-editing application program;
and S5, if only one screen exists in the number and the size of the screen is smaller than a first size threshold, opening the first video file by using a default application program in a non-editing application program or a default application program in an editing application program.
2. The method according to claim 1, wherein the step S3 or S4 further comprises:
and if the user adjusts the playing progress of the first video file through the first editing application program/the first non-editing application program, synchronously adjusting the playing progress of the first non-editing application program/the first editing application program on the first video file so as to keep the playing progress of the first editing application program and the first non-editing application program on the first video file synchronous.
3. The method of claim 2, wherein maintaining synchronization of the progress of the playing of the first video file by the first editing-class application and the first non-editing-class application, further comprises:
acquiring screen positions of the first editing application program and the first non-editing application program, and establishing corresponding relations among the first editing application program, the first non-editing application program and left and right channels of a loudspeaker according to the screen positions;
and respectively controlling the left and right channels of the loudspeaker by the first editing application program and the first non-editing application program according to the corresponding relation between the first editing application program and the first non-editing application program and the left and right channels of the loudspeaker.
4. The method of claim 3, wherein the speaker left and right channels are controlled by the first editing-class application and the first non-editing-class application, respectively, further comprising:
acquiring a sound playing mode of the terminal, if the sound playing mode is a loudspeaker playing mode, acquiring the position of a cursor, and if the interface of the cursor is the interface of a first editing application program, controlling left and right channels of the loudspeaker by the first editing application program; if the interface where the cursor is located is the interface where the first non-editing application program is located, controlling left and right channels of the loudspeaker by the first non-editing application program;
and if the speaker is in the earphone playing mode, the first editing application program and the first non-editing application program respectively control the left channel and the right channel of the speaker.
5. The method of any of claims 2-4, wherein maintaining synchronization of playback progress of the first video file by the first editing-class application and the first non-editing-class application further comprises:
detecting whether a user clips the first video file, if so, marking the position information of the video segment where the first video file is cut or inserted, and acquiring the position of a cursor;
If the interface where the cursor is located is the interface where the first editing application program is located, when the clipped first video file is played to the clipping position, the first non-editing application program skips the clipped video segment and continues to play the first video file; when the clipped first video file is played to the insertion position, the first non-editing application program pauses the playing of the first video file, wherein the pause time is the playing time of the inserted video segment;
if the interface where the cursor is located is the interface where the first non-editing application program is located, when the first non-editing application program plays to the cutting position of the first video file, the first video file is paused, and the pause time is the play time of the inserted video segment; and skipping the inserted video segment and continuing to play the first video file when the first non-editing application program plays to the insertion position of the first video file.
6. The method according to claim 1, wherein the step S3 or S4 further comprises:
acquiring the editing operation of a user on the first video file through the first editing application program, and automatically naming and storing a copy of the edited first video file after the user stores the edited first video file;
The first non-editing application program obtains the save operation and the save path of the copy, and prompts the user whether to open the copy of the first video file at the interface of opening the first video file; if yes, the first non-editing application program closes the first video file and opens the copy; if not, the copy is not opened.
7. The method of claim 6, wherein after automatically naming and saving the edited copy of the first video file, further comprising:
and if the user executes editing operation on the second video file through the first editing application program, automatically naming the copy of the edited second video file after the user saves the edited second video file, and creating a new automatically named folder for saving the copy of the first video file and the copy of the second video file.
8. The method as recited in claim 1, further comprising:
if the user executes the closing operation on the first video file through the first editing application program, executing the closing operation on the first video file through the first non-editing application program at the same time;
And if the user executes closing operation on the first video file through the first non-editing application program, not closing the first non-editing application program and the opened first video file thereof.
9. A video browsing editing system based on artificial intelligence, the system comprising the following modules:
the first identification module is used for acquiring the opening operation of a user on the first video file and identifying the application programs and the categories which can be used for opening the first video file in the terminal;
the second identification module is used for opening the first video file by using a default application program in the non-editing application program or a default application program in the editing application program if the application programs capable of opening the first video file are all non-editing application programs or editing application programs; executing a first video file opening module if the application program capable of opening the first video file comprises a non-editing type application program and an editing type application program;
the first video file opening module is used for identifying the number of screens and the screen size of the terminal; if the number of the screens is multiple, opening the first video file on a first screen by using a first editing application program, and opening the first video file on a second screen by using a first non-editing application program;
The second video file opening module is used for opening the first video file by using a first editing application program and a first non-editing application program respectively and displaying the first video file opened by the first editing application program and the first video file opened by the first non-editing application program in a split screen mode if the number of the screens is only one and the size of the screens is larger than or equal to a first size threshold;
and the third video file opening module is used for opening the first video file by using a default application program in a non-editing application program or a default application program in an editing application program if only one screen exists and the size of the screen is smaller than a first size threshold.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of the preceding claims 1-8 when executing the program.
CN202010990932.0A 2020-09-19 2020-09-19 Video browsing editing method and system based on artificial intelligence Active CN112584208B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010990932.0A CN112584208B (en) 2020-09-19 2020-09-19 Video browsing editing method and system based on artificial intelligence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010990932.0A CN112584208B (en) 2020-09-19 2020-09-19 Video browsing editing method and system based on artificial intelligence

Publications (2)

Publication Number Publication Date
CN112584208A CN112584208A (en) 2021-03-30
CN112584208B true CN112584208B (en) 2023-05-23

Family

ID=75119568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010990932.0A Active CN112584208B (en) 2020-09-19 2020-09-19 Video browsing editing method and system based on artificial intelligence

Country Status (1)

Country Link
CN (1) CN112584208B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090503B (en) * 2021-11-10 2024-06-14 中国航空工业集团公司雷华电子技术研究所 File management method, system, electronic equipment and readable storage medium thereof
CN115344159A (en) * 2022-08-25 2022-11-15 维沃移动通信有限公司 File processing method and device, electronic equipment and readable storage medium
CN117891456A (en) * 2022-10-08 2024-04-16 北京字跳网络技术有限公司 Method, device, equipment and medium for converting multimedia editing file

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8250518B2 (en) * 2006-03-30 2012-08-21 Microsoft Corporation Per user file associations
CN102521032B (en) * 2011-12-13 2014-03-26 北京风灵创景科技有限公司 Setting method for optimal application programs and mobile terminal
CN103440144B (en) * 2013-08-07 2016-09-28 北京奇虎科技有限公司 A kind of method to set up to the default software that equipment uses and device

Also Published As

Publication number Publication date
CN112584208A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN112584208B (en) Video browsing editing method and system based on artificial intelligence
US11670339B2 (en) Video acquisition method and device, terminal and medium
JP4496264B2 (en) Electronic device and video display method
CN101453567B (en) Apparatus and method for photographing and editing moving image
CN110691276B (en) Method and device for splicing multimedia segments, mobile terminal and storage medium
US12106778B2 (en) Multimedia resource clipping method and apparatus, device and storage medium
WO2009081478A1 (en) Electronic device, control method, and program
JP2009088689A (en) Electronic equipment, and display method
WO2022206366A1 (en) Application video processing method, and electronic device
JP2011526087A (en) Editing apparatus and editing method
JP2008141746A (en) System and method for playing moving images
US9251850B2 (en) Nonlinear proxy-based editing system and method having improved audio level controls
US9818448B1 (en) Media editing with linked time-based metadata
CN108920057B (en) Method, device, equipment and storage medium for controlling connection nodes of electronic whiteboard
US20180239504A1 (en) Systems and methods for providing webinars
CN112616084B (en) Lyric display method, device, terminal and storage medium
WO2023040743A1 (en) Video processing method, apparatus, and device, and storage medium
JP2014030153A (en) Information processor, information processing method, and computer program
WO2022217944A1 (en) Method for binding subtitle with audio source, and apparatus
WO2022194070A1 (en) Video processing method for application, and electronic device
KR20080104415A (en) Recording medium recording video editing system and method and program implementing the method
CN108595133A (en) A kind of picture-in-picture display methods and system
JP4709929B2 (en) Electronic device and display control method
US20150058394A1 (en) Method for processing data and electronic apparatus
CN104423936A (en) Data acqusition method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230425

Address after: 050000 Golden Collar Building, 106-1 Yuhua East Road, Yuhua District, Shijiazhuang City, Hebei Province, 2-2-1403

Applicant after: Hebei Nengrui Technology Co.,Ltd.

Address before: No.1 Changjiang River, intersection of Jingguang South Road and Changjiang Road, Erqi District, Zhengzhou City, Henan Province 452400

Applicant before: Wang Xiaoyan

GR01 Patent grant
GR01 Patent grant