CN111327951A - Multimedia data playing method, device, system and storage medium - Google Patents

Multimedia data playing method, device, system and storage medium Download PDF

Info

Publication number
CN111327951A
CN111327951A CN202010211266.6A CN202010211266A CN111327951A CN 111327951 A CN111327951 A CN 111327951A CN 202010211266 A CN202010211266 A CN 202010211266A CN 111327951 A CN111327951 A CN 111327951A
Authority
CN
China
Prior art keywords
multimedia
file
playing
standard
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.)
Pending
Application number
CN202010211266.6A
Other languages
Chinese (zh)
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.)
Suzhou Keda Technology Co Ltd
Original Assignee
Suzhou Keda 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 Suzhou Keda Technology Co Ltd filed Critical Suzhou Keda Technology Co Ltd
Priority to CN202010211266.6A priority Critical patent/CN111327951A/en
Publication of CN111327951A publication Critical patent/CN111327951A/en
Pending legal-status Critical Current

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/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
    • H04N21/440218Processing 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 by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
    • 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/439Processing of audio elementary streams
    • H04N21/4398Processing of audio elementary streams involving reformatting operations of audio signals
    • 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
    • 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/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

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

Abstract

The application relates to a multimedia data playing method, a device, a system and a storage medium, belonging to the technical field of multimedia, wherein the method comprises the following steps: receiving a playing control command sent by multimedia playing equipment; acquiring a target multimedia file indicated by the play control command; when the target multimedia file is not in the standard file format, converting the target multimedia file into the standard file format; sending the converted multimedia file to the multimedia playing equipment for playing control of the multimedia playing equipment; the problem that the media file cannot be played or is controlled inaccurately because the existing playing equipment does not support playing the media file coded and packaged by a third-party manufacturer can be solved; because the multimedia files with different file formats can be converted into the standard file format, the support degree of the multimedia playing equipment to the media files of different manufacturers can be improved, and the compatibility and the playing control accuracy of the multimedia playing equipment are improved.

Description

Multimedia data playing method, device, system and storage medium
Technical Field
The application relates to a multimedia data playing method, a device, a system and a storage medium, belonging to the technical field of multimedia.
Background
In the security field, different manufacturers generally package media files using custom codec standards and media formats. These media files need to be decoded using a corresponding decoder.
However, the general-purpose playing device usually does not include a decoder corresponding to a third-party manufacturer, that is, the supporting degree of such media files is not enough, and there is a problem that the playing is not supported or can be performed but the accurate playing control cannot be performed.
Disclosure of Invention
The application provides a multimedia data playing method, a device, a system and a storage medium, which can solve the problem that the existing playing equipment does not support playing of media files coded and packaged by third-party manufacturers, so that the media files cannot be played or are controlled inaccurately. The application provides the following technical scheme:
in a first aspect, a multimedia data playing method is provided, where the method includes:
receiving a playing control command sent by multimedia playing equipment;
acquiring a target multimedia file indicated by the play control command;
when the target multimedia file is not in the standard file format, converting the target multimedia file into the standard file format;
sending the converted multimedia file to the multimedia playing equipment for playing control of the multimedia playing equipment;
the standard file format refers to a file format which the multimedia playing equipment supports playing.
Optionally, after the obtaining of the target multimedia file indicated by the play control command, the method further includes:
acquiring file characteristics of the target multimedia file, wherein the file characteristics comprise file header information, keywords and/or a file suffix;
determining whether the target multimedia file is in the standard file format based on the file characteristics.
Optionally, the step of determining whether the target multimedia file is in the standard file format based on the file characteristics includes:
determining whether the file characteristics are consistent with those of a standard file;
when the file characteristics are consistent with those of a standard file, determining that the target multimedia file is in the standard file format;
and when the file characteristics are not consistent with the file characteristics of the standard file, determining that the target multimedia file is not in the standard file format.
Optionally, the step of converting the target multimedia file into a standard file format includes:
determining a target decoder corresponding to the target multimedia file;
calling the target decoder to decode the target multimedia file to obtain decoded multimedia data;
calling an encoder to encode the decoded multimedia data to obtain a standard code stream with the standard file format;
and packaging the standard code stream to obtain the multimedia file with the standard file format.
Optionally, the encapsulating the standard code stream to obtain the multimedia file with the standard file format includes:
sequentially packaging the subdata with preset time length in the standard code stream according to the playing sequence to obtain a multimedia file with the standard file format; the multimedia file with the standard file format comprises a slice file corresponding to each subdata.
Optionally, the sending the converted multimedia file to the multimedia playing device includes:
determining a target slice file indicated by the playing control command from each slice file;
and sending the target slice file to the multimedia playing equipment.
In a second aspect, a multimedia data playing method is provided, the method including:
acquiring a play control command for a target multimedia file;
sending a play control command to the multimedia processing equipment;
acquiring a multimedia file sent by the multimedia processing equipment based on the play control command; the multimedia file is obtained by converting the target multimedia file into a standard file format when the target multimedia file is not in the standard file format after the multimedia processing equipment acquires the target multimedia file; the standard file format is a file format which locally supports playing;
and controlling the playing of the multimedia file according to the playing control command.
In a third aspect, a multimedia data playing apparatus is provided, the apparatus comprising:
the command receiving module is used for receiving a playing control command sent by the multimedia playing equipment;
the file acquisition module is used for acquiring the target multimedia file indicated by the play control command;
the file conversion module is used for converting the target multimedia file into a standard file format when the target multimedia file is not in the standard file format;
the file sending module is used for sending the converted multimedia file to the multimedia playing equipment so as to control the multimedia playing equipment to play;
the standard file format refers to a file format which the multimedia playing equipment supports playing.
In a fourth aspect, a multimedia data playing apparatus is provided, the apparatus comprising:
the command acquisition module is used for acquiring a play control command of the target multimedia file;
the command sending module is used for sending a playing control command to the multimedia processing equipment;
the file acquisition module is used for acquiring a multimedia file sent by the multimedia processing equipment based on the play control command; the multimedia file is obtained by converting the target multimedia file into a standard file format when the target multimedia file is not in the standard file format after the multimedia processing equipment receives the target multimedia file; the standard file format is a file format which locally supports playing;
and the playing control module is used for controlling the playing of the multimedia file according to the playing control command.
In a fifth aspect, a multimedia data playing system is provided, the system comprising a multimedia playing device and a multimedia processing device; the multimedia playing device is in communication connection with the multimedia processing device based on a network protocol;
the multimedia processing device comprises a multimedia data playing device provided by the third aspect;
the multimedia playing device comprises the multimedia data playing device provided by the fourth aspect.
In a sixth aspect, a multimedia data playback apparatus is provided, the apparatus comprising a processor and a memory; the memory stores a program, and the program is loaded and executed by the processor to implement the multimedia data playing method of the first aspect; or, the multimedia data playing method of the second aspect is implemented.
A seventh aspect provides a computer-readable storage medium, in which a program is stored, the program being loaded and executed by the processor to implement the multimedia data playing method of the first aspect; or, the multimedia data playing method of the second aspect is implemented.
The beneficial effect of this application lies in: receiving a play control command sent by multimedia play equipment; acquiring a target multimedia file indicated by a play control command; when the target multimedia file is not in the standard file format, converting the target multimedia file into the standard file format; sending the converted multimedia file to a multimedia playing device for playing control of the multimedia playing device; the problem that the media file cannot be played or is controlled inaccurately because the existing playing equipment does not support playing the media file coded and packaged by a third-party manufacturer can be solved; because the multimedia files with different file formats can be converted into the standard file format, the support degree of the multimedia playing equipment to the media files of different manufacturers can be improved, and the compatibility and the playing control accuracy of the multimedia playing equipment are improved.
In addition, the function of file conversion is transferred to the multimedia processing equipment which is independent from the multimedia playing equipment, and the transmission of files based on the network transmission protocol is supported, so that the requirement of multimedia file processing on the multimedia playing equipment can be reduced.
In addition, when the standard code stream is packaged, sub-data with preset time length in the standard code stream are sequentially packaged according to the playing sequence to obtain a plurality of slice files; and the target slice file indicated by the playing control command is sent to the multimedia playing equipment, so that the transmission speed of the multimedia file can be increased, and the timeliness of the multimedia playing equipment for playing the multimedia file is ensured.
The foregoing description is only an overview of the technical solutions of the present application, and in order to make the technical solutions of the present application more clear and clear, and to implement the technical solutions according to the content of the description, the following detailed description is made with reference to the preferred embodiments of the present application and the accompanying drawings.
Drawings
Fig. 1 is a schematic structural diagram of a multimedia data playing system according to an embodiment of the present application;
fig. 2 is a flowchart of a multimedia data playing method according to an embodiment of the present application;
fig. 3 is a block diagram of a multimedia data playing apparatus according to an embodiment of the present application;
fig. 4 is a block diagram of a multimedia data playing apparatus according to an embodiment of the present application;
fig. 5 is a block diagram of a multimedia data playing apparatus according to an embodiment of the present application.
Detailed Description
The following detailed description of embodiments of the present application will be described in conjunction with the accompanying drawings and examples. The following examples are intended to illustrate the present application but are not intended to limit the scope of the present application.
Fig. 1 is a schematic structural diagram of a multimedia data playing system according to an embodiment of the present application, and as shown in fig. 1, the system at least includes: a multimedia playing device 110 and a multimedia processing device 120.
Wherein, the multimedia playing device 110 and the multimedia processing device 120 are communicatively connected based on a network protocol. Optionally, the network Protocol is hypertext Transfer Protocol (HTTP).
The multimedia playing device 110 and the multimedia processing device 120 are independent devices.
The multimedia playing device 110 is a device supporting multimedia playing. Optionally, the multimedia playing device includes but is not limited to: computers, cell phones, televisions, etc. The multimedia playback device 110 includes a video playback component (such as a display screen) and/or an audio playback component (such as a speaker).
The multimedia playing device 110 is configured to obtain a playing control command for a target multimedia file; sending a play control command to the multimedia processing equipment; acquiring a multimedia file sent by multimedia processing equipment based on a play control command; and controlling the playing of the multimedia file according to the playing control command.
Optionally, the play control command includes, but is not limited to: one or more of pause playback, start playback, and skip playback.
The play control command is generated by the multimedia playing device 110 based on the user's requirements. Such as: according to the remote controller signal or the touch signal received by the touch display screen on the multimedia playing device 110.
Optionally, the play control command includes a file identifier of the target multimedia file and a play control time. Wherein the file identifier is used for uniquely indicating the target multimedia file; the playing control time is used for indicating the time of the corresponding code stream data in the whole target multimedia file when the target multimedia file is stopped or started to be played.
Alternatively, the multimedia playing device 110 plays the multimedia file based on the HTML web page. The HyperText Markup Language (HTML) is a Markup Language. The system comprises a series of labels, and the document format on the network can be unified through the labels, so that the scattered Internet resources are connected into a logic whole. HTML text is descriptive text consisting of HTML commands that can specify words, graphics, animations, sounds, tables, links, etc.
The multimedia processing device 120 has a multimedia data processing capability, the multimedia processing device 120 may be a terminal or a server, the terminal may be a computer or a personal computer, and the like, and the implementation manner of the multimedia processing device 120 is not limited in this embodiment.
Specifically, the multimedia processing apparatus 120 is configured to: receiving a playing control command sent by multimedia playing equipment; acquiring a target multimedia file indicated by a play control command; when the target multimedia file is not in the standard file format, converting the target multimedia file into the standard file format; and sending the converted multimedia file to the multimedia playing equipment so as to control the multimedia playing equipment to play. The standard file format refers to a file format that the multimedia playing device supports playing.
It should be added that fig. 1 only illustrates that the multimedia processing apparatus 120 is connected to the multimedia playing apparatus 110 in a communication manner, and in practical implementation, one multimedia processing apparatus 120 may also be connected to a plurality of multimedia playing apparatuses 110 in a communication manner. In addition, only one number of the multimedia processing devices 120 is taken as an example in fig. 1 for explanation, in actual implementation, the number of the multimedia processing devices 120 may be multiple, and the number of the multimedia processing devices 120 and the number of the multimedia playing devices 110 are not limited in this embodiment.
Fig. 2 is a flowchart of a multimedia data playing method according to an embodiment of the present application, and the present embodiment takes the method applied to the multimedia data playing system shown in fig. 1 as an example for description. The method at least comprises the following steps:
in step 201, a multimedia playing device obtains a playing control command for a target multimedia file.
The play control command is generated by the multimedia playing device 110 based on the user's requirements. Such as: according to the remote controller signal or the touch signal received by the touch display screen on the multimedia playing device 110. Optionally, the play control command includes, but is not limited to: one or more of pause playback, start playback, and skip playback.
Optionally, the play control command includes a file identifier of the target multimedia file and a play control time. Wherein the file identifier is used for uniquely indicating the target multimedia file; the playing control time is used for indicating the time of the corresponding code stream data in the whole target multimedia file when the target multimedia file is stopped or started to be played.
Step 202, the multimedia playing device sends a playing control command to the multimedia processing device.
In step 203, the multimedia processing device receives a play control command sent by the multimedia playing device.
In step 204, the multimedia processing device obtains the target multimedia file indicated by the play control command.
In one example, a multimedia processing device stores a plurality of multimedia files and a file identification corresponding to each multimedia file. After receiving the playing control command, the multimedia processing device searches for the multimedia file corresponding to the file identifier according to the file identifier of the target multimedia file carried in the playing control command, and obtains the target multimedia file.
At this time, the file identifier may be a hash value, a code, and the like of the multimedia file, and the implementation manner of the file identifier is not limited in this embodiment.
In another example, after receiving a play control command, the multimedia processing device sends a content acquisition request to a corresponding content server according to a file identifier in the play control command; and receiving the target multimedia file returned by the content server based on the content acquisition request. At this time, the file identification is used to indicate an access address of a content server storing the target multimedia file.
Of course, the manner of acquiring the target multimedia file by the multimedia processing device may be other manners, and this embodiment is not listed here.
In step 205, when the target multimedia file is not in the standard file format, the multimedia processing device converts the target multimedia file into the standard file format.
After the multimedia processing equipment acquires the target multimedia file, acquiring the file characteristics of the target multimedia file; it is determined whether the target multimedia file is in a standard file format based on the file characteristics. When the target multimedia file is not in the standard file format, the multimedia processing equipment converts the target multimedia file into the standard file format; when the target multimedia file is in a standard file format, the multimedia processing device directly transmits the target multimedia file to the multimedia playing device without performing a file conversion process.
The file characteristics refer to characteristics that can be obtained without decoding the target multimedia file. The file characteristics include file header information, keywords, and/or file suffixes. The key is a value of a specific data item in a predefined multimedia file.
The standard file format refers to a file format which is supported by the multimedia playing device to play. Optionally, the standard file format is an HTML format.
Optionally, determining whether the target multimedia file is in a standard file format based on the file characteristics includes: determining whether the file characteristics are consistent with those of the standard file; when the file characteristics are consistent with those of the standard file, determining the target multimedia file to be in a standard file format; and when the file characteristics are not consistent with the file characteristics of the standard file, determining that the target multimedia file is not in the standard file format.
The file characteristics of the standard file are pre-stored in the multimedia processing device, such as: the file characteristics of the standard file are: the header information includes: AVI, MP4, or MKV; suffix name is: avi, mp4, or mkv.
Optionally, the multimedia processing device converts the target multimedia file into a standard file format, including: determining a target decoder corresponding to the target multimedia file; calling a target decoder to decode the multimedia file to obtain decoded multimedia data; calling an encoder to encode the decoded multimedia data to obtain a standard code stream with a standard file format; and packaging the standard code stream to obtain the multimedia file with the standard file format.
The multimedia processing device is integrated with a decoder corresponding to various file characteristics. After the multimedia processing equipment acquires the target multimedia file, calling a corresponding target decoder according to the file characteristics of the target multimedia file.
In one example, when the multimedia processing device packages the standard code stream, the multimedia processing device sequentially packages the sub-data of the preset time length in the standard code stream according to the playing sequence to obtain a multimedia file with a standard file format; the multimedia file having a standard file format includes a slice file corresponding to each of the sub data.
For convenience of understanding, a process of converting the target multimedia file into a standard file format by the multimedia processing apparatus will be described as an example.
Assuming that the target multimedia file is a third-party media file (i.e. generated by other objects except the multimedia processing device and the multimedia playing device), a corresponding decoder is selected according to the file characteristics of the third-party media file to decode the third-party media file. After selecting a proper decoder, the third-party media file is decoded to obtain video data (such as yuv). The calling encoder encodes the video data into a standard code stream, such as H264, H265, MPEG4, etc. The codestream output by the encoder is then packetized into standard media formats, such as avi, mp4, mkv, etc. In consideration of the time required for encoding and packaging the code stream, in order to send the decoded data to the multimedia playing device for display as soon as possible, the standard code stream is packaged into slice files with short time length.
Optionally, after the multimedia processing device acquires the target multimedia file, a Uniform Resource Locator (URL) that can be used for playing is returned to the multimedia playing device, so that the multimedia playing device acquires a multimedia file supporting playing based on the URL.
In step 206, the multimedia processing device sends the converted multimedia file to the multimedia playing device for the multimedia playing device to perform playing control.
Optionally, the multimedia processing device sends the converted multimedia file to the multimedia playing device integrally; or, determining a target slice file indicated by the playing control command from each slice file; and sending the target slice file to the multimedia playing equipment.
Such as: the playing control command comprises playing control time, and the multimedia processing equipment determines a slice file comprising the playing control time to obtain a target slice file; and sending the target slice file to a multimedia playing device.
It should be added that, after the multimedia processing apparatus sends the target slice file, other slice files after the target slice file are also sequentially sent to the multimedia playing apparatus.
Step 207, the multimedia playing device obtains the multimedia file sent by the multimedia processing device based on the playing control command.
The multimedia file is obtained by converting a target multimedia file into a standard file format when the target multimedia file is not in the standard file format after the multimedia processing equipment acquires the target multimedia file; the standard file format refers to a file format that locally supports playback.
Optionally, the multimedia file received by the multimedia playing device includes a target slice file indicated by the playing control command.
And step 208, the multimedia playing device controls the playing of the multimedia file according to the playing control command.
Such as: when the playing control command is to pause playing, the playing of the multimedia file is paused; and when the playing control command is to start playing, the multimedia file is started to play at the playing control time indicated by the playing control command.
In summary, the multimedia data playing method provided in this embodiment receives a playing control command sent by a multimedia playing device; acquiring a target multimedia file indicated by a play control command; when the target multimedia file is not in the standard file format, converting the target multimedia file into the standard file format; sending the converted multimedia file to a multimedia playing device for playing control of the multimedia playing device; the problem that the media file cannot be played or is controlled inaccurately because the existing playing equipment does not support playing the media file coded and packaged by a third-party manufacturer can be solved; because the multimedia files with different file formats can be converted into the standard file format, the support degree of the multimedia playing equipment to the media files of different manufacturers can be improved, and the compatibility and the playing control accuracy of the multimedia playing equipment are improved.
In addition, the function of file conversion is transferred to the multimedia processing equipment which is independent from the multimedia playing equipment, and the transmission of files based on the network transmission protocol is supported, so that the requirement of multimedia file processing on the multimedia playing equipment can be reduced.
In addition, when the standard code stream is packaged, sub-data with preset time length in the standard code stream are sequentially packaged according to the playing sequence to obtain a plurality of slice files; and the target slice file indicated by the playing control command is sent to the multimedia playing equipment, so that the transmission speed of the multimedia file can be increased, and the timeliness of the multimedia playing equipment for playing the multimedia file is ensured.
Alternatively, steps 201, 202, 207 and 208 may be implemented separately as method embodiments on the multimedia playing device side; step 203-206 may be implemented separately as a method embodiment on the multimedia processing device side.
Fig. 3 is a block diagram of a multimedia data playing apparatus according to an embodiment of the present application, and the embodiment takes the multimedia processing device 120 applied in the multimedia data playing system shown in fig. 1 as an example for explanation. The device at least comprises the following modules: a command receiving module 310, a file acquiring module 320, a file converting module 330 and a file sending module 340.
A command receiving module 310, configured to receive a play control command sent by a multimedia playing device;
a file obtaining module 320, configured to obtain a target multimedia file indicated by the play control command;
a file conversion module 330, configured to convert the target multimedia file into a standard file format when the target multimedia file is not in the standard file format;
the file sending module 340 is configured to send the converted multimedia file to the multimedia playing device, so that the multimedia playing device performs playing control;
the standard file format refers to a file format which the multimedia playing equipment supports playing.
For relevant details reference is made to the above-described method embodiments.
Fig. 4 is a block diagram of a multimedia data playing apparatus according to an embodiment of the present application, and the embodiment takes the multimedia playing device 110 applied in the multimedia data playing system shown in fig. 1 as an example for explanation. The device at least comprises the following modules: a command acquisition module 410, a command transmission module 420, a file acquisition module 430, and a play control module 440.
A command obtaining module 410, configured to obtain a play control command for a target multimedia file;
a command sending module 420, configured to send a play control command to the multimedia processing apparatus;
a file obtaining module 430, configured to obtain a multimedia file sent by the multimedia processing device based on the play control command; the multimedia file is obtained by converting the target multimedia file into a standard file format when the target multimedia file is not in the standard file format after the multimedia processing equipment receives the target multimedia file; the standard file format is a file format which locally supports playing;
and a playing control module 440, configured to control playing of the multimedia file according to the playing control command.
For relevant details reference is made to the above-described method embodiments.
It should be noted that: in the foregoing embodiment, when playing multimedia data, the multimedia data playing apparatus is exemplified by only dividing the functional modules, and in practical applications, the functions may be allocated by different functional modules according to needs, that is, the internal structure of the multimedia data playing apparatus is divided into different functional modules to complete all or part of the functions described above. In addition, the multimedia data playing apparatus and the multimedia data playing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 5 is a block diagram of a multimedia data playing apparatus according to an embodiment of the present application, where the apparatus may be the multimedia playing device 110 or the multimedia processing device 120 in the multimedia data playing system shown in fig. 1. The apparatus comprises at least a processor 501 and a memory 502.
Processor 501 may include one or more processing cores such as: 4 core processors, 8 core processors, etc. The processor 501 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 502 is used to store at least one instruction for execution by the processor 501 to implement the multimedia data playing method provided by the method embodiments of the present application.
In some embodiments, the multimedia data playing apparatus may further include: a peripheral interface and at least one peripheral. The processor 501, memory 502 and peripheral interfaces may be connected by buses or signal lines. Each peripheral may be connected to the peripheral interface via a bus, signal line, or circuit board. Illustratively, peripheral devices include, but are not limited to: radio frequency circuit, touch display screen, audio circuit, power supply, etc.
Of course, the multimedia data playing apparatus may also include fewer or more components, which is not limited in this embodiment.
Optionally, the present application further provides a computer-readable storage medium, in which a program is stored, and the program is loaded and executed by a processor to implement the multimedia data playing method of the foregoing method embodiment.
Optionally, the present application further provides a computer product, which includes a computer-readable storage medium, where a program is stored in the computer-readable storage medium, and the program is loaded and executed by a processor to implement the multimedia data playing method of the foregoing method embodiment.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A method for playing multimedia data, the method comprising:
receiving a playing control command sent by multimedia playing equipment;
acquiring a target multimedia file indicated by the play control command;
when the target multimedia file is not in the standard file format, converting the target multimedia file into the standard file format;
sending the converted multimedia file to the multimedia playing equipment for playing control of the multimedia playing equipment;
the standard file format refers to a file format which the multimedia playing equipment supports playing.
2. The method according to claim 1, further comprising, after obtaining the target multimedia file indicated by the play control command:
acquiring file characteristics of the target multimedia file, wherein the file characteristics comprise file header information, keywords and/or a file suffix;
determining whether the target multimedia file is in the standard file format based on the file characteristics.
3. The method of claim 2, wherein the step of determining whether the target multimedia file is in the standard file format based on the file characteristics comprises:
determining whether the file characteristics are consistent with those of a standard file;
when the file characteristics are consistent with those of a standard file, determining that the target multimedia file is in the standard file format;
and when the file characteristics are not consistent with the file characteristics of the standard file, determining that the target multimedia file is not in the standard file format.
4. The method of claim 1, wherein the step of converting the target multimedia file to a standard file format comprises:
determining a target decoder corresponding to the target multimedia file;
calling the target decoder to decode the target multimedia file to obtain decoded multimedia data;
calling an encoder to encode the decoded multimedia data to obtain a standard code stream with the standard file format;
and packaging the standard code stream to obtain the multimedia file with the standard file format.
5. The method according to claim 4, wherein the step of encapsulating the standard codestream to obtain the multimedia file having the standard file format comprises:
sequentially packaging the subdata with preset time length in the standard code stream according to the playing sequence to obtain a multimedia file with the standard file format; the multimedia file with the standard file format comprises a slice file corresponding to each subdata.
6. The method according to claim 5, wherein the sending the converted multimedia file to the multimedia playing device comprises:
determining a target slice file indicated by the playing control command from each slice file;
and sending the target slice file to the multimedia playing equipment.
7. A method for playing multimedia data, the method comprising:
acquiring a play control command for a target multimedia file;
sending a play control command to the multimedia processing equipment;
acquiring a multimedia file sent by the multimedia processing equipment based on the play control command; the multimedia file is obtained by converting the target multimedia file into a standard file format when the target multimedia file is not in the standard file format after the multimedia processing equipment acquires the target multimedia file; the standard file format is a file format which locally supports playing;
and controlling the playing of the multimedia file according to the playing control command.
8. A multimedia data playback apparatus, comprising:
the command receiving module is used for receiving a playing control command sent by the multimedia playing equipment;
the file acquisition module is used for acquiring the target multimedia file indicated by the play control command;
the file conversion module is used for converting the target multimedia file into a standard file format when the target multimedia file is not in the standard file format;
the file sending module is used for sending the converted multimedia file to the multimedia playing equipment so as to control the multimedia playing equipment to play;
the standard file format refers to a file format which the multimedia playing equipment supports playing.
9. A multimedia data playback apparatus, comprising:
the command acquisition module is used for acquiring a play control command of the target multimedia file;
the command sending module is used for sending a playing control command to the multimedia processing equipment;
the file acquisition module is used for acquiring a multimedia file sent by the multimedia processing equipment based on the play control command; the multimedia file is obtained by converting the target multimedia file into a standard file format when the target multimedia file is not in the standard file format after the multimedia processing equipment receives the target multimedia file; the standard file format is a file format which locally supports playing;
and the playing control module is used for controlling the playing of the multimedia file according to the playing control command.
10. A multimedia data playing system is characterized in that the system comprises a multimedia playing device and a multimedia processing device; the multimedia playing device is in communication connection with the multimedia processing device based on a network protocol;
the multimedia processing apparatus comprises the multimedia data playback device of claim 8;
the multimedia playback apparatus includes the multimedia data playback device of claim 9.
11. A multimedia data playback apparatus, comprising a processor and a memory; the memory stores a program that is loaded and executed by the processor to implement the multimedia data playing method according to any one of claims 1 to 6; or, the multimedia data playing method according to claim 7 is implemented.
12. A computer-readable storage medium, characterized in that the storage medium stores a program which, when executed by a processor, is for implementing the multimedia data playback method according to any one of claims 1 to 6; or, the multimedia data playing method according to claim 7 is implemented.
CN202010211266.6A 2020-03-24 2020-03-24 Multimedia data playing method, device, system and storage medium Pending CN111327951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010211266.6A CN111327951A (en) 2020-03-24 2020-03-24 Multimedia data playing method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010211266.6A CN111327951A (en) 2020-03-24 2020-03-24 Multimedia data playing method, device, system and storage medium

Publications (1)

Publication Number Publication Date
CN111327951A true CN111327951A (en) 2020-06-23

Family

ID=71171653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010211266.6A Pending CN111327951A (en) 2020-03-24 2020-03-24 Multimedia data playing method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN111327951A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507647A (en) * 2021-07-23 2021-10-15 广州酷狗计算机科技有限公司 Multimedia data play control method, device, terminal and readable storage medium
CN114449449A (en) * 2022-02-11 2022-05-06 西安诺瓦星云科技股份有限公司 Multimedia playing method, device, system and equipment
CN114500657A (en) * 2022-01-26 2022-05-13 京东方科技集团股份有限公司 Media playing control method and device, electronic equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697549A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Method and system for displaying stream media and stream media management server
CN103338186A (en) * 2013-06-05 2013-10-02 华为技术有限公司 A content sharing method and an apparatus
CN104104971A (en) * 2013-04-02 2014-10-15 腾讯科技(深圳)有限公司 Video file processing method and system
US20170318356A1 (en) * 2016-05-02 2017-11-02 Dingmedia Ltd Data delivery system and method
CN107995519A (en) * 2017-11-30 2018-05-04 广州酷狗计算机科技有限公司 The method, apparatus and storage medium that multimedia file plays
CN108235151A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 A kind of method and apparatus of net cast

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697549A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Method and system for displaying stream media and stream media management server
CN104104971A (en) * 2013-04-02 2014-10-15 腾讯科技(深圳)有限公司 Video file processing method and system
CN103338186A (en) * 2013-06-05 2013-10-02 华为技术有限公司 A content sharing method and an apparatus
US20170318356A1 (en) * 2016-05-02 2017-11-02 Dingmedia Ltd Data delivery system and method
CN107995519A (en) * 2017-11-30 2018-05-04 广州酷狗计算机科技有限公司 The method, apparatus and storage medium that multimedia file plays
CN108235151A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 A kind of method and apparatus of net cast

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507647A (en) * 2021-07-23 2021-10-15 广州酷狗计算机科技有限公司 Multimedia data play control method, device, terminal and readable storage medium
CN113507647B (en) * 2021-07-23 2024-02-20 广州酷狗计算机科技有限公司 Method, device, terminal and readable storage medium for controlling playing of multimedia data
CN114500657A (en) * 2022-01-26 2022-05-13 京东方科技集团股份有限公司 Media playing control method and device, electronic equipment and readable storage medium
CN114449449A (en) * 2022-02-11 2022-05-06 西安诺瓦星云科技股份有限公司 Multimedia playing method, device, system and equipment

Similar Documents

Publication Publication Date Title
CN109257646B (en) Video processing method and device, electronic equipment and computer readable medium
CN111327951A (en) Multimedia data playing method, device, system and storage medium
CN105052107B (en) Media content Adaptive Transmission is carried out using quality information
CN104937583B (en) It is a kind of to carry out adaptive method and apparatus to media content
CN111372128A (en) Video playing method and device, computer equipment and readable storage medium
AU2016410930B2 (en) Online television playing method and apparatus
CN109889894A (en) Media file coding/decoding method, device and storage medium
CN103945284B (en) Information processing method and information processing unit
CN102833585B (en) System and method for transmitting ubiquitous terminal video
WO2015176648A1 (en) Method and device for transmitting data in intelligent terminal to television terminal
US9798507B2 (en) Display device and control method
CN112165653B (en) Video playing method, device and equipment
CN112422978A (en) Intelligent transcoding method and device, electronic equipment and storage medium
CN110996160A (en) Video processing method and device, electronic equipment and computer readable storage medium
US20150172733A1 (en) Content transmission device, content playback device, content delivery system, control method for content transmission device, control method for content playback device, data structure, control program, and recording medium
CN109151570B (en) Streaming media processing method and system based on HTML5 and related components
CN109788251B (en) Video processing method, device and storage medium
CN102447673A (en) Method and equipment for depacking multimedia file carrying a package format
CN112422514A (en) Multimedia data transmission method and device, intelligent household equipment and storage medium
CN102904891A (en) Multimedia data sharing method and device and multimedia playing equipment
CN113079386A (en) Video online playing method and device, electronic equipment and storage medium
CN115633191A (en) Video playing method, device, system, electronic equipment and readable storage medium
CN102289358A (en) A computer-implemented method, a computer program product and an embedded system for displaying data more efficiently
CN112287127B (en) Multimedia file storage and reading method
CN113766266A (en) Audio and video processing method, device, equipment 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200623