Audio-video file splicing method and audio-video file splicing device
A technology for audio files and video files, applied in the field of audio and video processing, can solve problems such as image quality degradation, and achieve the effect of saving costs and increasing image quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] The invention provides a method for splicing audio and video files, preferably, such as figure 2 As shown, the method includes the following steps:
[0033] S202. Obtain the video out point and audio out point of the first TS (Transport Stream, transport stream) streaming audio and video file indicated by the splicing instruction;
[0034] Preferably, the first TS stream audio and video file is the TS stream data of the main audio and video file, which can also be called TS1. Preferably, during the audio and video output process, TS1 is decapsulated to the ES (Elementary Stream, elementary stream) layer, And save the input ES data of TS1 in the main video PIP (abbreviation of PIPE) and main audio PIP.
[0035] S204, acquire the video in point and the audio in point in the second TS stream audio and video file indicated by the splicing instruction;
[0036] Preferably, the second TS stream audio and video file is the TS stream data of the spliced video file, which c...
Embodiment 2
[0049] On the basis of Embodiment 1, this embodiment provides an audio and video file splicing device, specifically, as Figure 4 As shown, the device includes:
[0050] The first obtaining unit 402 is used to obtain the video out point and the audio out point of the first TS stream audio and video file indicated by the splicing instruction; preferably, the first TS stream audio and video file is the TS stream data of the main audio and video file, also It can be called TS1. Preferably, during the audio and video output process, TS1 is decapsulated to the ES layer, and the input ES data of TS1 is saved in the main video PIP and the main audio PIP.
[0051] The second obtaining unit 404 is used to obtain the video entry point and the audio entry point in the second TS stream audio and video file indicated by the splicing instruction; preferably, the second TS stream audio and video file is the TS stream data of the spliced video file, also It can be called TS2. Preferably, d...
Embodiment 3
[0064] On the basis of the above-mentioned embodiment 1 and embodiment 2, this embodiment also provides an audio and video file splicing system, specifically, as Figure 8 As shown, in this system, the audio and video source files to be spliced are processed by the video and audio material processor to be spliced, for example, the content and format of the source files are modified to ensure that they match the format of the main program, and the output is the target video file ;The output target video file will be encapsulated into a playable TS stream (TS1) through the video and audio player to be spliced. )distinguish. The parameters of splicing are controlled by the splicing controller, such as time parameters (start time, stop time, duration), program parameters, etc., and the seamless splicer combines the encapsulated TS stream with other TSs according to the control parameters of the splicing controller Stream into (TS2) line splicing, and output the spliced TS str...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 