Packaging effect preview method, device, and storage medium
By receiving packaging information and obtaining video files and packaging images, positioning the video insertion points for accurate superposition, solving the problem of incoordination between packaging and video in the prior art, realizing intuitive preview and rapid modification of packaging and video.
Patent Information
- Application Number
- CN202211427171.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-15
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2042-11-15
AI Technical Summary
The prior art is difficult to display the mixing effect of dynamic packaging and its corresponding video clips simultaneously during the packaging preview process, resulting in conflicts in the key content or color of the packaging covering video, making it difficult to identify the packaging content.
By receiving packaging information, obtaining video files and packaging screens, positioning video insertion points, and determining the corresponding screens in the packaging screen and video files, accurately superimposing them, and outputting the superimposed preview screen.
It realizes the accurate superposition of external packaging and video images, allowing users to preview the overlay effect of packaging and video more intuitively, quickly discover inconsistency problems and modify them in a timely manner.
Smart Images

Figure CN115767133B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of radio and television, and in particular to a packaging effect preview method, device, and storage medium. Background Art
[0002] In the existing channel packaging production environment, there is often a need to preview the packaging effect. The current implementation usually displays dynamic packaging on a static background or a single-color background. Although this preview can be used to check whether the packaging effect and content meet user needs, it is impossible to check whether the packaging and video content match. It often happens that the packaging covers the key content in the video or the color of the packaging conflicts with the color of the video, making it difficult to identify the packaging content.
[0003] In applications such as channel packaging, the video content corresponding to the packaging has actually been determined, but the packaging generation equipment, packaging preview equipment and video broadcast equipment are not from the same manufacturer. If you want to see the mixed effect of dynamic packaging and its corresponding video clips during the preview of the packaging, it requires the equipment manufacturers to break the barriers and cooperate with each other to complete this task, but it is difficult for equipment manufacturers to reach cooperation. Summary of the invention
[0004] In order to solve one of the above-mentioned technical defects, the present application provides a packaging effect preview method, device, and storage medium.
[0005] In a first aspect of the present application, a packaging effect preview method is provided, the method comprising:
[0006] receiving a preview request, the preview request including packaging information;
[0007] Get the video file according to the packaging information;
[0008] Get the packaging picture;
[0009] Locate the video insertion point according to the video entry point information;
[0010] Determine the packaging screen corresponding to the video insertion point in the packaging screen, and determine the video screen corresponding to the video insertion point in the video file;
[0011] The corresponding packaging screen is superimposed with the corresponding video screen, and the superimposed preview screen is output.
[0012] Optionally, the packaging information includes: video file path, key, video entry point information, packaging preview information, operator name, operator employee number, copyright information, network device interface NDI signal information.
[0013] Optionally, obtain the video file according to the packaging information, including:
[0014] Obtain the encrypted video file according to the packaging information;
[0015] The encrypted video file is decoded according to the key to obtain the video file.
[0016] Optionally, before obtaining the encrypted video file according to the packaging information, the method includes:
[0017] Migrate video files;
[0018] Transcode the migrated video files;
[0019] Encrypting the transcoded video file to obtain an encrypted video file;
[0020] Storage keys.
[0021] Optionally, obtaining the encrypted video file according to the packaging information includes:
[0022] According to the packaging information, the encrypted video file is obtained through the packaging preview engine.
[0023] Optionally, obtain the packaging screen, including:
[0024] Based on the NDI signal information, obtain the NDI signal from the NDI signal source;
[0025] Get the packaging image based on the NDI signal.
[0026] Optionally, superimposing the corresponding packaging screen with the corresponding video screen includes:
[0027] Locate the video insertion point according to the video entry point information;
[0028] Overlay the corresponding packaging screen and the corresponding video screen at the video insertion point;
[0029] The watermark is superimposed on the superimposed image, and a preview image after the superimposition is output.
[0030] Optionally, superimposing a corresponding packaging screen and a corresponding video screen at a video insertion point includes:
[0031] The corresponding packaging screen is superimposed on the corresponding video screen through the Alpha blending algorithm.
[0032] In a second aspect of the present application, an electronic device is provided, comprising:
[0033] Memory;
[0034] Processor; and
[0035] Computer programs;
[0036] The computer program is stored in the memory and is configured to be executed by the processor to implement the method as described in the first aspect above.
[0037] According to a third aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored; the computer program is executed by a processor to implement the method described in the first aspect above.
[0038] The present application provides a packaging effect preview method, device, and storage medium. The method receives a preview request, and the preview request includes packaging information; obtains a video file according to the packaging information; obtains a packaging screen; locates a video insertion point according to the video entry point information; determines a packaging screen corresponding to the video insertion point in the packaging screen, and determines a video screen corresponding to the video insertion point in the video file; superimposes the corresponding packaging screen with the corresponding video screen, and outputs a superimposed preview screen. The method provided by the present application locates a video insertion point according to the video entry point information; determines a packaging screen corresponding to the video insertion point in the packaging screen, and determines a video screen corresponding to the video insertion point in the video file; superimposes the corresponding packaging screen with the corresponding video screen, and realizes the precise superposition of the external packaging screen and the video screen, so that the user can more intuitively preview and review the superimposed screen of the packaging screen and the video screen, and can quickly find the problem of incoordination between the packaging screen and the video screen, so as to modify it in time. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0040] Figure 1 A schematic diagram of a packaging effect preview method provided in an embodiment of the present application;
[0041] Figure 2 A schematic diagram of the workflow of another packaging effect preview method provided in an embodiment of the present application;
[0042] Figure 3 A data flow diagram of another packaging effect preview method provided in an embodiment of the present application;
[0043] Figure 4 A flowchart of another packaging effect preview method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0045] Channel packaging, studio packaging, and post-production packaging constitute the TV program packaging system. Channel packaging is deployed in the broadcast domain, which can realize the production and broadcast of packaged content more flexibly and quickly. Channel packaging is oriented to channels, which can realize unified packaging for channels, improve the recognition of channels, strengthen the professional positioning of channels, enhance the brand image of channels, provide real-time information broadcast for columns, and provide interactive data visualization display from small screens to large screens for programs.
[0046] The channel packaging and information broadcasting system realizes the channel packaging function by superimposing the real-time rendered packaging at the final stage of the channel broadcast signal. Its broadcast content includes real-time program previews, instant information, real-time interactive information, and packaged content of channel attributes with low relevance to program content, etc. These contents are not suitable for post-packaging or studio packaging. The broadcast forms that can be realized by channel packaging include corner marks, bottom flying subtitles, countdown, page turning previews, picture-in-picture previews, interactive information replays, and full-screen video guides.
[0047] The channel packaging and information broadcasting system integrates efficient packaging management and powerful graphics rendering to automate the packaging production, preparation and broadcasting process. Through efficient, safe and convenient packaging management software, a variety of packaging materials (pictures, texts, animations, etc.) are deployed to the system in real time and accurately; through powerful graphics and sound processing engines, rich and dazzling graphic packaging effects are achieved.
[0048] In the process of making channel packaging, there is a demand for previewing the packaging effect. Since the production of channel packaging is in the packaging production domain, and the object program file of the packaging is in the broadcasting domain, it is impossible to achieve integration. Therefore, it is currently only possible to preview the dynamic packaging effect on a monochrome background. This preview method can check whether the packaging effect and content meet the user's needs, but it is impossible to check whether the packaging and video content are consistent. It often happens that the packaging covers the key content in the video or the color of the packaging conflicts with the color of the video, making it difficult to identify the packaging content. In applications such as channel packaging, the video content corresponding to the packaging is actually determined, but the current packaging generation device, packaging preview device and video broadcasting device are not from the same manufacturer. If it is required to see the effect of the dynamic packaging and its corresponding video clip mixed at the same time during the preview process of the packaging, it is required that the equipment manufacturers break the barriers and cooperate with each other to complete this work, but it is difficult for the equipment manufacturers to reach cooperation. Therefore, a packaging preview device is needed to control the packaging generation device and the video broadcasting device, and receive the data of the device to accurately superimpose the packaging on the video screen for preview output.
[0049] In the process of implementing the present application, the inventor discovered that in applications such as channel packaging, the video content corresponding to the packaging is actually already determined, but the packaging generation device, packaging preview device and video broadcasting device are not from the same manufacturer. If it is required to see the mixed effect of dynamic packaging and its corresponding video clips at the same time during the preview of the packaging, it is required that the equipment manufacturers break down barriers and cooperate with each other to complete this task, but it is difficult for the equipment manufacturers to reach cooperation.
[0050] In view of the above problems, an embodiment of the present application provides a packaging effect preview method, device, and storage medium, the method receiving a preview request, the preview request including packaging information; obtaining a video file according to the packaging information; obtaining a packaging screen; locating a video insertion point according to the video entry point information; determining a packaging screen corresponding to the video insertion point in the packaging screen, and determining a video screen corresponding to the video insertion point in the video file; superimposing the corresponding packaging screen with the corresponding video screen, and outputting the superimposed preview screen. The method provided by the present application locates a video insertion point according to the video entry point information; determines a packaging screen corresponding to the video insertion point in the packaging screen, and determines a video screen corresponding to the video insertion point in the video file; superimposes the corresponding packaging screen with the corresponding video screen, and realizes the precise superposition of the external packaging screen and the video screen, so that the user can more intuitively preview and review the superimposed screen of the packaging screen and the video screen, and can quickly find the problem of incoordination between the packaging screen and the video screen, so as to modify it in time.
[0051] See also Figure 1 This embodiment provides a packaging effect preview method, and the implementation process of the method is as follows:
[0052] 101. Receive a preview request, where the preview request includes packaging information.
[0053] Among them, the packaging information includes: video file path, key, video entry point information, packaging preview information, operator name, operator employee number, copyright information, NDI (Network Device Interface) signal information (such as NDI signal name).
[0054] NDI, or Network Device Interface, is a copyright-free standard developed by the American company NewTek that enables compatible video products to communicate, transmit and receive broadcast-quality video in a high-quality, low-latency, frame-accurate manner, making it ideal for switching in live production environments.
[0055] 102, obtaining a video file according to the packaging information.
[0056] The video file may be an encrypted file, such as a migrated video file, a transcoded migrated video file, an encrypted transcoded video file, an encrypted video file, and a storage key (such as storing the key in a database).
[0057] If the video file can be an encrypted file, then this step will obtain the encrypted video file according to the packaging information. For example, according to the packaging information, the encrypted video file is obtained through the packaging preview engine. The encrypted video file is decoded according to the key to obtain the video file.
[0058] 103, obtaining a packaging image.
[0059] 1. Based on the NDI signal information, obtain the NDI signal from the NDI signal source.
[0060] In a specific implementation, a preview instruction (the preview instruction includes packaging information) can be sent to the packaging device. After receiving the preview instruction, the packaging device sends an NDI control instruction to the NDI signal source, and receives the NDI signal returned by the NDI signal source based on the NDI control instruction.
[0061] 2. Get the packaging image based on the NDI signal.
[0062] 104. Locate the video insertion point according to the video entry point information.
[0063] 105, determining a packaging screen corresponding to the video insertion point in the packaging screen, and determining a video screen corresponding to the video insertion point in the video file.
[0064] 106, superimposing the corresponding packaging picture with the corresponding video picture, and outputting the superimposed preview picture.
[0065] When superimposing, the video insertion point can be located according to the video entry point information, the corresponding packaging screen and the corresponding video screen can be superimposed at the video insertion point, the watermark can be superimposed on the superimposed video file, and the preview screen after the superposition can be output.
[0066] Among them, the process of superimposing the corresponding packaging screen and the corresponding video screen at the video insertion point can be: superimposing the corresponding packaging screen on the corresponding video screen through the Alpha blending algorithm, outputting the preview screen after the superposition again, and then the preview screen can be reviewed.
[0067] The packaging effect preview method provided in this embodiment can receive a preview request, the preview request includes packaging information; obtain a video file according to the packaging information; obtain a packaging screen; locate the video insertion point according to the video entry point information; determine the packaging screen corresponding to the video insertion point in the packaging screen, and determine the video screen corresponding to the video insertion point in the video file; superimpose the corresponding packaging screen with the corresponding video screen, and output the superimposed preview screen, so as to achieve accurate superposition of the external packaging screen and the video screen, so that the user can more intuitively preview and review the superimposed screen of the packaging screen and the video screen, and can quickly find the problem of incoordination between the packaging screen and the video screen so as to make timely modifications.
[0068] The packaging effect preview method provided in this embodiment, when receiving a user preview request, obtains the name of the corresponding video and the time period when the packaging appears in the video according to the requested packaging information, and then decodes the video to the time point when the packaging appears. After the video decoder is ready to play the pictures at the time point when the packaging appears and thereafter, it sends a start preview command to the packaging device. After receiving the first frame of the picture sent by the packaging device, it starts to synchronously play the prepared video clip, and superimposes the received packaging picture on the video picture and outputs them together.
[0069] Taking the packaging effect preview method provided in this embodiment as an example, the workflow diagram of the packaging effect preview method provided in this embodiment is as follows: Figure 2 As shown, the data flow is as follows Figure 3 described.
[0070] 1. The user makes a preview request through the preview terminal.
[0071] The preview request includes packaging information.
[0072] 2. The preview service receives a preview request through the packaging effect preview method provided in this embodiment.
[0073] 3. The packaging effect preview method provided in this embodiment provides a preview service. The video file is obtained according to the packaging information through the video storage device.
[0074] The video file is generated by a video device and stored in a video storage device.
[0075] 4. The packaging effect preview method provided in this embodiment performs a preview service and sends a command to the packaging device to start the packaging preview.
[0076] 5. Perform a preview service through the packaging effect preview method provided in this embodiment and wait for the packaging picture sent by the packaging device.
[0077] 6. A frame of packaging picture is received by performing a preview service through the packaging effect preview method provided in this embodiment.
[0078] 7. The packaging effect preview method provided in this embodiment is used to perform a preview service and decode a frame of video.
[0079] 8. Preview service is performed by using the packaging effect preview method provided in this embodiment. The packaging image is superimposed on the video image through the Alpha blending algorithm to obtain the superimposed video file.
[0080] 9. The packaging effect preview method provided in this embodiment performs a preview service to output a preview screen to the preview terminal so as to preview the packaging effect.
[0081] The packaging effect preview method provided in this embodiment requires that the packaging and video devices are functions and general technologies within the field of the device itself, and there is no problem of cross-manufacturer cooperation, thus avoiding various contradictions in joint development. Even if the device provider is changed, the new device provider can quickly provide functional improvements that meet the requirements of the solution.
[0082] The packaging effect preview method provided in this embodiment provides a mixed preview screen of video and packaging to the preview user, so that the user can more intuitively preview and review the edited packaging and its corresponding video screen. The inconsistency between the packaging and the video can be quickly discovered so that it can be modified in time.
[0083] The following takes the packaging effect preview method provided in this embodiment running on the packaging preparation system (that is, the preview service provided by the packaging effect preview method provided in this embodiment running on the packaging preparation system) as an example to explain the implementation process of the packaging effect preview method provided in this embodiment again.
[0084] Since the background video files used for preview are all unbroadcast program files, they need to be copyright protected before they are officially broadcast. The packaging effect preview method provided in this embodiment adopts two copyright protection measures: background video encryption and preview video stream superimposition of watermarks.
[0085] In order to ensure that the preview effect of the package with background video is consistent with the broadcast screen, it is necessary to ensure that the time point when the package effect appears on the screen relative to the background video is accurate, and the preview accuracy of the package effect needs to reach above the second level.
[0086] See also Figure 4 , the external broadcast file is migrated to the channel packaging preparation system through the migration program, and then re-encoded and encrypted to generate encrypted background video files. The key is managed separately, stored in the database, and dynamically applied through the interface during the package preview.
[0087] During the package preview, the key will be sent to the package preview engine through the preview command. When the package preview engine plays the video, it will dynamically decrypt the video for playback.
[0088] When previewing the package, the preview command also contains the video's play point information. The package preview engine plays the video according to the play point and superimposes the packaging effect to achieve a preview effect consistent with the channel broadcast screen, achieving a second-precision preview.
[0089] When previewing the package, a graphic watermark is superimposed in a semi-transparent manner in the specified area of the screen, and the position of the graphic watermark changes dynamically in the area. The text content in the graphic watermark is specified by the parameters in the preview command.
[0090] The packaging effect preview method provided in this embodiment allows you to see the preview effect that is consistent with the final channel broadcast screen when editing and reviewing the channel packaging. The actual screen time point, broadcast duration, and upper screen position of the packaging effect can be directly confirmed through the preview during editing. During review, you can see the final effect of the channel packaging.
[0091] In addition, from the perspective of copyright security, the packaging effect preview method provided in this embodiment encrypts the background video file, eliminating the possibility of leaking the program video by manual copying. A watermark containing specified text is used to prevent the occurrence of program video leakage incidents caused by screen recording. If such video leakage incidents occur, they can be traced back through the watermark. The position of the watermark is dynamic and random, which increases the complexity of the pirates' later blocking of the watermark, and the watermark with a dynamic position will seriously reduce the viewing experience of the pirated video viewers after being blocked, thereby achieving the purpose of reducing the pirates' profits.
[0092] The packaging effect preview method provided in this embodiment obtains packaging information; obtains a video file from the packaging information based on a key in the packaging information; obtains an external signal source; and outputs a superimposed preview screen based on the external signal source and the video file. This not only enables the user to see the superimposed effect of the external signal source and the video file and whether there is any obstruction during the review, but also protects the copyright of the video file through the key.
[0093] The packaging effect preview method provided in this embodiment can realize the function of background video preview when the channel packaging preparation system performs packaging preview.
[0094] Specifically, one or more of the following functions can be realized:
[0095] 1. Migrate video files from external systems and encrypt them for protection, with the keys stored in the database.
[0096] 2. The actual broadcast program video and packaging effect are superimposed for preview.
[0097] 3. Preview packaging effects and program background videos with precision down to the second.
[0098] 4. The program video is encrypted and decrypted using independent keys.
[0099] 5. When the program video is broadcast, the video can be decrypted while being broadcast.
[0100] 6. Overlay graphic watermarks. The watermark text is specified by the preview command, and the watermark position changes dynamically.
[0101] 7. Superimpose graphic packaging.
[0102] 8. Superimpose external NDI signals.
[0103] This embodiment provides a packaging effect preview method.
[0104] Receive a preview request, the preview request includes packaging information; obtain a video file according to the packaging information; obtain a packaging screen; locate a video insertion point according to the video entry point information; determine a packaging screen corresponding to the video insertion point in the packaging screen, and determine a video screen corresponding to the video insertion point in the video file; superimpose the corresponding packaging screen with the corresponding video screen, and output the superimposed preview screen, so as to achieve accurate superposition of the external packaging screen and the video screen, so that the user can more intuitively preview and review the superimposed screen of the packaging screen and the video screen, and can quickly find the problem of incoordination between the packaging screen and the video screen so as to make timely modifications.
[0105] Based on the same inventive concept of the packaging effect preview method, this embodiment provides an electronic device, which includes: a memory, a processor, and a computer program.
[0106] The computer program is stored in the memory and is configured to be executed by the processor to implement the above packaging effect preview method.
[0107] Specifically,
[0108] receiving a preview request, the preview request including packaging information;
[0109] Get the video file according to the packaging information;
[0110] Get the packaging picture;
[0111] Locate the video insertion point according to the video entry point information;
[0112] Determine the packaging screen corresponding to the video insertion point in the packaging screen, and determine the video screen corresponding to the video insertion point in the video file;
[0113] The corresponding packaging screen is superimposed with the corresponding video screen, and the superimposed preview screen is output.
[0114] Optionally, the packaging information includes: video file path, key, video entry point information, packaging preview information, operator name, operator employee number, copyright information, network device interface NDI signal information.
[0115] Optionally, obtain the video file according to the packaging information, including:
[0116] Obtain the encrypted video file according to the packaging information;
[0117] The encrypted video file is decoded according to the key to obtain the video file.
[0118] Optionally, before obtaining the encrypted video file, the packaging information includes:
[0119] Migrate video files;
[0120] Transcode the migrated video files;
[0121] Encrypting the transcoded video file to obtain an encrypted video file;
[0122] Storage keys.
[0123] Optionally, obtaining the encrypted video file according to the packaging information includes:
[0124] According to the packaging information, the encrypted video file is obtained through the packaging preview engine.
[0125] Optionally, obtain the packaging screen, including:
[0126] Based on the NDI signal information, obtain the NDI signal from the NDI signal source;
[0127] Get the packaging image based on the NDI signal.
[0128] Optionally, superimposing the corresponding packaging screen with the corresponding video screen includes:
[0129] Locate the video insertion point according to the video entry point information;
[0130] Overlay the corresponding packaging screen and the corresponding video screen at the video insertion point;
[0131] The watermark is superimposed on the superimposed image, and a preview image after the superimposition is output.
[0132] Optionally, superimposing a corresponding packaging screen and a corresponding video screen at a video insertion point includes:
[0133] The corresponding packaging screen is superimposed on the corresponding video screen through the Alpha blending algorithm.
[0134] The electronic device provided by this embodiment has a computer program executed by a processor to
[0135] Receive a preview request, the preview request includes packaging information; obtain a video file according to the packaging information; obtain a packaging screen; locate a video insertion point according to the video entry point information; determine a packaging screen corresponding to the video insertion point in the packaging screen, and determine a video screen corresponding to the video insertion point in the video file; superimpose the corresponding packaging screen with the corresponding video screen, and output the superimposed preview screen, so as to achieve accurate superposition of the external packaging screen and the video screen, so that the user can more intuitively preview and review the superimposed screen of the packaging screen and the video screen, and can quickly find the problem of incoordination between the packaging screen and the video screen so as to make timely modifications.
[0136] Based on the same inventive concept of the packaging effect preview method, this embodiment provides a computer on which a computer program can be stored. The computer program is executed by a processor to implement the above packaging effect preview method.
[0137] Specifically,
[0138] receiving a preview request, the preview request including packaging information;
[0139] Get the video file according to the packaging information;
[0140] Get the packaging picture;
[0141] Locate the video insertion point according to the video entry point information;
[0142] Determine the packaging screen corresponding to the video insertion point in the packaging screen, and determine the video screen corresponding to the video insertion point in the video file;
[0143] The corresponding packaging screen is superimposed with the corresponding video screen, and the superimposed preview screen is output.
[0144] Optionally, the packaging information includes: video file path, key, video entry point information, packaging preview information, operator name, operator employee number, copyright information, network device interface NDI signal information.
[0145] Optionally, obtain the video file according to the packaging information, including:
[0146] Obtain the encrypted video file according to the packaging information;
[0147] The encrypted video file is decoded according to the key to obtain the video file.
[0148] Optionally, before obtaining the encrypted video file, the packaging information includes:
[0149] Migrate video files;
[0150] Transcode the migrated video files;
[0151] Encrypting the transcoded video file to obtain an encrypted video file;
[0152] Storage keys.
[0153] Optionally, obtaining the encrypted video file according to the packaging information includes:
[0154] According to the packaging information, the encrypted video file is obtained through the packaging preview engine.
[0155] Optionally, obtain the packaging screen, including:
[0156] Based on the NDI signal information, obtain the NDI signal from the NDI signal source;
[0157] Get the packaging image based on the NDI signal.
[0158] Optionally, superimposing the corresponding packaging screen with the corresponding video screen includes:
[0159] Locate the video insertion point according to the video entry point information;
[0160] Overlay the corresponding packaging screen and the corresponding video screen at the video insertion point;
[0161] The watermark is superimposed on the superimposed image, and a preview image after the superimposition is output.
[0162] Optionally, superimposing a corresponding packaging screen and a corresponding video screen at a video insertion point includes:
[0163] The corresponding packaging screen is superimposed on the corresponding video screen through the Alpha blending algorithm.
[0164] The computer-readable storage medium provided in this embodiment has a computer program executed by a processor to receive a preview request, the preview request including packaging information; obtaining a video file according to the packaging information; obtaining a packaging screen; locating a video insertion point according to the video entry point information; determining a packaging screen corresponding to the video insertion point in the packaging screen, and determining a video screen corresponding to the video insertion point in the video file; superimposing the corresponding packaging screen with the corresponding video screen, and outputting a superimposed preview screen, thereby achieving accurate superposition of the external packaging screen and the video screen, so that the user can more intuitively preview and review the superimposed screen of the packaging screen and the video screen, and can quickly discover the problem of inconsistency between the packaging screen and the video screen so as to make timely modifications.
[0165] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0166] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0167] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0168] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0169] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0170] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A packaging effect preview method, characterized in that: The method comprises: receiving a preview request, wherein the preview request includes packaging information; Acquire a video file according to the packaging information; Get the packaging picture; Locate the video insertion point according to the video entry point information; Determine the packaging screen corresponding to the video insertion point in the packaging screen, and determine the video screen corresponding to the video insertion point in the video file; Superimpose the corresponding packaging screen with the corresponding video screen, and output the superimposed preview screen; The packaging information includes: video file path, key, video entry point information, packaging preview information, operator name, operator employee number, copyright information, network device interface NDI signal information; The step of obtaining the video file according to the packaging information includes: Acquire the encrypted video file according to the packaging information; The encrypted video file is decoded according to the key to obtain a video file.
2. The method according to claim 1, characterized in that Before obtaining the encrypted video file according to the packaging information, the method includes: Migrate video files; Transcode the migrated video files; Encrypting the transcoded video file to obtain an encrypted video file; Storage keys.
3. The method according to claim 2, characterized in that The step of obtaining the encrypted video file according to the packaging information includes: According to the packaging information, the encrypted video file is obtained through the packaging preview engine.
4. The method according to claim 1, characterized in that: The step of obtaining the packaging screen includes: Based on the NDI signal information, obtaining an NDI signal from an NDI signal source; The packaging image is acquired according to the NDI signal.
5. The method according to claim 1, characterized in that The step of superimposing the corresponding packaging screen with the corresponding video screen includes: Locate the video insertion point according to the video entry point information; Overlaying a corresponding packaging screen and a corresponding video screen at the video insertion point; The watermark is superimposed on the superimposed image, and a preview image after the superimposition is output.
6. The method according to claim 5, characterized in that: The method of superimposing the corresponding packaging screen and the corresponding video screen at the video insertion point includes: The corresponding packaging screen is superimposed on the corresponding video screen through the Alpha blending algorithm.
7. An electronic device, characterized in that: include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that: A computer program is stored thereon; the computer program is executed by a processor to implement the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Video processing method and device, equipment and storage medium
CN115250335A