Media data processing method and device, electronic equipment and storage medium
By selecting a processing template on the media data processing page and triggering the processing control, the problem of low media data processing efficiency in the prior art is solved, and efficient processing and batch processing of multiple to be processed media data is realized.
Patent Information
- Application Number
- CN202311101771.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-29
- Publication Date
- 2025-02-28
AI Technical Summary
In the prior art, media data processing efficiency is low, and individual media data need to be processed separately through tools, resulting in low processing efficiency.
A media data processing method is provided, by displaying a media data processing page, including a media data display area and a template area, selecting a processing template to process the media data to be processed, and displaying the processed media content when the processing control triggers an operation.
It realizes efficient processing of multiple media data to be processed, and improves the efficiency of media data processing through template selection and batch processing.
Smart Images

Figure CN119536598A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a media data processing method, device, electronic equipment and storage medium. Background Art
[0002] The development of network technology has promoted the application of media data, such as video, in various scenarios. In the process of video application, it is necessary to process the video through tools with high operation thresholds, such as editing and trimming the video, and adding some very common special effects to enhance the video's viewing experience.
[0003] In some scenarios, it is necessary to process media data in a unified manner, such as unifying the duration of videos, or adding unified titles and endings to videos. In existing technical solutions, when processing media data in a unified manner, tools are required to process each piece of media data separately, which results in low processing efficiency. Summary of the invention
[0004] The present invention provides a media data processing method, device, electronic device and storage medium to solve the technical problem of low media data processing efficiency.
[0005] According to one aspect of the present invention, there is provided a media data processing method, comprising:
[0006] Displaying a media data processing page, the media data processing page comprising a media data display area and a template area, the media data display area is used to display media data, and the template area displays a processing template for processing the media data;
[0007] Selecting a processing template to be used for at least one of the media data to be processed;
[0008] In response to the triggering operation of the processing control in the media data processing page, the media data to be processed is processed, and each media content after the corresponding media data to be processed is processed according to the selected processing template is displayed.
[0009] According to another aspect of the present invention, there is provided a media data processing device, comprising:
[0010] A display module, used to display a media data processing page, the media data processing page includes a media data display area and a template area, the media data display area is used to display media data, and the template area displays a processing template for processing the media data;
[0011] A selection module, configured to select a processing template to be used for at least one of the media data to be processed;
[0012] The processing module is used to process the to-be-processed media data in response to the triggering operation of the processing control in the media data processing page, and display the media content after each to-be-processed media data corresponding to the to-be-processed media data is processed according to the selected processing template.
[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the media data processing method described in any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the media data processing method described in any embodiment of the present invention when executed.
[0018] The technical solution of an embodiment of the present invention solves the problem of low media data processing efficiency by displaying a media data processing page, wherein the media data processing page includes a media data display area and a template area, wherein the media data display area is used to display media data, and the template area displays a processing template for processing the media data; selecting a processing template used for at least one media data to be processed in the media data; in response to a triggering operation of a processing control in the media data processing page, processing the media data to be processed, and displaying the media content after each corresponding media data to be processed is processed according to the selected processing template, thereby solving the problem of low media data processing efficiency. The present invention selects a processing template for multiple media data to be processed in the media data, and when a triggering operation of a processing control is detected, processes the media data to be processed according to the selected processing template, and then displays the processed media content, thereby realizing convenient visualization processing of the media data to be processed and improving the processing efficiency of the media data to be processed.
[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 is a flow chart of a media data processing method provided by an embodiment of the present invention;
[0022] Figure 2 is a flow chart of a media data processing method provided by an embodiment of the present invention;
[0023] Figure 3 is a schematic diagram of an interface applicable to the media data processing method provided in an embodiment of the present invention;
[0024] Figure 4 is a structural diagram of a media data processing device provided by Embodiment 3 of the present invention;
[0025] Figure 5 It is a structural schematic diagram of an electronic device of a media data processing method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] In the following embodiments, each embodiment provides optional features and examples at the same time, and the various features recorded in the embodiments can be combined to form multiple optional solutions, and each numbered embodiment should not be regarded as only one technical solution. In addition, the embodiments in this disclosure and the features in the embodiments can be combined with each other without conflict.
[0029] Figure 1 1 is a flowchart of a media data processing method provided by an embodiment of the present invention. This embodiment is applicable to the case of processing media data. The method can be executed by a media data processing device. The media data processing device can be implemented in the form of hardware and / or software. The media data processing device can be configured in an electronic device. Figure 1 As shown, the method includes:
[0030] S110: Display a media data processing page.
[0031] The media data processing page can be considered as a page for processing media data. Media data can be considered as a medium for transmitting information, and media data includes text, pictures and / or videos. The processing template can be considered as a template for processing media data, which truthfully describes the information on how to process media data and is represented by structured data. The content included in the template data is not limited here and can be determined according to actual needs. In the case where the media data is a video, the processing template may include template resources such as multiple pictures, music and / or videos; it may also include scene information and / or digital human synthesis; it may also include special effects and / or transitions. There is no limitation on the content included in the processing template here.
[0032] The processing template can be a default one or a user-defined one. Users can create multiple processing templates for processing media data. Users can have editing permissions on processing templates, and users can add various processing parameters to the processing template, such as title, end, watermark, background music and / or transition effects.
[0033] In one embodiment, taking the media data as a recorded premium course as an example, the processed parameter may be title information, which may include the course name, teacher name, and school name. The title information may be automatically obtained in the recording and broadcasting system. For example, the recorded video is recorded according to the class schedule, and the title information may be obtained from the background and matched to the corresponding media data. In the absence of processed parameters, the user may be allowed to manually edit and associate it with the recorded video by inputting text information.
[0034] The acquisition, processing and storage of data in the present invention are all legal and authorized by the owner of the data.
[0035] The media data processing page includes a media data display area and a template area, wherein the media data display area is used to display media data, and the template area displays a processing template for processing the media data. The media data display area can be considered as an area for displaying media data. The template area can be considered as an area for displaying processing templates.
[0036] The media data processing page is divided into at least two areas, namely, a media data display area for displaying media data and a template area for displaying processing templates. The media data displayed in the media data display area can be selected for processing. For example, the to-be-processed media data can be selected from the media data displayed in the media data display area for processing. The to-be-processed media data can be considered as the to-be-processed media data. When processing the to-be-processed media data, the processing template in the template area can be selected to process the to-be-processed media data.
[0037] The triggering means for displaying the media data processing page is not limited here, and the media data processing method can be provided by the application software, and the application software can be a Web application or locally installed software. The media data processing page can be used as the homepage in the application software.
[0038] S120: Select a processing template to be used for at least one of the media data to be processed.
[0039] The processing template used by the media data to be processed may be considered as a processing template used when the media data to be processed is processed.
[0040] In this step, a processing template for the media data to be processed can be selected. In this step, a processing template can be selected for multiple media data to be processed, or a processing template can be selected for one media data to be processed. This embodiment supports the function of selecting a processing template for multiple media data to be processed.
[0041] In the process of selecting processing templates for multiple media data to be processed, the processing templates may be selected for multiple media data at the same time, or the processing templates may be selected for multiple media data in sequence.
[0042] In the case where the processing templates selected for multiple media data are the same, the processing templates can be selected for the multiple media data at the same time. For example, after selecting multiple media data, corresponding processing templates are selected for the multiple media data.
[0043] This step does not limit the technical means for selecting the processing template. For example, the processing template can be selected by dragging the media data to be processed to the area corresponding to the corresponding processing template; or a processing template can be selected for the media data from a pop-up window after right-clicking the video.
[0044] This step can select a processing template for multiple media data to be processed, realize synchronous processing of multiple media data to be processed, and avoid the technical problem of low efficiency caused by processing another media data to be processed after one media data to be processed is processed.
[0045] S130: In response to a triggering operation of a processing control in the media data processing page, the media data to be processed is processed, and media content after each corresponding media data to be processed is processed according to the selected processing template is displayed.
[0046] The processing control can be considered as a control that triggers the processing of the media data to be processed. The triggering operation can be an operation that triggers the processing control, such as a click operation of the processing control. The media content can be considered as the content obtained after the media data to be processed is processed according to the processing template.
[0047] In this step, after the processing control is clicked, each media data to be processed can be processed according to the selected processing template, and then the processed media content can be displayed.
[0048] In this step, all the media data to be processed can be processed in parallel, so as to realize batch processing of the media data to be processed. Multiple media data to be processed can be processed synchronously, so as to improve the processing efficiency of the media data to be processed.
[0049] The media data processing method provided in this embodiment solves the problem of low media data processing efficiency by displaying a media data processing page, wherein the media data processing page includes a media data display area and a template area, wherein the media data display area is used to display media data, and the template area displays a processing template for processing the media data; selecting a processing template used for at least one media data to be processed in the media data; processing the media data to be processed in response to a triggering operation of a processing control in the media data processing page, and displaying the media content after each corresponding media data to be processed is processed according to the selected processing template, thereby solving the problem of low media data processing efficiency. The present invention selects a processing template for multiple media data to be processed in the media data, and when a triggering operation of a processing control is detected, processes the media data to be processed according to the selected processing template, and then displays the processed media content, thereby realizing convenient visualization processing of the media data to be processed and improving the processing efficiency of the media data to be processed.
[0050] Based on the above embodiment, a modified embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the modified embodiment.
[0051] In one embodiment, the template area includes a processing template display sub-area and a processing queue display sub-area. The processing template display sub-area is used to display one or more processing modules for processing the media data to be processed, and the processing queue display sub-area is used to display the processing queues of the media data to be processed corresponding to each processing template.
[0052] The processing template display sub-area can be considered as a sub-area in the template area for displaying the processing template. The processing queue display sub-area can be considered as a sub-area in the template area for displaying the processing queue.
[0053] Each processing template may correspond to a processing queue, which is used to characterize the unprocessed media data that needs to be processed in the processing template. The unprocessed media data corresponding to the processing template may be arranged in order in the processing queue. The order may be the order in which the processing template is selected by the unprocessed media data. For example, if the unprocessed media data a first selects the processing template a, and then the unprocessed media data b selects the processing template a, then the unprocessed media data a in the processing queue corresponding to the processing template a is located before the unprocessed media data b, and the unprocessed media data is processed according to the strategy of processing by the advanced processing queue first. The unprocessed media data in the processing queue can be processed one by one, or they can be processed at the same time in every n pieces. The specific processing strategy is not limited here.
[0054] The display position of the processing queue is not limited and can be displayed at the position of the corresponding processing template. For example, the processing queue is displayed above the corresponding processing template, and the processing queue and the processing template are arranged up and down in the template area.
[0055] In this embodiment, the media area further displays the template through a processing template display sub-area, and displays the processing queue corresponding to the processing template through a processing queue display sub-area, thereby realizing an intuitive correspondence between the processing template and the media data to be processed, and more intuitively determining the processing order of the media data to be processed corresponding to the processing template.
[0056] Figure 2 is a flow chart of a media data processing method provided by an embodiment of the present invention, and this embodiment further illustrates the operation of selecting a processing template. Figure 2 As shown, the method includes:
[0057] S210: Display a media data processing page.
[0058] S220: In response to a drag operation on the to-be-processed media data in the media data, synchronize a display position of the to-be-processed media data with a drag position of the drag operation.
[0059] This embodiment refines the specific scheme for selecting a processing template. The dragging operation can be considered as an operation of dragging the media data to be processed in the media data processing page. For example, the operation of dragging the media data to be processed from the media data display area to the template area. Specifically, the media data to be processed can be dragged from the media data display area to the processing template display sub-area corresponding to the processing template, and then the processing template corresponding to the processing template display sub-area is determined as the selected processing template.
[0060] The display position can be considered as the position where the media data to be processed is displayed on the media data processing page. The drag position can be considered as the position corresponding to the drag operation on the media data processing page. In response to the drag operation, this embodiment moves the media data to be processed to follow the action point of the drag operation on the media data page. If the drag operation is an operation of clicking the left button and moving the mouse, the display position of the media data to be processed is the position of the mouse.
[0061] S230. In response to a stop dragging operation on a target processing queue display sub-region in the template region, displaying the template data to be processed in a processing queue displayed in the target processing queue display sub-region.
[0062] The stop dragging operation may be considered as an operation of stopping the dragging of the to-be-processed media data, and the operation method of the stop operation is not limited here, such as the operation of releasing the left mouse button.
[0063] The target processing queue display sub-area can be considered as the processing queue display sub-area corresponding to the stop operation. In this step, the stop drag operation is detected on the target processing queue display sub-area, indicating that the dragging of the media data to be processed is finished, so the media data to be processed is displayed in the processing queue displayed in the target processing queue display sub-area, and arranged at the last position in the processing queue. As a result, the media data to be processed is moved from the media data display area to the processing queue in the target processing queue display sub-area.
[0064] The processing template corresponding to the target processing queue display sub-area is the processing template selected by the template data to be processed.
[0065] S240: In response to a triggering operation of a processing control in the media data processing page, the media data to be processed is processed, and media content after each corresponding media data to be processed is processed according to the selected processing template is displayed.
[0066] This embodiment refines the operation of selecting a processing template. In the process of selecting a processing template, the selection of the processing template is achieved directly through the dragging operation and the stopping of the dragging operation. The selection method is intuitive and easy to operate, thereby improving the selection efficiency of the processing template.
[0067] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.
[0068] In one embodiment, the to-be-processed media data in the processing queue are arranged in the processing queue in the order in which they are dragged to the corresponding processing templates.
[0069] The order of precedence can represent the order of dragging to the processing template. Each processing template corresponds to a processing queue, which includes all the media data to be processed that need to be processed by the processing template. When the media data to be processed is displayed in the processing queue, it can be stored in the processing queue by stacking and processed according to the first-in-first-out strategy.
[0070] In one embodiment, the media data processing method further includes:
[0071] In response to a processing state adjustment operation on the media data to be processed in the processing queue, adjusting the processing state of the media data to be processed;
[0072] In response to an order modification operation on the to-be-processed media data in the processing queue, adjusting the processing order of the to-be-processed media data in the corresponding processing queue;
[0073] In response to a queue adjustment operation on the media data to be processed in the processing queue, the processing queue corresponding to the media data to be processed is adjusted.
[0074] The processing state adjustment operation can be considered as an operation to adjust the processing state. The processing state can be information representing the processing situation. For example, the processing state includes processing, pausing and canceling processing.
[0075] In this embodiment, the processing status of the pending media data in the processing queue can be adjusted. The operation method of the processing status adjustment operation is not limited here. For example, the two states of start processing and pause processing can be changed by clicking on the pending media data, and the processing of the pending media data can be canceled by clicking the cancel control.
[0076] The sequence modification operation can be considered as an operation of modifying the processing sequence of the to-be-processed media data.
[0077] The processing order may be the arrangement order of the to-be-processed media data in the processing queue, and the order represents the order in which the to-be-processed media data are processed.
[0078] The operation method is not limited here, such as moving the position of the to-be-processed media data in the processing queue. The position of the to-be-processed media data after the move can be regarded as the adjusted processing order of the to-be-processed media data.
[0079] Exemplarily, the processing template includes media data a to be processed and media data b to be processed, and the media data to be processed is located at the first position in the processing queue. The sequential modification operation can be dragging the media data a to be processed after the media data b to be processed, so that the media data b to be processed is located at the first position in the processing queue, and the media data a to be processed is located at the second position in the processing queue.
[0080] The queue adjustment operation can be considered as an operation to adjust the queue corresponding to the to-be-processed media data. The operation method is not limited here, and it can be to move the to-be-processed media data from the processing queue where it is located to the swapped processing queue. For example, drag the to-be-processed media data to the updated processing queue to use the processing template corresponding to the adjusted processing queue to process the to-be-processed media data.
[0081] This embodiment edits and updates the processing status of the to-be-processed media data through a processing status adjustment operation, conveniently updates the processing sequence of the to-be-processed media data through a sequence modification operation, and conveniently adjusts the processing queue of the to-be-processed media data through a queue adjustment operation.
[0082] In one embodiment, after selecting a processing template to be used for at least one of the media data to be processed, the method further includes:
[0083] In the processing preview area of the media data processing page, the media content processed according to the selected processing template is previewed.
[0084] The processing preview area can be considered as an area for previewing the processed effect. The previewed media content can be directly displayed in the processing preview area for the user to preview the effect, or it can be displayed in the processing preview area after being selected by the user. The selection method is not limited here.
[0085] In this embodiment, the media content previewed has not started the actual media data processing, such as video processing, that is, the video re-encoding and decoding has not occurred. In this embodiment, the media content is only previewed for the user to confirm whether the media content meets expectations.
[0086] In one embodiment, the media data processing page further includes an original video preview area, and the method further includes:
[0087] In response to a selection operation of the media data to be processed in the media data display area, the media data to be processed is previewed in the original video preview area.
[0088] The original video preview area can be considered as an area for previewing the original video. The original video can be considered as a video displayed in the media data display area, also known as a video processed by a processing template. The selection operation can be considered as an operation of selecting media data to be processed.
[0089] In this embodiment, before selecting a processing template for the media data to be processed, the media data to be processed can be selected through a selection operation to display the media data to be processed in the original video preview area for viewing to confirm whether the selected media data to be processed is the media data to be processed.
[0090] In one embodiment, in response to the triggering operation of the processing control in the media data processing page, processing the to-be-processed media data, and displaying each media content after the corresponding to-be-processed media data is processed according to the selected processing template, includes:
[0091] In response to a triggering operation of a processing control in the media data processing page, batch processing is performed on the to-be-processed media data of the selected processing template, and the processing progress of the to-be-processed media data is displayed;
[0092] After the to-be-processed media data is processed, the processed media content corresponding to the to-be-processed media data is displayed.
[0093] In this embodiment, a processing template may be selected for all the media data to be processed in sequence, and then the processing control may be triggered to batch process the media data to be processed. During the process of processing the media data to be processed, the processing progress of the media data to be processed may be displayed. The processing progress of the media data to be processed may be displayed at the corresponding media data to be processed for easy viewing.
[0094] In one embodiment, the selecting a processing template to be used for at least one of the media data to be processed includes:
[0095] At the same time, selecting a same processing template used by a plurality of media data to be processed in the media data;
[0096] The unprocessed templates used by the plurality of media data to be processed in the media data are selected in sequence.
[0097] In this embodiment, multiple processed media data using the same processing template can select the processing template at the same time. The order of the to-be-processed media data that select the processing template at the same time in the corresponding processing queue is not limited and can be set randomly. It can also be determined according to the selection order of the multiple to-be-processed media data.
[0098] When a plurality of media data to be processed use different processing templates respectively, a processing template may be selected for each of the media data to be processed respectively and in turn.
[0099] The media data processing method provided by the present invention can be considered as a solution for visual batch processing of videos. Take the teaching video generated in the teaching scene as an example.
[0100] In one embodiment, the teacher uses a computer to open a courseware or whiteboard, such as a full-screen PPT, and then gives a lecture to the PPT or whiteboard. At the same time, the teacher uses screen recording software to record the lecture process, and the video is saved locally on the computer.
[0101] In some unified requirements for quality courses, it is sometimes necessary to unify the teacher's teaching videos, such as unifying the length, adding unified opening and ending credits, such as the opening color, opening content, and requiring the opening to include the course name, teacher name, etc.
[0102] In addition, more technical requirements may require unified settings of video resolution, bit rate, frame rate, and video length (for example, not more than one hour).
[0103] In the existing technical solutions, processing such videos usually requires processing them one by one, which is time-consuming and labor-intensive, and has a high operating threshold. Video processing generally requires the use of video editing tools. These software can usually only process videos one by one, and can do very complex video editing, but the efficiency is not high.
[0104] The present invention uses a unified video template and processes videos based on the template, which can greatly improve efficiency.
[0105] The present invention proposes a solution for visual batch processing of videos. Figure 3 Schematic diagram of an interface applicable to the media data processing method provided in an embodiment of the present invention. Figure 3 , select the remote recorder and the local video file directory of the computer. The remote recorder stores the video shot by the camera, that is, the recorded video. Through the remote recording host and the local video file directory of the computer, you can view the media data in the media data display area of the media data processing page. The media data display area can display videos in the video set of the recorder and videos in the local video directory.
[0106] After selection, you can see the thumbnail of each video on the interface, and you can click the thumbnail to open the source video for preview. That is, in response to the selection operation of the media data to be processed in the media data display area, the media data to be processed is previewed in the original video preview area.
[0107] You can also select one or more source videos, drag the source video to the video processing template area (i.e., template area), and drag it to a video processing template (i.e., processing template), which means that the video processing template is selected for the source video (i.e., original video). That is, in response to the drag operation of the to-be-processed media data in the media data, the display position of the to-be-processed media data is synchronized with the drag position of the drag operation; in response to the stop drag operation on the target processing queue display sub-area in the template area, the to-be-processed template data is displayed in the processing queue displayed in the target processing queue display sub-area, and the processing template corresponding to the target processing queue display sub-area is the processing template selected for the to-be-processed template data.
[0108] Then, you can preview the effect of the source video after processing (such as reduction, overlay, pixel adjustment and splicing) according to the video processing template. The preview here does not start the real video processing, that is, the video re-encoding and decoding has not occurred yet.
[0109] Finally, batch processing starts, and the source video is downloaded to the local computer, and uniformly processed according to the selected video processing template. During the processing, the processing progress of each video is also displayed on the interface. That is, in response to the processing control in the media data processing page (see Figure 3 The batch processing selects the media data to be processed of the processing template and displays the processing progress of the media data to be processed.
[0110] Figure 3 3 processing templates are shown, namely, video processing template 1, video processing template 2 and video processing template 3. The rectangle above each processing template corresponds to the to-be-processed media data corresponding to each processing template. Each rectangle is processed by the processing template in turn from bottom to top. Figure 3 The rectangle corresponding to the source video preview can be considered as the original video preview area. The post-video preview can be considered as the processing preview area. The rectangles corresponding to the video set of the recorder and the local video directory can be considered as the media data display area. The area where video processing template 1, video processing template 2 and video processing template 3 are located can be considered as the processing template display sub-area. The area where the rectangle above the processing template is located can be considered as the processing queue display sub-area. Figure 3 The interface diagram shown is a page schematic diagram of the media data processing page.
[0111] For performance considerations, you can also choose a server with better performance, upload the source video to the server, and perform video processing operations on the server.
[0112] During the video processing, the user can choose to pause certain video processing (i.e., in response to the processing status adjustment operation of the media data to be processed in the processing queue, adjust the processing status of the media data to be processed), or modify the video synthesis queue to advance or postpone certain video processing (i.e., in response to the order modification operation of the media data to be processed in the processing queue, adjust the processing order of the media data to be processed in the corresponding processing queue). During the processing, if everything is ready, it can be completely unattended.
[0113] The present invention allows users to use the default video processing template, or customize the video processing template, and batch select videos to apply the video processing template, so as to quickly process the videos without having to operate them one by one, thus greatly improving the efficiency. Moreover, the template can be reused, and the user does not need to care how the template is created, but only needs to use it, thus reducing the use cost.
[0114] Figure 4 Schematic diagram of the structure of a media data processing device provided by Embodiment 3 of the present invention. Figure 4 As shown, the device comprises:
[0115] A display module 410, configured to display a media data processing page, wherein the media data processing page includes a media data display area and a template area, wherein the media data display area is used to display media data, and the template area displays a processing template for processing the media data;
[0116] A selection module 420, configured to select a processing template to be used for at least one of the media data to be processed;
[0117] The processing module 430 is used to process the to-be-processed media data in response to the triggering operation of the processing control in the media data processing page, and display each media content after the corresponding to-be-processed media data is processed according to the selected processing template.
[0118] Optionally, the template area includes a processing template display sub-area and a processing queue display sub-area, the processing template display sub-area is used to display one or more processing modules for processing the media data to be processed, and the processing queue display sub-area is used to display the processing queues of the media data to be processed corresponding to each processing template.
[0119] Optionally, the selection module 420 is specifically configured to:
[0120] In response to a drag operation on the to-be-processed media data among the media data, synchronizing a display position of the to-be-processed media data with a drag position of the drag operation;
[0121] In response to the stop drag operation on the target processing queue display sub-area in the template area, the template data to be processed is displayed in the processing queue displayed in the target processing queue display sub-area, and the processing template corresponding to the target processing queue display sub-area is the processing template selected by the template data to be processed.
[0122] Optionally, the media data to be processed in the processing queue are arranged in the processing queue in the order in which they are dragged to the corresponding processing templates.
[0123] Optionally, the media data processing device further includes: an adjustment module for
[0124] In response to a processing state adjustment operation on the media data to be processed in the processing queue, adjusting the processing state of the media data to be processed;
[0125] In response to an order modification operation on the to-be-processed media data in the processing queue, adjusting the processing order of the to-be-processed media data in the corresponding processing queue;
[0126] In response to a queue adjustment operation on the media data to be processed in the processing queue, the processing queue corresponding to the media data to be processed is adjusted.
[0127] Optionally, the media data processing device also includes: a first preview module, used to preview the media content processed by the selected processing template in the processing preview area of the media data processing page after selecting the processing template used for at least one of the media data to be processed.
[0128] Optionally, the media data processing page further includes an original video preview area, and the media data processing device further includes: a second preview module, which is used to:
[0129] In response to a selection operation of the media data to be processed in the media data display area, the media data to be processed is previewed in the original video preview area.
[0130] Optionally, the processing module 430 is specifically configured to:
[0131] In response to a triggering operation of a processing control in the media data processing page, batch processing is performed on the to-be-processed media data of the selected processing template, and the processing progress of the to-be-processed media data is displayed;
[0132] After the to-be-processed media data is processed, the processed media content corresponding to the to-be-processed media data is displayed.
[0133] Optionally, the selection module 420 is specifically configured to:
[0134] At the same time, selecting a same processing template used by a plurality of media data to be processed in the media data;
[0135] The unprocessed templates used by the plurality of media data to be processed in the media data are selected in sequence.
[0136] The media data processing device provided in the embodiment of the present invention can execute the media data processing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0137] Figure 5 Schematic diagram of the structure of an electronic device of the media data processing method of an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0138] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0139] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0140] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a media data processing method.
[0141] In some embodiments, the media data processing method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the media data processing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the media data processing method in any other appropriate manner (e.g., by means of firmware).
[0142] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0143] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0144] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0145] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0146] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0147] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0148] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0149] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A media data processing method, characterized in that: include: Displaying a media data processing page, the media data processing page comprising a media data display area and a template area, the media data display area is used to display media data, and the template area displays a processing template for processing the media data; Selecting a processing template to be used for at least one of the media data to be processed; In response to the triggering operation of the processing control in the media data processing page, the media data to be processed is processed, and each media content after the corresponding media data to be processed is processed according to the selected processing template is displayed.
2. The method according to claim 1, characterized in that: The template area includes a processing template display sub-area and a processing queue display sub-area. The processing template display sub-area is used to display one or more processing modules for processing the media data to be processed, and the processing queue display sub-area is used to display the processing queues of the media data to be processed corresponding to each processing template.
3. The method according to claim 2, characterized in that The selecting a processing template used for at least one of the media data to be processed includes: In response to a drag operation on the to-be-processed media data among the media data, synchronizing a display position of the to-be-processed media data with a drag position of the drag operation; In response to the stop drag operation on the target processing queue display sub-area in the template area, the template data to be processed is displayed in the processing queue displayed in the target processing queue display sub-area, and the processing template corresponding to the target processing queue display sub-area is the processing template selected by the template data to be processed. 4 . The method according to claim 3 , wherein the media data to be processed in the processing queue are arranged in the processing queue in the order in which they are dragged to the corresponding processing templates.
5. The method according to claim 2, characterized in that: Also includes: In response to an operation of adjusting the processing state of the media data to be processed in the processing queue, adjusting the processing state of the media data to be processed; In response to an order modification operation on the to-be-processed media data in the processing queue, adjusting the processing order of the to-be-processed media data in the corresponding processing queue; In response to a queue adjustment operation on the media data to be processed in the processing queue, the processing queue corresponding to the media data to be processed is adjusted.
6. The method according to claim 1, characterized in that After selecting a processing template used for at least one of the media data to be processed, the method further includes: In the processing preview area of the media data processing page, the media content processed according to the selected processing template is previewed.
7. The method according to claim 1, characterized in that The media data processing page also includes an original video preview area, and the method further includes: In response to a selection operation of the media data to be processed in the media data display area, the media data to be processed is previewed in the original video preview area.
8. The method according to claim 1, characterized in that The step of processing the to-be-processed media data in response to the triggering operation of the processing control in the media data processing page, and displaying each media content after the corresponding to-be-processed media data is processed according to the selected processing template, includes: In response to a triggering operation of a processing control in the media data processing page, batch processing is performed on the to-be-processed media data of the selected processing template, and the processing progress of the to-be-processed media data is displayed; After the to-be-processed media data is processed, the processed media content corresponding to the to-be-processed media data is displayed.
9. The method according to claim 1, characterized in that: The selecting a processing template used for at least one of the media data to be processed includes: At the same time, selecting a same processing template used by a plurality of media data to be processed in the media data; The unprocessed templates used by the plurality of media data to be processed in the media data are selected in sequence.
10. A media data processing device, characterized in that: include: A display module, used to display a media data processing page, the media data processing page includes a media data display area and a template area, the media data display area is used to display media data, and the template area displays a processing template for processing the media data; A selection module, configured to select a processing template to be used for at least one of the media data to be processed; The processing module is used to process the to-be-processed media data in response to the triggering operation of the processing control in the media data processing page, and display the media content after each to-be-processed media data corresponding to the to-be-processed media data is processed according to the selected processing template.
11. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the media data processing method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the media data processing method according to any one of claims 1 to 9 when executed.