CN112954396B - Video playing method and device, electronic equipment and computer readable storage medium - Google Patents

Video playing method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112954396B
CN112954396B CN202110161379.4A CN202110161379A CN112954396B CN 112954396 B CN112954396 B CN 112954396B CN 202110161379 A CN202110161379 A CN 202110161379A CN 112954396 B CN112954396 B CN 112954396B
Authority
CN
China
Prior art keywords
file
converted
fragment
fragments
video
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
CN202110161379.4A
Other languages
Chinese (zh)
Other versions
CN112954396A (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.)
CCB Finetech Co Ltd
Original Assignee
CCB Finetech 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 CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202110161379.4A priority Critical patent/CN112954396B/en
Publication of CN112954396A publication Critical patent/CN112954396A/en
Application granted granted Critical
Publication of CN112954396B publication Critical patent/CN112954396B/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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • 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
    • H04N21/4402Processing 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
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • 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/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The embodiment of the application provides a video playing method and device, electronic equipment and a computer readable storage medium. The method comprises the following steps: when an acquisition request for a target video file in an H.265 coding format, which is sent by terminal equipment, is received, acquiring file fragments of the target video file; returning the identification information of the file fragments to the terminal equipment; when an acquisition request for the converted file fragment sent by the terminal device based on the identification information is received, the converted file fragment in the H.264 coding format corresponding to the file fragment is acquired, and the converted file fragment is returned to the terminal device, so that the terminal device performs video playing based on the converted file fragment. In the scheme, the terminal equipment can directly play the video based on the converted file fragments, so that the performance requirement on the terminal equipment is reduced, the playing card pause is avoided, and the video playing effect can be ensured.

Description

Video playing method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a video playing method and apparatus, an electronic device, and a computer-readable storage medium.
Background
Both h.264 and h.265 are currently used video coding standards. H.265 is a new video coding standard made following h.264. H.265 has higher efficiency in compressing video and takes less bandwidth to play video than h.264.
At present, most hardware devices such as a video card of a notebook computer, a television device, and the like do not support hardware decoding of an h.26 video, so a playing device end generally adopts a software decoding mode to play, for example, a WebAssembly technology is used to decode an h.265 coded video at a browser client, which has a high requirement on the decoding performance of the browser client and requires a processor of a terminal device to have a very strong single-core processing performance.
Disclosure of Invention
The object of the present application is to solve at least one of the technical drawbacks mentioned above. The technical scheme adopted by the application is as follows:
in a first aspect, an embodiment of the present application provides a method for playing a video, where the method includes:
when an acquisition request for a target video file in an H.265 coding format, which is sent by terminal equipment, is received, acquiring file fragments of the target video file;
returning the identification information of the file fragments to the terminal equipment;
when an acquisition request for the converted file fragment sent by the terminal device based on the identification information is received, the converted file fragment in the H.264 coding format corresponding to the file fragment is acquired, and the converted file fragment is returned to the terminal device, so that the terminal device performs video playing based on the converted file fragment.
Optionally, the obtaining a file fragment of the target video file includes:
determining whether a file fragment of a target video file exists;
if yes, obtaining file fragments;
and if not, carrying out fragmentation operation on the target video file to obtain file fragments.
Optionally, performing a slicing operation on the target video file to obtain file slices, including:
and carrying out fragmentation operation on the target video file according to the preset time length to obtain file fragments and identification information corresponding to each file fragment.
Optionally, the slicing operation is performed on the target video file according to a preset duration, and includes:
and based on the FFmpeg, carrying out fragmentation operation on the target video file according to a preset time length.
After the target video file is subjected to the slicing operation to obtain the file slices, the method further comprises the following steps:
and caching the file fragments in a server.
Optionally, the obtaining of the converted file fragment in the h.264 coding format corresponding to the file fragment includes:
determining whether converted file fragments of an H.264 coding format corresponding to the file fragments exist or not;
if yes, obtaining converted file fragments;
and if the file fragment does not exist, carrying out format conversion on the file fragment to obtain the converted file fragment.
Optionally, performing format conversion on the file fragment to obtain a converted file fragment, including:
and converting the file fragment from the H.265 coding format to the H.264 coding format based on the FFmpeg to obtain the converted file fragment.
Optionally, after performing format conversion on the file fragment to obtain a converted file fragment, the method further includes:
and caching the converted file fragments in a server.
In a second aspect, an embodiment of the present application provides another video playing method, where the method includes:
sending an acquisition request for a target video file in an H.265 coding format to a server;
when identification information of a file fragment of a target file returned by a server is received, generating an acquisition request of the converted file fragment based on the identification information, and sending the acquisition request of the converted file fragment to the server, wherein the encoding format of the converted file fragment is H.264;
and receiving the converted file fragments returned by the server, and playing the video based on the converted file fragments.
Optionally, playing the video based on the converted file fragment includes:
and sequentially playing the converted file fragments according to the time sequence of the converted file fragments in the target video.
Optionally, playing the video based on the converted file fragment includes:
combining the converted file fragments according to the time sequence of the converted file fragments in the target video to obtain a combined video file;
and playing the combined video file.
Optionally, sending the request for obtaining the converted file fragment to the server includes:
and sequentially sending the acquisition requests of the converted file fragments to the server according to the time sequence of the converted file fragments in the target video.
In a third aspect, an embodiment of the present application provides an apparatus for playing a video, where the apparatus includes:
the file fragment acquisition module is used for acquiring file fragments of a target video file when receiving an acquisition request of the target video file in the H.265 coding format, which is sent by terminal equipment;
the identification information returning module is used for returning the identification information of the file fragments to the terminal equipment;
and the converted file fragment returning module is used for acquiring the converted file fragment in the H.264 coding format corresponding to the file fragment when receiving an acquisition request of the converted file fragment, which is sent by the terminal equipment based on the identification information, and returning the converted file fragment to the terminal equipment so that the terminal equipment can play video based on the converted file fragment.
Optionally, the file fragment acquiring module is specifically configured to, when acquiring a file fragment of the target video file:
determining whether a file fragment of a target video file exists;
if yes, obtaining file fragments;
and if not, carrying out fragmentation operation on the target video file to obtain file fragments.
Optionally, the file fragment obtaining module is configured to, when performing a fragment operation on the target video file to obtain a file fragment, specifically:
and carrying out fragmentation operation on the target video file according to the preset time length to obtain file fragments and identification information corresponding to each file fragment.
Optionally, when the file fragment obtaining module performs a fragment operation on the target video file according to a preset duration, the file fragment obtaining module is specifically configured to:
and based on the FFmpeg, carrying out fragmentation operation on the target video file according to a preset time length.
Optionally, the apparatus further comprises:
the first cache module is used for caching the file fragments in the server after the target video file is subjected to fragment operation to obtain the file fragments.
Optionally, when the converted file fragment returning module obtains the converted file fragment in the h.264 encoding format corresponding to the file fragment, the converted file fragment returning module is specifically configured to:
determining whether converted file fragments of an H.264 coding format corresponding to the file fragments exist or not;
if yes, obtaining converted file fragments;
and if not, performing format conversion on the file fragments to obtain converted file fragments.
Optionally, the converted file fragment returning module is specifically configured to, when performing format conversion on the file fragment to obtain the converted file fragment:
and converting the file fragment from the H.265 coding format to the H.264 coding format based on the FFmpeg to obtain the converted file fragment.
Optionally, the apparatus further comprises:
and the second cache module is used for caching the converted file fragments in the server after the file fragments are subjected to format conversion to obtain the converted file fragments.
In a fourth aspect, an embodiment of the present application provides another apparatus for playing a video, where the apparatus includes:
the first request sending module is used for sending an acquisition request of a target video file in an H.265 coding format to the server;
the second request sending module is used for generating an acquisition request for the converted file fragments based on the identification information when the identification information of the file fragments of the target file returned by the server is received, and sending the acquisition request of the converted file fragments to the server, wherein the encoding format of the converted file fragments is H.264;
and the video playing module is used for receiving the converted file fragments returned by the server and playing the video based on the converted file fragments.
Optionally, when the video playing module plays the video based on the converted file fragment, the video playing module is specifically configured to:
and sequentially playing the converted file fragments according to the time sequence of the converted file fragments in the target video.
Optionally, when the video playing module plays the video based on the converted file fragment, the video playing module is specifically configured to:
combining the converted file fragments according to the time sequence of the converted file fragments in the target video to obtain a combined video file;
and playing the combined video file.
Optionally, when the second request sending module sends the request for obtaining the converted file fragment to the server, the second request sending module is specifically configured to:
and sequentially sending the acquisition requests of the converted file fragments to the server according to the time sequence of the converted file fragments in the target video.
In a fifth aspect, an embodiment of the present application provides an electronic device, where the electronic device includes: a processor and a memory;
a memory for storing operating instructions;
a processor, configured to execute a video playing method as shown in any implementation manner of the first aspect of the present application by calling an operation instruction.
In a sixth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the video playing method shown in any implementation manner of the first aspect of the present application.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
according to the scheme provided by the embodiment of the application, when an acquisition request of the target video file in the H.265 coding format sent by the terminal equipment is received, the file fragment of the target video file is acquired, and the identification information of the file fragment is returned to the terminal equipment, so that when the acquisition request of the converted file fragment sent by the terminal equipment based on the identification information is received, the converted file fragment in the H.264 coding format corresponding to the file fragment is acquired, and the converted file fragment is returned to the terminal equipment, so that the terminal equipment performs video playing based on the converted file fragment. In the scheme, because the file fragments of the target file are respectively converted, and the converted file fragments are returned to the terminal equipment for playing, video coding format conversion at the terminal equipment end is not needed, the terminal equipment can directly play the video based on the converted file fragments, the performance requirement on the terminal equipment is reduced, the playing jam is avoided, and the video playing effect can be ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flowchart of a video playing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another video playing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a specific implementation of a video playing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a video playing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another video playing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, the following detailed description of the embodiments of the present application will be made with reference to the accompanying drawings.
HTML5: HTML5 is a language description way to build Web content. HTML5 is the next generation standard for the internet, a language way to build and present internet content. HTML was generated in 1990, 1997 and HTML4 became the internet standard and was widely used in the development of internet applications. HTML5 has been improved over the previous HTML 4.01. HTML5 brings the Web to a sophisticated application platform where video, audio, images, animation, and interactions with devices are regulated.
H.264: h.264 is a new generation digital video compression format following MPEG4 commonly proposed by the international organization for standardization (ISO) and the International Telecommunications Union (ITU). H.264 is one of video coding and decoding technical standards named by ITU-T in the H.26x series. H.264 is a digital video coding standard developed by the joint video team (JVT: joint video team) of VCEG (video coding experts group) of ITU-T and MPEG (moving Picture coding experts group) of ISO/IEC. The standard was originally derived from the development of a project called H.26L by ITU-T. The name h.26l, although less common, has been used. H.264 is one of the standards named by ITU-T under the name H.26x series, AVC being the name of the ISO/IEC MPEG side.
H.265 (HEVC): h.265 is a new Video Coding standard established after H.264 by ITU-T VCEG, the standard being known collectively as High Efficiency Video Coding (High Efficiency Video Coding). The h.265 standard encompasses the existing video coding standard h.264, retaining some of the original techniques, while improving some of the related techniques. The new technology uses advanced technology to improve the relationship between code stream, coding quality, time delay and algorithm complexity, so as to achieve the optimal setting. The specific research contents comprise: the method has the advantages of improving compression efficiency, robustness and error recovery capability, reducing real-time delay, reducing channel acquisition time and random access time delay, reducing complexity and the like.
HEVC: HEVC is an abbreviation for High Efficiency Video Coding, a new Video compression standard, used to replace the H.264/AVC Coding standard.
FFmpeg: FFmpeg is a set of open source computer programs that can be used to record, convert digital audio, video, and convert them into streams. LGPL or GPL licenses are used. It provides a complete solution for recording, converting and streaming audio and video. It contains a very advanced audio/video codec library libavcodec, in which many codes are developed from scratch in order to guarantee high portability and codec quality.
HLS: the HTTP Live Streaming (HTTP Live Streaming) is a Streaming media network transmission protocol based on HTTP, is a Streaming media solution, and can implement Live broadcast and on-demand broadcast of audio and video.
The H.265 standard improves some technologies on the basis of the H.264 standard, and can play videos with the same quality by only half of the original bandwidth, so that more bandwidth and capacity are saved on the basis of the same video quality. With the increase of network technologies and camera chip processing capabilities, security monitoring high-definition videos 720P and 1080P are gradually popularized, and the monitoring field and the beginning of 4K high-definition videos are in the beginning, so that standards such as MPEG-2, MPEG-4, h.264/AVC cannot meet the use requirements. Such as: the hard disk video recorder adopting the H.265 code can save half capacity compared with the H.264 code according to the video storage requirement of the same days.
On the basis, how to play the high-definition video in the h.265 coding format is a problem. At present, most hardware devices such as a display card of a notebook computer, a television device, and the like do not support hardware decoding of an h.265 video, so a playing device end generally adopts a software decoding mode to play. However, if the computer configuration is too poor or the code rate is too large, the system may be jammed and cannot smoothly play.
In this prior art solution, the h.265 coded video may be converted into the h.264 coded video in advance by the server side. However, this approach may double the server storage pressure and the technical advantage of h.265 coding to save more bandwidth and capacity is not realized. Secondly, in the existing scheme, a WebAssembly technology can be used to decode the h.265 coded video at the browser client, the method has high requirements on the decoding performance of the browser client, and requires a local machine to have strong single-core processing performance when the high-definition picture is decoded, and if the computer configuration is too poor or the code rate is too large, the video can be blocked and cannot be smoothly played.
The video playing method, the video playing device, the electronic device and the computer-readable storage medium provided in the embodiments of the present application aim to solve at least one of the above technical problems in the prior art.
The following describes the technical solution of the present application and how to solve the above technical problems in detail by specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 shows a schematic flowchart of a video playing method provided in an embodiment of the present application, and as shown in fig. 1, the method mainly includes:
step S110: when an acquisition request for a target video file in an H.265 coding format, which is sent by terminal equipment, is received, acquiring file fragments of the target video file;
step S120: returning the identification information of the file fragments to the terminal equipment;
step S130: when an acquisition request for the converted file fragment sent by the terminal device based on the identification information is received, the converted file fragment in the H.264 coding format corresponding to the file fragment is acquired, and the converted file fragment is returned to the terminal device, so that the terminal device performs video playing based on the converted file fragment.
In the embodiment of the application, the target video file in the server is in an h.265 coding format, and when the server receives an acquisition request of the terminal device for the target video file, the server can acquire the file fragment of the target video file.
In this embodiment of the present application, a file fragment may be obtained by performing a fragment operation on a target video file, may be in the form of a TS fragment file, and may also generate identification information of the file fragment, such as a list index file of the file fragment.
In actual use, the video length of the file fragment can be set as required to ensure that the file fragment can be kept synchronous with the terminal equipment when transcoding the file fragment.
In the embodiment of the application, the converted file fragments are obtained by converting the coding format of the file fragments from the H.265 coding format to the H.264 coding format, and in practical use, the file fragments can be converted from the H.265 coding format to the H.264 coding format through FFmpeg.
After receiving the identification information of the file fragments returned by the server, the terminal device may generate, for each file fragment, a corresponding acquisition request of the converted file fragment based on the identification information, and send the request to the server.
In the embodiment of the application, after receiving the acquisition request of the converted file fragments, the server can acquire the corresponding converted file fragments and then return the converted file fragments to the terminal device.
In the embodiment of the application, the terminal device receives the converted file fragment returned by the server, and the converted file fragment is in the h.264 coding format, so that the playing on the terminal device can be supported.
According to the embodiment of the application, the target file is fragmented and then each file fragment is converted respectively, and the converted file fragments are returned to the terminal equipment to be played, so that the video coding format conversion at the terminal equipment is avoided, the terminal equipment can directly play the video based on the converted file fragments, and the performance requirement on the terminal equipment is lowered. In addition, because the server carries out coding format conversion respectively aiming at each file fragment, the storage resource of the server is less occupied, and the occupation of a large amount of server resources is avoided.
According to the method provided by the embodiment of the application, when an acquisition request of the target video file in the H.265 coding format sent by the terminal equipment is received, the file fragment of the target video file is acquired, and the identification information of the file fragment is returned to the terminal equipment, so that when the acquisition request of the converted file fragment sent by the terminal equipment based on the identification information is received, the converted file fragment in the H.264 coding format corresponding to the file fragment is acquired, and the converted file fragment is returned to the terminal equipment, so that the terminal equipment performs video playing based on the converted file fragment. In the scheme, because the file fragments of the target file are respectively converted, and the converted file fragments are returned to the terminal equipment for playing, video coding format conversion at the terminal equipment end is not needed, the terminal equipment can directly play the video based on the converted file fragments, the performance requirement on the terminal equipment is reduced, the playing jam is avoided, and the video playing effect can be ensured.
In an optional manner of the embodiment of the present application, obtaining a file fragment of a target video file includes:
determining whether a file fragment of a target video file exists;
if yes, obtaining file fragments;
and if not, carrying out fragmentation operation on the target video file to obtain file fragments.
In the embodiment of the application, when an acquisition request of a target file is received, a fragmentation operation can be performed on the target video file to obtain the file fragments, so that the file fragments can be converted subsequently.
In actual use, the file fragments can be saved, so that when an acquisition request of a target file is received, the file fragments can be directly acquired, and conversion operation is performed.
In an optional mode of the embodiment of the present application, a fragment operation is performed on a target video file to obtain a file fragment, including:
and carrying out fragmentation operation on the target video file according to the preset time length to obtain file fragments and identification information corresponding to each file fragment.
In the embodiment of the application, the target video file can be sliced according to the preset time length, that is, the preset time length is taken as the video time length of each file slice, and the target video file is sliced. The file fragments can be in TS format, and identification information corresponding to each file fragment can be generated.
In actual use, the identification information may specifically be a tag corresponding to each file fragment, and the tags of multiple file fragments may be presented in the form of a tag index table.
In an optional manner of the embodiment of the present application, performing a slicing operation on a target video file according to a preset duration includes:
and based on the FFmpeg, carrying out fragmentation operation on the target video file according to a preset time length.
In the embodiment of the application, an FFmpeg multimedia processing tool can be adopted to perform the slicing operation on the target video file.
In an optional manner of the embodiment of the present application, after performing a slicing operation on a target video file to obtain file slices, the method further includes:
and caching the file fragments in a server.
In the embodiment of the application, the file fragments can be cached, so that the file fragments can be rapidly acquired in subsequent use, and repeated file fragment operation is avoided.
In an optional manner of the embodiment of the present application, obtaining converted file fragments in an h.264 coding format corresponding to the file fragments includes:
determining whether converted file fragments of an H.264 coding format corresponding to the file fragments exist or not;
if yes, acquiring converted file fragments;
and if not, performing format conversion on the file fragments to obtain converted file fragments.
In the embodiment of the application, when a converted file fragment acquisition request is received, format conversion can be performed on the file fragment to obtain the converted file fragment, and then the file fragment is returned to the terminal device.
In actual use, the converted file fragments may be saved, so that the converted file fragments can be directly returned to the terminal device when an acquisition request of the converted file fragments is received.
In an optional manner of the embodiment of the present application, format conversion is performed on the file fragments to obtain converted file fragments, including:
and converting the file fragment from the H.265 coding format to the H.264 coding format based on the FFmpeg to obtain the converted file fragment.
In the embodiment of the present application, an FFmpeg multimedia processing tool may be used to perform encoding format conversion on the target video file.
In an optional manner of the embodiment of the present application, after performing format conversion on the file fragment to obtain a converted file fragment, the method further includes:
and caching the converted file fragments in a server.
In the embodiment of the application, the converted file fragments can be cached, so that the converted file fragments can be rapidly obtained in subsequent use, and repeated file format conversion operation is avoided.
Fig. 2 shows a schematic flow chart of another video playing method provided in an embodiment of the present application, and as shown in fig. 2, the method mainly includes:
step S210: sending an acquisition request for a target video file in an H.265 coding format to a server;
step S220: when identification information of a file fragment of a target file returned by a server is received, generating an acquisition request for the converted file fragment based on the identification information, and sending the acquisition request for the converted file fragment to the server, wherein the encoding format of the converted file fragment is H.264;
step S230: and receiving the converted file fragments returned by the server, and playing the video based on the converted file fragments.
In the embodiment of the application, the target video file in the server is in an h.265 coding format, and when the server receives an acquisition request of the terminal device for the target video file, the server can acquire the file fragment of the target video file.
After receiving the identification information of the file fragments returned by the server, the terminal device may generate, for each file fragment, a corresponding acquisition request of the converted file fragment based on the identification information, and send the request to the server.
The server can obtain the corresponding converted file fragment after receiving the acquisition request of the converted file fragment, and then returns the converted file fragment to the terminal device.
In the embodiment of the application, the terminal device receives the converted file fragment returned by the server, and the converted file fragment is in the H.264 coding format, so that the playing on the terminal device can be supported.
According to the method provided by the embodiment of the application, the acquisition request of the target video file in the H.265 coding format is sent to the server, and when the identification information of the file fragment of the target file returned by the server is received, the acquisition request of the converted file fragment is generated based on the identification information, and the acquisition request of the converted file fragment is sent to the server. And receiving the converted file fragments returned by the server, and playing the video based on the converted file fragments. In the scheme, because the file fragments of the target file are respectively converted, and the converted file fragments are returned to the terminal equipment for playing, video coding format conversion at the terminal equipment end is not needed, the terminal equipment can directly play the video based on the converted file fragments, the performance requirement on the terminal equipment is reduced, the playing jam is avoided, and the video playing effect can be ensured.
In an optional manner of the embodiment of the present application, playing a video based on a converted file fragment includes:
and sequentially playing the converted file fragments according to the time sequence of the converted file fragments in the target video.
In an optional manner of the embodiment of the present application, sending an acquisition request of a converted file fragment to a server includes:
and sequentially sending the acquisition requests of the converted file fragments to the server according to the time sequence of the converted file fragments in the target video.
In this embodiment, the terminal device may sequentially send the request for acquiring each converted file fragment according to the time sequence of the file fragment in the target video, and play each converted file fragment according to the time sequence.
In the embodiment of the application, a preloading technology can be adopted, and when the converted file fragment is played, the converted file fragment to be played is obtained, so that the smoothness of playing is ensured.
In an optional manner of the embodiment of the present application, playing a video based on a converted file fragment includes:
combining the converted file fragments according to the time sequence of the converted file fragments in the target video to obtain a combined video file;
and playing the combined video file.
In the embodiment of the application, after the converted file fragments are obtained, the converted file fragments are combined according to the time sequence to obtain the combined video file, and then the combined video file can be played.
An embodiment of the present application further provides a video playing system, including: browser client, video server.
The browser client has the main functions of accessing video resources, preprocessing the video resources, playing the video resources and the like
The video server mainly functions to store the H.265 video resource and process the video resource after receiving the video resource request of the client.
In practical use, other forms of clients besides the browser client may also be adopted, such as a mobile phone APP, a PC application, and the like.
As an example, fig. 3 is a flowchart illustrating a specific implementation manner of a video playing method provided in an embodiment of the present application. As shown in fig. 3, the process specifically follows:
a) The user browses the video, and the browser requests the H.265 coded format video
b) The server receives the video request and fragments the H.265 coding format video resource
c) After fragmentation, the index file PlayLists (. M3u8 file) is returned to the browser client
d) The browser parses the index file PlayLists (m 3u8 file), requests the video clip file (ts file)
e) The server receives the TS file request, transcodes the H.265 coding video fragment into an H.264 coding fragment file, and returns the H.264 coding fragment file to the browser
f) The browser combines the fragments and plays the H.264 coding video file according to the time sequence
Based on the same principle as the method shown in fig. 1, fig. 4 shows a schematic structural diagram of a video playing apparatus provided in an embodiment of the present application, and as shown in fig. 4, the video playing apparatus 30 may include:
the file fragment acquiring module 310 is configured to acquire a file fragment of a target video file when receiving an acquisition request for the target video file in the h.265 encoding format, which is sent by a terminal device;
an identification information returning module 320, configured to return identification information of the file fragment to the terminal device;
the converted file fragment returning module 330 is configured to, when receiving an acquisition request for the converted file fragment sent by the terminal device based on the identification information, acquire the converted file fragment in the h.264 coding format corresponding to the file fragment, and return the converted file fragment to the terminal device, so that the terminal device performs video playing based on the converted file fragment.
The apparatus provided in this embodiment of the present application, when receiving an acquisition request for a target video file in an h.265 coding format sent by a terminal device, acquires a file fragment of the target video file, and returns identification information of the file fragment to the terminal device, so that when receiving an acquisition request for a converted file fragment sent by the terminal device based on the identification information, acquires a converted file fragment in an h.264 coding format corresponding to the file fragment, and returns the converted file fragment to the terminal device, so that the terminal device performs video playing based on the converted file fragment. In the scheme, because the file fragments of the target file are respectively converted, and the converted file fragments are returned to the terminal equipment for playing, video coding format conversion at the terminal equipment end is not needed, the terminal equipment can directly play the video based on the converted file fragments, the performance requirement on the terminal equipment is reduced, the playing jam is avoided, and the video playing effect can be ensured.
Optionally, the file fragment acquiring module is specifically configured to, when acquiring a file fragment of the target video file:
determining whether a file fragment of a target video file exists;
if yes, obtaining file fragments;
and if not, carrying out fragmentation operation on the target video file to obtain file fragments.
Optionally, the file fragment obtaining module is configured to, when performing a fragment operation on the target video file to obtain a file fragment, specifically:
and carrying out fragmentation operation on the target video file according to the preset time length to obtain file fragments and identification information corresponding to each file fragment.
Optionally, when the file fragment obtaining module performs a fragment operation on the target video file according to a preset duration, the file fragment obtaining module is specifically configured to:
and based on the FFmpeg, carrying out fragmentation operation on the target video file according to a preset time length.
Optionally, the apparatus further comprises:
the first cache module is used for caching the file fragments in the server after the target video file is subjected to fragment operation to obtain the file fragments.
Optionally, when the converted file fragment returning module obtains the converted file fragment in the h.264 encoding format corresponding to the file fragment, the converted file fragment returning module is specifically configured to:
determining whether converted file fragments of an H.264 coding format corresponding to the file fragments exist or not;
if yes, acquiring converted file fragments;
and if the file fragment does not exist, carrying out format conversion on the file fragment to obtain the converted file fragment.
Optionally, the converted file fragment returning module is specifically configured to, when performing format conversion on the file fragment to obtain the converted file fragment:
and converting the file fragment from the H.265 coding format to the H.264 coding format based on the FFmpeg to obtain the converted file fragment.
Optionally, the apparatus further comprises:
and the second cache module is used for caching the converted file fragments in the server after the file fragments are subjected to format conversion to obtain the converted file fragments.
It can be understood that the above modules of the video playing apparatus in this embodiment have functions of implementing the corresponding steps of the video playing method in the embodiment shown in fig. 1. The function can be realized by hardware, and can also be realized by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above. The modules may be software and/or hardware, and each module may be implemented separately or implemented by integrating a plurality of modules. For the functional description of each module of the video playing apparatus, reference may be specifically made to the corresponding description of the video playing method in the embodiment shown in fig. 1, and details are not repeated here.
Based on the same principle as the method shown in fig. 2, fig. 5 shows a schematic structural diagram of a video playing apparatus provided in the embodiment of the present application, and as shown in fig. 5, the video playing apparatus 40 may include:
a first request sending module 410, configured to send an acquisition request for a target video file in an h.265 encoding format to a server;
a second request sending module 420, configured to generate, when receiving identification information of a file fragment of a target file returned by a server, an acquisition request for the converted file fragment based on the identification information, and send the acquisition request of the converted file fragment to the server, where an encoding format of the converted file fragment is h.264;
and the video playing module 430 is configured to receive the converted file fragments returned by the server, and play a video based on the converted file fragments.
The device provided by the embodiment of the application generates the acquisition request of the converted file fragment based on the identification information when the acquisition request of the target video file in the H.265 coding format is sent to the server and the identification information of the file fragment of the target file returned by the server is received, and sends the acquisition request of the converted file fragment to the server. And receiving the converted file fragments returned by the server, and playing the video based on the converted file fragments. In the scheme, because the file fragments of the target file are respectively converted, and the converted file fragments are returned to the terminal equipment for playing, video coding format conversion at the terminal equipment end is not needed, the terminal equipment can directly play the video based on the converted file fragments, the performance requirement on the terminal equipment is reduced, the playing jam is avoided, and the video playing effect can be ensured.
Optionally, when the video playing module performs video playing based on the converted file segment, the video playing module is specifically configured to:
and sequentially playing the converted file fragments according to the time sequence of the converted file fragments in the target video.
Optionally, when the video playing module plays the video based on the converted file fragment, the video playing module is specifically configured to:
combining the converted file fragments according to the time sequence of the converted file fragments in the target video to obtain a combined video file;
and playing the combined video file.
Optionally, when the second request sending module sends the request for obtaining the converted file fragment to the server, the second request sending module is specifically configured to:
and sequentially sending the acquisition requests of the converted file fragments to the server according to the time sequence of the converted file fragments in the target video.
It can be understood that the above modules of the video playing apparatus in the embodiment have functions of implementing the corresponding steps of the video playing method in the embodiment shown in fig. 2. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above. The modules may be software and/or hardware, and each module may be implemented separately or implemented by integrating a plurality of modules. For the functional description of each module of the video playing apparatus, reference may be specifically made to the corresponding description of the video playing method in the embodiment shown in fig. 2, and details are not repeated here.
The embodiment of the application provides an electronic device, which comprises a processor and a memory;
a memory for storing operating instructions;
the processor is used for executing the video playing method provided by any embodiment of the application by calling the operation instruction.
As an example, fig. 6 shows a schematic structural diagram of an electronic device to which the embodiment of the present application is applied, and as shown in fig. 6, the electronic device 2000 includes: a processor 2001 and a memory 2003. Wherein the processor 2001 is coupled to the memory 2003, such as via bus 2002. Optionally, the electronic device 2000 may also include a transceiver 2004. It should be noted that the transceiver 2004 is not limited to one in practical applications, and the structure of the electronic device 2000 is not limited to the embodiment of the present application.
The processor 2001 is applied to the embodiment of the present application, and is configured to implement the method shown in the foregoing method embodiment. The transceiver 2004 may include a receiver and a transmitter, and the transceiver 2004 is applied to the embodiments of the present application to implement the function of the electronic device of the embodiments of the present application to communicate with other devices when executed.
Processor 2001 may be a CPU (Central Processing Unit), general purpose Processor, DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), FPGA (Field Programmable Gate Array), or other Programmable logic device, transistor logic, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 2001 may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs and microprocessors, and the like.
Bus 2002 may include a path that conveys information between the aforementioned components. The bus 2002 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 2002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but that does not indicate only one bus or one type of bus.
The Memory 2003 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these.
Optionally, the memory 2003 is used for storing application program code for performing the disclosed aspects, and is controlled in execution by the processor 2001. The processor 2001 is configured to execute the application program code stored in the memory 2003 to implement the video playing method provided in any embodiment of the present application.
The electronic device provided by the embodiment of the application is applicable to any embodiment of the method, and is not described herein again.
Compared with the prior art, when an acquisition request of a target video file in an H.265 coding format sent by a terminal device is received, file fragments of the target video file are acquired, and identification information of the file fragments is returned to the terminal device, so that when an acquisition request of the converted file fragments sent by the terminal device based on the identification information is received, the converted file fragments in the H.264 coding format corresponding to the file fragments are acquired, and the converted file fragments are returned to the terminal device, so that the terminal device plays videos based on the converted file fragments. In the scheme, because the file fragments of the target file are respectively converted, and the converted file fragments are returned to the terminal equipment for playing, video coding format conversion at the terminal equipment end is not needed, the terminal equipment can directly play the video based on the converted file fragments, the performance requirement on the terminal equipment is reduced, the playing jam is avoided, and the video playing effect can be ensured.
The embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the video playing method shown in the above method embodiment.
The computer-readable storage medium provided in the embodiments of the present application is applicable to any embodiment of the foregoing method, and is not described herein again.
Compared with the prior art, when an acquisition request for a target video file in an H.265 coding format sent by a terminal device is received, file fragments of the target video file are acquired, identification information of the file fragments is returned to the terminal device, so that when the acquisition request for the converted file fragments sent by the terminal device based on the identification information is received, the converted file fragments in the H.264 coding format corresponding to the file fragments are acquired, and the converted file fragments are returned to the terminal device, so that the terminal device plays videos based on the converted file fragments. In the scheme, because the file fragments of the target file are respectively converted, and the converted file fragments are returned to the terminal equipment for playing, video coding format conversion at the terminal equipment end is not needed, the terminal equipment can directly play the video based on the converted file fragments, the performance requirement on the terminal equipment is reduced, the playing jam is avoided, and the video playing effect can be ensured.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless otherwise indicated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (13)

1. A method for playing a video, comprising:
sending an acquisition request for a target video file in an H.265 coding format to a server;
when an acquisition request for a target video file in an H.265 coding format, which is sent by terminal equipment, is received, acquiring file fragments of the target video file;
returning the identification information of the file fragments to the terminal equipment;
when identification information of a file fragment of the target file returned by the server is received, generating an acquisition request for the converted file fragment based on the identification information, and sending the acquisition request of the converted file fragment to the server, wherein the encoding format of the converted file fragment is H.264;
when an acquisition request for the converted file fragment, which is sent by the terminal device based on the identification information, is received, the converted file fragment in the H.264 coding format corresponding to the file fragment is acquired, and the converted file fragment is returned to the terminal device, so that the terminal device performs video playing based on the converted file fragment;
the obtaining of the converted file fragment of the h.264 coding format corresponding to the file fragment includes: determining whether converted file fragments of the H.264 coding format corresponding to the file fragments exist or not; if yes, acquiring the converted file fragments; if the file fragment does not exist, carrying out format conversion on the file fragment to obtain the converted file fragment;
and receiving the converted file fragments returned by the server, and playing the video based on the converted file fragments.
2. The method according to claim 1, wherein the obtaining the file slice of the target video file comprises:
determining whether a file fragment of the target video file exists;
if yes, acquiring the file fragment;
and if not, carrying out fragmentation operation on the target video file to obtain the file fragments.
3. The method of claim 2, wherein the performing the slicing operation on the target video file to obtain the file slices comprises:
and carrying out fragment operation on the target video file according to preset time length to obtain the file fragments and identification information corresponding to each file fragment.
4. The method according to claim 3, wherein the slicing the target video file according to the preset duration comprises:
and based on the FFmpeg, carrying out fragment operation on the target video file according to a preset time length.
5. The method according to claim 2, wherein after said performing the slicing operation on the target video file to obtain the file slices, the method further comprises:
and caching the file fragments in a server.
6. The method according to claim 1, wherein the converting the format of the file fragment to obtain the converted file fragment comprises:
and converting the file fragment from the H.265 coding format to the H.264 coding format based on the FFmpeg to obtain the converted file fragment.
7. The method according to claim 1, wherein after said converting the format of the file segment to obtain the converted file segment, the method further comprises:
and caching the converted file fragments in a server.
8. The method of claim 1, wherein the playing video based on the converted file slice comprises:
and sequentially playing the converted file fragments according to the time sequence of the converted file fragments in the target video.
9. The method according to claim 1, wherein said playing video based on said converted file slices comprises:
combining the converted file fragments according to the time sequence of the converted file fragments in the target video to obtain a combined video file;
and playing the combined video file.
10. The method according to claim 1, wherein the sending the request for obtaining the converted file fragment to the server includes:
and sequentially sending the acquisition requests of the converted file fragments to the server according to the time sequence of the converted file fragments in the target video.
11. A video playback apparatus, comprising:
the file fragment acquisition module is used for acquiring file fragments of a target video file in an H.265 coding format when receiving an acquisition request of the target video file sent by terminal equipment;
the identification information returning module is used for returning the identification information of the file fragments to the terminal equipment;
a converted file fragment returning module, configured to, when receiving an acquisition request for a converted file fragment sent by the terminal device based on the identification information, acquire the converted file fragment in the h.264 coding format corresponding to the file fragment, and return the converted file fragment to the terminal device, so that the terminal device performs video playing based on the converted file fragment;
the first request sending module is used for sending an acquisition request of a target video file in an H.265 coding format to the server;
the second request sending module is used for generating an acquisition request for the converted file fragments based on the identification information when the identification information of the file fragments of the target file returned by the server is received, and sending the acquisition request of the converted file fragments to the server, wherein the encoding format of the converted file fragments is H.264;
and the video playing module is used for receiving the converted file fragments returned by the server and playing videos based on the converted file fragments.
12. An electronic device comprising a processor and a memory;
the memory is used for storing operation instructions;
the processor is used for executing the method of any one of claims 1-10 by calling the operation instruction.
13. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the method of any one of claims 1-10.
CN202110161379.4A 2021-02-05 2021-02-05 Video playing method and device, electronic equipment and computer readable storage medium Active CN112954396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110161379.4A CN112954396B (en) 2021-02-05 2021-02-05 Video playing method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110161379.4A CN112954396B (en) 2021-02-05 2021-02-05 Video playing method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112954396A CN112954396A (en) 2021-06-11
CN112954396B true CN112954396B (en) 2023-02-28

Family

ID=76242632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110161379.4A Active CN112954396B (en) 2021-02-05 2021-02-05 Video playing method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112954396B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923502B (en) * 2021-11-04 2023-03-21 上海哔哩哔哩科技有限公司 Live video playing method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102131090A (en) * 2010-11-22 2011-07-20 华为技术有限公司 Video file playing method and system and media resource server
CN102780918A (en) * 2012-08-15 2012-11-14 华数传媒网络有限公司 Video distributed coding format converting method
CN103561279A (en) * 2013-10-10 2014-02-05 中兴通讯股份有限公司 Method and system for playing multi-media file and cloud transcoding service device
CN104837033A (en) * 2015-05-20 2015-08-12 腾讯科技(北京)有限公司 Information processing method and server
CN104980795A (en) * 2014-04-09 2015-10-14 北大方正集团有限公司 Multi-terminal video file processing method and system
CN106851336A (en) * 2017-02-07 2017-06-13 上海网达软件股份有限公司 The audio-video document code-transferring method and system of a kind of Dynamic Resource Allocation for Multimedia
CN107566851A (en) * 2017-09-05 2018-01-09 成都索贝数码科技股份有限公司 A kind of video segment storage method and system accessed applied to media data
CN109391825A (en) * 2017-08-03 2019-02-26 腾讯科技(深圳)有限公司 A kind of video transcoding method and its device, server, readable storage medium storing program for executing
CN209517383U (en) * 2019-03-29 2019-10-18 上海晨驭信息科技有限公司 Distributed cloud transcoding device for the source preview of distributed video processor signal
CN111372128A (en) * 2020-03-11 2020-07-03 北京旷视科技有限公司 Video playing method and device, computer equipment and readable storage medium
CN112312221A (en) * 2019-07-31 2021-02-02 广州弘度信息科技有限公司 Audio and video playing method, storage medium and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100281042A1 (en) * 2007-02-09 2010-11-04 Novarra, Inc. Method and System for Transforming and Delivering Video File Content for Mobile Devices

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102131090A (en) * 2010-11-22 2011-07-20 华为技术有限公司 Video file playing method and system and media resource server
CN102780918A (en) * 2012-08-15 2012-11-14 华数传媒网络有限公司 Video distributed coding format converting method
CN103561279A (en) * 2013-10-10 2014-02-05 中兴通讯股份有限公司 Method and system for playing multi-media file and cloud transcoding service device
CN104980795A (en) * 2014-04-09 2015-10-14 北大方正集团有限公司 Multi-terminal video file processing method and system
CN104837033A (en) * 2015-05-20 2015-08-12 腾讯科技(北京)有限公司 Information processing method and server
CN106851336A (en) * 2017-02-07 2017-06-13 上海网达软件股份有限公司 The audio-video document code-transferring method and system of a kind of Dynamic Resource Allocation for Multimedia
CN109391825A (en) * 2017-08-03 2019-02-26 腾讯科技(深圳)有限公司 A kind of video transcoding method and its device, server, readable storage medium storing program for executing
CN107566851A (en) * 2017-09-05 2018-01-09 成都索贝数码科技股份有限公司 A kind of video segment storage method and system accessed applied to media data
CN209517383U (en) * 2019-03-29 2019-10-18 上海晨驭信息科技有限公司 Distributed cloud transcoding device for the source preview of distributed video processor signal
CN112312221A (en) * 2019-07-31 2021-02-02 广州弘度信息科技有限公司 Audio and video playing method, storage medium and device
CN111372128A (en) * 2020-03-11 2020-07-03 北京旷视科技有限公司 Video playing method and device, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN112954396A (en) 2021-06-11

Similar Documents

Publication Publication Date Title
US9900363B2 (en) Network streaming of coded video data
JP5770345B2 (en) Video switching for streaming video data
TWI606722B (en) Method, system, and computer-readable media for reducing latency in video encoding and decoding
WO2019024919A1 (en) Video transcoding method and apparatus, server, and readable storage medium
CN105187850B (en) The method and apparatus that the information of encoded video data is provided and receives encoded video data
AU2007319699B2 (en) Techniques for variable resolution encoding and decoding of digital video
TWI692245B (en) Video decoding apparatus, video encoding method and apparatus, and computer-readable storage medium
CN107634930B (en) Method and device for acquiring media data
CN115134629B (en) Video transmission method, system, equipment and storage medium
CN112954396B (en) Video playing method and device, electronic equipment and computer readable storage medium
CN113824958A (en) Video blocking method, transmission method, server, adapter and storage medium
TWI794076B (en) Method for processing track data in multimedia resources, device, medium and apparatus
CN110958459B (en) Data processing method and device
US20130287100A1 (en) Mechanism for facilitating cost-efficient and low-latency encoding of video streams
JP2024007248A (en) Distribution server, receiving device, and program
KR20230175242A (en) How to create/receive media files based on EOS sample group, how to transfer devices and media files
CN111954019A (en) Streaming media coding and decoding method and system for realizing low-delay ultrahigh-definition live broadcast
CN116320596A (en) Progress content preview processing method, device and system
CN118044207A (en) Method, apparatus and medium for video streaming
BG3443U1 (en) Automated video-audio stream transcoding system
Ranjan et al. Onlive cloud gaming service
Iqbal et al. A compressed-domain spatio-temporal adaptation system for video delivery
KR20150085595A (en) Apparatus for decoding video for using frame cache and method for using the apparatus

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
GR01 Patent grant
GR01 Patent grant