WO2023273615A1 - 媒体文件处理方法、装置、设备、可读存储介质及产品 - Google Patents
媒体文件处理方法、装置、设备、可读存储介质及产品 Download PDFInfo
- Publication number
- WO2023273615A1 WO2023273615A1 PCT/CN2022/091565 CN2022091565W WO2023273615A1 WO 2023273615 A1 WO2023273615 A1 WO 2023273615A1 CN 2022091565 W CN2022091565 W CN 2022091565W WO 2023273615 A1 WO2023273615 A1 WO 2023273615A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- media file
- displayed
- size
- interface
- display
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 30
- 238000000034 method Methods 0.000 claims abstract description 38
- 238000009877 rendering Methods 0.000 claims description 71
- 238000004590 computer program Methods 0.000 claims description 29
- 238000012545 processing Methods 0.000 claims description 29
- 238000010586 diagram Methods 0.000 description 14
- 238000013461 design Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 101000822695 Clostridium perfringens (strain 13 / Type A) Small, acid-soluble spore protein C1 Proteins 0.000 description 1
- 101000655262 Clostridium perfringens (strain 13 / Type A) Small, acid-soluble spore protein C2 Proteins 0.000 description 1
- 101000655256 Paraclostridium bifermentans Small, acid-soluble spore protein alpha Proteins 0.000 description 1
- 101000655264 Paraclostridium bifermentans Small, acid-soluble spore protein beta Proteins 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/60—Editing figures and text; Combining figures or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4007—Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/04—Changes in size, position or resolution of an image
- G09G2340/0442—Handling or displaying different aspect ratios, or changing the aspect ratio
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/14—Solving problems related to the presentation of information to be displayed
- G09G2340/145—Solving problems related to the presentation of information to be displayed related to small screens
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
- G09G5/39—Control of the bit-mapped memory
- G09G5/393—Arrangements for updating the contents of the bit-mapped memory
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
Definitions
- the embodiments of the present disclosure relate to the technical field of image processing, and in particular, to a media file processing method, device, electronic equipment, readable storage medium, computer program product, and computer program.
- short video application software has gradually entered the lives of users.
- existing short video application software In order to enable users to watch videos that are more in line with their personal preferences, existing short video application software generally chooses to use big data to analyze user preferences, and push video information related to their interests to users.
- the textureview control set in the terminal device is generally used to stretch the short video.
- this control generally uses the adjacent difference value to stretch the short video, and displays the stretched short video.
- video stretching by the terminal device using the above method may cause moiré in the video, which affects the viewing experience of the user.
- Embodiments of the present disclosure provide a media file processing method, device, electronic equipment, readable storage medium, computer program product, and computer program to solve the technical problem that existing video stretching methods may cause moiré in the video.
- an embodiment of the present disclosure provides a method for processing a media file, including:
- the display size is smaller than the interface size of the front-end display interface, then perform a size stretching operation on the media file to be displayed according to the interface size to obtain the target media file;
- an embodiment of the present disclosure provides a media file processing device, including:
- An acquisition module configured to acquire a media file to be displayed, and determine a display size corresponding to the media file to be displayed;
- An adjustment module configured to perform a size stretching operation on the media file to be displayed according to the interface size to obtain a target media file if it is determined that the display size is smaller than the interface size of the front-end display interface;
- a display module configured to send the target media file to the display interface for display.
- an embodiment of the present disclosure provides an electronic device, including: at least one processor and a memory;
- the memory stores computer-executable instructions
- the at least one processor executes the computer-executed instructions stored in the memory, so that the at least one processor executes the media file processing method described in the above first aspect and various possible designs of the first aspect.
- an embodiment of the present disclosure provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the processor executes the computer-executable instructions, the above first aspect and the first Aspects of various possible designs of the media file processing method.
- the embodiment of the present disclosure provides a computer program product, which is characterized in that it includes a computer program, and when the computer program is executed by a processor, the above first aspect and various possible designs of the first aspect can be realized.
- Media file processing method
- an embodiment of the present disclosure provides a computer program, which implements the media file processing method described in the first aspect and various possible designs of the first aspect when the computer program is executed by a processor.
- the media file processing method, device, equipment, readable storage medium and product provided by this embodiment, after the method obtains the media file to be displayed, first determine the display size corresponding to the media file to be displayed, when the current When the display size of the media file is smaller than the interface size of the front-end display interface, the media file is stretched off-screen according to the interface size, and the stretched target media file is sent to the display interface for display. Since the display size of the target media file is the same as the interface size, there is no need to stretch it again before displaying it, which can effectively avoid the problem of moiré caused by stretching the media file in a way of adjacent difference. Improve user viewing experience.
- FIG. 1 is a schematic flowchart of a media file processing method provided in Embodiment 1 of the present disclosure
- Fig. 2 is the structural representation of the media file stretching device in the prior art
- FIG. 3 is a schematic structural diagram of a media file processing device provided by an embodiment of the present disclosure.
- FIG. 4 is a schematic flowchart of a media file processing method provided in Embodiment 2 of the present disclosure
- FIG. 5 is a schematic diagram of a system architecture based on an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of a media file processing device provided in Embodiment 3 of the present disclosure.
- FIG. 7 is a schematic structural diagram of an electronic device provided by Embodiment 4 of the present disclosure.
- the present disclosure provides a media file processing method, device, equipment, readable storage medium and product.
- the media file processing method, device, device, readable storage medium, and product provided by the present disclosure can be used in various scenarios of stretching and displaying media files.
- the inventor found through research that in order to avoid the moiré phenomenon caused by the adjacent difference, before the media file is obtained and sent to the front-end player for stretching and playing, a Off-screen stretching module, the off-screen stretching module can pre-stretch the media file, so that the display size of the stretched media file is consistent with the size of the front-end display interface, thereby preventing the front-end player from using the adjacent difference The way to stretch media files. Therefore, the media files played by the front-end player will not have the problem of moiré, which improves the user experience.
- FIG. 1 is a schematic flowchart of a media file processing method provided in Embodiment 1 of the present disclosure. As shown in FIG. 1 , the method includes:
- Step 101 Acquire a media file to be displayed, and determine a display size corresponding to the media file to be displayed.
- the execution body of this embodiment is a media file processing device, which can be coupled to a terminal device, so that the media file can be stretched before being sent to the display interface for playback and display.
- the media file device can also be coupled to a server, which can communicate with multiple terminal devices, so that the media files to be displayed by the terminal devices can be stretched before the media files are displayed on the display interface.
- a server which can communicate with multiple terminal devices, so that the media files to be displayed by the terminal devices can be stretched before the media files are displayed on the display interface.
- the media file needs to be stretched to keep the same size as the front-end display interface.
- the display size of the media file can be 480*480, while the display size of the display interface can be 1080*1080. The sizes of the two are different. Therefore, the media file needs to be stretched from 480*480 to 1080* 1080.
- the display size of the media file to be displayed may be determined first. Therefore, the display size can be subsequently compared with the display size of the front-end display interface to determine whether the two are the same.
- the media file to be displayed needs to be stretched, otherwise, the media file to be displayed can be directly displayed.
- Step 102 If it is determined that the display size is smaller than the interface size of the front-end display interface, perform a size stretching operation on the media file to be displayed according to the interface size to obtain a target media file.
- the media file to be displayed needs to be stretched.
- the media file to be displayed can be displayed in advance.
- the size of the media file to be displayed is stretched to obtain the target media file.
- Step 103 sending the target media file to the display interface for display.
- the target media file may be sent to the display interface for display. Since the target media file has already completed the size stretching operation, the front end does not need to stretch it in the way of adjacent difference, so that the appearance of moiré can be effectively avoided.
- step 102 the size stretching operation is performed on the media file to be displayed according to the size of the interface, which specifically includes:
- a linear interpolation method is used to perform a size stretching operation on the media file to be displayed.
- the target media file in the process of stretching the target media file off-screen, can be stretched in the form of a linear difference operate.
- step 102 it also includes:
- a rendering operation is performed on the media file to be displayed after the size is stretched to obtain the target media file.
- a rendering operation may be further performed on the media file to be displayed to obtain the target media file.
- the method first determines the display size corresponding to the media file to be displayed after obtaining the media file to be displayed, and when it is detected that the display size of the current media file is smaller than that of the front-end display interface
- the interface size is determined, the media file is stretched off-screen by linear interpolation according to the interface size, and the stretched target media file is sent to the display interface for display. Since the display size of the target media file is the same as the interface size, there is no need to stretch it again before displaying it, which can effectively avoid the problem of moiré caused by stretching the media file in a way of adjacent difference. Improve user viewing experience.
- step 102 specifically includes:
- the display size of the media file to be displayed is stretched to be consistent with the size of the interface to obtain the target media file.
- the display size of the media file to be displayed can be stretched to be consistent with the interface size to obtain the target media file. Therefore, the display size of the target media file can match the interface size to achieve the best display effect and improve user experience.
- step 101 specifically includes:
- the media file to be displayed output by the original rendering buffer interface is received, wherein the output rendering interface is created by using opengl.
- the media file in order to avoid the moiré problem caused by the proximity difference, before the media file is sent to the player for display, the media file can be stretched using the proximity difference method in an off-screen manner .
- an output rendering interface can be established, and the output rendering interface can be connected to the original rendering buffer interface. Therefore, when obtaining the media file to be displayed, the output rendering interface can be used to call the original rendering buffer interface to obtain the media file to be displayed output by the original rendering buffer interface.
- the output rendering interface may specifically be created by using opengl.
- step 103 specifically includes:
- a notification message is sent to the terminal device, so that the preset front-end player acquires the media file to be displayed from the newly-created rendering buffer area, performs a rendering operation and displays it.
- a new rendering buffer area may also be created for temporarily caching the stretched target media file.
- the target media file may be sent to a preset new rendering buffer area.
- a notification message can be sent to the terminal device, so that the preset front-end player obtains the media file to be displayed from the newly created rendering buffer area to render and display it.
- FIG. 2 is a schematic structural diagram of a media file stretching device in the prior art. As shown in FIG. 2 , after the media file output by the media file buffer interface 21 is obtained, the media file is sent to the player 22 for display. The stretching operation of the media file is performed by the player 22 using the preset proximity difference method.
- the adjacent difference can be used in an off-screen manner.
- the value method stretches the media file to obtain the target media file with the same size as the front-end display interface, and sends the target media file to the front-end player for display. Therefore, the front-end player does not need to stretch the media file.
- FIG. 3 is a schematic structural diagram of a media file processing device provided by an embodiment of the present disclosure.
- an output rendering interface 31 can be created, and the output rendering interface 31 can receive The media file to be displayed output by the original rendering buffer interface 32.
- An off-screen rendering thread is established through the preset off-screen rendering module 33, and a linear stretching operation is performed on the media file to be displayed to obtain the target media file.
- the off-screen rendering module 33 can send the target media file to the preset new rendering buffer area 34, so that the terminal device can acquire the target media file from the newly created rendering buffer area 34 for display.
- the original render buffer interface may have been released. Therefore, the front-end player will crash and the media file cannot be displayed. Normal playback, resulting in poor user experience.
- the data is obtained by establishing the output rendering interface and calling the original rendering buffer interface. Since the newly created output rendering interface and the new rendering buffer will not be released, the front-end player always has a rendering buffer that can Use, therefore, can avoid the problem that the media file playback process crashes.
- the media file processing method provided by this embodiment can realize the off-screen stretching operation of the media file to be displayed by creating a new output rendering interface and a new rendering buffer area, and can effectively avoid the asynchronous release of the player and the original cache rendering area
- the technical problems caused by the crash of the front-end player can improve the display effect of media files and improve the user experience.
- step 102 it also includes:
- the media file to be displayed is sent to the terminal device for display.
- the display size of the media file to be displayed may be compared with the display size of the front-end display interface to determine whether the two are the same. If it is detected that the two have the same size, the media file to be displayed can be directly displayed. The stretching operation of the media file to be displayed is avoided, thereby improving the display efficiency of the media file and further improving user experience.
- Fig. 4 is a schematic flow chart of the media file processing method provided by Embodiment 2 of the present disclosure. On the basis of Embodiment 1, as shown in Fig. 4, before step 101, it also includes:
- Step 401 Obtain a media file play instruction, where the media file play instruction includes a version identifier of the terminal device.
- Step 402 judging whether the terminal device satisfies a preset size stretching condition according to the version identifier.
- Step 403 if it is satisfied, acquire the media file to be displayed, and determine the corresponding display size of the media file to be displayed.
- Step 404 if not satisfied, acquire the media file to be displayed, and send the media file to be displayed to the display interface for display.
- the media file processing apparatus can be coupled to a server, and the server can communicate with multiple terminal devices. Therefore, the media file playing instructions of multiple terminal devices can be processed.
- FIG. 5 is a schematic diagram of a system architecture based on an embodiment of the present disclosure.
- the system architecture based on the present disclosure includes at least a server 51 and a terminal device 52, wherein the server 51 is provided with a media file processing device.
- the media file processing device can be written in languages such as C/C++, Java, Shell, or Python; the terminal device 1 can be, for example, a desktop computer, a tablet computer, or the like.
- the media file processing apparatus may acquire a media file play instruction, wherein the media file play instruction includes a version identifier of the terminal device. Since Android 8.0 and later versions use the adjacent difference to perform size stretching operations on media files, in order to avoid moiré after stretching, off-screen stretching operations are required. However, versions below Android 8.0 use linear interpolation without moiré. Therefore, after the media file playback instruction is acquired, it may first be judged according to the version identifier whether the terminal device satisfies the preset size stretching condition.
- the version is identified as version 8.0 or higher, it is necessary to determine the corresponding display size of the media file to be displayed, and perform the size stretching operation according to the display size.
- the media file to be displayed can be directly sent to the display interface for display without the size stretching operation.
- the media file processing method provided in this embodiment judges whether the terminal device satisfies the preset size stretching condition by determining the version identifier, and performs corresponding processing according to the judgment result, so that the size stretching operation can be accurately performed on the media file, and the media file size can be improved. display efficiency.
- FIG. 6 is a schematic structural diagram of a media file processing device provided by Embodiment 3 of the present disclosure.
- the device includes: an acquisition module 61 , an adjustment module 62 and a display module 63 .
- the obtaining module 61 is configured to obtain the media file to be displayed, and determine the display size corresponding to the media file to be displayed.
- the adjustment module 62 is configured to perform a size stretching operation on the media file to be displayed according to the interface size to obtain a target media file if it is determined that the display size is smaller than the interface size of the front-end display interface.
- the display module 63 is configured to send the target media file to the display interface for display.
- the adjustment module is configured to: perform a size stretching operation on the media file to be displayed in a linear interpolation manner according to the interface size.
- the adjustment module is configured to: stretch the display size of the media file to be displayed to be consistent with the interface size, so as to obtain the target media file.
- the acquisition module is configured to: use the preset output rendering interface to call the original rendering buffer interface; receive the media file to be displayed output by the original rendering buffer interface, wherein the The output rendering interface is created with opengl.
- the display module is configured to: send the target media file to the preset new rendering buffer area; send a notification message to the terminal device, so that the preset front-end player Acquiring the media file to be displayed from the newly created rendering buffer area, performing a rendering operation and displaying it.
- the device further includes: a sending module, further configured to send the media file to be displayed to the terminal device for display.
- the device further includes: an instruction acquiring module, a judging module, a processing module and a processing module.
- the instruction acquiring module is configured to acquire a media file playing instruction
- the media file playing instruction includes a version identifier of the terminal device.
- a judging module configured to judge whether the terminal device satisfies a preset size stretching condition according to the version identifier.
- the processing module is configured to acquire the media file to be displayed if it is satisfied, and determine the corresponding display size of the media file to be displayed.
- the processing module is further configured to acquire the media file to be displayed if not satisfied, and send the media file to be displayed to the display interface for display.
- the device further includes: a rendering module, configured to perform a rendering operation on the media file to be displayed after its size has been stretched to obtain the target media file.
- a rendering module configured to perform a rendering operation on the media file to be displayed after its size has been stretched to obtain the target media file.
- Another embodiment of the present disclosure also provides an electronic device, including: at least one processor and a memory;
- the memory stores computer-executable instructions
- the at least one processor executes the computer-executed instructions stored in the memory, so that the at least one processor executes the media file processing method as described in any of the foregoing embodiments.
- Another embodiment of the present disclosure also provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the processor executes the computer-executable instructions, the implementation of any of the above-mentioned embodiments The media file processing method described above.
- Another embodiment of the present disclosure further provides a computer program product, which is characterized by comprising a computer program, and when the computer program is executed by a processor, the media file processing method as described in any one of the above embodiments is implemented.
- the device provided in this embodiment can be used to implement the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not repeat them here.
- FIG. 7 is a schematic structural diagram of an electronic device provided in Embodiment 4 of the present disclosure. As shown in FIG. 7 , it shows a schematic structural diagram of an electronic device 700 suitable for implementing an embodiment of the present disclosure.
- the electronic device 700 may be a terminal device or server.
- the terminal equipment may include but not limited to mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA for short), tablet computers (Portable Android Device, PAD for short), portable multimedia players (Portable Media Player, referred to as PMP), mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs and desktop computers.
- PDA Personal Digital Assistant
- PMP portable multimedia players
- mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals)
- fixed terminals such as digital TVs and desktop computers.
- the electronic device shown in FIG. 9 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
- an electronic device 700 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 708 loads the program in the random access memory (Random Access Memory, referred to as RAM) 703 to execute various appropriate actions and processes.
- RAM Random Access Memory
- various programs and data necessary for the operation of the electronic device 700 are also stored.
- the processing device 701, ROM 702, and RAM 703 are connected to each other through a bus 704.
- An input/output (I/O) interface 705 is also connected to the bus 704 .
- an input device 706 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; ), a speaker, a vibrator, etc.
- a storage device 708 including, for example, a magnetic tape, a hard disk, etc.
- the communication means 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. While FIG. 9 shows electronic device 700 having various means, it should be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
- embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts.
- the computer program may be downloaded and installed from a network via communication means 709, or from storage means 708, or from ROM 702.
- the processing device 701 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
- the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
- a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
- Computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programming read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM or flash memory), optical fiber, portable compact disk read-only memory (Portable Compact Disk Read-Only Memory, referred to as CD-ROM), optical storage device, magnetic storage device, or Any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
- the program code contained on the computer readable medium may be transmitted by any appropriate medium, including but not limited to: electric wire, optical cable, radio frequency (Radio Frequency, RF for short), etc., or any suitable combination of the above.
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
- the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is made to execute the methods shown in the above-mentioned embodiments.
- Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language—such as "C" or a similar programming language.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer can be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or it can be connected to an external A computer (connected via the Internet, eg, using an Internet service provider).
- LAN Local Area Network
- WAN Wide Area Network
- each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
- the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of the unit does not constitute a limitation of the unit itself under certain circumstances, for example, the first obtaining unit may also be described as "a unit for obtaining at least two Internet Protocol addresses".
- exemplary types of hardware logic components include: Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA for short), Application Specific Integrated Circuit (ASIC for short), application specific standard product (Application Specific Standard Product, ASSP for short), System-on-a-chip (SOC for short), Complex Programmable Logic Device (CPLD for short), etc.
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
- a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
- machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
- RAM random access memory
- ROM read only memory
- EPROM or flash memory erasable programmable read only memory
- CD-ROM compact disk read only memory
- magnetic storage or any suitable combination of the foregoing.
- a method for processing a media file including:
- the display size is smaller than the interface size of the front-end display interface, then perform a size stretching operation on the media file to be displayed according to the interface size to obtain the target media file;
- performing the size stretching operation on the media file to be displayed according to the size of the interface includes: adopting linear interpolation to the media file to be displayed according to the size of the interface The size of the media file is stretched.
- performing the size stretching operation on the media file to be displayed by linear interpolation according to the interface size includes: changing the display size of the media file to be displayed Stretch to the same size as the interface to obtain the target media file.
- the acquiring the media file to be displayed includes: using a preset output rendering interface to call the original rendering buffer interface; receiving the media file to be displayed output by the original rendering buffer interface, Wherein, the output rendering interface is created by using opengl.
- the sending the target media file to the display interface for display includes: sending the target media file to a preset new rendering buffer area; sending the target media file to the terminal device Notify the message, so that the preset front-end player obtains the media file to be displayed from the newly created rendering buffer area, performs rendering operation and displays it.
- the media file to be displayed after acquiring the media file to be displayed and determining the display size corresponding to the media file to be displayed, further includes: if it is determined that the display size is equal to the interface of the front-end display interface size, the media file to be displayed is sent to the terminal device for display.
- the media file playback instruction before acquiring the media file to be displayed, it also includes: acquiring a media file playback instruction, the media file playback instruction includes a version identifier of the terminal device; judging according to the version identifier Whether the terminal device satisfies the preset size stretching condition; if so, obtain the media file to be displayed, and determine the corresponding display size of the media file to be displayed; if not, obtain the media file to be displayed, Send the media file to be displayed to a display interface for display.
- the size stretching operation on the to-be-displayed media file according to the interface size it further includes: performing a rendering operation on the size-stretched to-be-displayed media file , to obtain the target media file.
- a media file processing device including:
- An acquisition module configured to acquire a media file to be displayed, and determine a display size corresponding to the media file to be displayed;
- An adjustment module configured to perform a size stretching operation on the media file to be displayed according to the interface size to obtain a target media file if it is determined that the display size is smaller than the interface size of the front-end display interface;
- a display module configured to send the target media file to the display interface for display.
- the adjustment module is configured to: perform a size stretching operation on the media file to be displayed in a linear interpolation manner according to the interface size.
- the adjustment module is configured to: stretch the display size of the media file to be displayed to be consistent with the interface size, so as to obtain the target media file.
- the obtaining module is configured to: use a preset output rendering interface to call the original rendering buffer interface; receive the media file to be displayed output by the original rendering buffer interface, wherein the The output rendering interface is created with opengl.
- the display module is configured to: send the target media file to the preset new rendering buffer area; send a notification message to the terminal device, so that the preset front-end player Acquiring the media file to be displayed from the newly created rendering buffer area, performing a rendering operation and displaying it.
- the device further includes: a sending module, further configured to send the media file to be displayed to the terminal device for display.
- the device further includes: an instruction acquisition module, configured to acquire a media file playback instruction, where the media file playback instruction includes a version identifier of the terminal device; a judging module, configured to The version identification judges whether the terminal device meets the preset size stretching condition; the processing module is used to obtain the media file to be displayed if it is satisfied, and determine the corresponding display size of the media file to be displayed; the processing module, It is also used to acquire the media file to be displayed if not satisfied, and send the media file to be displayed to the display interface for display.
- an instruction acquisition module configured to acquire a media file playback instruction, where the media file playback instruction includes a version identifier of the terminal device
- a judging module configured to The version identification judges whether the terminal device meets the preset size stretching condition
- the processing module is used to obtain the media file to be displayed if it is satisfied, and determine the corresponding display size of the media file to be displayed
- the processing module It is also used to acquire the media file to be displayed if not satisfied, and send the media
- the device further includes: a rendering module, configured to perform a rendering operation on the media file to be displayed after its size has been stretched, to obtain the target media file.
- a rendering module configured to perform a rendering operation on the media file to be displayed after its size has been stretched, to obtain the target media file.
- an electronic device including: at least one processor and a memory;
- the memory stores computer-executable instructions
- the at least one processor executes the computer-executed instructions stored in the memory, so that the at least one processor executes the media file processing method described in the above first aspect and various possible designs of the first aspect.
- a computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, Realize the media file processing method described in the first aspect and various possible designs of the first aspect.
- a computer program product including a computer program.
- the computer program When the computer program is executed by a processor, the above first aspect and various possibilities of the first aspect can be realized.
- the design of the media file processing method When the computer program is executed by a processor, the above first aspect and various possibilities of the first aspect can be realized.
- a computer program is provided.
- the computer program When the computer program is executed by a processor, it realizes the above-mentioned first aspect and various possible designs of the first aspect.
- Media file processing method When the computer program is executed by a processor, it realizes the above-mentioned first aspect and various possible designs of the first aspect.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本公开实施例提供一种媒体文件处理方法、装置、设备、可读存储介质及产品,该方法包括:获取待显示的媒体文件,并确定所述待显示的媒体文件对应的显示尺寸;若确定所述显示尺寸小于前端显示界面的界面尺寸,则根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作,获得目标媒体文件;将所述目标媒体文件发送至所述显示界面进行显示。由于该目标媒体文件的显示尺寸与界面尺寸相同,因此,在显示之前无需对其再进行一次拉伸,从而能够有效地避免该媒体文件采用临近差值的方式拉伸造成的摩尔纹的问题,提高用户的观看体验。
Description
本申请要求于2021年06月30日提交中国专利局、申请号为202110734240.4、申请名称为“媒体文件处理方法、装置、设备、可读存储介质及产品”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本公开实施例涉及图像处理技术领域,尤其涉及一种媒体文件处理方法、装置、电子设备、可读存储介质、计算机程序产品及计算机程序。
随着终端设备及网络的发展,短视频应用软件逐渐走进用户的生活。而为了使用户观看到更加贴合个人喜好的视频,现有的短视频应用软件一般都选择使用大数据的方式分析用户喜好,并向用户推送与其兴趣相关的视频信息。
由于待播放的视频的尺寸可能与播放视频的终端设备的显示尺寸有所不同,因此,为了实现短视频的正常播放,一般都采用终端设备内设置的textureview控件对短视频进行拉伸操作。该控件在Android系统某些版本上,一般采用临近差值对短视频进行拉伸操作,并显示拉伸后的短视频。
但是,终端设备采用上述方法进行视频拉伸可能会导致视频产生摩尔纹,影响用户的观看体验。
发明内容
本公开实施例提供一种媒体文件处理方法、装置、电子设备、可读存储介质、计算机程序产品及计算机程序,以解决现有的视频拉伸方法会导致视频出现摩尔纹的技术问题。
第一方面,本公开实施例提供一种媒体文件处理方法,包括:
获取待显示的媒体文件,并确定所述待显示的媒体文件对应的显示尺寸;
若确定所述显示尺寸小于前端显示界面的界面尺寸,则根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作,获得目标媒体文件;
将所述目标媒体文件发送至所述显示界面进行显示。
第二方面,本公开实施例提供一种媒体文件处理设备,包括:
获取模块,用于获取待显示的媒体文件,并确定所述待显示的媒体文件对应的显示尺寸;
调整模块,用于若确定所述显示尺寸小于前端显示界面的界面尺寸,则根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作,获得目标媒体文件;
显示模块,用于将所述目标媒体文件发送至所述显示界面进行显示。
第三方面,本公开实施例提供一种电子设备,包括:至少一个处理器和存储器;
所述存储器存储计算机执行指令;
所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第一方面以及第一方面各种可能的设计所述的媒体文件处理方法。
第四方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计所述的媒体文件处理方法。
第五方面,本公开实施例提供一种计算机程序产品,其特征在于,包括计算机程序,所述计算机程序在被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的媒体文件处理方法。
第六方面,本公开实施例提供了一种计算机程序,所述计算机程序在被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的媒体文件处理方法。
本实施例提供的媒体文件处理方法、装置、设备、可读存储介质及产品,该方法通过在获取到待显示的媒体文件之后,首先确定待显示的媒体文件对应的显示尺寸,当检测到当前媒体文件的显示尺寸小于该前端显示界面的界面尺寸时,根据该界面尺寸对媒体文件进行离屏拉伸操作,将拉伸后的目标媒体文件发送至显示界面进行显示。由于该目标媒体文件的显示尺寸与界面尺寸相同,因此,在显示之前无需对其再进行一次拉伸,从而能够有效地避免该媒体文件采用临近差值的方式拉伸造成的摩尔纹的问题,提高用户的观看体验。
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本公开的 一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例一提供的媒体文件处理方法的流程示意图;
图2为现有技术中的媒体文件拉伸装置的结构示意图;
图3为本公开实施例提供的媒体文件处理装置的结构示意图;
图4为本公开实施例二提供的媒体文件处理方法的流程示意图;
图5为本公开实施例所基于的一种系统架构示意图;
图6为本公开实施例三提供的媒体文件处理装置的结构示意图;
图7为本公开实施例四提供的电子设备的结构示意图。
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
针对上述提及的现有的视频拉伸方法会导致视频出现摩尔纹的技术问题,本公开提供了一种媒体文件处理方法、装置、设备、可读存储介质及产品。
需要说明的是,本公开提供媒体文件处理方法、装置、设备、可读存储介质及产品可运用在各种媒体文件拉伸与显示的场景中。
安卓8.0以上的操作系统在对媒体文件进行显示时,若检测到媒体文件的显示尺寸与显示界面尺寸不同时,采用临近差值的方式对该媒体文件进行拉伸操作。但是,临近差值的拉伸方式在对媒体文件进行放大等查看方式时,会出现摩尔纹、马赛克等现象,导致用户观看体验较差。
在解决上述技术问题的过程中,发明人通过研究发现,为了避免临近差值导致的摩尔纹现象,在获取到媒体文件,将媒体文件发送至前端播放器进行拉伸以及播放之前,可以设置一离屏拉伸模块,该离屏拉伸模块可以预先对媒体文件进行拉伸操作,使得拉伸后的媒体文件的显示尺寸与前端显示界面的尺寸一致,从而能够避免前端播放器采用临近差值的方式对媒体文件进行拉伸操作。从而前端播放器播放的媒体文件不会出现摩尔纹的问题,提高用户体验。
图1为本公开实施例一提供的媒体文件处理方法的流程示意图,如图1所示,该方法包括:
步骤101、获取待显示的媒体文件,并确定所述待显示的媒体文件对应的显示尺寸。
本实施例的执行主体为媒体文件处理装置,该媒体文件处理装置可耦合于终端设备中,从而能够在将媒体文件发送至显示界面进行播放显示之前,对媒体文件进行拉伸操作。
可选地,该媒体文件装置还可以耦合于服务器中,该服务器能够与多个终端设备通信连接,从而能够在显示界面播放显示媒体文件之前,对终端设备待显示的媒体文件进行拉伸操作。
实际应用,由于媒体文件的显示尺寸与前端显示界面的显示尺寸有所不同,因此,在对媒体文件进行显示之前,需要对媒体文件进行拉伸操作,使其与前端显示界面保持相同的尺寸。举例来说,媒体文件的显示尺寸可以为480*480,而显示界面的显示尺寸可以为1080*1080,二者的尺寸有所不同,因此,需要将媒体文件由480*480拉伸至1080*1080。
在本实施方式中,在获取到待显示的媒体文件之后,首先可以确定该待显示的媒体文件的显示尺寸。从而后续可以根据该显示尺寸与前端显示界面的显示尺寸进行比较,以确定二者是否相同。
可选地,若二者尺寸不相同,则需要对待显示的媒体文件进行拉伸操作,反之,则可以直接对该待显示的媒体文件进行显示操作。
步骤102、若确定所述显示尺寸小于前端显示界面的界面尺寸,则根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作,获得目标媒体文件。
在本实施方式中,若检测到显示尺寸小于前端显示界面的显示尺寸,则需要对该待显示的媒体文件进行拉伸操作。
具体地,区别于现有技术中由系统直接采用临近差值进行拉伸的方案,为了避免拉伸后的媒体文件出现摩尔纹的现象,可以在该待显示的媒体文件显示之前,预先对该待显示的媒体文件进行尺寸拉伸操作,获得目标媒体文件。
步骤103、将所述目标媒体文件发送至所述显示界面进行显示。
在本实施方式中,在对待显示的媒体文件进行尺寸拉伸,获得目标媒体文件之后,可以将该目标媒体文件发送至显示界面进行显示。由于该目标媒体文件已经完成尺寸 拉伸操作,从而前端无需再采用临近差值的方式对其拉伸,从而能够有效地避免摩尔纹的现象出现。
进一步地,在实施例一的基础上,步骤102中根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作,具体包括:
根据所述界面尺寸,采用线性插值的方式对所述待显示的媒体文件进行尺寸拉伸操作。
在本实施例中,为了进一步地避免由于临近差值造成的摩尔纹的问题,在对目标媒体文件进行离屏拉伸的过程中,具体可以采用线性差值的方式对目标媒体文件进行拉伸操作。
进一步地,在实施例一的基础上,步骤102之后,还包括:
对尺寸拉伸后的待显示的媒体文件进行渲染操作,获得所述目标媒体文件。
在本实施例中,在对待显示的媒体文件进行尺寸拉伸之后,还可以进一步地对待显示的媒体文件进行渲染操作,获得该目标媒体文件。
本实施例提供的媒体文件处理方法,该方法通过在获取到待显示的媒体文件之后,首先确定待显示的媒体文件对应的显示尺寸,当检测到当前媒体文件的显示尺寸小于该前端显示界面的界面尺寸时,根据该界面尺寸采用线性插值的方式对媒体文件进行离屏拉伸操作,将拉伸后的目标媒体文件发送至显示界面进行显示。由于该目标媒体文件的显示尺寸与界面尺寸相同,因此,在显示之前无需对其再进行一次拉伸,从而能够有效地避免该媒体文件采用临近差值的方式拉伸造成的摩尔纹的问题,提高用户的观看体验。
进一步地,在实施例一的基础上,步骤102具体包括:
将所述待显示的媒体文件的显示尺寸拉伸至与界面尺寸一致,获得目标媒体文件。
在本实施例中,为了提高媒体文件的显示效果,在对待显示的媒体文件进行尺寸拉伸时,可以将待显示的媒体文件的显示尺寸拉伸至与界面尺寸一致,获得目标媒体文件。从而目标媒体文件的显示尺寸能够与界面尺寸相匹配,达到最佳的显示效果,提高用户体验。
进一步地,在实施例一的基础上,步骤101具体包括:
采用预设的输出渲染接口调用原始渲染缓存区接口。
接收原始渲染缓存区接口输出的待显示的媒体文件,其中,所述输出渲染接口采用opengl创建。
在本实施例中,为了避免由于临近差值导致的摩尔纹的问题,可以在将媒体文件发送至播放器进行显示之前,采用离屏的方式采用临近差值方法对该媒体文件进行拉伸操作。具体地,可以建立一输出渲染接口,该输出渲染接口可以与原始渲染缓存区接口相连接。从而在获取待显示的媒体文件时,可以采用该输出渲染接口调用原始渲染缓存区接口,获取原始渲染缓存区接口输出的待显示的媒体文件。
其中,该输出渲染接口具体可以采用opengl创建。
进一步地,在实施例一的基础上,步骤103具体包括:
将所述目标媒体文件发送至预设的新建渲染缓存区。
向终端设备发送通知消息,以使预设的前端播放器从所述新建渲染缓存区获取所述待显示媒体文件进行渲染操作并显示。
在本实施例中,为了实现对拉伸后的目标媒体文件的渲染操作,还可以新建一个新建渲染缓存区,用于对拉伸后的目标媒体文件进行暂时缓存操作。具体地,可以将目标媒体文件发送至预设的新建渲染缓存区。并可以向终端设备发送通知消息,以使预设的前端播放器从新建渲染缓存区获取待显示媒体文件进行渲染操作并显示。
图2为现有技术中的媒体文件拉伸装置的结构示意图,如图2所示,在获取到媒体文件缓存区接口21输出的媒体文件之后,即将该媒体文件发送至播放器22进行显示。由播放器22采用预设的临近差值方法进行媒体文件的拉伸操作。
区别于现有技术中提供的媒体文件拉伸装置的结构,为了避免由于临近差值导致的摩尔纹的问题,可以在将媒体文件发送至播放器进行显示之前,采用离屏的方式采用临近差值方法对该媒体文件进行拉伸操作,获得与前端显示界面的界面尺寸一致的目标媒体文件,将目标媒体文件发送至前端播放器进行显示。从而前端播放器无需对该媒体文件进行拉伸操作。
图3为本公开实施例提供的媒体文件处理装置的结构示意图,如图3所示,为了实现对待显示的媒体文件的离屏渲染操作,可以创建输出渲染接口31,该输出渲染接口31能够接收原始渲染缓存区接口32输出的待显示的媒体文件。通过预设的离屏渲染模块33建立离屏渲染线程,对该待显示的媒体文件进行线性拉伸操作,获得目标媒体文件。离屏渲染模块33可以将目标媒体文件发送至预设的新建渲染缓存区34,从而终端设备能够从该新建渲染缓存区34获取该目标媒体文件进行显示。
可选地,现有的媒体文件显示过程中,前端播放器在使用原始渲染缓存区接口时,可能该原始渲染缓存区接口已经被释放,因此,会导致前端播放器崩溃,无法进行媒体文件的正常播放,导致用户体验较差。
而采用上述方法,通过建立输出渲染接口调用原始渲染缓存区接口进行数据的获取,由于该新建的输出渲染接口以及新建渲染缓存区不会被释放,因此,前端播放器始终有一个渲染缓存区可以使用,因此,能够避免媒体文件播放过程崩溃的问题。
本实施例提供的媒体文件处理方法,通过新建输出渲染接口以及新建渲染缓存区,从而能够实现对待显示的媒体文件的离屏拉伸操作,并且能够有效地避免播放器与原始缓存渲染区异步释放导致的前端播放器崩溃的技术问题,提高媒体文件的显示效果,提高用户体验。
进一步地,在实施例一的基础上,步骤102之后,还包括:
若确定所述显示尺寸等于前端显示界面的界面尺寸,则将所述待显示的媒体文件发送至所述终端设备进行显示。
在本实施例中,可以根据待显示的媒体文件的显示尺寸与前端显示界面的显示尺寸进行比较,以确定二者是否相同。若检测到二者尺寸相同,则可以直接对该待显示的媒体文件进行显示操作。避免对该待显示的媒体文件的拉伸操作,从而能够提高媒体文件的显示效率,进一步地提高用户体验。
图4为本公开实施例二提供的媒体文件处理方法的流程示意图,在实施例一的基础上,如图4所示,步骤101之前,还包括:
步骤401、获取媒体文件播放指令,所述媒体文件播放指令中包括终端设备的版本标识。
步骤402、根据所述版本标识判断所述终端设备是否满足预设的尺寸拉伸条件。
步骤403、若满足,则获取待显示的媒体文件,并确定所述待显示的媒体文件对应显示尺寸。
步骤404、若不满足,则获取待显示的媒体文件,将所述待显示的媒体文件发送至显示界面进行显示。
在本实施例中,该媒体文件处理装置可以耦合于服务器中,该服务器能够与多个终端设备通信连接。从而能够对多个终端设备的媒体文件播放指令进行处理。
图5为本公开实施例所基于的一种系统架构示意图,如图5所示,本公开所基于的系统架构至少包括服务器51与终端设备52,其中,服务器51中设置有媒体文件处 理装置。该媒体文件处理装置可采用C/C++、Java、Shell或Python等语言编写;终端设备1则可例如台式电脑、平板电脑等。
基于上述系统架构,媒体文件处理装置可以获取媒体文件播放指令,其中,该媒体文件播放指令中包括终端设备的版本标识。由于安卓8.0以上版本采用临近差值对媒体文件进行尺寸拉伸操作,为了避免拉伸后出现摩尔纹,需要进行离屏拉伸操作。而安卓8.0以下的版本,则采用的线性插值,不会出现摩尔纹的问题。因此,在获取到媒体文件播放指令之后,可以首先根据该版本标识判断所述终端设备是否满足预设的尺寸拉伸条件。
当满足预设的尺寸拉伸条件,即该版本标识为8.0以上版本时,则需要确定待显示的媒体文件对应显示尺寸,根据显示尺寸进行尺寸拉伸操作。
反之,若不满足预设的尺寸拉伸条件,即该版本标识为8.0以下版本时,可以直接将待显示的媒体文件发送至显示界面进行显示,无需进行尺寸拉伸操作。
本实施例提供的媒体文件处理方法,通过确定版本标识判断终端设备是否满足预设的尺寸拉伸条件,根据判断结果进行相应处理,从而能够精准地对媒体文件进行尺寸拉伸操作,提高媒体文件的显示效率。
图6为本公开实施例三提供的媒体文件处理装置的结构示意图,如图6所示,该装置包括:获取模块61、调整模块62以及显示模块63。其中,获取模块61,用于获取待显示的媒体文件,并确定所述待显示的媒体文件对应的显示尺寸。调整模块62,用于若确定所述显示尺寸小于前端显示界面的界面尺寸,则根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作,获得目标媒体文件。显示模块63,用于将所述目标媒体文件发送至所述显示界面进行显示。
进一步地,在实施例三的基础上,所述调整模块用于:根据所述界面尺寸,采用线性插值的方式对所述待显示的媒体文件进行尺寸拉伸操作。
进一步地,在实施例三的基础上,所述调整模块用于:将所述待显示的媒体文件的显示尺寸拉伸至与界面尺寸一致,获得目标媒体文件。
进一步地,在实施例三的基础上,所述获取模块用于:采用预设的输出渲染接口调用原始渲染缓存区接口;接收原始渲染缓存区接口输出的待显示的媒体文件,其中,所述输出渲染接口采用opengl创建。
进一步地,在实施例三的基础上,所述显示模块,用于:将所述目标媒体文件发送至预设的新建渲染缓存区;向终端设备发送通知消息,以使预设的前端播放器从所述新建渲染缓存区获取所述待显示媒体文件进行渲染操作并显示。
进一步地,在实施例三的基础上,所述装置还包括:发送模块,还用于若确定所述显示尺寸等于前端显示界面的界面尺寸,则将所述待显示的媒体文件发送至所述终端设备进行显示。
进一步地,在实施例三的基础上,所述装置还包括:指令获取模块、判断模块、处理模块以及处理模块。其中,指令获取模块,用于获取媒体文件播放指令,所述媒体文件播放指令中包括终端设备的版本标识。判断模块,用于根据所述版本标识判断所述终端设备是否满足预设的尺寸拉伸条件。处理模块,用于若满足,则获取待显示的媒体文件,并确定所述待显示的媒体文件对应显示尺寸。处理模块,还用于若不满足,则获取待显示的媒体文件,将所述待显示的媒体文件发送至显示界面进行显示。
进一步地,在实施例三的基础上,所述装置还包括:渲染模块,用于对尺寸拉伸后的待显示的媒体文件进行渲染操作,获得所述目标媒体文件。
本公开又一实施例还提供了一种电子设备,包括:至少一个处理器和存储器;
所述存储器存储计算机执行指令;
所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上述任一实施例所述的媒体文件处理方法。
本公开又一实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上述任一实施例所述的媒体文件处理方法。
本公开又一实施例还提供了一种计算机程序产品,其特征在于,包括计算机程序,所述计算机程序在被处理器执行时实现如上述任一实施例所述的媒体文件处理方法。
本实施例提供的设备,可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,本实施例此处不再赘述。
图7为本公开实施例四提供的电子设备的结构示意图,如图7所示,其示出了适于用来实现本公开实施例的电子设备700的结构示意图,该电子设备700可以为终端设备或服务器。其中,终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,简称PDA)、平板电脑(Portable Android Device,简称PAD)、便携式多媒体播放器(Portable Media Player,简称PMP)、 车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图9示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图9所示,电子设备700可以包括处理装置(例如中央处理器、图形处理器等)701,其可以根据存储在只读存储器(Read Only Memory,简称ROM)702中的程序或者从存储装置708加载到随机访问存储器(Random Access Memory,简称RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有电子设备700操作所需的各种程序和数据。处理装置701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。
通常,以下装置可以连接至I/O接口705:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置706;包括例如液晶显示器(Liquid Crystal Display,简称LCD)、扬声器、振动器等的输出装置707;包括例如磁带、硬盘等的存储装置708;以及通信装置709。通信装置709可以允许电子设备700与其他设备进行无线或有线通信以交换数据。虽然图9示出了具有各种装置的电子设备700,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置709从网络上被下载和安装,或者从存储装置708被安装,或者从ROM 702被安装。在该计算机程序被处理装置701执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,简称EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(Portable Compact Disk Read-Only Memory,简称CD-ROM)、光存储器件、磁存储器件、或者上述的任意合 适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,简称RF))等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述实施例所示的方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,简称LAN)或广域网(Wide Area Network,简称WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框 图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、专用标准产品(Application Specific Standard Product,简称ASSP)、片上系统(System-on-a-chip,简称SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,简称CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
第一方面,根据本公开的一个或多个实施例,提供了一种媒体文件处理方法,包括:
获取待显示的媒体文件,并确定所述待显示的媒体文件对应的显示尺寸;
若确定所述显示尺寸小于前端显示界面的界面尺寸,则根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作,获得目标媒体文件;
将所述目标媒体文件发送至所述显示界面进行显示。
根据本公开的一个或多个实施例,所述根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作,包括:根据所述界面尺寸,采用线性插值的方式对所述待显示的媒体文件进行尺寸拉伸操作。
根据本公开的一个或多个实施例,所述根据所述界面尺寸采用线性插值的方式对所述待显示的媒体文件进行尺寸拉伸操作,包括:将所述待显示的媒体文件的显示尺寸拉伸至与界面尺寸一致,获得目标媒体文件。
根据本公开的一个或多个实施例,所述获取待显示的媒体文件,包括:采用预设的输出渲染接口调用原始渲染缓存区接口;接收原始渲染缓存区接口输出的待显示的媒体文件,其中,所述输出渲染接口采用opengl创建。
根据本公开的一个或多个实施例,所述将所述目标媒体文件发送至所述显示界面进行显示,包括:将所述目标媒体文件发送至预设的新建渲染缓存区;向终端设备发送通知消息,以使预设的前端播放器从所述新建渲染缓存区获取所述待显示媒体文件进行渲染操作并显示。
根据本公开的一个或多个实施例,所述获取待显示的媒体文件,并确定所述待显示的媒体文件对应的显示尺寸之后,还包括:若确定所述显示尺寸等于前端显示界面的界面尺寸,则将所述待显示的媒体文件发送至所述终端设备进行显示。
根据本公开的一个或多个实施例,所述获取待显示的媒体文件之前,还包括:获取媒体文件播放指令,所述媒体文件播放指令中包括终端设备的版本标识;根据所述版本标识判断所述终端设备是否满足预设的尺寸拉伸条件;若满足,则获取待显示的媒体文件,并确定所述待显示的媒体文件对应显示尺寸;若不满足,则获取待显示的媒体文件,将所述待显示的媒体文件发送至显示界面进行显示。
根据本公开的一个或多个实施例,所述根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作之后,还包括:对尺寸拉伸后的待显示的媒体文件进行渲染操作,获得所述目标媒体文件。
第二方面,根据本公开的一个或多个实施例,提供了一种媒体文件处理装置,包括:
获取模块,用于获取待显示的媒体文件,并确定所述待显示的媒体文件对应的显示尺寸;
调整模块,用于若确定所述显示尺寸小于前端显示界面的界面尺寸,则根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作,获得目标媒体文件;
显示模块,用于将所述目标媒体文件发送至所述显示界面进行显示。
根据本公开的一个或多个实施例,所述调整模块用于:根据所述界面尺寸,采用线性插值的方式对所述待显示的媒体文件进行尺寸拉伸操作。
根据本公开的一个或多个实施例,所述调整模块用于:将所述待显示的媒体文件的显示尺寸拉伸至与界面尺寸一致,获得目标媒体文件。
根据本公开的一个或多个实施例,所述获取模块用于:采用预设的输出渲染接口调用原始渲染缓存区接口;接收原始渲染缓存区接口输出的待显示的媒体文件,其中,所述输出渲染接口采用opengl创建。
根据本公开的一个或多个实施例,所述显示模块,用于:将所述目标媒体文件发送至预设的新建渲染缓存区;向终端设备发送通知消息,以使预设的前端播放器从所述新建渲染缓存区获取所述待显示媒体文件进行渲染操作并显示。
根据本公开的一个或多个实施例,所述装置还包括:发送模块,还用于若确定所述显示尺寸等于前端显示界面的界面尺寸,则将所述待显示的媒体文件发送至所述终端设备进行显示。
根据本公开的一个或多个实施例,所述装置还包括:指令获取模块,用于获取媒体文件播放指令,所述媒体文件播放指令中包括终端设备的版本标识;判断模块,用于根据所述版本标识判断所述终端设备是否满足预设的尺寸拉伸条件;处理模块,用于若满足,则获取待显示的媒体文件,并确定所述待显示的媒体文件对应显示尺寸;处理模块,还用于若不满足,则获取待显示的媒体文件,将所述待显示的媒体文件发送至显示界面进行显示。
根据本公开的一个或多个实施例,所述装置还包括:渲染模块,用于对尺寸拉伸后的待显示的媒体文件进行渲染操作,获得所述目标媒体文件。
第三方面,根据本公开的一个或多个实施例,提供了一种电子设备,包括:至少一个处理器和存储器;
所述存储器存储计算机执行指令;
所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第一方面以及第一方面各种可能的设计所述的媒体文件处理方法。
第四方面,根据本公开的一个或多个实施例,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计所述的媒体文件处理方法。
第五方面,根据本公开的一个或多个实施例,提供了一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时,实现如上第一方面以及第一方面各种可能的设计所述的媒体文件处理方法。
第六方面,根据本公开的一个或多个实施例,提供了一种计算机程序,所述计算机程序在被处理器执行时,实现如上第一方面以及第一方面各种可能的设计所述的媒体文件处理方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。
Claims (13)
- 一种媒体文件处理方法,其特征在于,包括:获取待显示的媒体文件,并确定所述待显示的媒体文件对应的显示尺寸;若确定所述显示尺寸小于前端显示界面的界面尺寸,则根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作,获得目标媒体文件;将所述目标媒体文件发送至所述显示界面进行显示。
- 根据权利要求1所述的方法,其特征在于,所述根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作,包括:根据所述界面尺寸,采用线性插值的方式对所述待显示的媒体文件进行尺寸拉伸操作。
- 根据权利要求1或2所述的方法,其特征在于,所述根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作,包括:将所述待显示的媒体文件的显示尺寸拉伸至与界面尺寸一致,获得目标媒体文件。
- 根据权利要求1-3任一项所述的方法,其特征在于,所述获取待显示的媒体文件,包括:采用预设的输出渲染接口调用原始渲染缓存区接口;接收原始渲染缓存区接口输出的待显示的媒体文件,其中,所述输出渲染接口采用opengl创建。
- 根据权利要求1-4任一项所述的方法,其特征在于,所述将所述目标媒体文件发送至所述显示界面进行显示,包括:将所述目标媒体文件发送至预设的新建渲染缓存区;向终端设备发送通知消息,以使预设的前端播放器从所述新建渲染缓存区获取所述待显示媒体文件进行渲染操作并显示。
- 根据权利要求1-5任一项所述的方法,其特征在于,所述获取待显示的媒体文件,并确定所述待显示的媒体文件对应的显示尺寸之后,还包括:若确定所述显示尺寸等于前端显示界面的界面尺寸,则将所述待显示的媒体文件发送至所述终端设备进行显示。
- 根据权利要求1-6任一项所述的方法,其特征在于,所述获取待显示的媒体文件之前,还包括:获取媒体文件播放指令,所述媒体文件播放指令中包括终端设备的版本标识;根据所述版本标识判断所述终端设备是否满足预设的尺寸拉伸条件;若满足,则获取待显示的媒体文件,并确定所述待显示的媒体文件对应显示尺寸;若不满足,则获取待显示的媒体文件,将所述待显示的媒体文件发送至显示界面进行显示。
- 根据权利要求1-7任一项所述的方法,其特征在于,所述根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作之后,还包括:对尺寸拉伸后的待显示的媒体文件进行渲染操作,获得所述目标媒体文件。
- 一种媒体文件处理装置,其特征在于,包括:获取模块,用于获取待显示的媒体文件,并确定所述待显示的媒体文件对应的显示尺寸;调整模块,用于若确定所述显示尺寸小于前端显示界面的界面尺寸,则根据所述界面尺寸对所述待显示的媒体文件进行尺寸拉伸操作,获得目标媒体文件;显示模块,用于将所述目标媒体文件发送至所述显示界面进行显示。
- 一种电子设备,其特征在于,包括:至少一个处理器和存储器;所述存储器存储计算机执行指令;所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如权利要求1-8任一项所述的媒体文件处理方法。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如权利要求1-8任一项所述的媒体文件处理方法。
- 一种计算机程序产品,其特征在于,包括计算机程序,所述计算机程序在被处理器执行时实现根据权利要求1-8任一项所述的媒体文件处理方法。
- 一种计算机程序,其特征在于,所述计算机程序在被处理器执行时实现根据权利要求1-8任一项所述的媒体文件处理方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US18/566,333 US20240256204A1 (en) | 2021-06-30 | 2022-05-07 | Method, apparatus, device, readable storage medium and product for media file processing |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110734240.4 | 2021-06-30 | ||
CN202110734240.4A CN113535105B (zh) | 2021-06-30 | 2021-06-30 | 媒体文件处理方法、装置、设备、可读存储介质及产品 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023273615A1 true WO2023273615A1 (zh) | 2023-01-05 |
Family
ID=78097307
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/091565 WO2023273615A1 (zh) | 2021-06-30 | 2022-05-07 | 媒体文件处理方法、装置、设备、可读存储介质及产品 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20240256204A1 (zh) |
CN (1) | CN113535105B (zh) |
WO (1) | WO2023273615A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113535105B (zh) * | 2021-06-30 | 2023-03-21 | 北京字跳网络技术有限公司 | 媒体文件处理方法、装置、设备、可读存储介质及产品 |
CN113986426B (zh) * | 2021-10-26 | 2024-04-09 | 腾讯科技(深圳)有限公司 | 图像检测方法、装置、可读介质及电子设备 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002108323A (ja) * | 2000-09-29 | 2002-04-10 | Casio Comput Co Ltd | 情報端末装置及び記憶媒体 |
CN109164994A (zh) * | 2018-06-28 | 2019-01-08 | 努比亚技术有限公司 | 基于智能穿戴设备的显示方法、智能穿戴设备及存储介质 |
CN111159447A (zh) * | 2019-12-27 | 2020-05-15 | 海南简族信息技术有限公司 | 一种图片展示方法、装置、设备及计算机可读存储介质 |
CN111611043A (zh) * | 2020-05-23 | 2020-09-01 | 中南大学 | 图像显示方法、装置、电子设备和计算机可读存储介质 |
CN112738541A (zh) * | 2020-12-25 | 2021-04-30 | 北京字节跳动网络技术有限公司 | 画面显示方法、装置及电子设备 |
CN113015021A (zh) * | 2021-03-12 | 2021-06-22 | 腾讯科技(深圳)有限公司 | 云游戏的实现方法、装置、介质及电子设备 |
CN113535105A (zh) * | 2021-06-30 | 2021-10-22 | 北京字跳网络技术有限公司 | 媒体文件处理方法、装置、设备、可读存储介质及产品 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008028334A1 (en) * | 2006-09-01 | 2008-03-13 | Thomson Licensing | Method and device for adaptive video presentation |
CN101261865B (zh) * | 2007-04-20 | 2012-07-04 | 炬力集成电路设计有限公司 | 媒体电子文件的制作方法、装置及其播放设备及方法 |
US9928751B2 (en) * | 2012-06-29 | 2018-03-27 | Apple Inc. | Generic media covers |
CN109218802B (zh) * | 2018-08-23 | 2020-09-22 | Oppo广东移动通信有限公司 | 视频处理方法、装置、电子设备及计算机可读介质 |
CN110223232A (zh) * | 2019-06-06 | 2019-09-10 | 电子科技大学 | 一种基于双线性插值算法的视频图像放大方法 |
CN111562895B (zh) * | 2020-03-25 | 2023-09-22 | 抖音视界有限公司 | 多媒体信息的展示方法、装置以及电子设备 |
CN111580765B (zh) * | 2020-04-27 | 2024-01-12 | Oppo广东移动通信有限公司 | 投屏方法、投屏装置、存储介质、被投屏设备与投屏设备 |
CN112328193A (zh) * | 2020-09-09 | 2021-02-05 | 深圳Tcl新技术有限公司 | 多终端屏幕组合方法、装置、设备和计算机存储介质 |
-
2021
- 2021-06-30 CN CN202110734240.4A patent/CN113535105B/zh active Active
-
2022
- 2022-05-07 US US18/566,333 patent/US20240256204A1/en active Pending
- 2022-05-07 WO PCT/CN2022/091565 patent/WO2023273615A1/zh active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002108323A (ja) * | 2000-09-29 | 2002-04-10 | Casio Comput Co Ltd | 情報端末装置及び記憶媒体 |
CN109164994A (zh) * | 2018-06-28 | 2019-01-08 | 努比亚技术有限公司 | 基于智能穿戴设备的显示方法、智能穿戴设备及存储介质 |
CN111159447A (zh) * | 2019-12-27 | 2020-05-15 | 海南简族信息技术有限公司 | 一种图片展示方法、装置、设备及计算机可读存储介质 |
CN111611043A (zh) * | 2020-05-23 | 2020-09-01 | 中南大学 | 图像显示方法、装置、电子设备和计算机可读存储介质 |
CN112738541A (zh) * | 2020-12-25 | 2021-04-30 | 北京字节跳动网络技术有限公司 | 画面显示方法、装置及电子设备 |
CN113015021A (zh) * | 2021-03-12 | 2021-06-22 | 腾讯科技(深圳)有限公司 | 云游戏的实现方法、装置、介质及电子设备 |
CN113535105A (zh) * | 2021-06-30 | 2021-10-22 | 北京字跳网络技术有限公司 | 媒体文件处理方法、装置、设备、可读存储介质及产品 |
Also Published As
Publication number | Publication date |
---|---|
CN113535105B (zh) | 2023-03-21 |
CN113535105A (zh) | 2021-10-22 |
US20240256204A1 (en) | 2024-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020233142A1 (zh) | 多媒体文件播放方法、装置、电子设备和存储介质 | |
US12068006B2 (en) | Video processing method and apparatus, electronic device, and computer readable storage medium | |
WO2020082870A1 (zh) | 即时视频显示方法、装置、终端设备及存储介质 | |
WO2020133373A1 (zh) | 视频处理方法、装置、电子设备及计算机可读存储介质 | |
WO2023273615A1 (zh) | 媒体文件处理方法、装置、设备、可读存储介质及产品 | |
WO2020253453A1 (zh) | 图像切换方法、装置、电子设备及存储介质 | |
WO2021135626A1 (zh) | 菜单项选择方法、装置、可读介质及电子设备 | |
US11711441B2 (en) | Method and apparatus for publishing video synchronously, electronic device, and readable storage medium | |
WO2023284437A1 (zh) | 媒体文件处理方法、装置、设备、可读存储介质及产品 | |
WO2023279914A1 (zh) | 控件编辑方法、装置、设备、可读存储介质及产品 | |
CN109168027B (zh) | 即时视频展示方法、装置、终端设备及存储介质 | |
CN109618216B (zh) | 显示视频加载状态标识的方法、装置、设备及存储介质 | |
WO2023134559A1 (zh) | 评论提示方法、装置、电子设备、存储介质和程序产品 | |
US11880919B2 (en) | Sticker processing method and apparatus | |
US12041379B2 (en) | Image special effect processing method, apparatus, and electronic device, and computer-readable storage medium | |
WO2022242482A1 (zh) | 播放控制方法、设备、存储介质及程序产品 | |
US20230421857A1 (en) | Video-based information displaying method and apparatus, device and medium | |
CN116132569A (zh) | 媒体播放方法及设备 | |
CN110022493B (zh) | 播放进度显示方法、装置、电子设备和存储介质 | |
WO2023072280A1 (zh) | 媒体内容发送方法、装置、设备、可读存储介质及产品 | |
CN111240758A (zh) | 素材展示方法、装置、电子设备及存储介质 | |
WO2022237810A1 (zh) | 信息的显示方法、装置、电子设备及程序产品 | |
CN114187169B (zh) | 视频特效包的生成方法、装置、设备及存储介质 | |
CN113747226B (zh) | 视频展示方法、装置、电子设备及存储介质 | |
CN109547851A (zh) | 视频播放方法、装置及电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22831442 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 18566333 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/04/2024) |