WO2021093500A1 - 视频数据的处理方法、装置、电子设备及计算机可读介质 - Google Patents
视频数据的处理方法、装置、电子设备及计算机可读介质 Download PDFInfo
- Publication number
- WO2021093500A1 WO2021093500A1 PCT/CN2020/120681 CN2020120681W WO2021093500A1 WO 2021093500 A1 WO2021093500 A1 WO 2021093500A1 CN 2020120681 W CN2020120681 W CN 2020120681W WO 2021093500 A1 WO2021093500 A1 WO 2021093500A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data packet
- pes
- file
- video
- data
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000012545 processing Methods 0.000 title claims abstract description 27
- 238000004458 analytical method Methods 0.000 claims abstract description 36
- 238000006243 chemical reaction Methods 0.000 claims description 14
- 230000006870 function Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000003672 processing method Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4343—Extraction or processing of packetized elementary streams [PES]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/85406—Content authoring involving a specific file format, e.g. MP4 format
Definitions
- the present disclosure relates to the field of multimedia processing technology. Specifically, the present disclosure relates to a video data processing method, device, electronic device, and computer-readable medium.
- one TS file usually includes multiple PES data packets.
- the video parameters in all the PES data packets are usually parsed at the same time, so that the PES data packets are parsed.
- the purpose of the present disclosure is to solve at least one of the above-mentioned technical defects and improve the accuracy of video parameters.
- the technical solutions adopted in the present disclosure are as follows:
- a method for processing video data including:
- the TS data packet in the TS file to be processed is obtained;
- the video parameters of the TS file to be processed are obtained.
- parsing each PES data packet separately to obtain the video parameters of each PES data packet includes:
- the display time parameter PTS in the PES data packet is obtained based on the PES data packet, and the first identifier is used to identify that the PES data packet contains the display time parameter PTS;
- the parameter identifier is the second identifier, based on the PES data packet, the display time parameter PTS and the decoding time parameter DTS in the PES data packet are obtained, and the second identifier is used to identify that the PES data packet contains the display time parameter PTS and the decoding time parameter DTS;
- the video parameters include display time parameters PTS, or include display time parameters PTS and decoding time parameters DTS.
- the method further includes:
- the display time parameter PTS is equal to the decoding time parameter DTS.
- determining each PES data packet corresponding to the TS file to be processed includes:
- each PES data packet corresponding to the TS file to be processed is obtained, and the analysis condition is that the specified identifier in the TS data packet is a set value.
- the TS data packet includes a data packet corresponding to the program table. Based on the TS data packet, determining each PES data packet corresponding to the TS file to be processed includes:
- the program table is used to identify the video data and audio data in the TS data packet
- each PES data packet corresponding to the TS file to be processed is determined.
- determining each PES data packet corresponding to the TS file to be processed includes:
- each PES data packet corresponding to the TS file to be processed is determined.
- the video parameters further include a sequence parameter set SPS and an image parameter set PPS;
- the method also includes:
- the format conversion of the TS file to be processed is performed.
- a video data processing device including:
- the TS file acquisition module is used to acquire the TS file of the transport stream to be processed
- the TS data packet determination module is used to obtain the TS data packet in the TS file to be processed based on the TS file to be processed;
- the PES data packet determination module is used to determine the basic data stream PES data packet of each packet corresponding to the TS file to be processed based on the TS data packet, and the content of a video frame in the TS file to be processed corresponds to a PES data packet;
- the PES data packet parsing module is used to analyze each PES data packet separately to obtain the video parameters of each PES data packet;
- the video parameter determination module is used to obtain the video parameters of the TS file to be processed based on the video parameters of each PES data packet.
- the PES data packet parsing module is configured to separately analyze each PES data packet to obtain the video parameters of each PES data packet:
- the display time parameter PTS in the PES data packet is obtained based on the PES data packet, and the first identifier is used to identify that the PES data packet contains the display time parameter PTS;
- the parameter identifier is the second identifier, based on the PES data packet, the display time parameter PTS and the decoding time parameter DTS in the PES data packet are obtained, and the second identifier is used to identify that the PES data packet contains the display time parameter PTS and the decoding time parameter DTS;
- the video parameters include display time parameters PTS, or, include display time parameters PTS and decoding time parameters DTS.
- the device further includes:
- the data type determination module is used to determine the data type of the PES data packet based on the analysis result of the PES data packet, and the data type is video data or audio data;
- the display time parameter PTS is equal to the decoding time parameter DTS.
- the PES data packet determination module is configured to determine each PES data packet corresponding to the TS file to be processed based on the TS data packet:
- each PES data packet corresponding to the TS file to be processed is obtained, and the analysis condition is that the specified identifier in the TS data packet is a set value.
- the TS data packet includes a data packet corresponding to the program table
- the PES data packet determination module is configured to determine each PES data packet corresponding to the TS file to be processed based on the TS data packet :
- the program table is used to identify the video data and audio data in the TS data packet
- each PES data packet corresponding to the TS file to be processed is determined.
- the PES data packet determination module is configured to determine each PES data packet corresponding to the TS file to be processed based on the video data and audio data in the first TS data packet:
- each PES data packet corresponding to the TS file to be processed is determined.
- the video parameters further include a sequence parameter set SPS and an image parameter set PPS; the device further includes:
- the TS file processing module is used for format conversion of the TS file to be processed based on the display time parameter PTS, the decoding time parameter DTS, the sequence parameter set SPS and the image parameter set PPS.
- an electronic device including:
- Memory used to store computer operation instructions
- the processor is configured to execute a method as shown in any embodiment of the first aspect of the present disclosure by invoking a computer operation instruction.
- a computer-readable medium storing at least one instruction, at least one program, code set or instruction set, at least one instruction, at least one program, code set or instruction set It is loaded and executed by the processor to implement the method as shown in any embodiment of the first aspect of the present disclosure.
- the corresponding video parameters are parsed for each PES data packet to avoid When parsing all PES data packets at the same time, there are missing PES data packets, so that the video parameters of the TS files obtained by parsing each PES data packet are more accurate.
- FIG. 1 is a schematic flowchart of a method for processing video data according to an embodiment of the present disclosure
- Fig. 2 is a schematic structural diagram of a video data processing device according to an embodiment of the present disclosure
- Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
- ES elementary stream
- PTS display time parameter (Presentation Time Stamp).
- sequence parameter set (Sequence Paramater Set).
- PPS picture parameter set (Picture Parameter Set)
- SPS saves a set of global parameters of a coded video sequence (Coded video sequence).
- coded video sequence refers to the sequence composed of the pixel data of one frame of the original video after being coded.
- the parameters on which the encoded data of each frame depend are stored in the image parameter set.
- an embodiment of the present disclosure provides a method for processing video data. As shown in FIG. 1, the method may include:
- Step S110 Obtain the transport stream TS file to be processed.
- TS Transport Stream
- Step S120 Obtain TS data packets in the TS file to be processed based on the TS file to be processed.
- one TS file may include multiple TS data packets, and the TS file may include at least one of video and audio.
- one TS data packet is 188 bytes.
- Step S130 based on the TS data packet, determine the basic data stream PES data packet of each packet corresponding to the TS file to be processed, and the content of one video frame in the TS file to be processed corresponds to one PES data packet.
- a TS file may contain multiple PES data packets.
- Step S140 Parse each PES data packet separately to obtain the video parameters of each PES data packet.
- Step S150 Obtain the video parameters of the TS file to be processed based on the video parameters of each PES data packet.
- the parsed video parameters can be used for subsequent processing of the TS file.
- the parsed video parameters are used for format conversion of the TS file, so that the TS file can be played by a player.
- the video parameters may include the display time parameter PTS, the decoding time parameter DTS, the sequence parameter set SPS, and the image parameter set PPS.
- the corresponding video parameters are parsed for each PES data packet, so as to avoid missing out when parsing all PES data packets at the same time PES data packets, thereby making the video parameters of the TS files obtained by parsing each PES data packet more accurate.
- parsing each PES data packet separately to obtain the video parameters of each PES data packet may include:
- the display time parameter PTS in the PES data packet is obtained based on the PES data packet, and the first identifier is used to identify that the PES data packet contains the display time parameter PTS;
- the parameter identifier is the second identifier, based on the PES data packet, the display time parameter PTS and the decoding time parameter DTS in the PES data packet are obtained, and the second identifier is used to identify that the PES data packet contains the display time parameter PTS and the decoding time parameter DTS;
- the video parameters include display time parameters PTS, or, include display time parameters PTS and decoding time parameters DTS.
- PTS and DTS have corresponding parameter identifiers in the PES data packet.
- the corresponding parameter identifiers can be parsed first. Based on the parameter identifiers, it can be determined whether the PES data packet can be Resolve the corresponding parameters.
- the PES data packet includes PTS and DTS can be identified by different identification bits. For example, if the first identifier is used to identify that the PES data packet contains PTS, and the second identifier is used to identify that the PES data packet contains DTS, then the analysis When the parameter identifier obtained is the first identifier, it means that the PTS can be parsed, and when the parameter identifier obtained by the analysis is the second identifier, it means that the DTS can be parsed. In this solution, it is possible to determine whether the corresponding video parameter can be parsed and obtained by analyzing the values of the first identifier and the second identifier.
- the value of the first identifier and the second identifier is 1, it means that the PES packet contains PTS and DTS, that is, when the first identifier is 1, it means that the PTS can be parsed, and when the parameter identifier is other identifiers
- the PES packet contains PTS and DTS
- the parameter identifier is other identifiers
- the second identifier is 1, it means that DTS can be obtained by analysis.
- the parameter identifier is other identifiers, such as 0, it means that DTS cannot be obtained by analysis. Based on the two parameter identifications, the following four situations can be obtained:
- the video parameters include the following two cases: 10 or 11, 10 o’clock means the PES data packet includes the display time parameter PTS, or 11 o’clock means the PES data packet includes the display time parameter PTS and decoding Time parameter DTS.
- the method may further include:
- the display time parameter PTS is equal to the decoding time parameter DTS.
- a PES data packet corresponds to the content of a video frame, and the content of a video frame can include video content and audio content
- the data in the PES data packet can be audio data or video data.
- it can be determined based on the parsed identification bit whether the data type of the PES data packet is audio data or video data.
- a data type identifier obtained by parsing a PES packet is streamId, and based on the streamId, it can be determined whether the data in the PES packet is audio data or video data.
- streamId is in c0 and df( In hexadecimal)
- the PES data packet is audio data
- the PES data packet is video data.
- determining each PES data packet corresponding to the TS file to be processed may include:
- each PES data packet corresponding to the TS file to be processed is obtained, and the analysis condition is that the specified identifier in the TS data packet is a set value.
- one PES data packet may include at least one TS data packet.
- the identifier is specified as the first 3 bytes or the first 4 bytes of the body data, and the set value is 1, then when parsing the body data in the TS packet, the first 3 bytes are read Or the first 4 bytes, if these 3 bytes or 4 bytes are 1, it means that the TS packet meets the parsing conditions and can be parsed, otherwise, if these 3 bytes or 4 bytes are not 1 , It means that the TS packet does not meet the analysis conditions and cannot be parsed.
- the TS data packet includes a data packet corresponding to the program table. Based on the TS data packet, determining each PES data packet corresponding to the TS file to be processed may include:
- the program table is used to identify the video data and audio data in the TS data packet
- each PES data packet corresponding to the TS file to be processed is determined.
- the data containing the program table belongs to the normal TS data packet.
- the first TS data packet containing the program table can be determined from the TS data packet.
- the first TS data packet can be parsed.
- the program list includes relevant information that identifies which data is audio data and which is video data. Therefore, the program list can also be used to distinguish audio data and video data in the first TS data packet. For example, based on different identification bits in the program table, it can be determined which of the first TS data packets are video data and which are audio data.
- determining each PES data packet corresponding to the TS file to be processed may include:
- each PES data packet corresponding to the TS file to be processed is determined.
- PES data packets can be determined based on the audio data and video data in the first TS data packet respectively.
- step S110 obtaining the to-be-processed transport stream TS file may include:
- the TS file to be processed is obtained, and the TS file to be processed is a file in each TS file corresponding to the m3u8 file to be processed.
- the m3u8 file is a plain text file
- the m3u8 file can be sourced from the Internet
- the m3u8 file can be a live file or an on-demand file.
- the m3u8 file to be processed may be parsed to obtain the corresponding TS file.
- the TS file may include multiple TS files, and the m3u8 file may be parsed by regular analysis.
- the m3u8 file can also carry an index that identifies each TS file and the corresponding playback address information.
- Each TS file corresponds to one playback address information.
- the TS file to be processed can be obtained based on the index.
- the play address information is an online play address corresponding to the TS file, and based on the play address information, the TS file corresponding to the address information can be played correspondingly.
- the TS file to be processed may be any one or several of the TS files corresponding to the m3u8 file to be processed, or may be one of the TS files determined based on the user's playback request.
- the playback request may be a link request sent by the user to the server through the terminal, indicating that the user wants to play a certain m3u8 file.
- the playback request may include the m3u8 file identifier. Based on the identifier, the server knows what the user wants to play Which m3u8 file.
- the multiple TS files can be played based on the address information corresponding to each TS file according to the playback sequence.
- the m3u8 file carries the identifier of the file type, and the file type is an on-demand file or a live broadcast file;
- the m3u8 file to be acquired is an m3u8 file acquired in real time.
- the m3u8 file when parsing the m3u8 file, the m3u8 file carries an identifier that identifies the file type of the m3u8 file.
- the identifier can be a field in the file.
- the file type of the m3u8 file can be determined, that is, the file type of the m3u8 file.
- the file type of the m3u8 file is the same as the parsed TS file
- the m3u8 file is an on-demand file
- the parsed TS file is also an on-demand file
- the m3u8 file is a live file
- the parsed TS file is also It is a live file.
- the file type of the m3u8 file is an on-demand file, the content in the m3u8 file is unchanged. If the file type of the m3u8 file is a live file, the content in the m3u8 file is constantly changing, that is, new content is constantly added To the m3u8 file, you need to obtain the m3u8 file in real time, and parse the m3u8 file in real time to obtain the corresponding TS file.
- the file type of the m3u8 file is an on-demand file
- the number of TS files obtained by parsing the m3u8 file is Fixed
- the file type of the m3u8 file is a live file
- the number of TS files obtained by parsing the m3u8 file will change in real time.
- the video parameters further include a sequence parameter set SPS and an image parameter set PPS;
- the method may also include:
- the format conversion of the TS file to be processed is performed.
- m3u8 is a special video format for some mobile device browsers to cache videos. Ordinary players cannot play normally and need to be transcoded to play. Therefore, the TS file to be processed can be converted into a file of a set format based on the video parameters corresponding to the TS file to be processed, where the set format is the format of the playable file corresponding to the player.
- the fmp4 format is a video format that can be played directly by a normal player on a mobile device. Therefore, M3U8 files can be transcoded into a format compatible with normal players, that is, fmp4 format. Then the TS file transcoded format and the player The playback format is compatible, and the file of the set format can be played directly through the player.
- the method may further include:
- the TS files after format conversion corresponding to each playback address information are sequentially played.
- the file format of the converted TS file can correspond to the playback format of the player, and the TS after the corresponding format conversion can be played according to the playback sequence corresponding to each playback address information.
- the file realizes the playback of TS files, where the played TS file can be any one of the TS files in the m3u8 file, or any number of TS files.
- Step 1 Analyze the TS data packet from the TS file.
- Step 2 Find the PAT table based on the TS data packet.
- Step 3 Find the PMT table based on the PAT table.
- the program table is a PMT table.
- the attribute information of the TS data packet can be correspondingly obtained (the PMT table includes relevant information used to identify which of the TS data packets are audio data and which are video data), and the attribute information includes the data type of the TS data packet
- the data type includes video data and audio data.
- the data type can be indicated by different type identifiers, such as the PID of the video and the PID of the audio. Through the PID of the video and the audio, you can know that it is in the TS data packet. Which is video data and which is audio data.
- Step 4 Based on the PMT table, classify multiple TS data packets according to video and audio.
- TS data packets are audio data and which are video data. Then, the video data in multiple TS data packets are divided into one type, and the audio data is divided into one type. As an example, more Each TS packet is TS packet A and TS packet B. The video data in TS packet A and the video data in TS packet B are divided into one category, and the audio data in TS packet A and The audio data in TS packet B is classified into one category.
- Step 5 Based on the classified multiple TS data packets, aggregate multiple TS data packets into PES data packets.
- a TS packet has only 188 bytes
- a frame of image played by the player may correspond to several 188 bytes
- the content of a video frame corresponds to a PES packet
- the data of a TS packet may only be a video
- the content of the frame corresponds to a part of the content. Therefore, multiple TS data packets are aggregated into at least one PES data packet; that is, the video data and audio data obtained by the above classification are separately aggregated to obtain at least one PES data packet.
- the PES data packet can be It is an audio PES packet or a video PES packet.
- the obtained PES data packet may be a video PES data packet or an audio PES data packet.
- Step 6 Parse each PES data packet to determine the data type of each PES data packet
- the data type of the PES data packet is audio data or video data, that is, by parsing the PES data packet, it can be known whether the PES data packet is video data (video PES data packet) or audio data (audio PES data packet).
- video PES data packet video data
- audio PES data packet audio data
- the PID of the video and the PID of the audio have already distinguished which are the video and which are the audio. Therefore, when parsing PES, it can still be distinguished based on the PID of the video and the PID of the audio. Which ones are audio data and which ones are video data in PES.
- Step 7 Based on the PES data packet, the display time parameter PTS and the decoding time parameter DTS are calculated.
- PTS and DTS are two encoding-related parameters that need to be used in MP4 format (player's playback format) files.
- PTS is the decoding timestamp
- DTS is the display timestamp
- the decoding timestamp is at the display time.
- the decoding time stamp is to tell the decoder when to decode the PES
- the display time stamp is to tell the decoder when to play the PES.
- Step 8 Determine the ES data packet in the PES data packet, and store the ES data packet in the PES data packet.
- the data in the ES data packet is real media data, that is, the image information of the video, which does not include any information other than the image information.
- PTS and DTS are not included in the ES data packet.
- Step 9 Determine SPS and PPS based on the ES data packet.
- SPS and PPS are two parameters that must be required for file decoding in MP4 format (the playback format of the player), which can be determined based on the ES data packet.
- Step 10 Based on the calculated PTS, DTS, SPS and PPS parameters, transcode the TS file to the player’s playback format. For example, if the player’s playback format is mp4, then transcode the TS file to mp4 format file.
- step 6 the specific process of parsing a PES packet is as follows:
- Step A Extract the first TS packet in the PES packet.
- multiple PES data packets can be correspondingly obtained.
- One PES data packet corresponds to multiple TS data packets, and then based on the body data in the PES data packet, from the PES data packet
- Step B Determine whether the first TS data packet is a normal data packet based on the body data in the PES data packet.
- Step C When the first TS data packet is a normal data packet, the data type of the current PES data packet is determined.
- the identification bit corresponding to this byte is streamId, and the data type of the current PES can be determined by the identification bit.
- the data type of the PES includes video data and audio data.
- streamId is audio data between c0 and df (hexadecimal), and video data between e0 and ef.
- the body data in the process of continuously reading the body data in the PES data packet, also contains the parameter identifier of PTS and the parameter identifier of DTS.
- the parameter identifier corresponding to PTS is the first identifier
- the parameter identifier corresponding to DTS The parameter identifier is the second parameter identifier. If the first identifier corresponding to the read PTS is 1, then the PTS can be obtained correspondingly. If the parameter identifier corresponding to the read PTS is 0, you can no longer continue to read it.
- the parameter identification and the parameter identification of the PTS are based on the same principle.
- the DTS can be obtained correspondingly, and if the parameter identification corresponding to the DTS is 0, the reading can not be continued.
- information corresponding to other identification bits can also be obtained, such as the packet length of the PES data packet.
- PTS and DTS are calculated based on the PES data packet, which may specifically include:
- PTS DTS.
- step 8 determining the ES data packet in the PES data packet and storing the ES data packet in the PES data packet may include:
- the ES data packet is video data, based on the body data in the ES data packet, first read 3 bytes 001, or 4 bytes 0001, if these 3 bytes or 4 bytes are not 1, it means this TS The data packet is an abnormal data packet and will not be parsed. If it is 1, it means that the TS data packet is a normal data packet and can be parsed. After the TS data packet is a normal data packet, read the identification bit NAL (network abstraction layer), and calculate the SPS and PPS based on the ES data packet.
- the bitstream format of h264 includes the byte stream format, which is the format specified in the h264 official protocol document. It can be used as the default output format of most encoders.
- the basic data unit of the byte stream format is the NAL unit, that is, NALU.
- NALU the basic data unit of the byte stream format
- the protocol stipulates that the start code is added in front of each NALU: 0x000001 or 0x00000001 (0x stands for hexadecimal).
- the ES data packets in each TS data packet are combined, that is, the ES data packets in each TS data packet in a PES data packet are combined in a time sequence to obtain a PES data packet corresponding ES data packet.
- the ES data packet is audio data
- check whether the identification bit aac is normal specifically: read 2 bytes first, move 4 bits to the right, whether it is 0xff, if it is, the identification bit aac is normal, if not, the identification bit aac is not Normal; if the identification bit aac is normal, an ID is parsed from the ES data packet, and the mpeg type is determined based on the ID.
- the mpeg type includes mpeg-2 and mpeg-4, and the channel, frequency, audio decoding configuration and other parameters are analyzed at the same time .
- all ES data packets are combined, that is, the ES data packets in each TS data packet are combined. Specifically, the ES data packets corresponding to each TS data packet in a PES data packet are combined in a time sequence. The data packets are combined to obtain an ES data packet corresponding to a PES data packet. Among them, the calculation of the audio coding configuration is calculated based on the channel and frequency.
- the device 20 may include: TS file acquisition Module 210, TS data packet determination module 220, PES data packet determination module 230, PES data packet analysis module 240, and video parameter determination module 250, wherein:
- the TS file obtaining module 210 is used to obtain the TS file of the transport stream to be processed
- the TS data packet determining module 220 is configured to obtain TS data packets in the TS files to be processed based on the TS files to be processed;
- the PES data packet determining module 230 is configured to determine the basic data stream PES data packet of each packet corresponding to the TS file to be processed based on the TS data packet, and the content of one video frame in the TS file to be processed corresponds to one PES data packet;
- the PES data packet parsing module 240 is configured to analyze each PES data packet separately to obtain the video parameters of each PES data packet;
- the video parameter determination module 250 is configured to obtain the video parameters of the TS file to be processed based on the video parameters of each PES data packet.
- the corresponding video parameters are parsed for each PES data packet to avoid missing PES data packets when parsing all PES data packets at the same time. This makes the video parameters of TS files obtained based on parsing each PES data packet more accurate.
- the PES data packet parsing module is configured to parse each PES data packet separately to obtain the video parameters of each PES data packet:
- the display time parameter PTS in the PES data packet is obtained based on the PES data packet, and the first identifier is used to identify that the PES data packet contains the display time parameter PTS;
- the parameter identifier is the second identifier, based on the PES data packet, the display time parameter PTS and the decoding time parameter DTS in the PES data packet are obtained, and the second identifier is used to identify that the PES data packet contains the display time parameter PTS and the decoding time parameter DTS;
- the video parameters include display time parameters PTS, or, include display time parameters PTS and decoding time parameters DTS.
- the device further includes:
- the data type determination module is used to determine the data type of the PES data packet based on the analysis result of the PES data packet, and the data type is video data or audio data;
- the display time parameter PTS is equal to the decoding time parameter DTS.
- the PES data packet determination module is configured to determine each PES data packet corresponding to the TS file to be processed based on the TS data packet:
- each PES data packet corresponding to the TS file to be processed is obtained, and the analysis condition is that the specified identifier in the TS data packet is a set value.
- the TS data packet includes a data packet corresponding to the program table
- the PES data packet determination module is configured to determine each PES data packet corresponding to the TS file to be processed based on the TS data packet:
- the program table is used to identify the video data and audio data in the TS data packet
- each PES data packet corresponding to the TS file to be processed is determined.
- the PES data packet determination module is configured to determine each PES data packet corresponding to the TS file to be processed based on the video data and audio data in the first TS data packet:
- each PES data packet corresponding to the TS file to be processed is determined.
- the video parameters further include a sequence parameter set SPS and an image parameter set PPS; the device further includes:
- the TS file processing module is used for format conversion of the TS file to be processed based on the display time parameter PTS, the decoding time parameter DTS, the sequence parameter set SPS and the image parameter set PPS.
- the device of the embodiments of the present disclosure can execute a video data processing method shown in FIG. 1, and its implementation principle is similar.
- the actions performed by each module in the video data processing device in each embodiment of the present disclosure are the same as those of the present disclosure.
- the steps in the video data processing method in the disclosed embodiments correspond to the steps.
- For the detailed function description of each module of the video data processing device please refer to the description of the corresponding video data processing method shown in the foregoing. I won't repeat them here.
- FIG. 3 shows a schematic structural diagram of an electronic device (for example, the terminal device or the server in FIG. 1) 600 suitable for implementing the embodiment of the present disclosure.
- Terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
- the electronic device shown in FIG. 3 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
- the electronic device includes a memory and a processor.
- the processor here may be referred to as the processing device 601 below, and the memory may include a read-only memory (ROM) 602, a random access memory (RAM) 603, and a storage device 608 below.
- ROM read-only memory
- RAM random access memory
- storage device 608 At least one item of, as follows:
- the electronic device 600 may include a processing device (such as a central processing unit, a graphics processor, etc.) 601, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 602 or from a storage device 608.
- the program in the memory (RAM) 603 executes various appropriate actions and processing.
- various programs and data required for the operation of the electronic device 600 are also stored.
- the processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604.
- An input/output (I/O) interface 605 is also connected to the bus 604.
- the following devices can be connected to the I/O interface 605: including input devices 606 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCD), speakers, vibration An output device 607 such as a device; a storage device 608 such as a magnetic tape, a hard disk, etc.; and a communication device 609.
- the communication device 609 may allow the electronic device 600 to perform wireless or wired communication with other devices to exchange data.
- FIG. 3 shows an electronic device 600 having various devices, it should be understood that it is not required to implement or have all of the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
- the process described above with reference to the flowchart can be implemented as a computer software program.
- the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, and the computer program contains program code for executing the method shown in the flowchart.
- the computer program may be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602.
- the processing device 601 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
- the aforementioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
- the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
- the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
- the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
- the client and server can communicate with any network protocol currently known or developed in the future, such as HTTP (Hyper Text Transfer Protocol), and can communicate with digital data in any form or medium.
- Data communications e.g., communication networks
- Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any currently known or future research and development network of.
- LAN local area networks
- WAN wide area networks
- the Internet for example, the Internet
- end-to-end networks for example, ad hoc end-to-end networks
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
- the above-mentioned computer-readable medium carries one or more programs.
- the electronic device obtains the TS file to be processed; and obtains the TS file to be processed based on the TS file to be processed.
- TS data packet in the processed TS file based on the TS data packet, determine the basic data stream PES data packet of each packet corresponding to the TS file to be processed, and the content of a video frame in the TS file to be processed corresponds to a PES data packet Analyze each PES data packet separately to obtain the video parameters of each PES data packet; obtain the video parameters of the TS file to be processed based on the video parameters of each PES data packet.
- the computer program code used to perform the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
- the above-mentioned programming languages include but are not limited to object-oriented programming languages such as Java, Smalltalk, C++, and Including conventional procedural programming languages-such as "C" language or similar programming languages.
- the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
- the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
- LAN local area network
- WAN wide area network
- each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
- the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.
- each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
- modules or units involved in the embodiments described in the present disclosure can be implemented in software or hardware. Among them, the name of the module or unit does not constitute a limitation on the unit itself under certain circumstances.
- exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
- FPGA Field Programmable Gate Array
- ASIC Application Specific Integrated Circuit
- ASSP Application Specific Standard Product
- SOC System on Chip
- CPLD Complex Programmable Logical device
- a machine-readable medium may be a tangible medium, which may contain or store a program for use by the instruction execution system, apparatus, or device or in combination with the instruction execution system, apparatus, or device.
- the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- the machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing.
- machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- RAM random access memory
- ROM read-only memory
- EPROM or flash memory erasable programmable read-only memory
- CD-ROM compact disk read-only memory
- magnetic storage device or any suitable combination of the above.
- Example 1 provides a method for processing video data, including:
- the TS data packet in the TS file to be processed is obtained;
- the video parameters of the TS file to be processed are obtained.
- parsing each PES data packet separately to obtain the video parameters of each PES data packet includes:
- the display time parameter PTS in the PES data packet is obtained based on the PES data packet, and the first identifier is used to identify that the PES data packet contains the display time parameter PTS;
- the parameter identifier is the second identifier, based on the PES data packet, the display time parameter PTS and the decoding time parameter DTS in the PES data packet are obtained, and the second identifier is used to identify that the PES data packet contains the display time parameter PTS and the decoding time parameter DTS;
- the video parameters include display time parameters PTS, or include display time parameters PTS and decoding time parameters DTS.
- the method further includes:
- the display time parameter PTS is equal to the decoding time parameter DTS.
- determining each PES data packet corresponding to the TS file to be processed includes:
- each PES data packet corresponding to the TS file to be processed is obtained, and the analysis condition is that the specified identifier in the TS data packet is a set value.
- the TS data packet includes a data packet corresponding to the program table, and based on the TS data packet, determining each PES data packet corresponding to the TS file to be processed includes:
- the program table is used to identify the video data and audio data in the TS data packet
- each PES data packet corresponding to the TS file to be processed is determined.
- determining each PES data packet corresponding to the TS file to be processed includes:
- each PES data packet corresponding to the TS file to be processed is determined.
- the video parameters further include a sequence parameter set SPS and an image parameter set PPS; the method further includes:
- the format conversion of the TS file to be processed is performed.
- Example 2 provides an apparatus for processing video data, and the apparatus includes:
- the TS file acquisition module is used to acquire the TS file of the transport stream to be processed
- the TS data packet determination module is used to obtain the TS data packet in the TS file to be processed based on the TS file to be processed;
- the PES data packet determination module is used to determine the basic data stream PES data packet of each packet corresponding to the TS file to be processed based on the TS data packet, and the content of a video frame in the TS file to be processed corresponds to a PES data packet;
- the PES data packet parsing module is used to analyze each PES data packet separately to obtain the video parameters of each PES data packet;
- the video parameter determination module is used to obtain the video parameters of the TS file to be processed based on the video parameters of each PES data packet.
- the PES data packet parsing module is configured to separately analyze each PES data packet to obtain the video parameters of each PES data packet:
- the display time parameter PTS in the PES data packet is obtained based on the PES data packet, and the first identifier is used to identify that the PES data packet contains the display time parameter PTS;
- the parameter identifier is the second identifier, based on the PES data packet, the display time parameter PTS and the decoding time parameter DTS in the PES data packet are obtained, and the second identifier is used to identify that the PES data packet contains the display time parameter PTS and the decoding time parameter DTS;
- the video parameters include display time parameters PTS, or, include display time parameters PTS and decoding time parameters DTS.
- the device further includes:
- the data type determination module is used to determine the data type of the PES data packet based on the analysis result of the PES data packet, and the data type is video data or audio data;
- the display time parameter PTS is equal to the decoding time parameter DTS.
- the PES data packet determination module is configured to, based on the TS data packet, determine each PES data packet corresponding to the TS file to be processed:
- each PES data packet corresponding to the TS file to be processed is obtained, and the analysis condition is that the specified identifier in the TS data packet is a set value.
- the TS data packet includes a data packet corresponding to the program table
- the PES data packet determination module is configured to determine each PES data packet corresponding to the TS file to be processed based on the TS data packet Time:
- the program table is used to identify the video data and audio data in the TS data packet
- each PES data packet corresponding to the TS file to be processed is determined.
- the PES data packet determination module is configured to determine each PES data packet corresponding to the TS file to be processed based on the video data and audio data in the first TS data packet:
- each PES data packet corresponding to the TS file to be processed is determined.
- the video parameters further include a sequence parameter set SPS and an image parameter set PPS; the device further includes:
- the TS file processing module is used for format conversion of the TS file to be processed based on the display time parameter PTS, the decoding time parameter DTS, the sequence parameter set SPS and the image parameter set PPS.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Claims (10)
- 一种视频数据的处理方法,包括:获取待处理的传输流TS文件;基于所述待处理的TS文件,得到所述待处理的TS文件中的TS数据包;基于所述TS数据包,确定所述待处理的TS文件对应的各个分组的基本数据流PES数据包,所述待处理的TS文件中的一个视频帧的内容对应一个PES数据包;分别解析各个所述PES数据包,得到每个所述PES数据包的视频参数;以及基于各所述PES数据包的视频参数,得到所述待处理的TS文件的视频参数。
- 根据权利要求1所述的方法,其中,所述分别解析各个所述PES数据包,得到每个所述PES数据包的视频参数,包括:分别解析各个所述PES数据包,得到每个所述PES数据包的视频参数的参数标识;在所述参数标识为第一标识的情况下,基于所述PES数据包,得到所述PES数据包中的所述显示时间参数PTS,所述第一标识用于标识所述PES数据包中包含所述显示时间参数PTS;在所述参数标识为所述第二标识的情况下,基于所述PES数据包,得到所述PES数据包中的所述显示时间参数PTS和所述解码时间参数DTS,所述第二标识用于标识所述PES数据包中包含所述显示时间参数PTS和所述解码时间参数DTS;以及所述视频参数包括所述显示时间参数PTS,或者,包括所述显示时间参数PTS和所述解码时间参数DTS。
- 根据权利要求2所述的方法,所述方法还包括:基于所述PES数据包的解析结果,确定所述PES数据包的数据类型,所述数据类型为视频数据或音频数据;其中,在所述PES数据包为所述音频数据的情况下,所述显示时间参数PTS等于所述解码时间参数DTS。
- 根据权利要求1至3中任一项所述的方法,其中,所述TS数据包中包括对应于节目表的数据包,所述基于所述TS数据包,确定所述待处理的TS文件对应的各个PES数据包,包括:确定所述TS数据包中包括节目表的第一TS数据包,所述节目表用于标识TS数据包中的视频数据和音频数据;基于所述节目表,确定所述第一TS数据包中的视频数据和音频数据;以及基于所述第一TS数据包中的视频数据和音频数据,确定所述待处理的TS文件对应的各个PES数据包。
- 根据权利要求4所述的方法,其中,所述基于所述第一TS数据包中的视频数据和音频数据,确定所述待处理的TS文件对应的各个PES数据包,包括:基于所述第一TS数据包的视频数据,确定所述待处理的TS文件对应的各个PES数据包对应的视频数据;基于所述第一TS数据包的音频数据,确定所述待处理的TS文件对应的各个PES数据包对应的音频数据;以及基于各个所述PES数据包对应的视频数据和各个所述PES数据包对应的音频数据,确定所述待处理的TS文件对应的各个PES数据包。
- 根据权利要求2或3所述的方法,其中,所述视频参数还包括序列参数集SPS和图像参数集PPS;所述方法还包括:基于所述显示时间参数PTS、所述解码时间参数DTS、所述序列参数 集SPS和所述图像参数集PPS,对所述待处理的TS文件进行格式转换。
- 一种视频数据的处理装置,包括:TS文件获取模块,用于获取待处理的传输流TS文件;TS数据包确定模块,用于基于所述待处理的TS文件,得到所述待处理的TS文件中的TS数据包;PES数据包确定模块,用于基于所述TS数据包,确定所述待处理的TS文件对应的各个分组的基本数据流PES数据包,所述待处理的TS文件中的一个视频帧的内容对应一个PES数据包;PES数据包解析模块,用于分别解析各个所述PES数据包,得到每个所述PES数据包的视频参数;以及视频参数确定模块,用于基于各所述PES数据包的视频参数,得到所述待处理的TS文件的视频参数。
- 根据权利要求7所述的装置,其中,所述PES数据包解析模块被配置为在所述分别解析各个所述PES数据包,得到每个所述PES数据包的视频参数时:分别解析各个所述PES数据包,得到每个所述PES数据包的视频参数的参数标识;在所述参数标识为第一标识的情况下,基于所述PES数据包,得到所述PES数据包中的所述显示时间参数PTS,所述第一标识用于标识所述PES数据包中包含所述显示时间参数PTS;在所述参数标识为所述第二标识的情况下,基于所述PES数据包,得到所述PES数据包中的所述显示时间参数PTS和所述解码时间参数DTS,所述第二标识用于标识所述PES数据包中包含所述显示时间参数PTS和所述解码时间参数DTS;以及所述视频参数包括所述显示时间参数PTS,或者,包括所述显示时间参数PTS和所述解码时间参数DTS。
- 一种电子设备,包括:处理器和存储器;所述存储器,被配置为存储计算机操作指令;所述处理器,被配置为通过调用所述计算机操作指令,执行权利要求1至6中任一项所述的方法。
- 一种计算机可读介质,所述可读介质存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现权利要求1至6中任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911120584.5 | 2019-11-15 | ||
CN201911120584.5A CN110798731A (zh) | 2019-11-15 | 2019-11-15 | 视频数据的处理方法、装置、电子设备及计算机可读介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021093500A1 true WO2021093500A1 (zh) | 2021-05-20 |
Family
ID=69445125
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/120681 WO2021093500A1 (zh) | 2019-11-15 | 2020-10-13 | 视频数据的处理方法、装置、电子设备及计算机可读介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110798731A (zh) |
WO (1) | WO2021093500A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110798731A (zh) * | 2019-11-15 | 2020-02-14 | 北京字节跳动网络技术有限公司 | 视频数据的处理方法、装置、电子设备及计算机可读介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102104795A (zh) * | 2011-03-30 | 2011-06-22 | 重庆大学 | 基于mpeg-2的多路ps流转复用为一路ts流的方法 |
US20150363161A1 (en) * | 2003-04-03 | 2015-12-17 | Ati Technologies Ulc | Method and apparatus for audio synchronization |
CN105324999A (zh) * | 2013-09-12 | 2016-02-10 | 索尼公司 | 编码装置、传输装置以及接收装置 |
CN105830450A (zh) * | 2013-12-16 | 2016-08-03 | 松下电器(美国)知识产权公司 | 发送方法、接收方法、发送装置以及接收装置 |
CN106303673A (zh) * | 2015-06-04 | 2017-01-04 | 中兴通讯股份有限公司 | 码流对齐、同步处理方法及发送、接收终端和通信系统 |
CN110798731A (zh) * | 2019-11-15 | 2020-02-14 | 北京字节跳动网络技术有限公司 | 视频数据的处理方法、装置、电子设备及计算机可读介质 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11261958A (ja) * | 1998-03-09 | 1999-09-24 | Sony Corp | 映像編集装置及び映像編集方法 |
JP2007013436A (ja) * | 2005-06-29 | 2007-01-18 | Toshiba Corp | 符号化ストリーム再生装置 |
KR100788685B1 (ko) * | 2006-03-10 | 2007-12-26 | 삼성전자주식회사 | 데이터 스트림 포맷의 변환 방법 및 장치, 이를 이용한데이터 스트림 기록 방법 및 장치 |
CN100479529C (zh) * | 2006-09-30 | 2009-04-15 | 中兴通讯股份有限公司 | 一种广播网络复用协议的转换方法 |
CN101984655A (zh) * | 2010-11-23 | 2011-03-09 | 华亚微电子(上海)有限公司 | 数字电视接收装置及其换台方法 |
CN102447949A (zh) * | 2011-08-24 | 2012-05-09 | 上海文广科技(集团)有限公司 | 一种高效的精确到帧的ts流拼接方法 |
JP6520242B2 (ja) * | 2015-03-12 | 2019-05-29 | ソニー株式会社 | 情報処理装置、通信システム、情報処理方法およびプログラム |
CN105049904B (zh) * | 2015-07-27 | 2019-05-31 | 青岛海信移动通信技术股份有限公司 | 一种多媒体文件的播放方法和装置 |
CN106790044B (zh) * | 2016-12-19 | 2020-04-17 | 北京数码视讯科技股份有限公司 | Ts码流转换为rtp码流的方法和装置 |
CN106657113B (zh) * | 2016-12-30 | 2019-07-05 | 中广热点云科技有限公司 | 一种广播网络复用协议的转换方法及系统 |
-
2019
- 2019-11-15 CN CN201911120584.5A patent/CN110798731A/zh active Pending
-
2020
- 2020-10-13 WO PCT/CN2020/120681 patent/WO2021093500A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150363161A1 (en) * | 2003-04-03 | 2015-12-17 | Ati Technologies Ulc | Method and apparatus for audio synchronization |
CN102104795A (zh) * | 2011-03-30 | 2011-06-22 | 重庆大学 | 基于mpeg-2的多路ps流转复用为一路ts流的方法 |
CN105324999A (zh) * | 2013-09-12 | 2016-02-10 | 索尼公司 | 编码装置、传输装置以及接收装置 |
CN105830450A (zh) * | 2013-12-16 | 2016-08-03 | 松下电器(美国)知识产权公司 | 发送方法、接收方法、发送装置以及接收装置 |
CN106303673A (zh) * | 2015-06-04 | 2017-01-04 | 中兴通讯股份有限公司 | 码流对齐、同步处理方法及发送、接收终端和通信系统 |
CN110798731A (zh) * | 2019-11-15 | 2020-02-14 | 北京字节跳动网络技术有限公司 | 视频数据的处理方法、装置、电子设备及计算机可读介质 |
Also Published As
Publication number | Publication date |
---|---|
CN110798731A (zh) | 2020-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021042936A1 (zh) | 视频数据的处理方法、装置、电子设备及计算机可读介质 | |
CN110996160B (zh) | 视频处理方法、装置、电子设备及计算机可读取存储介质 | |
WO2017063399A1 (zh) | 一种视频播放方法和装置 | |
US8935424B2 (en) | Method and apparatus for signaling presentation description updates in HTTP streaming | |
WO2020233142A1 (zh) | 多媒体文件播放方法、装置、电子设备和存储介质 | |
US20190246184A1 (en) | Data Transmission Method and Apparatus, and Electronic Device | |
US9894393B2 (en) | Video encoding for reduced streaming latency | |
WO2022170836A1 (zh) | 多媒体文件中轨道数据的处理方法、装置、介质及设备 | |
US20240305860A1 (en) | Method and apparatus for playing back video at multiple-speed, electronic device and storage medium | |
US11611788B2 (en) | Adaptive switching in a whole home entertainment system | |
WO2021093608A1 (zh) | 视频数据的处理方法、装置、电子设备及计算机可读介质 | |
JP2018509060A5 (zh) | ||
WO2017092434A1 (zh) | 音视频实时传输方法及装置、音视频实时播放方法及装置 | |
WO2023071598A1 (zh) | 音视频同步监控方法、装置、电子设备及存储介质 | |
US20180376180A1 (en) | Method and apparatus for metadata insertion pipeline for streaming media | |
WO2021093500A1 (zh) | 视频数据的处理方法、装置、电子设备及计算机可读介质 | |
US8509598B1 (en) | Electronic apparatus and index generation method | |
CN110392276B (zh) | 一种基于rtmp协议同步传输midi的直播录播方法 | |
CN108200481B (zh) | 一种rtp-ps流处理方法、装置、设备及存储介质 | |
WO2017092435A1 (zh) | 音视频实时传输方法及装置、传输流打包方法及复用器 | |
WO2024139865A1 (zh) | 虚拟扬声器的确定方法及相关装置 | |
CN115942000B (zh) | H.264格式的视频流转码方法及装置、设备及介质 | |
CN109495793B (zh) | 一种弹幕写入方法、装置、设备及介质 | |
CN113395581A (zh) | 音频播放方法、装置、电子设备及存储介质 | |
CN115022693A (zh) | 一种视频投屏方法、装置、设备及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20887060 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20887060 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/09/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20887060 Country of ref document: EP Kind code of ref document: A1 |