CN111625165B - Media file processing method, device, terminal and storage medium - Google Patents

Media file processing method, device, terminal and storage medium Download PDF

Info

Publication number
CN111625165B
CN111625165B CN201910153429.7A CN201910153429A CN111625165B CN 111625165 B CN111625165 B CN 111625165B CN 201910153429 A CN201910153429 A CN 201910153429A CN 111625165 B CN111625165 B CN 111625165B
Authority
CN
China
Prior art keywords
media file
page
component
preview
trigger event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910153429.7A
Other languages
Chinese (zh)
Other versions
CN111625165A (en
Inventor
刘元龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910153429.7A priority Critical patent/CN111625165B/en
Publication of CN111625165A publication Critical patent/CN111625165A/en
Application granted granted Critical
Publication of CN111625165B publication Critical patent/CN111625165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The embodiment of the disclosure provides a media file processing method, a media file processing device, a terminal and a storage medium. Wherein the method comprises the following steps: receiving a first trigger event for an upload component in a first page of a media application; in response to the first trigger event, presenting a second page, and loading at least one of the following components in the second page: a first preview control component for a media file; an album list selection component for the media file; a capture component for capturing the media file; a confirmation component for confirming uploading the media file; receiving, by a component loaded in the second page, an upload event for the media file; in response to the upload event, executing instructions to upload the media file.

Description

Media file processing method, device, terminal and storage medium
Technical Field
The present disclosure relates to network media technologies, and in particular, to a method, an apparatus, a terminal, and a storage medium for processing a media file.
Background
With the continuous development of communication infrastructure, the speed of network communication is continuously increased, so that media files in various forms, particularly videos, are widely spread in the network. At present, a video file can be uploaded to a server through video software installed in a terminal, so that the video file can be shared.
However, in the process of implementing the present disclosure, the inventor finds that the process of uploading video files in the related art needs a user to perform multiple operations one by one, and each operation needs to jump to a first-level page separately, so that the user operation path is increased, which causes a relatively complicated process for uploading video files by the user, thereby affecting the efficiency of uploading video files by the user.
Disclosure of Invention
In order to solve the foregoing technical problem, embodiments of the present disclosure provide a method, an apparatus, a terminal, and a storage medium for processing a media file.
In order to achieve the above purpose, the technical solution of the embodiment of the present disclosure is implemented as follows:
in a first aspect, an embodiment of the present disclosure provides a method for processing a media file, where the method includes:
receiving a first trigger event for an upload component in a first page of a media application;
in response to the first trigger event, presenting a second page, and loading at least one of the following components in the second page: a first preview control component for a media file; an album list selection component for the media file; a capture component for capturing the media file; a confirmation component for confirming uploading the media file;
receiving, by a component loaded in the second page, an upload event for the media file;
in response to the upload event, executing instructions to upload the media file.
In the foregoing solution, the presenting a second page in response to the first trigger event includes:
in response to the first trigger event, rendering at least a portion of the display area transition of the first page as the second page.
In the above solution, the rendering, in response to the first trigger event, at least part of the display area of the first page as the second page in a transition manner includes:
in response to the first trigger event, displaying the first page to slide from one end to the other end, so that the display interface of the media application is transitorily presented as the second page from at least a partial display area of the first page.
In the above scheme, the album list selecting component, the photographing component and the confirming component of the media file are arranged at the bottom of the display area of the second page.
In the above scheme, the method further comprises:
receiving a first trigger operation of the album list selection component, determining that the media file selected from the album list is identified as the media file to be uploaded according to the first trigger operation,
or receiving a second trigger operation on the shooting component, and determining the media file shot by the shooting component as a media file to be uploaded according to the second trigger operation;
the media file to be uploaded is transmitted to the first preview control component, and preview presentation is carried out on the media file to be uploaded through the first preview control component;
the receiving, by the component loaded in the second page, an upload event for the media file includes:
when the media file to be uploaded is confirmed, a third page used for uploading the media file to be uploaded is presented according to a third trigger operation of the confirmation component, and an uploading event aiming at the media file is received through the third page.
In the above scheme, the method further comprises:
receiving a second trigger event for the confirmation component in the second page;
in response to the second trigger event, rendering at least a portion of the display area transition of the second page as a third page;
wherein the page elements of the third page include at least one of:
a first preview area of the media file;
an information editing area of the media file;
a control component associated with the media file.
In the above solution, the control component related to the media file includes a publishing component for publishing the media file, and the publishing component is disposed at the bottom of the display area of the third page.
In the above solution, the first preview area of the media file includes a second preview control component, and the size of the first preview control component is larger than the size of the second preview control component.
In the above solution, the first preview control component loaded in the second page is located in a second preview area of the media file;
the first preview area and the second preview area are adapted at the same position of the respective page.
In the above solution, the control component related to the media file includes a cover selecting component for selecting cover data of the media file;
the method further comprises the following steps:
receiving a third trigger event for the selected cover component in the third page;
and responding to the third trigger event, and setting corresponding cover data for the media file.
In the foregoing solution, the setting, in response to the third trigger event, corresponding cover data for the media file includes:
in response to the third trigger event, sliding an information editing area displaying the media file from one end of the current position to the other end, so that at least part of a display area of the third page is in transition presentation as a fourth page; and the number of the first and second groups,
loading a component related to cover data for selecting the media file in the fourth page;
and setting corresponding cover data for the media file through the component related to the cover data for selecting the media file.
In the above scheme, the method further comprises:
loading a third preview control component of the media file in the fourth page;
wherein the third preview control component is larger in size than the second preview control component.
In the above solution, the component related to selecting cover data of the media file comprises a media file time axis control component;
the setting of corresponding cover data for the media file by the component related to the cover data for selecting the media file includes:
receiving a fourth trigger event for the media file timeline control component in the fourth page;
and determining a corresponding media file frame in the media file at the time point triggered by the fourth trigger event as cover data of the media file.
In the above solution, the component related to selecting the cover data of the media file is disposed at the bottom of the display area of the fourth page.
In the above scheme, the method further comprises:
returning from the fourth page to the third page by a component associated with selecting cover data for the media file after setting corresponding cover data for the media file.
In a second aspect, an embodiment of the present disclosure further provides a device for processing a media file, including:
a receiving unit, configured to receive a first trigger event for an upload component in a first page of a media application;
the presentation unit is used for responding to the first trigger event and presenting a second page;
a loading unit, configured to load at least one of the following components in the second page: a first preview control component for a media file; an album list selection component for the media file; a capture component for capturing the media file; a confirmation component for confirming uploading the media file;
the receiving unit is further configured to receive, through the component loaded in the second page, an upload event for the media file;
and the uploading unit is used for responding to the uploading event and executing the instruction of uploading the media file.
In a third aspect, an embodiment of the present disclosure further provides a terminal, including:
a memory for storing executable instructions;
and the processor is used for realizing the media file processing method provided by the embodiment of the disclosure when the executable instruction is executed.
In a fourth aspect, the present disclosure also provides a storage medium storing executable instructions, where the executable instructions are used to implement the media file processing method provided in the present disclosure.
The application of the above embodiment of the present disclosure has the following beneficial effects:
by applying the method, the device, the terminal and the storage medium for processing the media file provided by the embodiment of the disclosure, because the first preview control component, the album list selection component, the shooting component and the confirmation component of the media file are deployed on the same page, namely the second page, the uploading event aiming at the media file can be received through the component loaded in the second page, and then the instruction for uploading the media file is executed in response to the uploading event, so that the step relation of uploading the media file can be weakened, the operation path of a user is reduced, the uploading efficiency of the media file is greatly improved, and the user experience is effectively improved.
Drawings
FIG. 1 is a schematic diagram of an alternative architecture of a media file processing system according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an alternative hardware structure of a terminal according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an alternative functional structure of a media file processing device according to an embodiment of the disclosure;
fig. 4 is a schematic diagram illustrating an alternative implementation flow of a media file processing method according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram showing a terminal coordinate system establishment manner adopted by a vertical terminal;
fig. 6 is a schematic diagram showing a terminal coordinate system establishment manner adopted by a lateral terminal;
fig. 7 is a schematic diagram illustrating another alternative implementation flow of a media file processing method according to an embodiment of the disclosure;
fig. 8 is an alternative interaction flow diagram for uploading a video according to an embodiment of the present disclosure.
Detailed Description
For the purpose of making the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be described in further detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present disclosure, and all other embodiments obtained by a person of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present disclosure.
It should be noted that in the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In addition, in the embodiments of the present disclosure, the terms "include", "include" or any other variations thereof are intended to cover non-exclusive inclusion, so that a method or apparatus including a series of elements includes not only the elements explicitly recited, but also other elements not explicitly listed, or also includes elements inherent to the implementation of the method or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other related elements in a method or apparatus including the element (e.g., steps in a method or elements in an apparatus, such as units that may be part of a circuit, part of a processor, part of a program or software, etc.).
For example, the media file processing method provided by the embodiment of the present disclosure includes a series of steps, but the media file processing method provided by the embodiment of the present disclosure is not limited to the described steps, and similarly, the media file processing apparatus provided by the embodiment of the present disclosure includes a series of units, but the apparatus provided by the embodiment of the present disclosure is not limited to include the explicitly described units, and may also include units that are required to obtain relevant information or perform processing based on the information.
Before the present disclosure is explained in further detail, terms and expressions referred to in the embodiments of the present disclosure are explained, and unless otherwise defined, all technical and scientific terms used in the embodiments of the present disclosure have the same meaning as commonly understood by one of ordinary skill in the art to which the embodiments of the present disclosure belong.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure, and the terminology and the phraseology related to the embodiments of the present disclosure is for the purpose of explanation as follows.
1) Media files, media available in the internet in various forms (e.g., video, audio, teletext, etc.) such as video files presented in a client, articles including teletext forms, etc.
2) The component is a graphical interface element for human-computer interaction, and comprises a basic component and a container, wherein the basic component is also called a component, such as a graphical interface element like a button and a text box; a container is a relatively special component that can hold other basic components, such as windows, dialog boxes, etc.
3) In response to the condition or state on which the performed operation depends, one or more of the performed operations may be in real-time or may have a set delay when the dependent condition or state is satisfied; there is no restriction on the order of execution of the operations performed unless otherwise specified.
An exemplary application of a system implementing embodiments of the present disclosure is described below. Fig. 1 is an alternative architecture diagram of a media file processing system 100 provided by an embodiment of the present disclosure, referring to fig. 1, in order to implement an exemplary application supported by the present disclosure, a terminal 400 (an exemplary terminal 400-1 and a terminal 400-2 are shown) is connected to a server 200 through a network 300, where the network 300 may be a wide area network or a local area network, or a combination of the two, and data transmission is implemented using a wireless link.
In some embodiments, a terminal 400 for receiving a first trigger event for an upload component in a first page of a media application; in response to the first trigger event, presenting a second page, and loading at least one of the following components in the second page: a first preview control component for a media file; an album list selection component for the media file; a capture component for capturing the media file; a confirmation component for confirming uploading the media file; receiving, by a component loaded in the second page, an upload event for the media file; in response to the upload event, executing an instruction to upload the media file to enable uploading of the media file to the server 200;
and the server 200 is configured to receive the media file uploaded by the terminal 400, so as to implement sharing of the uploaded media file.
The terminal 400 is further configured to display various components used in the uploading process of the media file through a graphical interface 410 (an exemplary graphical interface 410-1 and a graphical interface 410-2) of the client, for example, display an uploading component, a shooting component, and the like.
Next, a media file processing apparatus provided in an embodiment of the present disclosure will be described. In practical applications, the processing device for media files provided by the embodiments of the present disclosure may be implemented in hardware or a combination of hardware and software, and various exemplary implementations of the processing device for media files provided by the embodiments of the present disclosure are described below.
The hardware structure of the media file processing device according to the embodiment of the present disclosure is described in detail below, and it is understood that fig. 2 only shows an exemplary structure of the media file processing device, and not a whole structure, and a part of or the whole structure shown in fig. 2 may be implemented as needed. The media file processing device provided by the embodiment of the disclosure can be implemented as various types of user terminals such as a smart phone.
Referring to fig. 2, fig. 2 is a schematic diagram of an alternative hardware structure of a terminal 200 according to an embodiment of the present disclosure. The terminal 200 may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a Digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Android Device (PMP), a Portable Media Player (PMP), a car terminal (e.g., car navigation terminal), etc., and a fixed terminal such as a Digital Television (TV), a desktop computer, etc. The terminal 200 shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 2, the terminal 200 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 201 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 202 or a program loaded from a storage device 208 into a Random Access Memory (RAM) 203. In the RAM203, various programs and data necessary for the operation of the terminal 200 are also stored. The processing device 201, the ROM202, and the RAM203 are connected to each other via a bus 204. An Input/Output (I/O) interface 205 is also connected to bus 204.
Generally, the following devices may be connected to the I/O interface 205: input devices 206 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 207 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 208 including, for example, magnetic tape, hard disk, etc.; and a communication device 209. The communication means 209 may allow the terminal 200 to perform wireless or wired communication with other devices to exchange data. While fig. 2 illustrates a terminal 200 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, the processes described by the provided flowcharts may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 209, or installed from the storage means 208, or installed from the ROM 202. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing apparatus 201.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a RAM, a ROM, an Erasable Programmable Read-Only Memory (EPROM, Erasable Programmable Read-Only-Memory (EPROM-Only) or flash Memory), an optical fiber, a portable Compact Disc Read-Only-Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the disclosed embodiments, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the disclosed embodiments, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
The computer readable medium may be included in the terminal 200; or may exist separately and not be assembled into the terminal 200.
The computer readable medium carries one or more programs, which when executed by the terminal 200, cause the terminal 200 to execute the media file processing method provided by the embodiments of the present disclosure.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. 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. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of Network, including a Local Area Network (LAN) and a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures provided by the disclosed embodiments illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, 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 the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units and/or modules described in the embodiments of the present disclosure may be implemented by software or hardware.
As a hardware manner, the units and/or modules of the terminal 200 implementing the embodiments of the present disclosure may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components, and are used to execute the processing method for implementing the media files provided by the embodiments of the present disclosure.
For a software approach, the units and/or modules of the processing device that implement the media files of the embodiments of the present disclosure may be implemented by two or more units and/or modules.
The functional implementation of the units and/or modules of the media file processing apparatus of the embodiments of the present disclosure is exemplified below.
Fig. 3 is a schematic diagram of an optional functional structure of a media file processing apparatus provided in an embodiment of the present disclosure, the apparatus is disposed on a client of a terminal, and referring to fig. 3, the media file processing apparatus 300 includes a receiving unit 301, a presenting unit 302, a loading unit 303, and an uploading unit 304, which are described below separately.
A receiving unit 301, configured to receive a first trigger event for an upload component in a first page of a media application;
a presenting unit 302, configured to present a second page in response to the first trigger event;
a loading unit 303, configured to load at least one of the following components in the second page: a first preview control component for a media file; an album list selection component for the media file; a capture component for capturing the media file; a confirmation component for confirming uploading the media file;
a receiving unit 301, configured to receive, through a component loaded in the second page, an upload event for the media file;
an upload unit 304, configured to execute an instruction to upload the media file in response to the upload event.
Here, in actual application, the album list selecting component, the shooting component and the confirming component of the media file are arranged at the bottom of the display area of the second page, so that the user can operate the album list selecting component, the shooting component and the confirming component quickly, and the operation cost of the user is saved.
In some embodiments, for the presenting unit 302 to present the second page in response to the first trigger event, the following may be implemented: in response to the first trigger event, rendering at least a portion of the display area transition of the first page as the second page.
In some embodiments, for the presenting unit 302 to transition-present at least a part of the display area of the first page as the second page in response to the first trigger event, the following may be implemented:
in response to the first trigger event, displaying the first page to slide from one end to the other end, so that the display interface of the media application is transitorily presented as the second page from at least a partial display area of the first page.
In some embodiments, the receiving unit 301 is further configured to receive a first trigger operation on the album list selection component;
the device further comprises: the determining unit is used for determining the media file identifier selected from the album list as the media file to be uploaded according to the first triggering operation;
or, the receiving unit 301 is further configured to receive a second trigger operation on the shooting component;
the determining unit is further configured to determine, according to the second trigger operation, that the media file shot by the shooting component is a media file to be uploaded;
the device further comprises: the sending unit is used for transmitting the media file to be uploaded to the first preview control component;
the presenting unit 302 is further configured to perform preview presentation on the media file to be uploaded through the first preview control component.
In some embodiments, for the receiving unit 301 to receive the upload event for the media file through the component loaded in the second page, the following may be implemented: when the media file to be uploaded is confirmed, a third page used for uploading the media file to be uploaded is presented according to a third trigger operation of the confirmation component, and an uploading event aiming at the media file is received through the third page.
In some embodiments, the receiving unit 301 is further configured to receive a second trigger event for the confirmation component in the second page;
the presenting unit 302 is further configured to, in response to the second trigger event, transition and present at least a part of the display area of the second page to a third page;
wherein the page elements of the third page include at least one of:
a first preview area of the media file;
an information editing area of the media file;
a control component associated with the media file.
Here, in an actual application, the control component related to the media file may include a publishing component for publishing the media file, and the publishing component is disposed at the bottom of the display area of the third page, so that a user may operate the control component quickly and conveniently, and the cost of the user operation is saved.
When the media file previewing method is actually applied, the first previewing area of the media file comprises a second previewing control component, wherein the size of the first previewing control component is larger than that of the second previewing control component.
In some embodiments, the first preview control component loaded in the second page is located within a second preview area of the media file;
the first preview area and the second preview area are adapted at the same position of the respective page.
In some embodiments, the control component associated with the media file comprises a select cover component for selecting cover data for the media file;
the receiving unit 301 is further configured to receive a third trigger event for the cover selection component in the third page;
the device further comprises: and the setting unit is used for setting corresponding cover data for the media file in response to the third trigger event.
In some embodiments, for the setting unit to set the corresponding cover data for the media file in response to the third triggering event, the following may be implemented:
in response to the third trigger event, sliding an information editing area displaying the media file from one end of the current position to the other end, so that at least part of a display area of the third page is in transition presentation as a fourth page; and the number of the first and second groups,
loading a component related to cover data for selecting the media file in the fourth page;
and setting corresponding cover data for the media file through the component related to the cover data for selecting the media file.
In some embodiments, the loading unit 303 is further configured to load a third preview control component of the media file in the fourth page;
wherein the third preview control component is larger in size than the second preview control component.
In some embodiments, the component related to selecting cover data for the media file comprises a media file timeline control component;
for the setting unit to set the corresponding cover data for the media file through the component related to the cover data for selecting the media file, the following may be implemented: receiving a fourth trigger event for the media file timeline control component in the fourth page;
and determining a corresponding media file frame in the media file at the time point triggered by the fourth trigger event as cover data of the media file.
Here, in practical application, the component related to the cover data of the selected media file is disposed at the bottom of the display area of the fourth page, so that the user can operate the component quickly and conveniently, and the operation cost of the user is saved.
In some embodiments, the apparatus further comprises: and the returning unit is used for returning from the fourth page to the third page through a component related to the cover data of the selected media file after the corresponding cover data is set for the media file by the setting unit.
It should be noted that the above-mentioned classification of units does not constitute a limitation of the terminal itself, for example, some units may be split into two or more sub-units, or some units may be combined into a new unit.
It should also be noted that the names of the above units do not in some cases form a limitation on the units themselves, for example, the above presenting unit 302 may also be described as a unit for "presenting a second page in response to the first triggering event".
For the same reason, elements and/or modules not described in detail in the terminal do not represent defaults of the corresponding elements and/or modules, and all operations performed by the terminal may be implemented by the corresponding elements and/or modules in the terminal.
So far, the media file processing apparatus according to the embodiment of the present disclosure has been described according to its functions, and based on the optional hardware structure of the terminal and the optional functional structure of the media file processing apparatus, the media file processing method according to the embodiment of the present disclosure will be described with reference to the drawings.
Fig. 4 is a schematic diagram of an optional implementation flow of the media file processing method provided in the embodiment of the present disclosure, and referring to fig. 4, the implementation flow of the media file processing method provided in the embodiment of the present disclosure may include the following steps:
step S401: a first trigger event for an upload component is received in a first page of a media application.
Here, the first page may be a personal home page of media information in the media application, the personal home page of media information including at least one of: a setup service associated with the media application, historical behavior data of the user, and attribute information of the user. Setting services related to the media application comprise service items such as 'order management', 'i want to start playing'; the historical behavior data of the user comprises media files watched by the user in history, media files cached offline and the like; the attribute information of the user comprises an account name of the user, image information of the user, personalized signature information of the user and the like.
In some embodiments, before performing the receiving of the first trigger event for the upload component in the first page of the media application in this step S401, the method further comprises: an upload component is loaded in a first page of a media application.
In actual implementation, when the media application is a video application, the uploading component is an initial component for the user to upload the video through the first page of the client. Here, the first trigger event may include an operation event such as clicking, sliding, and the like, where the clicking operation includes a single-click operation or a double-click operation, and the like. Specifically, for example, when the first trigger event is a click operation event, the first trigger event for the upload component in the first page is actually a click operation on the upload component, and the second page is presented by the click operation on the upload component.
Step S402: and presenting a second page in response to the first trigger event.
In some embodiments, for presenting the second page in response to the first trigger event in step S402, the following may be implemented: in response to the first trigger event, rendering at least a portion of the display area transition of the first page as the second page.
In some embodiments, when the first page is a personal home page of media information in the media application, the following may be implemented for presenting a second page in response to the first triggering event in step S402: transitioning presentation of the second page from presenting at least a portion of the display area of the personal home page in response to a first triggering event for the upload component received in the personal home page.
In some embodiments, transition rendering of at least a portion of the display area of the first page as the second page in response to the first triggering event may be accomplished by: in response to the first trigger event, displaying the first page to slide from one end to the other end, so that the display interface of the media application is transitorily presented as the second page from at least a partial display area of the first page.
In some embodiments, when the first page is a personal home page of media information in the media application, transition from presenting at least a portion of a display area of the personal home page to presenting the second page in response to a first triggering event for the upload component received in the personal home page may be implemented by: in response to a first triggering event for the upload component received in the personal home page, displaying the personal home page to slide from end to end such that a display interface of the media application transitions from presenting at least a portion of a display area of the personal home page to presenting as the second page.
Here, by responding to the first trigger event, displaying the sliding-out of the first page in the display area and the sliding-in of the second page in the display area, the second page may completely or partially cover the first page, that is, it may be understood that the second page is covered on the first page as an image layer, so as to implement transition from the first page to the second page.
It should be noted that the sliding out of the first page and the sliding in of the second page may be synchronous or asynchronous, the area moved in by the second page may be identical to or different from the area moved out by the first page, for example, the area moved in by the second page may occupy the area moved out by the first page, and the two may match in size.
Here, displaying the first page to slide from one end to the other end may include displaying the first page to slide from the bottom to the top, and may also include displaying the first page to slide from the right side to the left side.
It should be noted that the terminal according to the embodiment of the present disclosure may be provided with a sensor such as a gravitational acceleration sensor and a three-axis gyroscope, and a coordinate system is established in the terminal including the sensor, where the coordinate system of the terminal may be established in a manner that: setting a display interface of the terminal as an x-y plane, wherein the center of gravity of the terminal is a coordinate origin, the positive half shaft of the x axis points to the right of the terminal, the coordinate axis perpendicular to the x axis on the plane of the terminal is the y axis, and the positive half shaft of the y axis points to the upper part of the terminal. For example, referring to fig. 5, fig. 5 is a schematic diagram showing a terminal coordinate system establishment manner adopted by a terminal in a vertical direction, and similarly, referring to fig. 6, fig. 6 is a schematic diagram showing a terminal coordinate system establishment manner adopted by a terminal in a horizontal direction.
Here, the bottom of the page may be understood as any region located below the x-axis, the top of the page may be understood as any region located above the x-axis, the right side of the page may be understood as any region located to the right of the y-axis, and the left side of the page may be understood as any region located to the left of the y-axis. That is, the first page is displayed to slide in a direction from bottom to top, in effect, along the positive half axis of the y-axis.
Step S403: loading at least one of the following components in the second page: a first preview control component for a media file; an album list selection component for the media file; a capture component for capturing the media file; a validation component for validating the uploading of the media file.
Here, in actual implementation, the album list selecting component, the shooting component and the confirming component of the media file are arranged at the bottom of the display area of the second page, so that the user can operate the album list selecting component, the shooting component and the confirming component quickly and conveniently, and the operation cost of the user is saved.
In actual application, the components loaded in the second page may further include a closing component, where the closing component is configured to control closing of the second page.
Here, the first preview control component of the media file is located in a second preview area of the media file, and the second preview area may preview a default media file, such as a first frame media file in an album list, or set a media file to be previewed according to a requirement, and preview the media file set according to the requirement through the second preview area. Therefore, the previewing of the media file to be uploaded can be realized through the triggering operation, such as clicking operation, of the first preview control component.
In some embodiments, the method further comprises: receiving a second trigger event for the confirmation component in the second page; in response to the second trigger event, rendering at least a portion of the display area transition of the second page as a third page;
wherein the page elements of the third page include at least one of:
a first preview area of the media file;
an information editing area of the media file;
a control component associated with the media file.
Here, the first preview area of the media file includes a second preview control component, the first preview control component being larger in size than the second preview control component. And in response to the second trigger event, transitionally presenting at least part of the display area of the second page as a third page, in other words, in response to the second trigger event received by the second page for the confirmation component, displaying sliding-out of the second page in the display area and sliding-in of the third page in the display area. At this time, compared with the size of the second preview area, the size of the first preview area of the media file in the third page in which the preview control component is slid into becomes smaller, and since the preview control component is located in the corresponding preview area, the size of the preview control component also becomes smaller as the size of the preview area becomes smaller, and the size variation trend of the preview area may be the same as or different from the size variation trend of the preview control component, which is not limited herein. The second trigger event may include a click, a slide, and other operation events.
It should be noted that the sliding out of the second page and the sliding in of the third page may be synchronous or asynchronous, the area into which the third page moves may be identical to the area out of the second page, or may be different, for example, the area into which the third page moves may occupy the area out of the second page, and the two may match in size.
Here, the information editing area of the media file is an area for editing the media file, and for example, a title of the media file or a content of the media file may be set in the information editing area of the media file, so that more users can pay attention to the media file, and the sharing degree of the media file is improved.
Here, the control component related to the media file may include a publishing component for publishing the media file, and a cover selecting component for selecting cover data of the media file.
In practical implementation, the publishing component can be arranged at the bottom of the display area of the third page, so that the user can operate conveniently and quickly, and the operation cost of the user is saved.
Here, it should be noted that, in actual application, the first preview control component loaded in the second page is located in a second preview area of the media file; the first preview area and the second preview area are adapted at the same position of the respective page. In some embodiments, the first preview area and the second preview area are adapted to the upper half of the corresponding page, and the upper half of the page may be distinguished by the terminal coordinate system establishment manner shown in fig. 5 or fig. 6, which is not described herein again.
Here, because the components related to the page and needing to receive the user input are all arranged at the bottom of the display area of the corresponding page, the first preview area and the second preview area are adapted to the upper half part of the corresponding page, so that the preview space of the media file can be increased, the visual perception of the user is improved, and the user can conveniently and quickly operate the media file.
In some embodiments, the method further comprises: receiving a third trigger event for the selected cover component in the third page; and responding to the third trigger event, and setting corresponding cover data for the media file.
In some embodiments, for setting corresponding cover data for the media file in response to the third triggering event, the following may be implemented: in response to the third trigger event, sliding an information editing area displaying the media file from one end of the current position to the other end, so that at least part of a display area of the third page is in transition presentation as a fourth page; and the number of the first and second groups,
loading a component related to cover data for selecting the media file in the fourth page;
and setting corresponding cover data for the media file through the component related to the cover data for selecting the media file.
Here, by responding to a third trigger event received by the third page for the cover selecting component, displaying sliding-out of the third page in the display area and sliding-in of the fourth page in the display area, the fourth page may completely or partially cover the third page, that is, the fourth page may be understood as being covered on the third page as an image layer, so as to implement transition presentation from at least a part of the display area of the third page as the fourth page.
It should be noted that the third page may be shifted out synchronously or asynchronously with the fourth page, and the area shifted in by the fourth page may coincide with the area shifted out by the third page or may be different, for example, the area shifted in by the fourth page may occupy the area shifted out by the third page and the two may match in size. The third trigger event may include a click, a slide, and other operation events.
Here, the sliding of the information editing region displaying the media file from one end to the other end of the current position may include sliding of the information editing region displaying the media file from the bottom to the top of the page, and the like. In practical implementation, the component related to the cover data of the selected media file can be arranged at the bottom of the display area of the fourth page, so that the user can operate the media file conveniently and quickly, and the operation cost of the user is saved.
Here, the components related to selecting cover data of the media file may include a media file timeline control component, a component for confirming completion of setting of cover data, a component for canceling setting of cover data, and a cover data selection manner control component.
In some embodiments, the component related to selecting cover data of the media file is a media file time axis control component, and for setting corresponding cover data for the media file through the component related to selecting cover data of the media file, the following may be implemented: receiving a fourth trigger event for the media file timeline control component in the fourth page;
and determining a corresponding media file frame in the media file at the time point triggered by the fourth trigger event as cover data of the media file.
Here, the fourth trigger event may include an operation event such as clicking, sliding, and the like. The time point triggered by the fourth trigger event may be a time point of the media file currently being played in a time axis of the media file, or may also be a time point of the media file being decoded, which is not limited herein. The media file time axis comprises cover data of all media files which can be selected through a media file intercepting mode.
In some embodiments, the method further comprises: returning from the fourth page to the third page by a component associated with selecting cover data for the media file after setting corresponding cover data for the media file.
That is to say, after the corresponding cover data is set for the media file, the display interface of the terminal can be returned to the third page from the fourth page by the triggering operation of the component for confirming that the cover data setting is completed, that is, the display interface of the terminal is presented as the third page from the fourth page in a transition manner. And then, responding to the trigger operation aiming at the publishing component used for publishing the media file received in the third page, and completing the whole uploading process of the media file.
In some embodiments, when loading the component related to selecting cover data of the media file in the fourth page, the method may further include: loading a third preview control component of the media file in the fourth page;
wherein the third preview control component is larger in size than the second preview control component.
Here, since the component related to selecting the cover data of the media file is disposed at the bottom of the display area of the fourth page, the third preview control component of the media file is adapted to the upper half of the fourth page, which not only increases the preview space of the media file and improves the visual perception of the user, but also facilitates the user to operate quickly.
Step S404: receiving, by the loaded component in the second page, an upload event for the media file.
In some embodiments, before the receiving the upload event for the media file by the component loaded in the second page in the step S404, the method may further include:
receiving a first trigger operation of the album list selection component, and determining that the media file identifier selected from the album list is the media file to be uploaded according to the first trigger operation;
the media file to be uploaded is transmitted to the first preview control component, and preview presentation is carried out on the media file to be uploaded through the first preview control component;
or receiving a second trigger operation on the shooting component, and determining the media file shot by the shooting component as a media file to be uploaded according to the second trigger operation;
and transmitting the media file to be uploaded to the first preview control component, and previewing and presenting the media file to be uploaded through the first preview control component.
That is to say, the embodiment of the present disclosure may select the media file to be uploaded from the album list, and when the media file stored in the album list does not meet the user requirement, the user-defined media file may also be shot by the shooting component as needed. It can be seen that, in the embodiment of the present disclosure, the terminal selects the media file to be uploaded through the two components (i.e., the album list selecting component and the shooting component), and after selecting the determined media file to be uploaded, the media file to be uploaded is automatically transferred to the first preview control component located on the same page, and the media file to be uploaded can be presented in the preview area corresponding to the preview control component on the same page without performing additional triggering operations or skipping between pages, so that the operation path can be shortened, and processing resources can be saved.
In some embodiments, for receiving an upload event for the media file by a component loaded in the second page, the following may be implemented: when the media file to be uploaded is confirmed, a third page used for uploading the media file to be uploaded is presented according to a third trigger operation of the confirmation component, and an uploading event aiming at the media file is received through the third page.
Step S405: in response to the upload event, executing instructions to upload the media file.
Here, a publishing component for publishing the media file is loaded in the third page. And receiving an uploading event aiming at the media file through the third page, namely receiving a triggering operation aiming at the publishing component in the third page, and executing an instruction of uploading the media file according to the triggering operation aiming at the publishing component so as to finish the uploading process of the media file. In the process of uploading the media file, each interactive component does not need to be independently provided with a page, but the front and the back components needing information interaction are arranged in the same page, the selection result of the component used for selecting the media file is transmitted to the preview component used for presenting the media information by establishing an information channel between the components, and the selection and the preview of the media file are simultaneously realized in the same page.
The following is a detailed description of the media file processing method provided by the embodiment of the present disclosure. Referring to fig. 7, fig. 7 is a schematic diagram illustrating another alternative implementation flow of the media file processing method provided in the embodiment of the present disclosure, and a specific implementation process of the media file processing method provided in the embodiment of the present disclosure is described below with reference to the steps shown in fig. 7.
Step S701: a first trigger event for an upload component is received in a first page of a media application.
Step S702: in response to a first trigger event, the first page is displayed to slide from one end to the other end, so that the display interface of the media application is transitorily presented as a second page from at least a part of the display area of the first page.
Here, the first page may be a personal home page of media information in the media application, and the specific implementation of step S702 may include: in response to a first triggering event for the upload component received in the personal home page, displaying the personal home page to slide from end to end such that a display interface of the media application transitions from presenting at least a portion of a display area of the personal home page to presenting as the second page.
Step S703: loading at least one of the following components in the second page: a first preview control component for a media file; an album list selection component for media files; a capture component for capturing media files; a validation component for validating the uploaded media file.
Here, in actual implementation, the album list selecting component, the shooting component and the confirming component of the media file are arranged at the bottom of the display area of the second page, so that the user can operate the album list selecting component, the shooting component and the confirming component quickly and conveniently, and the operation cost of the user is saved.
Step S704: the method includes receiving a second trigger event for a confirmation component in a second page, in response to the second trigger event, rendering at least a portion of a display area of the second page transitively as a third page, and loading a cover selection component in the third page for selecting cover data of a media file.
Here, the page elements of the third page include at least one of: a first preview area of the media file; an information editing area of the media file; a control component associated with the media file. The first preview area of the media file includes a second preview control component, the first preview control component being larger in size than the second preview control component.
Here, the control component related to the media file may include a publishing component for publishing the media file, and a cover selecting component for selecting cover data of the media file. In practical implementation, the publishing component can be arranged at the bottom of the display area of the third page, so that the user can operate conveniently and quickly, and the operation cost of the user is saved.
Step S705: a third trigger event for the selected cover component is received in a third page.
Step S706: in response to a third triggering event, displaying the third page to slide from one end to the other end, causing at least a portion of the display area of the third page to transition to a fourth page, and loading a component in the fourth page related to cover data of the selected media file.
Here, the components related to selecting cover data of the media file may include a media file timeline control component, a component for confirming completion of setting of cover data, a component for canceling setting of cover data, and a cover data selection manner control component.
In some embodiments, when loading the component related to cover data of the selected media file in the fourth page, the method may further include: loading a third preview control component of the media file in the fourth page;
wherein the third preview control component is larger in size than the second preview control component.
Here, since the component related to selecting the cover data of the media file is disposed at the bottom of the display area of the fourth page, the third preview control component of the media file is adapted to the upper half of the fourth page, which not only increases the preview space of the media file and improves the visual perception of the user, but also facilitates the user to operate quickly.
Step S707: and receiving a fourth trigger event aiming at the media file time axis control component in a fourth page, and determining a corresponding media file frame in the media file at the time point triggered by the fourth trigger event as cover data of the media file.
Step S708: returning from the fourth page to the third page by a component related to cover data of the selected media file, receiving an upload event for the media file through the third page, and executing an instruction to upload the media file in response to the upload event.
Here, in actual implementation, because the continuity of transition presentation between different pages is considered, the time delay of the component for receiving the trigger operation by the terminal is avoided, therefore, in a series of pages displayed after an initial component in the trigger terminal, i.e., an upload component, the related components required to receive user input are all arranged at the bottom of the display area of the corresponding page, which not only facilitates the user to operate quickly and saves the cost of user operation, but also ensures the continuity of transition presentation between pages.
It should be noted that the specific processing procedure of the terminal has been described in detail above, and is not described herein again.
The following describes the processing method of the media file provided by the embodiment of the present disclosure in further detail with reference to the application embodiment.
Next, taking a media file as a video file and a media application of a client as a video application as an example, a processing method of the media file in the embodiment of the present disclosure is described, fig. 8 is an alternative interaction flow diagram of uploading a video provided in the embodiment of the present disclosure, referring to fig. 8, first, a user triggers an "upload video" component in a service item "my" through an a page of the video application, and after receiving a trigger operation for the "upload video" component, according to the trigger operation for the "upload video" component, an a page is displayed to slide from one end to the other end (for example, slide from the bottom to the top of the a page), and a B page is displayed; in other words, the sliding out of the a page in the display area and the sliding in of the B page in the display area are displayed. At the moment, the display interface of the terminal is in transition from at least part of the display area of the page A to be presented as a page B; the page structure of the page B sequentially comprises from top to bottom: a close component, a first preview control component of video 8-1, a capture component 8-2 (capture video), an album list selection component 8-3, and a confirmation component for confirming upload of video 8-4 (a component marked with a "√" inside a circle).
Next, the user triggers the confirmation component through the B page, and after the B page of the terminal receives a trigger operation for the confirmation component, the B page is displayed to slide from one end to the other end (for example, slide in a direction from the bottom to the top of the B page), and a transition is made from presenting the B page to presenting the C page. In page C, the preview control area is reduced in size compared to the preview control area of page B, and the cover appears as the "select cover" component 8-6, while the information editing area of the video appears sliding up from the bottom of page B. The page structure of the C page sequentially comprises from top to bottom: a second preview control component 8-5 of the video, a "select cover" component for selecting cover data of the video, an information editing area of the video, and a "distribution" component 8-7 for distributing the video, and the like.
Next, the user triggers the "cover selection" component through the C page, and after the C page of the terminal receives a trigger operation for the "cover selection" component, the C page is displayed to slide from one end to the other end (for example, slide in a direction from the bottom to the top of the C page), and transition from presenting the C page to presenting the D-1 page. A third preview control component 8-8 which loads a video in the D-1 page, a video timeline control component 8-9, a component for confirming that the cover data setting is completed (a component marked with a "√" symbol), a component for canceling the cover data setting (a component marked with an "x"), a cover data selection manner control component (a video clip 8-10 or an album import 8-11). After the D-1 page of the terminal receives a trigger operation for the video timeline control component (for example, sliding the video timeline control component from one end to the other end, for example, sliding left and right), the corresponding video frame in the video at the time point triggered by the trigger operation is set as cover data of the video, so as to select the cover data of the video file. Of course, after the D-1 page of the terminal receives the trigger operation aiming at 'album import', the D-1 page is transited to the D-2 page from presentation, and the cover data of the video file is selected from the album list. Similarly, a component for confirming completion of setting of cover data (a component marked with "√" numeral), a component for canceling setting of cover data (a component marked with "×"), and a cover data selection mode control component (video capture or album import) are loaded in the D-2 page.
Assuming that after cover data is set for a video file by means of video capture, a D-1 page of a terminal receives a trigger operation for a component (component marked with a square root) for confirming that the cover data setting is completed, and returns from a presentation D-1 page to a presentation C page; at this time, the size of the preview area in the C page will become smaller than that in the D-1 page, while the information editing area of the video will move upward from the D-1 page. And editing the video file in the information editing area of the video in the C page, and completing the uploading process of the video file by triggering the 'release' component loaded in the C page.
An embodiment of the present disclosure further provides a terminal, where the terminal includes:
a memory for storing executable instructions;
and the processor is used for realizing the media file processing method provided by the embodiment of the disclosure when the executable instruction is executed.
In an exemplary embodiment, the present disclosure also provides a storage medium storing executable instructions, and when the executable instructions are executed, the storage medium is used for implementing the above media file processing method provided by the present disclosure.
Here, the storage medium, i.e., the computer storage medium, may be embodied as a computer-readable storage medium. The computer-readable storage medium may be a Memory such as a magnetic random access Memory (FRAM), a ROM, a Programmable Read-Only Memory (PROM), an EPROM, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a CD-ROM.
It should be noted that, in the above description, the terms "first", "second", and the like are used for distinguishing similar objects only and do not represent a specific order or sequence of objects, and it should be understood that "first", "second", and the like may be interchanged with specific orders or sequence if permitted so that the embodiments of the present disclosure described herein can be implemented in an order other than that shown or described herein.
The above description is only an example of the present disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure in the embodiments of the present disclosure is not limited to the specific combinations of the above-described features, but also encompasses other embodiments in which any combination of the above-described features or their equivalents is possible without departing from the spirit of the embodiments of the present disclosure. For example, the above features and (but not limited to) the features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.
The above description is only exemplary of the present disclosure and should not be taken as limiting the scope of the present disclosure, which is intended to cover any variations, modifications, equivalents, and improvements included within the spirit and scope of the present disclosure.

Claims (16)

1. A method for processing a media file, the method comprising:
receiving a first trigger event for an upload component in a first page of a media application;
in response to the first trigger event, presenting a second page, and loading at least one of the following components in the second page: a first preview control component for a media file; an album list selection component for the media file; a capture component for capturing the media file; a confirmation component for confirming uploading the media file;
when a second trigger event aiming at the confirmation component is received, transitionally presenting at least part of the display area of the second page as a third page in response to the second trigger event through a component loaded in the second page;
wherein the page elements of the third page include at least one of: a first preview area of the media file; an information editing area of the media file; the publishing component is used for publishing the media file and is arranged at the bottom of the display area of the third page;
in the third page, when a trigger operation for the publishing component is received, an instruction for uploading the media file is executed in response to the trigger operation.
2. The method of claim 1, wherein presenting a second page in response to the first triggering event comprises:
in response to the first trigger event, rendering at least a portion of the display area transition of the first page as the second page.
3. The method of claim 2, wherein said transitioning presentation of at least a portion of the display area of the first page as the second page in response to the first triggering event comprises:
in response to the first trigger event, displaying the first page to slide from one end to the other end, so that the display interface of the media application is transitorily presented as the second page from at least a partial display area of the first page.
4. The method of claim 1, wherein the album list selection component, the capture component, and the confirmation component for the media file are disposed at a bottom of a display area of the second page.
5. The method of claim 1, further comprising:
receiving a first trigger operation of the album list selection component, determining that the media file selected from the album list is identified as the media file to be uploaded according to the first trigger operation,
or receiving a second trigger operation on the shooting component, and determining the media file shot by the shooting component as a media file to be uploaded according to the second trigger operation;
the media file to be uploaded is transmitted to the first preview control component, and preview presentation is carried out on the media file to be uploaded through the first preview control component;
the receiving, by the component loaded in the second page, an upload event for the media file includes:
when the media file to be uploaded is confirmed, a third page used for uploading the media file to be uploaded is presented according to a third trigger operation of the confirmation component, and an uploading event aiming at the media file is received through the third page.
6. The method of claim 1,
the first preview area of the media file includes a second preview control component, the first preview control component being larger in size than the second preview control component.
7. The method of claim 1,
the first preview control component loaded in the second page is located within a second preview area of the media file;
the first preview area and the second preview area are adapted at the same position of the respective page.
8. The method of claim 6, wherein the control component associated with the media file comprises a select cover component for selecting cover data of the media file;
the method further comprises the following steps:
receiving a third trigger event for the selected cover component in the third page;
and responding to the third trigger event, and setting corresponding cover data for the media file.
9. The method of claim 8, wherein setting corresponding cover data for the media file in response to the third triggering event comprises:
in response to the third trigger event, sliding an information editing area displaying the media file from one end of the current position to the other end, so that at least part of a display area of the third page is in transition presentation as a fourth page; and the number of the first and second groups,
loading a component related to cover data for selecting the media file in the fourth page;
and setting corresponding cover data for the media file through the component related to the cover data for selecting the media file.
10. The method of claim 9, further comprising:
loading a third preview control component of the media file in the fourth page;
wherein the third preview control component is larger in size than the second preview control component.
11. The method of claim 9, wherein the component related to selecting cover data for the media file comprises a media file timeline control component;
the setting of corresponding cover data for the media file by the component related to the cover data for selecting the media file includes:
receiving a fourth trigger event for the media file timeline control component in the fourth page;
and determining a corresponding media file frame in the media file at the time point triggered by the fourth trigger event as cover data of the media file.
12. The method of claim 9,
the component related to selecting cover data of the media file is disposed at the bottom of the display area of the fourth page.
13. The method of claim 9, further comprising:
returning from the fourth page to the third page by a component associated with selecting cover data for the media file after setting corresponding cover data for the media file.
14. An apparatus for processing a media file, comprising:
a receiving unit, configured to receive a first trigger event for an upload component in a first page of a media application;
the presentation unit is used for responding to the first trigger event and presenting a second page;
a loading unit, configured to load at least one of the following components in the second page: a first preview control component for a media file; an album list selection component for the media file; a capture component for capturing the media file; a confirmation component for confirming uploading the media file;
the presentation unit is further configured to, by the component loaded in the second page, when a second trigger event for the confirmation component is received, in response to the second trigger event, transition and present at least a part of a display area of the second page to a third page; wherein the page elements of the third page include at least one of: a first preview area of the media file; an information editing area of the media file; the publishing component is used for publishing the media file and is arranged at the bottom of the display area of the third page;
and the uploading unit is used for responding to the triggering operation and executing the instruction of uploading the media file when the triggering operation aiming at the publishing component is received in the third page.
15. A terminal, comprising:
a memory for storing executable instructions;
a processor for implementing a method of processing a media file as claimed in any of claims 1 to 13 when executing the executable instructions.
16. A storage medium storing executable instructions for implementing a method of processing a media file as claimed in any one of claims 1 to 13 when executed.
CN201910153429.7A 2019-02-28 2019-02-28 Media file processing method, device, terminal and storage medium Active CN111625165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910153429.7A CN111625165B (en) 2019-02-28 2019-02-28 Media file processing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910153429.7A CN111625165B (en) 2019-02-28 2019-02-28 Media file processing method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111625165A CN111625165A (en) 2020-09-04
CN111625165B true CN111625165B (en) 2022-03-18

Family

ID=72259655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910153429.7A Active CN111625165B (en) 2019-02-28 2019-02-28 Media file processing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111625165B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114925B (en) 2020-09-25 2021-09-21 北京字跳网络技术有限公司 Method, apparatus, device and storage medium for user guidance
CN115080037A (en) * 2022-06-14 2022-09-20 北京字跳网络技术有限公司 Method, device, equipment and storage medium for page interaction

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104822099A (en) * 2015-04-30 2015-08-05 努比亚技术有限公司 Video packaging method and mobile terminal
CN107463310A (en) * 2017-09-04 2017-12-12 深圳天珑无线科技有限公司 Method, apparatus, mobile terminal and the computer-readable recording medium that a kind of picture is shared
CN107479783A (en) * 2017-07-28 2017-12-15 深圳市元征科技股份有限公司 A kind of picture upload method and terminal
CN108363809A (en) * 2018-03-09 2018-08-03 江苏科建教育软件有限责任公司 A method of in PC client information input interface upload pictures
US10070194B1 (en) * 2016-04-26 2018-09-04 Amazon Technologies, Inc. Techniques for providing media content browsing
CN109375850A (en) * 2012-06-10 2019-02-22 苹果公司 Share image and comment across different equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109375850A (en) * 2012-06-10 2019-02-22 苹果公司 Share image and comment across different equipment
CN104822099A (en) * 2015-04-30 2015-08-05 努比亚技术有限公司 Video packaging method and mobile terminal
US10070194B1 (en) * 2016-04-26 2018-09-04 Amazon Technologies, Inc. Techniques for providing media content browsing
CN107479783A (en) * 2017-07-28 2017-12-15 深圳市元征科技股份有限公司 A kind of picture upload method and terminal
CN107463310A (en) * 2017-09-04 2017-12-12 深圳天珑无线科技有限公司 Method, apparatus, mobile terminal and the computer-readable recording medium that a kind of picture is shared
CN108363809A (en) * 2018-03-09 2018-08-03 江苏科建教育软件有限责任公司 A method of in PC client information input interface upload pictures

Also Published As

Publication number Publication date
CN111625165A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
EP2784646B1 (en) Method and Device for Executing Application
CN112261226B (en) Horizontal screen interaction method and device, electronic equipment and storage medium
CN111510760B (en) Video information display method and device, storage medium and electronic equipment
CN111246275A (en) Comment information display and interaction method and device, electronic equipment and storage medium
CN112040330B (en) Video file processing method and device, electronic equipment and computer storage medium
CN113190314B (en) Interactive content generation method and device, storage medium and electronic equipment
US10674183B2 (en) System and method for perspective switching during video access
CN111970571B (en) Video production method, device, equipment and storage medium
CN113721807B (en) Information display method and device, electronic equipment and storage medium
CN112434175A (en) Multimedia information display method and device, electronic equipment and computer readable medium
CN111367447A (en) Information display method and device, electronic equipment and computer readable storage medium
CN111625165B (en) Media file processing method, device, terminal and storage medium
CN111290819A (en) Method and device for displaying operation prompt and electronic equipment
CN113589991A (en) Text input method and device, electronic equipment and storage medium
CN114302208A (en) Video distribution method, video distribution device, electronic equipment, storage medium and program product
CN112995401A (en) Control display method, device, equipment and medium
CN110381356B (en) Audio and video generation method and device, electronic equipment and readable medium
CN111310086A (en) Page jump method and device and electronic equipment
CN114817631A (en) Media content distribution method, device, equipment, storage medium and program product
CN115269886A (en) Media content processing method, device, equipment and storage medium
CN116156077A (en) Method, device, equipment and storage medium for multimedia resource clipping scene
CN114520928A (en) Display information generation method, information display method and device and electronic equipment
CN112153439A (en) Interactive video processing method, device and equipment and readable storage medium
CN111770385A (en) Card display method and device, electronic equipment and medium
CN115630197A (en) Media content processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.