CN107277563B - Method, server and terminal for generating and playing video file - Google Patents

Method, server and terminal for generating and playing video file Download PDF

Info

Publication number
CN107277563B
CN107277563B CN201710334026.3A CN201710334026A CN107277563B CN 107277563 B CN107277563 B CN 107277563B CN 201710334026 A CN201710334026 A CN 201710334026A CN 107277563 B CN107277563 B CN 107277563B
Authority
CN
China
Prior art keywords
file
timestamp
files
key frame
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710334026.3A
Other languages
Chinese (zh)
Other versions
CN107277563A (en
Inventor
韩科委
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Ideal Zhimei Technology Co.,Ltd.
Original Assignee
Chengdu Ideal Zhimei Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Ideal Zhimei Technology Co ltd filed Critical Chengdu Ideal Zhimei Technology Co ltd
Priority to CN201710334026.3A priority Critical patent/CN107277563B/en
Publication of CN107277563A publication Critical patent/CN107277563A/en
Application granted granted Critical
Publication of CN107277563B publication Critical patent/CN107277563B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • H04N21/2353Processing of additional data, e.g. scrambling of additional data or processing content descriptors specifically adapted to content descriptors, e.g. coding, compressing or processing of metadata
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/84Generation or processing of descriptive data, e.g. content descriptors

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Library & Information Science (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method, a server and a terminal for generating and playing video files, which divide a video stream into a plurality of TS files, acquire all key frames in each TS file, and record the display time stamp and the file offset of each key frame in each TS file; according to the slicing sequence of the plurality of TS files, n m3u8 files for describing the slicing sequence are generated, and a display time stamp of each key frame in each TS file and a label corresponding to a file offset are added to the n m3u8 files. The method, the server and the terminal for generating and playing the video file can ensure that the accuracy of the jumping to the target position is improved on the basis of ensuring the jumping speed.

Description

Method, server and terminal for generating and playing video file
Technical Field
The present invention relates to the field of video processing technologies, and in particular, to a method, a server, and a terminal for generating and playing a video file.
Background
When the existing HTTP-based streaming media is transmitted, a part of the existing HTTP-based streaming media uses an HLS (HTTP live streaming) protocol to transmit the streaming media, and in the HLS protocol, a server first divides an entire video stream into a plurality of small TS fragments and provides one or more m3u8 files to describe the video stream and each TS fragment, and each TS fragment is transmitted through HTTP; then, the playing end usually acquires the m3u8 file first, then analyzes it to obtain the time length, URL and other information of each TS fragment, and then selects the TS fragment to be played for downloading and playing. When playing the HLS, the segment at the time point is generally calculated according to the duration of each segment provided by the m3u8 file. Taking the m3u8 file as an example, assuming that 12s of time point needs to be skipped to and the playing time lengths of the 1.TS and the 2.TS are both 9s, it can be determined that the file 2.TS needs to be played; however, the initial Presentation Time Stamp (PTS) of the TS 2. is 9s, and in order to play the content with the PTS of 12s, the content needs to be skipped within the segment 2. TS.
In order to implement fast leaping of HLS, the common practice in the prior art is: estimating the target position of the skip broadcast according to the bit rate, wherein the bit rate can be calculated from the size of the TS file and the duration of the TS file, finding out a key frame from the position, starting decoding, and recovering normal broadcast; this method has a problem that the speed of the skip broadcast is fast, but the bit rate actually fluctuates, which results in a problem that the accuracy of the estimated target position is low.
Disclosure of Invention
The invention provides a method, a server and a terminal for generating and playing a video file, which can ensure that the accuracy of jumping to a target position is improved on the basis of ensuring the jumping speed.
A first aspect of the present application provides a method for generating a video file, including:
dividing a video stream into a plurality of TS files, acquiring all key frames in each TS file, and recording a display time stamp and a file offset of each key frame in each TS file;
according to the slicing sequence of the TS files, n m3u8 files for describing the slicing sequence are generated, and a display time stamp of each key frame in each TS file and a label corresponding to a file offset are added into the n m3u8 files, wherein n is an integer not less than 1.
Optionally, after recording the display time stamp and the file offset of each key frame in each TS file, the method further includes:
generating a dat file corresponding to each TS file according to the recorded display time stamp and file offset of each key frame in each TS file;
and adding the label corresponding to the dat file corresponding to each TS file into the n m3u8 files.
Optionally, the display timestamp and the file offset of each key frame in the dat file corresponding to each TS file form a binary set.
A second aspect of the present application provides a method for playing a video file, including:
analyzing the obtained video file to obtain n m3u8 files corresponding to the video file, a plurality of TS (transport stream) files contained in the n m3u8 files and a display time stamp of each TS file, wherein n is an integer not less than 1;
searching the TS file to which the target timestamp belongs from the plurality of TS files by using the target timestamp jumped to the target position and the display timestamp of each TS file;
acquiring a display timestamp and a file offset of each key frame in the TS file to which the target timestamp belongs by using a tag corresponding to the display timestamp and the file offset of each key frame in each TS file stored in the n m3u8 files;
and searching the video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs and playing the video frame according to the target timestamp and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs.
Optionally, when the n m3u8 files store therein a tag corresponding to a dat file corresponding to each TS file included in the n m3u8 files, the method further includes:
obtaining a dat file corresponding to the TS file to which the target timestamp belongs by using a tag corresponding to a dat file corresponding to each TS file included in the n m3u8 files, wherein a display timestamp and a file offset of each key frame in the TS file are stored in the dat file corresponding to each TS file;
analyzing a dat file corresponding to the TS file to which the target timestamp belongs to obtain a display timestamp and a file offset of each key frame in the TS file to which the target timestamp belongs;
and searching the video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs and playing the video frame according to the target timestamp and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs.
Optionally, the finding, according to the target timestamp and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs, a video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs specifically includes:
according to the target timestamp, finding a key frame closest to the target timestamp from all key frames of the TS file to which the target timestamp belongs;
and finding the video frame closest to the target timestamp as the video frame corresponding to the target timestamp according to the key frame closest to the target timestamp, the target timestamp and the file offset of each key frame.
A third aspect of the application provides a server comprising a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
dividing a video stream into a plurality of TS files, acquiring all key frames in each TS file, and recording a display time stamp and a file offset of each key frame in each TS file;
according to the slicing sequence of the TS files, n m3u8 files for describing the slicing sequence are generated, and a display time stamp of each key frame in each TS file and a label corresponding to a file offset are added into the n m3u8 files, wherein n is an integer not less than 1.
Optionally, the program, when executed by the processor, further implements the following steps after recording the display time stamp and the file offset of each key frame in each TS file:
generating a dat file corresponding to each TS file according to the recorded display time stamp and file offset of each key frame in each TS file;
and adding the label corresponding to the dat file corresponding to each TS file into the n m3u8 files.
A fourth aspect of the present application provides a terminal, comprising a computer-readable storage medium having a computer program stored thereon, the program, when executed by a processor, implementing the steps of:
analyzing the obtained video file to obtain n m3u8 files corresponding to the video file, a plurality of TS (transport stream) files contained in the n m3u8 files and a display time stamp of each TS file, wherein n is an integer not less than 1;
searching the TS file to which the target timestamp belongs from the plurality of TS files by using the target timestamp jumped to the target position and the display timestamp of each TS file;
acquiring a display timestamp and a file offset of each key frame in the TS file to which the target timestamp belongs by using a tag corresponding to the display timestamp and the file offset of each key frame in each TS file stored in the n m3u8 files;
and searching the video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs and playing the video frame according to the target timestamp and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs.
Optionally, when the program is executed by the processor, when a tag corresponding to a dat file corresponding to each TS file included in the n m3u8 files is stored in the n m3u8 files, the following steps are further implemented:
obtaining a dat file corresponding to the TS file to which the target timestamp belongs by using a tag corresponding to a dat file corresponding to each TS file included in the n m3u8 files, wherein a display timestamp and a file offset of each key frame in the TS file are stored in the dat file corresponding to each TS file;
analyzing a dat file corresponding to the TS file to which the target timestamp belongs to obtain a display timestamp and a file offset of each key frame in the TS file to which the target timestamp belongs;
and searching the video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs and playing the video frame according to the target timestamp and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs.
Optionally, the program further implements the following steps when executed by the processor:
according to the target timestamp, finding a key frame closest to the target timestamp from all key frames of the TS file to which the target timestamp belongs;
and finding the video frame closest to the target timestamp as the video frame corresponding to the target timestamp according to the key frame closest to the target timestamp, the target timestamp and the file offset of each key frame.
The invention has the following beneficial effects:
based on the above technical solution, in the embodiment of the present invention, a plurality of TS files into which a video stream is divided are packaged into n m3u8 files, and a display timestamp and a tag corresponding to a file offset of each key frame in each TS file are added to the n m3u8 files, so that when the n m3u8 files are parsed, the display timestamp and the file offset of each key frame in each TS file can be accurately and quickly found according to the tags in the n m3u8 files, and the display timestamp and the file offset of each key frame can be accurately positioned to a target position for skip-playing and then played according to the found display timestamp and file offset of each key frame, thereby achieving an effect of improving accuracy of skip-playing to the target position on the basis of ensuring skip-playing speed.
Drawings
FIG. 1 is a first flowchart of a method for generating a video file according to an embodiment of the present invention;
FIG. 2 is a second flowchart of a method for generating a video file according to an embodiment of the present invention;
FIG. 3 is a first flowchart of a method for playing a video file according to an embodiment of the present invention;
fig. 4 is a second flowchart of a method for playing a video file according to an embodiment of the present invention.
Detailed Description
The invention provides a method, a server and a terminal for generating and playing a video file, which can ensure that the accuracy of jumping to a target position is improved on the basis of ensuring the jumping speed.
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
The first embodiment is as follows:
as shown in fig. 1, a first aspect of the present invention provides a method for generating a video file, including:
s101, dividing a video stream into a plurality of TS files, acquiring all key frames in each TS file, and recording a display time stamp and a file offset of each key frame in each TS file;
s102, generating n m3u8 files for describing the slicing sequence according to the slicing sequence of the TS files, and adding a display time stamp of each key frame in each TS file and a label corresponding to a file offset into the n m3u8 files, wherein n is an integer not less than 1.
The server side in the embodiment of the application serves as an execution main body of the method for generating the video file, and is used for acquiring the corresponding video stream according to the operation instruction of the user, and then executing steps S101 and S102 on the acquired video stream.
In step S101, after acquiring a video stream, a server divides the video stream into a plurality of TS files; when the video stream is divided into a plurality of TS files, a part of video frames in each TS file can be automatically used as key frames according to the coding rule corresponding to the TS files, so that all the key frames in each TS file can be obtained in a searching mode, the PTS and the file offset of each key frame are recorded, and the plurality of TS files form the video stream so as to prevent the video stream from losing data. For example, when each TS file has been encoded by H264, all IDR frames in each TS file are key frames.
In the embodiment of the application, the file offset refers to the number of bytes moving forwards or backwards from the specified position, and the position of each key frame in the TS file can be determined by the file offset of the key frame; further, each TS file carries a PTS and a Decoding Time Stamp (DTS for short) of the TS file, so that the PTS and the file offset of each video frame in each TS file can be accurately located according to the PTS and the DTS carried by each TS file and the PTS and the file offset of each key frame included in the PTS and the DTS. For example, taking 3.TS file as an example, if the initial PTS of 3.TS is 20s and the ending PTS is 30s, where there are 3 key frames in 3.TS, the PTS of the first key frame is 23s and the file offset is 75, the PTS of the second key frame is 26s and the file offset is 150, and the PTS of the third key frame is 29s and the file offset is 225.
Specifically, when the video stream is divided into a plurality of TS files, whether the video stream can be further divided into new TS files is detected, and until it is detected that the video stream cannot be divided into new TS files, all the TS files generated by the video stream are used as the plurality of TS files.
For example, taking a certain video stream a as an example, when the video stream a is divided into TS files, detecting whether the video stream a can be further divided into new TS files in real time or in an indirect preset time until it is detected that the video stream a cannot be divided into new TS files when the video stream a is divided into 1.TS, 2.TS, 3.TS, 4.TS, 5.TS, 6.TS, 7.TS, and 8.TS, it may be determined that the plurality of TS files into which the video stream a is divided are 1.TS, 2.TS, 3.TS, 4.TS, 5.TS, 6.TS, 7.TS, and 8. TS.
Next, step S102 is executed, when the video stream is divided into a plurality of TS files, a slicing sequence of the plurality of TS files is determined and recorded, and then n m3u8 files for describing the slicing sequence are generated according to the recorded slicing sequence of the plurality of TS files, where n is an integer not less than 1, that is, m3u8 files for describing the slicing sequence may be one or more.
Specifically, after n m3u8 files for describing the slicing sequence are generated, a tag corresponding to the PTS and the file offset of each key frame in each TS file may be added to the n m3u8 files, so that the PTS and the file offset of each key frame in each TS file may be found according to the tag in any one m3u8 file, and further, the display timestamp and the file offset of each key frame in each TS file may be accurately and quickly found; and when the PTS of the jump-broadcast target position is obtained, the video frame corresponding to the PTS of the target position can be searched and played by utilizing the PTS and the file offset of each key frame in the TS file of the PTS of the target position, so that the accuracy of the jump-broadcast target position is improved on the basis of ensuring the jump-broadcast speed.
Specifically, the tag corresponding to the PTS of each key frame and the file offset in each TS file may be used to indicate a storage location of the PTS of each key frame and the file offset in each TS file, so that the storage location of the PTS of each key frame and the file offset in each TS file may be found according to the tag, and then the PTS of each key frame and the file offset of each TS file are read from the found storage location, where the PTS of each key frame and the file offset in each TS file are both the same, and the tags corresponding to the PTS of each key frame and the file offset in each TS file are the same; when the PTS of all key frames and the storage positions of the file offset in each TS file are multiple, the number of labels corresponding to the PTS of each key frame and the file offset in each TS file is the same as the number of the storage positions; for example, if the storage locations of the PTS and the file offset of a part of key frames in the TS are http:// media.example.com/1.0.TS, and the storage locations of the PTS and the file offset of another part of key frames are http:// media.example.com/1.1.TS, it can be determined that the label corresponding to the PTS and the file offset of a part of key frames in the TS is 1.0, and the label corresponding to the PTS and the file offset of another key frame is 1.1.
Specifically, when storing the PTS and file offset of each key frame in each TS file, the PTS and file offset of each key frame in each TS file may be stored separately; or packing the PTS and file offset of all key frames in each TS file into a file for storage; the PTS and the file offset of all the key frames included in all the TS files in each m3u8 file may also be packaged into one file for storage, and then the PTS and the file offset of all the key frames included in each TS file may be found through the index identifier, which is not limited in this application. For example, the storage locations of PTS and file offset for each key frame in the 1.TS can both be http:// media. example. com/1. TS; the label corresponding to the PTS and the file offset of each key frame in the TS can be a label for indicating http:// media.example.com/1.TS, that is, the label corresponding to the PTS and the file offset of each key frame in the TS can be a KRYFRAMME-TABLE label; similarly, the storage location of PTS and file offset of each key frame in 3.TS can be http:// media.
In the embodiment of the present application, for example, taking a certain video stream a as an example, a slicing sequence of a plurality of TS files into which the video stream a is divided is 1.TS, 2.TS, 3.TS, 4.TS, 5.TS, 6.TS, 7.TS, and 8.TS in this order, then n m3u8 files for describing the slicing sequence of the above 8 TS files are generated, if the n m3u8 files include a first m3u8 file, an m1 file, and a second m3u8 file, an m2 file are denoted, and a tag corresponding to a PTS and a file offset of each key frame in each TS file in the above 8 TS files is added to m1 and m 2.
In another embodiment of the present application, after recording the display time stamp and the file offset of each key frame in each TS file, as shown in fig. 2, the method further includes:
s201, generating a dat file corresponding to each TS file according to the recorded display time stamp and file offset of each key frame in each TS file;
s202, adding the label corresponding to the dat file corresponding to each TS file into the n m3u8 files.
In step S201, a dat file is generated from the display timestamps and file offsets of all the key frames in each TS file, so that the display timestamps and file offsets of all the key frames in the TS file are stored in the dat file corresponding to each TS file.
Specifically, after the dat file corresponding to each TS file is generated, the dat file corresponding to each TS file also needs to be stored. For example, the 1.dat file corresponding to the 1.TS stores the display timestamps and the file offsets of all the key frames in the 1.TS, and the storage location in the 1.dat file may be http:// media.
Step S202 is performed next, and after the dat file corresponding to each TS file is generated, a tag is assigned to the dat file corresponding to each TS file, and the tag corresponding to the dat file corresponding to each TS file is added to the n m3u8 files.
Specifically, when a tag corresponding to a dat file corresponding to each TS file is added to the n m3u8 files, a tag corresponding to a dat file corresponding to each TS file is added to each m3u8 file. For example, a tag corresponding to a dat file corresponding to each TS file in 1.TS, 2.TS, 3.TS, 4.TS, 5.TS, 6.TS, 7.TS, and 8.TS is added to m1 and m 2.
Specifically, the display timestamp and the file offset of each key frame in the dat file corresponding to each TS file form a binary set. For example, taking 3.TS file as an example, if the initial PTS of 3.TS is 20s and the ending PTS is 30s, where there are 3 key frames in 3.TS, the PTS of the first key frame is 23s and the file offset is 75, it may be determined that the binary group of the first key frame is (23, 75); the PTS of the second key frame is 26s and the file offset is 150, then the second key frame's duplet can be determined to be (26,150); the PTS of the third key frame is 29s and the file offset is 225, then the duplet of the third key frame can be determined to be (29,225).
In another embodiment, after the dat file corresponding to each TS file is generated, a sequence of the dat file corresponding to each TS file may also be determined according to a sequence of fragments of the TS file, where the sequence of the dat file corresponding to each TS file corresponds to the sequence of fragments of the TS file; and generating a label corresponding to the dat file corresponding to each TS file according to the sequence of the dat file corresponding to each TS file, and then adding the label corresponding to the dat file corresponding to each TS file to the n m3u8 files.
For example, if the sequence of the segments of the plurality of TS files into which the video stream a is divided is sequentially 1.TS, 2.TS, 3.TS, 4.TS, 5.TS, 6.TS, 7.TS, and 8.TS, it can be determined that the sequence of the dat file corresponding to 1.TS is 1 specifically represented by 1.dat, similarly, 2.TS corresponds to 2.dat, 3.TS corresponds to 3.dat, 4.TS corresponds to 4.dat, 5.TS corresponds to 5.dat, 6.TS corresponds to 6.dat, 7.TS corresponds to 7.dat, and 8.TS corresponds to 8. dat; and generating tags of the dat files as table1, table2, table3, table4, table5, table6, table7 and table8 in sequence according to the sequence of each dat file, and then adding the tags of the dat files into m1 and m 2.
In the embodiment of the invention, a plurality of TS files divided by a video stream are encapsulated into n m3u8 files, and a display timestamp of each key frame in each TS file and a label corresponding to a file offset are added into the n m3u8 files, so that when the n m3u8 files are analyzed, the display timestamp and the file offset of each key frame in each TS file can be accurately and quickly found according to the labels in the n m3u8 files, and the jump-broadcast to a target position can be accurately positioned according to the found display timestamp and the found file offset of each key frame and then played, thereby realizing the effect that the accuracy of the jump-broadcast to the target position is improved on the basis of ensuring the jump-broadcast speed.
Example two:
based on the technical idea corresponding to the method provided by the first aspect, a second aspect of the present invention provides a method for playing a video file, as shown in fig. 3, including:
s301, analyzing the obtained video file to obtain n m3u8 files corresponding to the video file, a plurality of TS files contained in the n m3u8 files and a display time stamp of each TS file, wherein n is an integer not less than 1;
s302, searching the TS file to which the target timestamp belongs from the plurality of TS files by using the target timestamp jumped to the target position and the display timestamp of each TS file;
s303, acquiring a display timestamp and a file offset of each key frame in the TS file to which the target timestamp belongs by using a tag corresponding to the display timestamp and the file offset of each key frame in each TS file stored in the n m3u8 files;
s304, according to the target timestamp and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs, finding the video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs and playing the video frame.
The playing end in the embodiment of the application serves as an execution main body of the method for playing the video file, and is used for acquiring the corresponding video file from the server end according to a playing instruction of a user, and then executing steps S301 to S304 on the acquired video file.
In step S301, after the playing terminal obtains the video file, the playing terminal parses the video file to obtain n m3u8 files corresponding to the video file, and then parses the n m3u8 files to obtain the n m3u8 files, a plurality of TS files contained therein, and a display timestamp of each TS file.
And executing step S302, first obtaining a target timestamp jumped to the target position, then finding a TS file to which the target timestamp belongs from the multiple TS files according to the display timestamp of each TS file, and determining that the TS file is the TS file to which the target timestamp belongs if each TS file includes an initial timestamp and an end timestamp and the target timestamp can be found to be located between the initial timestamp and the end timestamp of a certain TS file.
For example, if the target timestamp is 25s, according to the PTS of each TS file in 1.TS, 2.TS, 3.TS, 4.TS, 5.TS, 6.TS, 7.TS, and 8.TS, if the PTS corresponding to 1.TS, 2.TS, and 3.TS is 10s, it may be determined that the initial PTS of 3.TS is 20s and the end PTS is 30s, and since 20<25<30, it may be determined that the TS file to which the target timestamp belongs is 3. TS.
Next, step S303 is executed, according to the display timestamp and the label corresponding to the file offset of each key frame in each TS file stored in the n m3u8 files, so that the label corresponding to the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs can be obtained, then the target storage location of the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs is found through the label corresponding to the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs, and then the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs are read from the found target storage location.
Of course, according to the display timestamp and the label corresponding to the file offset of each key frame in each TS file stored in the n m3u8 files, the storage location of the display timestamp and the file offset of each key frame in each TS file stored in the n m3u8 files may be found, then the target storage location of the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs may be found from the storage locations of the display timestamp and the file offset of each key frame in each TS file, and then the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs may be read from the found target storage location.
For example, also taking the video stream a as an example, if the TS file to which the video stream a belongs is found to be 3.TS by using the target timestamp of 24s, the tag corresponding to the PTS and the file offset of each key frame in the 3.TS may be found from m1 and/or m2, and then, according to the storage location indicated by the tag corresponding to the PTS and the file offset of each key frame in the found 3.TS, the location is http:// media.example.com/3.TS, the PTS and the file offset of each key frame in the 3.TS are read from http:// media.example.com/3. TS.
Next, step S304 is executed, and according to the target timestamp, a key frame closest to the target timestamp may be found from all key frames of the TS file to which the target timestamp belongs; and searching the video frame closest to the target timestamp as the video frame corresponding to the target timestamp according to the key frame closest to the target timestamp, the target timestamp and the file offset of each key frame, and then playing.
For example, also taking the video stream a as an example, the TS file to which the video stream a belongs is found to be 3.TS through the target timestamp being 24s, and the PTS and the file offset of each key frame in the 3.TS indicated by the tag are found according to the tag corresponding to the PTS and the file offset of each key frame in the 3.TS stored in m1 and/or m 2; namely acquiring a first key frame (23,75) in the 3. TS; a second key frame (26,150); and a third key frame (29,225), finding the key frame of the nearest 24s from the three key frames as the first key frame, determining that 25 frames are played in 3.TS per second according to the PTS and the file offset of the three key frames, if 24 and 23 are separated by 1s, finding the PTS and the file offset of the video frame closest to 24s as (24,100), and playing the video frame of which the PTS and the file offset are (24,100) as the video frame corresponding to 24s by taking the video frame of which the PTS and the file offset are (24,100) as the starting point.
In this way, by adding the display timestamp and the file offset label of each key frame in each TS file to the m3u8 file, the PTS and the file offset of each key frame in the TS file to which the target timestamp belongs are found; finding out a video frame closest to the target timestamp from the PTS and the file offset of each key frame in the TS file to which the target timestamp belongs as a video frame corresponding to the target timestamp and playing the video frame; the step of finding the video frame closest to the target timestamp is simple, the video frame closest to the target timestamp can be effectively and quickly found, the video frame corresponding to the target timestamp can be found according to the key frame closest to the target timestamp, the target timestamp and the file offset of each key frame, the accuracy of finding the video frame corresponding to the target timestamp can be greatly improved, and therefore the effect that the accuracy of jumping to the target position is improved on the basis of ensuring the jumping playing speed is achieved.
Of course, if the skip-playing is required to be faster without ensuring the skip-playing precision, the key frame closest to the target timestamp may be found as the video frame corresponding to the target timestamp, and then played.
In another embodiment of the present application, when the n m3u8 files store therein a tag corresponding to a dat file corresponding to each TS file contained in the n m3u8 files, as shown in fig. 4, the method further includes:
s401, obtaining a dat file corresponding to the TS file to which the target timestamp belongs by using a tag corresponding to a dat file corresponding to each TS file included in the n m3u8 files, wherein a display timestamp and a file offset of each key frame in the TS file are stored in the dat file corresponding to each TS file;
specifically, since the TS file to which the target timestamp belongs has been found in step S302, the tag corresponding to the dat file corresponding to the TS file to which the target timestamp belongs may be found from the tags corresponding to the dat files corresponding to each TS file included in the n m3u8 files; and then, according to the found label corresponding to the dat file corresponding to the TS file to which the target timestamp belongs, finding the storage position of the dat file corresponding to the TS file to which the target timestamp belongs, and then reading the dat file corresponding to the TS file to which the target timestamp belongs from the found storage position.
For example, also taking the video stream a as an example, the TS file to which the target timestamp belongs is found to be 3.TS by taking the target timestamp as 24s, the table3 serving as a label corresponding to the 3.TS can be found according to the labels stored in m1 and/or m2, and then the 3.dat is located according to the storage location found by the table3 as http:// media.example.com/3.dat, and then the 3.dat is read from the http:// media.example.com/3. dat.
S402, analyzing a dat file corresponding to the TS file to which the target timestamp belongs to obtain a display timestamp and a file offset of each key frame in the TS file to which the target timestamp belongs;
specifically, since the display timestamp and the file offset of each key frame in each TS file are stored in the dat file corresponding to each TS file, the dat file corresponding to the TS file to which the target timestamp belongs can be analyzed, and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs can be obtained.
For example, also taking video stream a as an example, after finding that the TS file is 3.TS through the target timestamp being 24s, and reading 3.dat from http:// media.example.com/3.dat, analyzing 3.dat to obtain a display timestamp and a file offset of each key frame in 3.TS, namely obtaining a first key frame (23,75) in 3. TS; a second key frame (26,150) and a third key frame (29,225).
S403, according to the target timestamp and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs, finding the video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs and playing the video frame.
Specifically, the specific implementation of step S403 may specifically refer to the implementation of step S304, and for brevity of the description, details are not repeated here.
In the embodiment of the present invention, because n m3u8 files corresponding to the corresponding video files, a plurality of TS files contained in the n m3u8 files, and a display timestamp of each TS file, the PTS and file offset of each key frame in the TS file to which the target timestamp belongs can be quickly found according to the target timestamp of the skip broadcast, and then the video frame corresponding to the target timestamp can be found from the TS file to which the target timestamp belongs and played according to the display timestamp and file offset of each key frame in the TS file to which the target timestamp belongs and the target timestamp, so that the step of finding the video corresponding to the target timestamp is simple, the video frame closest to the target timestamp can be effectively ensured to be quickly found, and the video frame corresponding to the target timestamp found according to the display timestamp and file offset of each key frame in the TS file to which the target timestamp belongs is simple The accuracy of the frame is greatly improved, so that the effect that the accuracy of the jumping-broadcast to the target position is improved on the basis of ensuring the jumping-broadcast speed is achieved.
Example three:
based on the same technical concept as the first aspect, a third aspect of the present invention provides a server, including a computer-readable storage medium having a computer program stored thereon, the program, when executed by a processor, implementing the steps of:
dividing a video stream into a plurality of TS files, acquiring all key frames in each TS file, and recording a display time stamp and a file offset of each key frame in each TS file;
according to the slicing sequence of the TS files, n m3u8 files for describing the slicing sequence are generated, and a display time stamp of each key frame in each TS file and a label corresponding to a file offset are added into the n m3u8 files, wherein n is an integer not less than 1.
Preferably, the program further implements the following steps after recording the display time stamp and the file offset of each key frame in each TS file when executed by the processor:
generating a dat file corresponding to each TS file according to the recorded display time stamp and file offset of each key frame in each TS file;
and adding the label corresponding to the dat file corresponding to each TS file into the n m3u8 files.
Preferably, the program, when executed by the processor, forms a binary set of the display timestamp and the file offset of each key frame in the dat file corresponding to each TS file.
Example four:
based on the same technical concept as the second aspect, a fourth aspect of the present invention provides a terminal, characterized by comprising a computer-readable storage medium having a computer program stored thereon, the program, when executed by a processor, implementing the steps of:
analyzing the obtained video file to obtain n m3u8 files corresponding to the video file, a plurality of TS (transport stream) files contained in the n m3u8 files and a display time stamp of each TS file, wherein n is an integer not less than 1;
searching the TS file to which the target timestamp belongs from the plurality of TS files by using the target timestamp jumped to the target position and the display timestamp of each TS file;
acquiring a display timestamp and a file offset of each key frame in the TS file to which the target timestamp belongs by using a tag corresponding to the display timestamp and the file offset of each key frame in each TS file stored in the n m3u8 files;
and searching the video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs and playing the video frame according to the target timestamp and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs.
Preferably, when the program is executed by the processor, when the n m3u8 files store therein the tags corresponding to the dat files corresponding to each TS file included in the n m3u8 files, the following steps are further implemented:
obtaining a dat file corresponding to the TS file to which the target timestamp belongs by using a tag corresponding to a dat file corresponding to each TS file included in the n m3u8 files, wherein a display timestamp and a file offset of each key frame in the TS file are stored in the dat file corresponding to each TS file;
analyzing a dat file corresponding to the TS file to which the target timestamp belongs to obtain a display timestamp and a file offset of each key frame in the TS file to which the target timestamp belongs;
and searching the video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs and playing the video frame according to the target timestamp and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs.
Preferably, the program when executed by the processor further performs the steps of:
according to the target timestamp, finding a key frame closest to the target timestamp from all key frames of the TS file to which the target timestamp belongs;
and finding the video frame closest to the target timestamp as the video frame corresponding to the target timestamp according to the key frame closest to the target timestamp, the target timestamp and the file offset of each key frame.
In the embodiment of the present invention, because n m3u8 files corresponding to the corresponding video files, a plurality of TS files contained in the n m3u8 files, and a display timestamp of each TS file, the PTS and file offset of each key frame in the TS file to which the target timestamp belongs can be quickly found according to the target timestamp of the skip broadcast, and then the video frame corresponding to the target timestamp can be found from the TS file to which the target timestamp belongs and played according to the display timestamp and file offset of each key frame in the TS file to which the target timestamp belongs and the target timestamp, so that the step of finding the video corresponding to the target timestamp is simple, the video frame closest to the target timestamp can be effectively ensured to be quickly found, and the video frame corresponding to the target timestamp found according to the display timestamp and file offset of each key frame in the TS file to which the target timestamp belongs is simple The accuracy of the frame is greatly improved, so that the effect that the accuracy of the jumping-broadcast to the target position is improved on the basis of ensuring the jumping-broadcast speed is achieved.
All of the features disclosed in this specification, or all of the steps in any method or process so disclosed, may be combined in any combination, except combinations of features and/or steps that are mutually exclusive.
Any feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving equivalent or similar purposes, unless expressly stated otherwise. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.
The invention is not limited to the foregoing embodiments. The invention extends to any novel feature or any novel combination of features disclosed in this specification and any novel method or process steps or any novel combination of features disclosed.

Claims (9)

1. A method for generating a video file, applied to a server, is characterized by comprising the following steps:
dividing a video stream into a plurality of TS files, acquiring all key frames in each TS file, and recording a display time stamp and a file offset of each key frame in each TS file;
generating a dat file corresponding to each TS file according to the recorded display time stamp and file offset of each key frame in each TS file;
generating n m3u8 files for describing the slicing sequence according to the slicing sequence of the plurality of TS files, and adding a label corresponding to a dat file corresponding to each TS file into the n m3u8 files, wherein the label is used for indicating the storage positions of a display timestamp and a file offset of each key frame in each TS file, and n is an integer not less than 2; after a terminal connected with the server acquires a video file generated by the server, the terminal acquires a display timestamp and a file offset of each key frame in a TS file to which a target timestamp jumping to a target position belongs by using the tags in the n m3u8 files, and searches and plays a video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs according to the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs.
2. The method of claim 1, wherein the display timestamp and the file offset of each key frame in the dat file corresponding to each TS file form a binary set.
3. A method for playing video files is applied to a terminal, and is characterized by comprising the following steps:
analyzing a video file acquired from a server to obtain n m3u8 files corresponding to the video file, a plurality of TS (transport stream) files contained in the n m3u8 files and a display timestamp of each TS file, wherein n is an integer not less than 2; the video file is obtained by dividing a video stream into a plurality of TS files by the server, generating n m3u8 files for describing the fragment sequence according to the fragment sequence of the TS files, and adding a label corresponding to a dat file corresponding to each TS file to the n m3u8 files; the DAT file corresponding to each TS file is used for representing the display timestamp and the file offset of each key frame in each TS file, and the label is used for indicating the storage position of the display timestamp and the file offset of each key frame in each TS file;
searching the TS file to which the target timestamp belongs from the plurality of TS files by using the target timestamp jumped to the target position and the display timestamp of each TS file;
acquiring a display timestamp and a file offset of each key frame in the TS file to which the target timestamp belongs by using a tag corresponding to the display timestamp and the file offset of each key frame in each TS file stored in the n m3u8 files;
and searching the video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs and playing the video frame according to the target timestamp and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs.
4. The method of claim 3, wherein when the n m3u8 files have stored therein a tag corresponding to a dat file corresponding to each TS file contained in the n m3u8 files, the method further comprises:
obtaining a dat file corresponding to the TS file to which the target timestamp belongs by using a tag corresponding to a dat file corresponding to each TS file included in the n m3u8 files, wherein a display timestamp and a file offset of each key frame in the TS file are stored in the dat file corresponding to each TS file;
analyzing a dat file corresponding to the TS file to which the target timestamp belongs to obtain a display timestamp and a file offset of each key frame in the TS file to which the target timestamp belongs;
and searching the video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs and playing the video frame according to the target timestamp and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs.
5. The method according to claim 3 or 4, wherein the finding, according to the target timestamp and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs, the video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs specifically includes:
according to the target timestamp, finding a key frame closest to the target timestamp from all key frames of the TS file to which the target timestamp belongs;
and finding the video frame closest to the target timestamp as the video frame corresponding to the target timestamp according to the key frame closest to the target timestamp, the target timestamp and the file offset of each key frame.
6. A server, comprising a computer-readable storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of:
dividing a video stream into a plurality of TS files, acquiring all key frames in each TS file, and recording a display time stamp and a file offset of each key frame in each TS file;
generating a dat file corresponding to each TS file according to the recorded display time stamp and file offset of each key frame in each TS file;
generating n m3u8 files for describing the slicing sequence according to the slicing sequence of the plurality of TS files, and adding a label corresponding to a dat file corresponding to each TS file into the n m3u8 files, wherein the label is used for indicating the storage positions of a display timestamp and a file offset of each key frame in each TS file, and n is an integer not less than 2; after a terminal connected with the server acquires a video file generated by the server, the terminal acquires a display timestamp and a file offset of each key frame in a TS file to which a target timestamp jumping to a target position belongs by using the tags in the n m3u8 files, and searches and plays a video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs according to the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs.
7. A terminal comprising a computer readable storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of:
analyzing a video file acquired from a server to obtain n m3u8 files corresponding to the video file, a plurality of TS (transport stream) files contained in the n m3u8 files and a display timestamp of each TS file, wherein n is an integer not less than 2; the video file is obtained by dividing a video stream into a plurality of TS files by the server, generating n m3u8 files for describing the fragment sequence according to the fragment sequence of the TS files, and adding a label corresponding to a dat file corresponding to each TS file to the n m3u8 files; the DAT file corresponding to each TS file is used for representing the display timestamp and the file offset of each key frame in each TS file, and the label is used for indicating the storage position of the display timestamp and the file offset of each key frame in each TS file;
searching the TS file to which the target timestamp belongs from the plurality of TS files by using the target timestamp jumped to the target position and the display timestamp of each TS file;
acquiring a display timestamp and a file offset of each key frame in the TS file to which the target timestamp belongs by using a tag corresponding to the display timestamp and the file offset of each key frame in each TS file stored in the n m3u8 files;
and searching the video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs and playing the video frame according to the target timestamp and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs.
8. The terminal of claim 7, wherein the program, when executed by the processor, when the n m3u8 files have stored therein a tag corresponding to a dat file corresponding to each TS file contained in the n m3u8 files, further implements the steps of:
obtaining a dat file corresponding to the TS file to which the target timestamp belongs by using a tag corresponding to a dat file corresponding to each TS file included in the n m3u8 files, wherein a display timestamp and a file offset of each key frame in the TS file are stored in the dat file corresponding to each TS file;
analyzing a dat file corresponding to the TS file to which the target timestamp belongs to obtain a display timestamp and a file offset of each key frame in the TS file to which the target timestamp belongs;
and searching the video frame corresponding to the target timestamp from the TS file to which the target timestamp belongs and playing the video frame according to the target timestamp and the display timestamp and the file offset of each key frame in the TS file to which the target timestamp belongs.
9. A terminal as claimed in claim 7 or 8, wherein the program when executed by the processor further performs the steps of:
according to the target timestamp, finding a key frame closest to the target timestamp from all key frames of the TS file to which the target timestamp belongs;
and finding the video frame closest to the target timestamp as the video frame corresponding to the target timestamp according to the key frame closest to the target timestamp, the target timestamp and the file offset of each key frame.
CN201710334026.3A 2017-05-12 2017-05-12 Method, server and terminal for generating and playing video file Active CN107277563B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710334026.3A CN107277563B (en) 2017-05-12 2017-05-12 Method, server and terminal for generating and playing video file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710334026.3A CN107277563B (en) 2017-05-12 2017-05-12 Method, server and terminal for generating and playing video file

Publications (2)

Publication Number Publication Date
CN107277563A CN107277563A (en) 2017-10-20
CN107277563B true CN107277563B (en) 2020-11-06

Family

ID=60073921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710334026.3A Active CN107277563B (en) 2017-05-12 2017-05-12 Method, server and terminal for generating and playing video file

Country Status (1)

Country Link
CN (1) CN107277563B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076377B (en) * 2017-12-26 2020-12-08 浙江大华技术股份有限公司 Video storage and playing method and device, electronic equipment and storage medium
CN108737908B (en) * 2018-05-21 2021-11-30 腾讯科技(深圳)有限公司 Media playing method, device and storage medium
CN109348251B (en) * 2018-10-08 2021-05-11 腾讯科技(深圳)有限公司 Method and device for video playing, computer readable medium and electronic equipment
CN109729371B (en) * 2018-12-21 2021-06-01 中电福富信息科技有限公司 Live broadcast time shifting system and method based on HLS protocol multilevel management
CN111436004B (en) * 2019-01-11 2023-02-21 腾讯科技(深圳)有限公司 Video playing method, device and equipment and computer readable storage medium
CN110113655B (en) * 2019-05-05 2021-09-21 北京奇艺世纪科技有限公司 Video playing method and device and user terminal
CN113438521B (en) * 2021-05-28 2023-04-18 曙光网络科技有限公司 Video file generation method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635848A (en) * 2008-07-22 2010-01-27 北大方正集团有限公司 Method and device for editing video file
CN103024561A (en) * 2011-09-28 2013-04-03 深圳市快播科技有限公司 Method and device for displaying dragging progress bar
CN105979404A (en) * 2015-12-01 2016-09-28 乐视致新电子科技(天津)有限公司 Streaming media processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100185868A1 (en) * 2010-03-21 2010-07-22 William Grecia Personilized digital media access system
US9076043B2 (en) * 2012-08-03 2015-07-07 Kodak Alaris Inc. Video summarization using group sparsity analysis

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635848A (en) * 2008-07-22 2010-01-27 北大方正集团有限公司 Method and device for editing video file
CN103024561A (en) * 2011-09-28 2013-04-03 深圳市快播科技有限公司 Method and device for displaying dragging progress bar
CN105979404A (en) * 2015-12-01 2016-09-28 乐视致新电子科技(天津)有限公司 Streaming media processing method and device

Also Published As

Publication number Publication date
CN107277563A (en) 2017-10-20

Similar Documents

Publication Publication Date Title
CN107277563B (en) Method, server and terminal for generating and playing video file
JP6841896B2 (en) Transmission method and transmitter
JP6625684B2 (en) Transmission method, reception method, transmission device, and reception device
JP7483091B2 (en) Reproduction method and device
JP7100175B2 (en) Transmission method and transmission device
WO2015035942A1 (en) Method for playing back live video and device
WO2017092336A1 (en) Streaming media processing method and apparatus
CN108076377B (en) Video storage and playing method and device, electronic equipment and storage medium
CN109348251B (en) Method and device for video playing, computer readable medium and electronic equipment
WO2017092327A1 (en) Playing method and apparatus
CN108347625B (en) Method and device for positioning TS streaming media
CN104602138A (en) Method and device for supporting HLS protocol by streaming media server
US20180302674A1 (en) File generating method and file generating apparatus
CN103491430A (en) Streaming media data processing method and electronic device
CN112104909A (en) Interactive video playing method and device, computer equipment and readable storage medium
CN107634928A (en) A kind of processing method and processing device of bit stream data
JP5044687B2 (en) Video processing apparatus and file management method
CN112218118A (en) Audio and video clipping method and device
EP2685456A1 (en) Index with offset to closest I-picture entry for random access in a bitstream.
CN110545470A (en) Media file loading method and device and storage medium
KR101251830B1 (en) Video data processing apparatus and video data processing method
CN117979090A (en) Media data processing method and device, electronic equipment and storage medium
CN115756329A (en) Data processing method and device and storage medium
CN113873275A (en) Video media data transmission method and device
CN110545467A (en) Media file loading control method and device and storage medium

Legal Events

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

Effective date of registration: 20200702

Address after: No.18 Xilin 1st Street, Chenghua District, Chengdu, Sichuan 610051

Applicant after: Chengdu Ideal Zhimei Technology Co.,Ltd.

Address before: Two road 610041 Sichuan city of Chengdu province Chengdu high tech Zone Tianhua No. 219 Building 1 unit 2 1 floor No. 3

Applicant before: CHENGDU IDEALENS TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant