WO2019024257A1 - 一种视频文件的发布方法及装置 - Google Patents

一种视频文件的发布方法及装置 Download PDF

Info

Publication number
WO2019024257A1
WO2019024257A1 PCT/CN2017/106898 CN2017106898W WO2019024257A1 WO 2019024257 A1 WO2019024257 A1 WO 2019024257A1 CN 2017106898 W CN2017106898 W CN 2017106898W WO 2019024257 A1 WO2019024257 A1 WO 2019024257A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
target
video file
frame
file
Prior art date
Application number
PCT/CN2017/106898
Other languages
English (en)
French (fr)
Inventor
黄怡青
黄睿敏
杨鹏博
刘伟
韦航
邓帅峰
李鹤
张庆杰
田昊
王超
彭军
李震
徐琪
Original Assignee
乐蜜有限公司
黄怡青
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 乐蜜有限公司, 黄怡青 filed Critical 乐蜜有限公司
Priority to US16/307,891 priority Critical patent/US11153666B2/en
Publication of WO2019024257A1 publication Critical patent/WO2019024257A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8549Creating video summaries, e.g. movie trailer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/27Server based end-user applications
    • H04N21/278Content descriptor database or directory service for end-user access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client
    • H04N21/6547Transmission by server directed to the client comprising parameters, e.g. for client setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8545Content authoring for generating interactive applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Definitions

  • the present application relates to the field of video processing, and in particular, to a method and an apparatus for distributing a video file.
  • the above application generally has a video display interface.
  • a preview image of the video file is often displayed for the user to view, and select a favorite video for viewing or downloading.
  • the preview image of the video file is generally a frame image generated by the background server of the application according to the content of the video file.
  • a preview image is typically a frame of image in a video file, or an image associated with the content of a video file.
  • the preview image of the video file displayed by the video display interface of the above application is a static image, and the information related to the content of the video file that the user can know when viewing the preview image is very small, and the user experience is not good.
  • the purpose of the embodiment of the present application is to provide a method and a device for distributing a video file, so that the user can learn more information related to the content of the video file, and improve the user experience.
  • the specific technical solutions are as follows:
  • an embodiment of the present application provides a method for publishing a video file, which is applied to a server, where the method includes:
  • the step of obtaining a video file to be released includes:
  • the step of selecting a first preset number of video frames from the to-be-released video file includes:
  • the step of obtaining a video file to be released includes:
  • the second terminal And receiving, by the second terminal, a to-be-published video file and a target timestamp, where the target timestamp is: a timestamp selected by the second terminal and acquired by the second terminal;
  • the step of selecting a first preset number of video frames from the to-be-released video file includes:
  • the step of generating the target video file by using the selected video frame includes:
  • a second predetermined number of video frames at the end of the selected video frame are added to the last frame of the selected video frame in reverse order to generate a target video file.
  • the embodiment of the present application provides another method for distributing a video file, which is applied to a first terminal, where the method includes:
  • the server Logging in to the server, so that the server sends a correspondence between the target placement location and the target video file in the pre-saved video preview interface to the first terminal; wherein the target video file is obtained from the server to be released In the video file, selecting a first preset number of video frames, and generating a video file of the selected video frame;
  • the corresponding relationship between the target display location and the target video file in the video display interface is: a correspondence between a target display location in the video display interface and a storage address of the target video file;
  • the step of playing the target video file in the target display location in the video display interface includes:
  • the step of playing the target video file in the target display location in the video presentation interface includes:
  • the video frame of the target video file is played back to the preset video frame
  • each video frame of the target video file includes a video frame identifier.
  • the step of playing the video frame of the target video file in reverse order until the preset video frame includes:
  • the video frame of the target video file is played back to the preset video frame.
  • the preset video frame is a positive second frame video frame of the target video file.
  • the embodiment of the present application further provides another method for distributing a video file, which is applied to a second terminal, where the method includes:
  • the method further includes:
  • the step of sending the to-be-released video file to the server includes:
  • the step of obtaining a target timestamp selected by the user includes:
  • the progress bar is a progress bar in the form of a picture.
  • the embodiment of the present application provides a device for distributing a video file, which is applied to a server, where the device includes:
  • a video file obtaining module configured to obtain a video file to be released
  • a video frame selection module configured to select a first preset number of video frames from the to-be-released video file
  • a target video file generating module configured to generate a target video file by using the selected video frame
  • a target placement determining module configured to determine a target display position of the target video file in a video preview interface
  • Corresponding relationship storage module configured to save a correspondence between the target display location and the target video file, so that the first terminal that logs in to the server displays the target in the video preview interface according to the corresponding relationship The location plays the target video file.
  • the video file obtaining module includes:
  • a first video file obtaining unit configured to acquire a to-be-released video file sent by the second terminal
  • the video frame selection module includes:
  • a first video frame selecting unit configured to select a first preset number of video frames from a starting position of the to-be-released video file or select a first preset number of videos from the to-be-released video file according to a preset rule frame.
  • the video file obtaining module includes:
  • a second video file obtaining unit configured to receive a to-be-published video file and a target timestamp sent by the second terminal, where the target timestamp is: a timestamp selected by the second terminal and acquired by the second terminal;
  • the video frame selection module includes:
  • a target video frame determining unit configured to determine, from the to-be-published video file, a target video frame corresponding to the target timestamp
  • a second video frame selecting unit configured to select, by using the target video frame as the first preset number of video frames of the first frame video frame.
  • the target video file generating module includes:
  • the target video file generating unit is configured to generate a target video file after adding the second preset number of video frames at the end of the selected video frame to the last frame of the selected video frame in reverse order.
  • the embodiment of the present application further provides a device for distributing a video file, which is applied to a first terminal, where the device includes:
  • a login module configured to log in to the server, to enable the server to send a correspondence between the target placement location and the target video file in the pre-saved video preview interface to the first terminal; wherein the target video file is the server Selecting, from the obtained video file to be released, a first preset number of video frames, and generating a video file of the selected video frame;
  • the target video file playing module is configured to receive the corresponding relationship, and play the target video file in a target display position in the video display interface according to the correspondence.
  • the corresponding relationship between the target display location and the target video file in the video display interface is: a correspondence between a target display location in the video display interface and a storage address of the target video file;
  • the target video file playing module includes:
  • the target video file playing unit is configured to play the target video file corresponding to the storage address included in the corresponding relationship in the target display position in the video display interface.
  • the target video file playing module includes:
  • a sequence playing unit configured to play a video frame of the target video file in a sequence in a target display position in the video display interface
  • a reverse playback unit configured to: after the last frame of the video frame of the target video file is played, play the video frame of the target video file in reverse order until the preset video frame, and trigger the positive sequence playing unit;
  • Stopping the playing unit for stopping the playing of the target video file when acquiring the stop playing instruction.
  • each video frame of the target video file includes a video frame identifier.
  • the order play unit includes:
  • a video frame obtaining subunit configured to obtain a second to last frame video frame of the target video file according to the video frame identifier included in each video frame;
  • a reverse playback subunit configured to start playing the video frame of the target video file in reverse order from the penultimate frame video frame until a preset video frame.
  • the preset video frame is a positive second frame video frame of the target video file.
  • the embodiment of the present application further provides another video file publishing apparatus, which is applied to a second terminal, where the apparatus includes:
  • the video file obtaining module to be released is used to obtain a video file to be released
  • the to-be-released video file sending module is configured to send the to-be-released video file to the server, so that the server receives the to-be-released video file, and selects a first preset number of video frames from the to-be-released video file. And generating a target video file by using the selected video frame, determining a target display position of the target video file in the video preview interface, and saving a correspondence between the target display location and the target video file, so as to log in to the server.
  • the first terminal plays the target video file in a target display position in the video preview interface according to the correspondence.
  • the device further includes:
  • a target timestamp obtaining module configured to acquire a target timestamp selected by the user after acquiring the to-be-released video file
  • the to-be-released video file sending module includes:
  • a target timestamp sending unit configured to send the to-be-published video file and the target timestamp to the server, so that the server receives the to-be-published video file and the target timestamp, from the to-be-published video file Determining, by the target video frame, the target video frame corresponding to the target timestamp, and selecting the target video frame as the first preset number of video frames of the first frame video frame.
  • the target timestamp obtaining module includes:
  • a progress bar display unit configured to display a progress bar of the to-be-released video file
  • a location information obtaining unit configured to acquire location information selected by the user on the progress bar
  • the target timestamp determining unit is configured to determine a target timestamp selected by the user according to the location information, the length of the progress bar, and the duration of the video file to be released.
  • the embodiment of the present application further provides a server, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
  • a memory for storing a computer program
  • the first method step is implemented when the processor is configured to execute a program stored on the memory.
  • the embodiment of the present application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the first method step is implemented. .
  • the embodiment of the present application further provides a terminal, which includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
  • a memory for storing a computer program
  • the second method step is implemented when the processor is configured to execute a program stored on the memory.
  • the embodiment of the present application further provides another computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the second method. step.
  • the embodiment of the present application further provides another terminal, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
  • a memory for storing a computer program
  • the third method step is implemented when the processor is configured to execute a program stored on the memory.
  • the embodiment of the present application further provides another computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the third method. step.
  • the embodiment of the present application further provides a computer program product for performing the first method step described above at runtime.
  • the embodiment of the present application further provides a second computer program product for performing the second method step described above at runtime.
  • the embodiment of the present application further provides a third computer program product, which is used by the computer program product
  • the second method step described above is performed at runtime.
  • the server obtains a video file to be released; selects a first preset number of video frames from the to-be-released video file; generates a target video file by using the selected video frame, and determines that the target video file is The target display position in the video preview interface, and the corresponding relationship between the target display location and the target video file is saved, so that the first terminal of the login server plays the target in the target display position in the video preview interface according to the corresponding relationship.
  • Video file It can be seen that, because the first terminal plays the target video file in the target display position in the video preview interface, the user can learn more information related to the content of the to-be-released video file from the target video file, thereby improving the user experience.
  • FIG. 1 is a flowchart of a method for publishing a first video file according to an embodiment of the present application
  • FIG. 2 is a flowchart of a method for publishing a second video file according to an embodiment of the present application
  • FIG. 3 is a specific flowchart of a method for playing a target video file in the embodiment shown in FIG. 2;
  • FIG. 4 is a flowchart of a method for distributing a third video file according to an embodiment of the present application
  • FIG. 5 is a schematic structural diagram of a device for distributing a first video file according to an embodiment of the present application
  • FIG. 6 is a schematic structural diagram of a device for distributing a second video file according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of a device for distributing a third video file according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a server according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of another terminal according to an embodiment of the present application.
  • the embodiment of the present application provides a method, device, server, terminal, and computer for publishing a video file.
  • Readable storage media Readable storage media.
  • the method for issuing the first video file provided by the embodiment of the present application is first introduced.
  • the first video file publishing method provided by the embodiment of the present application is applied to a server, and the server may be a background server of an application such as a video playing application or a video live application.
  • an interface for displaying a video file in these applications is called a video preview interface.
  • a method for distributing a video file is applied to a server, and the method includes:
  • the video file to be released is generally a video file saved in the server and required to be posted to the video preview interface.
  • the to-be-released video file may be a video file downloaded from the Internet or a video file sent by a terminal that establishes a communication connection with the server, which is reasonable.
  • the server may select a preset number of video frames from the to-be-released video file.
  • the server may parse the to-be-released video file, obtain a video frame included in the to-be-released video file, and then select a first preset number of video frames therefrom.
  • the selection may be performed according to a preset rule, for example, selecting the middle 5 frames of video frames to be released, or selecting 6 frames of video frames at the end of the video file to be distributed, etc., which are all reasonable. Make specific limits.
  • the server may select a first preset number of video frames, that is, select a first preset of a head position of the video file to be published, starting from the first frame of the video file to be released. The number of video frames.
  • the first preset quantity may be according to a video frame included in the video file to be released.
  • the number of the target video files and the size of the target video file to be generated are determined, for example, 5, 7, 9, etc., and are not specifically limited herein.
  • the method for parsing the video file to be advertised may be any video resolution method in the related video parsing technology.
  • the video file to be advertised may be parsed to obtain a video frame of the video file to be advertised, which is not specifically limited herein.
  • the first preset number of video frames may be generated by the server. It can be understood that, since the first preset number of video frames are selected from the to-be-released video files, the number is generally smaller than the total number of video frames included in the video file to be released, so the target video file can be understood. A small video file corresponding to the video file to be released, which contains part of the content of the video file to be published.
  • the format of the target file may be a video file in a webp format, which may save storage space of the server.
  • the server can determine the target placement of the target video file in the video preview interface.
  • the video preview interface may include several video display areas, and several video files may be displayed at the same time, and the display order may be arranged according to factors such as chronological order, keyword popularity, etc., and the server generates the target. After the video file, you can determine the placement of the target video file in the video preview interface based on these factors, that is, the target placement.
  • the server can determine that the display area is the target placement of the target video file.
  • mapping between the target display location and the target video file is saved, so that the first terminal that logs in to the server plays the target in the target display position in the video preview interface according to the correspondence. Video file.
  • the server may save the mapping relationship between the target display location and the target video file, so that the first terminal of the subsequent login server may be in the video preview interface of the first terminal according to the corresponding relationship.
  • the target video file plays the target video file.
  • the target placement position may be represented by its identifier in the video preview interface, for example, if the display area of the video file in the video preview interface is a rectangular area, the four vertices of the rectangular area may also be saved.
  • the correspondence between the coordinates and the target video file is reasonable.
  • the server obtains a video file to be released, selects a first preset number of video frames from the to-be-released video file, and generates a target video file by using the selected video frame; determining a target video.
  • the target display position of the file in the video preview interface, and the corresponding relationship between the target display location and the target video file is saved, so that the first terminal of the login server, according to the corresponding relationship, the target display position in the video preview interface Play the target video file. Since the first terminal plays the target video file in the target display position in the video preview interface, the user can learn more information related to the content of the to-be-released video file from the target video file, thereby improving the user experience.
  • the step of acquiring the video file to be released may include:
  • the video file to be published may be sent by a second terminal that establishes a communication connection with the server.
  • the video file to be released may be a video file that is recorded by the user through the camera of the second terminal and sent to the server, and may also be a video file that is obtained and sent to the server by the second terminal by other means, for example, a video file downloaded from the Internet. Wait.
  • the step of selecting the first preset number of video frames from the to-be-released video file may include:
  • the server may select a first preset number of video frames from a starting position of the video file to be released, that is, start from the first frame of the video file to be published, and select the first frame of video.
  • the first predetermined number of video frames of the frame For example, if the first preset number is 8, the server may select the first frame of the video frame from the first frame of the video file to be released to the video frame. The eighth frame of the video frame.
  • the server may select a first preset number of video frames from the to-be-released video file according to the first preset rule. For example, if the first preset rule is to select 5 frames of video frames at the end of the video file to be published, the server may select 5 frames of video frames from the end of the to-be-released video file, that is, select the penultimate frame of the video frame to the countdown. One frame of video frame.
  • the step of acquiring the video file to be released may include:
  • the target time stamp may be sent to the server, and the server receives the target time stamp when receiving the video file to be posted sent by the second terminal.
  • the target timestamp is a timestamp selected by the user acquired and sent by the second terminal. That is, the second terminal may provide a user selection entry for the user to select a target timestamp of the video file to be published. For example, the second terminal can provide a timestamp selection interface in which the user can select a target timestamp.
  • the step of selecting the first preset number of video frames from the to-be-released video file may include:
  • the target video frame corresponding to the target timestamp can be determined from the to-be-released video file. Specifically, since the video frame of the video file generally includes a time stamp, it can be understood that the time stamp identifies the chronological order of the video frames. Then, the server may parse the video file to be published, obtain a timestamp of each frame of the video frame in the to-be-released video file, and further determine the video frame with the same timestamp and the target timestamp as the target video frame.
  • the server may select the target video frame as the first frame video frame, and select the first preset number of video frames according to the second preset rule.
  • the second preset rule may be arranged according to the video frame The column order is sequentially selected, for example, the first preset number is 6, and the target video frame is the 15th frame video frame, then the server selects the 15th frame to the 21st frame from the to-be-released video file.
  • the server can generate a target video file according to the target timestamp selected by the user, and meet the needs of the user, thereby improving the user experience.
  • the step of generating the target video file by using the selected video frame may include:
  • a second predetermined number of video frames at the end of the selected video frame are added to the last frame of the selected video frame in reverse order to generate a target video file.
  • the second preset number of video frames at the end of the selected preset number of video frames may be added to the last frame of the selected video frame in reverse order.
  • the target video file is generated. It can be understood that the reverse order is the reverse order of the video frames in the target video file.
  • the second preset number may be set according to the number of selected video frames, and is not specifically limited herein. For example, it may be 2, 3, 4, etc., it can be understood that the second preset number does not Greater than the first preset number.
  • the server adds the second to last frame video frames of the first preset number of video frames obtained in the reverse order to the acquired first preset. After the last frame of the video frame of the number of video frames, the target video file is generated. In reverse order, it is in the order of the penultimate frame to the third last frame.
  • the second to last frame of the video frame is the positive third frame video to the positive fifth frame.
  • the video frame, the generated target video file also includes a positive first frame video to a positive sixth frame video frame of the first preset number of video frames, and a positive number after the positive sixth frame video frame Five frames of video to a positive third frame of video frames, a total of 9 frames of video frames.
  • the order of the video frames is: the first frame to the sixth frame and the fifth frame, the fourth frame, and the third frame in the positive order.
  • the second preset number may be reduced by 2 for the first preset number, that is, the server will select the second to last frame video frame from the preset preset number of video frames to the positive second frame video.
  • the frame is added in reverse order after the last frame of the selected video frame, and the generated target video file also includes the positive first video frame to the last frame video frame, and the last frame video frame.
  • the second-to-last frame video of the reverse order is arranged to the positive second frame video frame.
  • the embodiment of the present application further provides a method for publishing a second video file.
  • the method for publishing the second video file provided by the embodiment of the present application is introduced below.
  • the second video file publishing method is applied to the first terminal that establishes a communication connection with the server.
  • the first terminal may be an electronic device such as a mobile phone, a computer, or a tablet computer, and is not specifically limited herein.
  • a method for distributing a video file is applied to a first terminal, where the method includes:
  • S201 Log in to the server, so that the server sends a correspondence between the target display location in the pre-saved video preview interface and the target video file to the first terminal.
  • the first terminal logs in to the server.
  • the specific implementation manner of the login server may be a login method in any related technology.
  • the first terminal may display a user name and a password input field, and the user may input the user name and password to log in.
  • the second terminal can also send the interface identifier to the server while logging in to the server, so that the server can display the target display position in the pre-saved video preview interface.
  • the correspondence of the target video files is sent to the first terminal.
  • the interface identifier is an interface identifier of the video preview interface, and the server receives the interface identifier, and the corresponding relationship can be sent to the first terminal.
  • the target video file is a video file generated by the server by selecting a first preset number of video frames from the obtained video file to be downloaded, and generating the selected video frame.
  • the manner of generating the target video file and the manner of establishing the corresponding relationship are described in detail in the foregoing first method embodiment, and are not specifically limited herein.
  • the first terminal may play the target video file in the target display position in the video display interface according to the corresponding relationship.
  • the video preview interface may include several video display areas, and several video files may be displayed simultaneously.
  • the video preview interface may only include a display area of a video file.
  • the first terminal may obtain the above-mentioned correspondence, thereby determining the target of the target video file in the video preview interface. The placement, and in turn, plays the target video file at the target placement.
  • the target display position in the corresponding relationship is the coordinates of the four vertices of a rectangle, and after the first terminal obtains the corresponding relationship, the coordinates of the four vertices can be obtained, thereby determining the coordinates of the four vertices.
  • the position of the four points is obtained, and the rectangle enclosed by the position of the four points is determined as the actual target display position, and then the target video file is played in the rectangular area in the video display interface.
  • the size of each video display area is preset, and the target display position in the correspondence sent by the server may be the coordinate of the center point of the video display area, then the first terminal only needs to obtain the above correspondence, then It can be determined that the actual target placement of the target video file in the video preview interface is an area of a preset size centered on the coordinates of the center point, and then the target video file is played in the area.
  • the correspondence between the target placement location and the target video file may be: a correspondence between the target placement location in the video presentation interface and the storage address of the target video file.
  • the storage address is the address where the server stores the target video file. Then, when the first terminal plays the target video file, the target video file can be loaded according to the storage address, and then played in the target display position in the video display interface.
  • the first terminal logs in to the server, so that the server sends the corresponding relationship between the target display location and the target video file in the pre-stored video preview interface to the first terminal, and receives the corresponding relationship, and According to the correspondence, the target video file is played in the target display position in the video display interface. Since the first terminal plays the target video file in the target display position in the video preview interface, the user can learn more information related to the content of the to-be-released video file from the target video file, thereby improving the user experience.
  • the step of playing the target video file in the target display position in the video display interface may include:
  • the video display frame of the target video file is played in sequence at the target display position in the video display interface.
  • the positive sequence play starts with the positive first frame video frame of the target video file, and then plays the positive second frame video frame until the last frame of the video frame.
  • the target video frame includes 6 frames of video frames
  • the video frame of the target video file is played in the positive order, that is, the first frame of the video frame of the target video file is played, and then the second is played.
  • the frame video frame is played until the last frame of the video frame, that is, the positive sixth frame video frame.
  • the method of playing a video frame may be a video playing mode in any related art.
  • the video frame of each frame may be determined according to the information such as the video frame identifier, and then played, and is not specifically limited herein.
  • the first terminal can play the video frame of the target video file in reverse order until the preset video frame. It can be understood that the reverse play is played in the reverse order of the normal play.
  • the preset video frame may be set according to factors such as the number of video frames included in the target video file, and is not specifically limited herein. For example, if the target video file includes 6 frames of video frames, the preset video frame may be a positive third frame video frame, a penultimate frame video frame, or the like.
  • the first terminal may return to the above-mentioned video frame of the target video file in the same order, and perform loop playback. That is to say, after the preset video frame is played, the target video file is played in the correct order from the first frame of the video frame of the target video file.
  • the loop playback of the target video file can be stopped.
  • the second terminal acquires the stop playing instruction, stops playing the target video file, and enters the video playing interface.
  • the complete video file corresponding to the target video file is played, that is, the video file to be released.
  • the target video file when the target video file is played by using the above playback mode, the target video file is played in reverse order and then the target video file is played back to the preset video frame. Since the content of the target video file is small, the target video file can be reduced. Gives users a sense of flicker and enhances the user experience.
  • the step of playing the video frame of the target video file in reverse order until the preset video frame is performed Can include:
  • the video frame identifier may be a frame number, a timestamp, an offset, and the like of the video frame, and is not specifically limited herein, as long as the order of the video frames can be identified.
  • the first terminal can obtain the second-to-last frame video frame of the target video file according to the video frame identifier included in each video frame, and further, Starting from the penultimate frame video frame, the video frame of the target video file is played back to the first preset video frame.
  • the first terminal may obtain the second-to-last frame video frame of the video file with the frame number of 8 according to the frame number of each video frame, and then the frame number is The last frame of the video frame of 8 begins, and the video frame of the target video file is played back to the first preset video frame.
  • the preset video frame is a positive second frame video frame of the target video file. That is, the last frame of the video frame of the above target video file is played.
  • the first terminal plays the video frame of the target video file in reverse order until the second frame of the video frame, and then recirculates from the first frame of the video frame of the target video file, and sequentially plays the video frame of the target video file. .
  • the positive second video frame of the target video file and the positive first video frame are consecutive video frames, the difference in the video content is smaller, and the user can feel less when viewing the target video file.
  • the flickering effect further enhances the user experience.
  • the embodiment of the present application also provides a method for publishing a third video file.
  • the method for issuing the third video file provided by the embodiment of the present application is introduced below.
  • the third video file publishing method provided by the embodiment of the present application is applied to the second terminal that establishes a communication connection with the server.
  • the second terminal may be an electronic device such as a mobile phone, a computer, or a tablet computer, and is not specifically limited herein.
  • the second terminal and the first terminal may be the same terminal or different terminals, which are all reasonable.
  • a method for distributing a video file is applied to a second terminal, where the method includes:
  • the video file to be released is generally a video file saved in the second terminal.
  • the to-be-released video file may be a video file captured by the user through the camera of the second terminal.
  • the video file to be released may also be a video file downloaded by the user from the Internet, or may be a video file sent by another device that establishes a communication connection with the second terminal, which is reasonable.
  • S402 Send the to-be-released video file to the server, so that the server receives the to-be-released video file, and select a first preset number of video frames from the to-be-released video file, and select the selected video frame.
  • Generating a target video file, and corresponding to the interface identifier of the video display interface establishing a correspondence between the display position in the video display interface and the target video file, where the first terminal is configured according to the display position and the target in the video display interface The corresponding relationship of the video files is played in the corresponding display position of the video display interface.
  • the video file to be released may be sent to the server, and the server may select a first preset number of video frames from the to-be-released video file, and select the selected video frame.
  • Generate a target video file and correspond to the interface of the video display interface Knowledge establish a correspondence between the display position in the video display interface and the target video file. In this way, when the first terminal logs in to the server, the corresponding relationship between the display position in the video display interface saved in the server and the target video file can be obtained, and then, according to the corresponding relationship, the corresponding display position of the video display interface is played.
  • the target video file is generated.
  • the second terminal and the first terminal may use the same terminal, that is, the second terminal may also log in to the server, and play the target video on the corresponding display position of the video display interface according to the corresponding relationship. file.
  • the second terminal obtains the to-be-released video file, and sends the to-be-released video file to the server, so that the server receives the to-be-released video file, and selects the first preset from the to-be-released video file.
  • the number of video frames is generated by the selected video frame, and corresponding to the interface identifier of the video display interface, and the corresponding relationship between the display position and the target video file in the video display interface is established, and is used by the first terminal according to the video display interface.
  • the corresponding relationship between the display position and the target video file, and the target video file is played in the corresponding display position of the video display interface.
  • the user can learn more information related to the content of the to-be-released video file from the target video file, thereby improving the user experience, and at the same time, the user can pass the second terminal. Select the video files to be published that you want to publish to further enhance the user experience.
  • the method may further include: Get the target timestamp selected by the user.
  • the second terminal may provide a user selection entry for the user to select a timestamp of the video file to be published.
  • the second terminal can provide a timestamp selection interface in which the user can select a target timestamp.
  • the step of sending the to-be-released video file to the server may include:
  • the target time stamp may be sent to the server, and the server receives the target time stamp when receiving the video file to be posted sent by the second terminal. Further, the target video frame corresponding to the target time stamp may be determined from the to-be-released video file.
  • the server may parse the video file to be published, obtain a timestamp of each frame of the video frame in the to-be-released video file, and further determine the video frame with the same timestamp and the target timestamp as the target video frame. Further, the server may select the first preset number of video frames with the target video frame as the first frame of the video frame.
  • the first preset number may be set according to the number of video frames included in the video file to be distributed, and is not specifically limited herein. For example, it may be 5, 6, 9, or the like.
  • the step of acquiring the target timestamp selected by the user may be performed.
  • the second terminal may display a progress bar of the video file to be released on the preset interface.
  • the progress bar is used to indicate the length of the video file to be released.
  • the progress bar can be a progress bar in the form of a picture. These pictures may be some pictures in the video file to be published, so that the user can more intuitively see the approximate content of the video file to be published, so that the user can select the target time stamp.
  • the user can select the desired location on the progress bar of the video file to be posted displayed on the preset interface. For example, the location can be selected by clicking a location on the progress bar.
  • the second terminal can be obtained Take the location information selected by the user on the progress bar.
  • the second terminal may determine the target timestamp selected by the user according to the location information selected by the user on the progress bar, the length of the progress bar, and the duration of the video file to be released.
  • the length of the progress bar indicates the duration of the video
  • the ratio of the length of the progress bar from the start position of the progress bar to the location information selected by the user is equal to the time corresponding to the target timestamp selected by the user. The proportion of time. Since the start time of the video file to be published is determined, the target time stamp can be determined.
  • the length of the progress bar is 6 cm
  • the position information selected by the user is 3 cm from the start position of the progress bar
  • the duration of the video file to be published is 100 seconds
  • the start time of the video file to be released is 15 o'clock on July 29, 2017,
  • the target time stamp is the time stamp corresponding to 15:50 on July 29, 2017.
  • the user can select the target timestamp, and the second terminal can display a progress bar in the form of a picture, so that the user can more intuitively view the content of the video file to be published, so that the user can select the target timestamp.
  • User experience is better.
  • the embodiment of the present application provides a video file publishing apparatus.
  • the apparatus for distributing the first video file provided by the embodiment of the present application is introduced below.
  • a video file publishing apparatus is applied to a server, and the apparatus includes:
  • a video file obtaining module 510 configured to acquire a video file to be released
  • the video frame selection module 520 is configured to select a first preset number of video frames from the to-be-released video file.
  • the target video file generating module 530 is configured to generate a target video file by using the selected video frame
  • a target placement determining module 540 configured to determine a target display location of the target video file in a video preview interface
  • Correspondence relationship storage module 550 configured to save the target display location and the target video file Corresponding relationship, so that the first terminal that logs in to the server plays the target video file in a target display position in the video preview interface according to the corresponding relationship.
  • the server acquires a video file to be released; selects a first preset number of video frames from the to-be-released video file; generates a target video file by using the selected video frame; and determines a target video. a target display position of the file in the video preview interface; storing a correspondence between the target display location and the target video file, so that the first terminal of the login server plays the target display position in the video preview interface according to the corresponding relationship Target video file. Since the first terminal plays the target video file in the target display position in the video preview interface, the user can learn more information related to the content of the to-be-released video file from the target video file, thereby improving the user experience.
  • the video file obtaining module 510 may include:
  • a first video file obtaining unit (not shown), configured to acquire a to-be-released video file sent by the second terminal;
  • the video frame selection module 520 can include:
  • a first video frame selection unit (not shown) for selecting a first preset number of video frames from a starting position of the to-be-released video file or from the to-be-released video file according to a first preset rule The first preset number of video frames is selected.
  • the video file obtaining module 510 may include:
  • a second video file obtaining unit (not shown), configured to receive a to-be-published video file and a target timestamp sent by the second terminal, where the target timestamp is: the second terminal acquires and sends User-selected timestamp;
  • the video frame selection module 520 can include:
  • a target video frame determining unit (not shown), configured to determine, from the to-be-published video file, a target video frame corresponding to the target timestamp;
  • the second video frame selection unit (not shown) is configured to select the first preset number of video frames according to the second preset rule by using the target video frame as the first frame video frame.
  • the target video file generating module 530 may include:
  • a target video file generating unit (not shown), configured to add a second preset number of video frames at the end of the selected video frame to the last frame of the selected video frame in reverse order , generate the target video file.
  • the embodiment of the present application provides a video file publishing apparatus.
  • the device for distributing the second video file provided by the embodiment of the present application is introduced below.
  • a device for distributing a video file is applied to a first terminal, and the device includes:
  • the login module 610 is configured to log in to the server, so that the server sends a correspondence between the target display location in the pre-saved video preview interface and the target video file to the first terminal;
  • the target video file is a video file generated by the server by selecting a first preset number of video frames from the obtained video file to be downloaded, and generating the selected video frame;
  • the target video file playing module 620 is configured to receive the corresponding relationship, and play the target video file in a target display position in the video display interface according to the correspondence.
  • the first terminal logs in to the server, so that the server sends the corresponding relationship between the target display location and the target video file in the pre-stored video preview interface to the first terminal; According to the correspondence, the target video file is played in the target display position in the video display interface. Since the first terminal plays the target video file in the target display position in the video preview interface, the user can learn more information related to the content of the to-be-released video file from the target video file, thereby improving the user experience.
  • a correspondence between a target display location in the video display interface and the target video file is: a target display location in the video display interface and storage of the target video file.
  • the target video file playing module 620 can include:
  • the target video file playing unit (not shown in FIG. 6) is configured to play the target video file corresponding to the storage address included in the corresponding relationship in the target display position in the video display interface.
  • the target video file playing module 620 may include:
  • a sequence playing unit (not shown in FIG. 6), configured to play a video frame of the target video file in sequence at a target display position in the video display interface;
  • sequence playing unit (not shown in FIG. 6) is configured to: after the last frame of the video frame of the target video file is played, play the video frame of the target video file in reverse order until the preset video frame, and trigger the Pre-sequencing playback unit;
  • the playback unit (not shown in FIG. 6) is stopped for stopping the playback of the target video file when the stop playback instruction is acquired.
  • each video frame of the target video file includes a video frame identifier
  • the order play unit may include:
  • a video frame acquisition subunit (not shown in FIG. 6), configured to obtain a penultimate frame video frame of the target video file according to the video frame identifier included in each video frame;
  • the reverse play subunit (not shown in FIG. 6) is configured to play the video frame of the target video file in reverse order from the penultimate frame video frame until the preset video frame.
  • the preset video frame is a positive second frame video frame of the target video file.
  • the embodiment of the present application provides a video file publishing apparatus.
  • the apparatus for distributing the third video file provided by the embodiment of the present application is introduced below.
  • a device for distributing a video file is applied to a second terminal, and the device includes:
  • the to-be-released video file obtaining module 710 is configured to obtain a video file to be released
  • the to-be-released video file sending module 720 is configured to send the to-be-released video file to the server, so that the server receives the to-be-released video file, and selects a first preset number of videos from the to-be-released video file. a frame, a target video file is generated from the selected video frame, a target display position of the target video file in the video preview interface is determined, and a correspondence between the target display location and the target video file is saved, so that the login is performed.
  • the first terminal of the server plays the target video file in a target display location in the video preview interface according to the correspondence.
  • the second terminal obtains the to-be-released video file, and sends the to-be-released video file to the server, so that the server receives the to-be-released video file, and selects the first preset from the to-be-released video file.
  • the number of video frames is generated by the selected video frame, and corresponding to the interface identifier of the video display interface, and the corresponding relationship between the display position and the target video file in the video display interface is established, and is used by the first terminal according to the video display interface.
  • the corresponding relationship between the display position and the target video file, and the target video file is played in the corresponding display position of the video display interface.
  • the user can learn more information related to the content of the to-be-released video file from the target video file, thereby improving the user experience, and at the same time, the user can pass the second terminal. Select the video files to be published that you want to publish to further enhance the user experience.
  • the device may further include:
  • a target timestamp acquisition module (not shown in FIG. 7), configured to acquire a target timestamp selected by the user after acquiring the to-be-released video file;
  • the to-be-released video file sending module 720 can include:
  • a target timestamp sending unit (not shown in FIG. 7), configured to send the to-be-published video file and the target timestamp to a server, so that the server receives the to-be-published video file and the target timestamp Determining, from the to-be-released video file, a target video frame corresponding to the target timestamp, and selecting a first preset number of video frames that use the target video frame as the first frame of the video frame.
  • the target timestamp obtaining module may include:
  • a progress bar display unit (not shown in FIG. 7) for displaying a progress bar of the to-be-released video file
  • a location information obtaining unit (not shown in FIG. 7), configured to acquire location information selected by the user on the progress bar;
  • the target timestamp determining unit (not shown in FIG. 7) is configured to determine the target timestamp selected by the user according to the location information, the length of the progress bar, and the duration of the video file to be released.
  • the embodiment of the present application further provides a server, as shown in FIG. 8, including a processor 801, a communication interface 802, a memory 803, and a communication bus 804.
  • the processor 801, the communication interface 802, and the memory 803 are completed through the communication bus 804. Communication with each other,
  • the processor 801 is configured to perform the following steps when executing the program stored on the memory 803:
  • the server acquires a video file to be released; selects a first preset number of video frames from the to-be-released video file; generates a target video file by using the selected video frame; and determines a target video. a target display position of the file in the video preview interface; storing a correspondence between the target display location and the target video file, so that the first terminal of the login server plays the target display position in the video preview interface according to the corresponding relationship Target video file. Since the first terminal plays the target video file in the target display position in the video preview interface, the user can learn more information related to the content of the to-be-released video file from the target video file, and enhance the user. Experience.
  • the communication bus mentioned by the above server may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the above server and other devices.
  • the memory may include a random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk storage.
  • RAM random access memory
  • NVM non-volatile memory
  • the memory may also be at least one storage device located away from the aforementioned processor.
  • the above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; or may be a digital signal processing (DSP), dedicated integration.
  • CPU central processing unit
  • NP network processor
  • DSP digital signal processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the step of obtaining the video file to be released may include:
  • the step of selecting a first preset number of video frames from the to-be-released video file includes:
  • the step of obtaining the video file to be released may include:
  • the second terminal And receiving, by the second terminal, a to-be-published video file and a target timestamp, where the target timestamp is: a timestamp selected by the second terminal and acquired by the second terminal;
  • the step of selecting a first preset number of video frames from the to-be-released video file includes:
  • the first predetermined number of video frames with the target video frame as the first frame of the video frame are selected.
  • the step of generating the target video file by using the selected video frame may include:
  • a second predetermined number of video frames at the end of the selected video frame are added to the last frame of the selected video frame in reverse order to generate a target video file.
  • the embodiment of the present application further provides a terminal, as shown in FIG. 9, including a processor 901, a communication interface 902, a memory 903, and a communication bus 904.
  • the processor 901, the communication interface 902, and the memory 903 are completed through the communication bus 904. Communication with each other,
  • a memory 903, configured to store a computer program
  • the processor 901 is configured to perform the following steps when executing the program stored on the memory 903:
  • the server Logging in to the server, so that the server sends a correspondence between the target placement location and the target video file in the pre-saved video preview interface to the first terminal; wherein the target video file is obtained from the server to be released In the video file, selecting a first preset number of video frames, and generating a video file of the selected video frame;
  • the first terminal logs in to the server, so that the server sends the corresponding relationship between the target display location and the target video file in the pre-stored video preview interface to the first terminal; According to the correspondence, the target video file is played in the target display position in the video display interface. Since the first terminal plays the target video file in the target display position in the video preview interface, the user can learn more information related to the content of the to-be-released video file from the target video file, thereby improving the user experience.
  • the communication bus mentioned by the above terminal may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the above terminal and other devices.
  • the memory may include a random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk storage.
  • RAM random access memory
  • NVM non-volatile memory
  • the memory may also be at least one storage device located away from the aforementioned processor.
  • the above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; or may be a digital signal processing (DSP), dedicated integration.
  • CPU central processing unit
  • NP network processor
  • DSP digital signal processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the corresponding relationship between the target display location and the target video file in the video display interface is: a correspondence between a target display location in the video display interface and a storage address of the target video file;
  • the step of playing the target video file in the target display position in the video display interface may include:
  • the step of playing the target video file in the target display position in the video display interface may include:
  • the target is played back in reverse
  • the video frame of the video file is up to the preset video frame
  • the video frame identifier is included in each video frame of the target video file.
  • the step of playing the video frame of the target video file in the reverse order until the preset video frame may include:
  • the video frame of the target video file is played back to the preset video frame.
  • the preset video frame is a positive second frame video frame of the target video file.
  • the embodiment of the present application further provides another terminal, as shown in FIG. 10, including a processor 1001, a communication interface 1002, a memory 1003, and a communication bus 1004.
  • the processor 1001, the communication interface 1002, and the memory 1003 pass through the communication bus 1004. Complete communication with each other,
  • the processor 1001 is configured to perform the following steps when executing the program stored on the memory 1003:
  • the second terminal acquires the to-be-released video file, and sends the to-be-released video file to the server, so that the server receives the to-be-released video file, and is to be released.
  • the video file selecting a first preset number of video frames, generating a target video file by using the selected video frame, and corresponding to the interface identifier of the video display interface, establishing a correspondence between the display position and the target video file in the video display interface, The first terminal plays the target video file in the corresponding display position of the video display interface according to the correspondence between the display position and the target video file in the video display interface.
  • the user can learn more information related to the content of the to-be-released video file from the target video file, thereby improving the user experience, and at the same time, the user can pass the second terminal. Select the video files to be published that you want to publish to further enhance the user experience.
  • the communication bus mentioned by the above terminal may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the above terminal and other devices.
  • the memory may include a random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk storage.
  • RAM random access memory
  • NVM non-volatile memory
  • the memory may also be at least one storage device located away from the aforementioned processor.
  • the above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; or may be a digital signal processing (DSP), dedicated integration.
  • CPU central processing unit
  • NP network processor
  • DSP digital signal processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the method further includes:
  • the step of sending the to-be-released video file to the server includes:
  • the step of obtaining the target timestamp selected by the user may include:
  • the progress bar is a progress bar in the form of a picture.
  • the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the following steps are implemented:
  • the server acquires a video file to be released; and selects, from the to-be-released video file, a first preset number of video frames; and selects the selected video frame.
  • the step of obtaining the video file to be released may include:
  • the step of selecting a first preset number of video frames from the to-be-released video file includes:
  • the step of obtaining the video file to be released may include:
  • the second terminal And receiving, by the second terminal, a to-be-published video file and a target timestamp, where the target timestamp is: a timestamp selected by the second terminal and acquired by the second terminal;
  • the step of selecting a first preset number of video frames from the to-be-released video file includes:
  • the first predetermined number of video frames with the target video frame as the first frame of the video frame are selected.
  • the step of generating the target video file by using the selected video frame may include:
  • a second predetermined number of video frames at the end of the selected video frame are added to the last frame of the selected video frame in reverse order to generate a target video file.
  • the embodiment of the present application further provides another computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the following steps are implemented:
  • the server Logging in to the server, so that the server sends a correspondence between the target placement location and the target video file in the pre-saved video preview interface to the first terminal; wherein the target video file is obtained from the server to be released In the video file, selecting a first preset number of video frames, and generating a video file of the selected video frame;
  • the first terminal logs in to the server, so that the server sends the correspondence between the target display location and the target video file in the pre-saved video preview interface to the first a terminal; receiving the corresponding relationship, and playing the target video file in the target display position in the video display interface according to the correspondence relationship. Since the first terminal plays the target video file in the target display position in the video preview interface, the user can learn more information related to the content of the to-be-released video file from the target video file, thereby improving the user experience.
  • the corresponding relationship between the target display location and the target video file in the video display interface is: a correspondence between a target display location in the video display interface and a storage address of the target video file;
  • the step of playing the target video file in the target display position in the video display interface may include:
  • the step of playing the target video file in the target display position in the video display interface may include:
  • the video frame of the target video file is played back to the preset video frame
  • the video frame identifier is included in each video frame of the target video file.
  • the step of playing the video frame of the target video file in the reverse order until the preset video frame may include:
  • the video frame of the target video file is played back to the preset video frame.
  • the preset video frame is a positive second frame video frame of the target video file.
  • the embodiment of the present application further provides another computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the following steps are implemented:
  • the second terminal acquires the to-be-released video file, and sends the to-be-released video file to the server, so that the server receives the to-be-released video file, and the video to be released
  • the file selecting a first preset number of video frames, generating a target video file by using the selected video frame, and corresponding to the interface identifier of the video display interface, establishing a correspondence between the display position and the target video file in the video display interface,
  • the target video file is played on the corresponding display position of the video display interface according to the corresponding relationship between the display position and the target video file in the video display interface.
  • the user can learn more information related to the content of the to-be-released video file from the target video file, thereby improving the user experience, and at the same time, the user can pass the second terminal. Select the video files to be published that you want to publish to further enhance the user experience.
  • the method further includes:
  • the step of sending the to-be-released video file to the server includes:
  • the step of obtaining the target timestamp selected by the user may include:
  • the progress bar is a progress bar in the form of a picture.
  • the step of obtaining the video file to be released may include:
  • the step of selecting a first preset number of video frames from the to-be-released video file includes:
  • the step of obtaining the video file to be released may include:
  • the second terminal And receiving, by the second terminal, a to-be-published video file and a target timestamp, where the target timestamp is: a timestamp selected by the second terminal and acquired by the second terminal;
  • the step of selecting a first preset number of video frames from the to-be-released video file includes:
  • the first predetermined number of video frames with the target video frame as the first frame of the video frame are selected.
  • the step of generating the target video file by using the selected video frame may include:
  • a second predetermined number of video frames at the end of the selected video frame are added to the last frame of the selected video frame in reverse order to generate a target video file.
  • the server Logging in to the server, so that the server sends a correspondence between the target placement location and the target video file in the pre-saved video preview interface to the first terminal; wherein the target video file is obtained from the server to be released In the video file, selecting a first preset number of video frames, and generating a video file of the selected video frame;
  • the corresponding relationship between the target display location and the target video file in the video display interface is: a correspondence between a target display location in the video display interface and a storage address of the target video file;
  • the step of playing the target video file in the target display position in the video display interface may include:
  • Playing the storage location included in the correspondence relationship at a target display location in the video presentation interface The target video file corresponding to the address.
  • the step of playing the target video file in the target display position in the video display interface may include:
  • the video frame of the target video file is played back to the preset video frame
  • the video frame identifier is included in each video frame of the target video file.
  • the step of playing the video frame of the target video file in the reverse order until the preset video frame may include:
  • the video frame of the target video file is played back to the preset video frame.
  • the preset video frame is a positive second frame video frame of the target video file.
  • the target video file is played on the corresponding display of the face.
  • the method further includes:
  • the step of sending the to-be-released video file to the server includes:
  • the step of obtaining the target timestamp selected by the user may include:
  • the progress bar is a progress bar in the form of a picture.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请实施例提供了一种视频文件的发布方法及装置,应用于服务器,所述方法包括:获取待发布视频文件;从待发布视频文件中,选取第一预设数量的视频帧;将所选取的视频帧生成目标视频文件;确定目标视频文件在视频预览界面中的目标展示位置;保存目标展示位置与目标视频文件的对应关系,以使登录服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放目标视频文件。可见,由于第一终端在视频预览界面中的目标展示位置播放目标视频文件,用户可以从目标视频文件中获知更多与待发布视频文件内容相关的信息,提升用户体验。

Description

一种视频文件的发布方法及装置
本申请要求于2017年8月3日提交中国专利局、申请号为201710657211.6、发明名称为“一种视频文件的发布方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及视频处理领域,特别是涉及一种视频文件的发布方法及装置。
背景技术
近年来,各种视频文件播放应用程序、视频直播应用程序不断出现在人们的生活中,成为人们娱乐休闲不可缺少的部分。
上述应用程序一般具有视频展示界面,在视频展示界面中,往往会展示视频文件的预览图,以供用户查看,并选择自己喜欢的视频进行观看或下载。其中,视频文件的预览图一般是应用程序的后台服务器根据视频文件内容生成的一帧图像。预览图一般是视频文件中的一帧图像,或者,是一帧与视频文件内容相关的图像。
可以看出,上述应用程序的视频展示界面所展示的视频文件的预览图是一帧静态的图像,用户在观看该预览图时,可以获知的与视频文件内容相关的信息非常少,用户体验不佳。
发明内容
本申请实施例的目的在于提供一种视频文件的发布方法及装置,以使用户获知更多与视频文件内容相关的信息,提升用户体验。具体技术方案如下:
第一方面,本申请实施例提供了一种视频文件的发布方法,应用于服务器,所述方法包括:
获取待发布视频文件;
从所述待发布视频文件中,选取第一预设数量的视频帧;
将所选取的视频帧生成目标视频文件;
确定所述目标视频文件在视频预览界面中的目标展示位置;
保存所述目标展示位置与所述目标视频文件的对应关系,以使登录所述服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放所述目标视频文件。
可选的,所述获取待发布视频文件的步骤,包括:
获取第二终端发送的待发布视频文件;
所述从所述待发布视频文件中,选取第一预设数量的视频帧的步骤,包括:
从所述待发布视频文件的起始位置选取第一预设数量的视频帧或按第一预设规则从所述待发布视频文件中选取第一预设数量的视频帧。
可选的,所述获取待发布视频文件的步骤,包括:
接收所述第二终端发送的待发布视频文件及目标时间戳,其中,所述目标时间戳为:所述第二终端获取并发送的用户选择的时间戳;
所述从所述待发布视频文件中,选取第一预设数量的视频帧的步骤,包括:
从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧;
以所述目标视频帧为第一帧视频帧,按照第二预设规则选取第一预设数量的视频帧。
可选的,所述将所选取的视频帧生成目标视频文件的步骤,包括:
将所选取的视频帧中位于末尾的第二预设数量个视频帧,按照倒序添加至所选取的视频帧的最后一帧视频帧之后,生成目标视频文件。
第二方面,本申请实施例提供了另一种视频文件的发布方法,应用于第一终端,所述方法包括:
登录服务器,以使所述服务器发送预先保存的视频预览界面中的目标展示位置与目标视频文件的对应关系至所述第一终端;其中,所述目标视频文件为所述服务器从获取的待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成的视频文件;
接收所述对应关系,并根据所述对应关系,在所述视频展示界面中的目标展示位置播放所述目标视频文件。
可选的,所述视频展示界面中的目标展示位置与所述目标视频文件的对应关系为:所述视频展示界面中的目标展示位置与所述目标视频文件的存储地址的对应关系;
所述在所述视频展示界面中的目标展示位置播放所述目标视频文件的步骤,包括:
在所述视频展示界面中的目标展示位置播放所述对应关系包括的存储地址对应的目标视频文件。
可选的,所述在所述视频展示界面中的目标展示位置播放所述目标视频文件的步骤,包括:
在所述视频展示界面中的目标展示位置,正序播放所述目标视频文件的视频帧;
在所述目标视频文件的最后一帧视频帧播放完毕后,倒序播放所述目标视频文件的视频帧直到预设视频帧;
返回所述正序播放所述目标视频文件的视频帧的步骤,直到获取停止播放指令,停止播放所述目标视频文件。
可选的,所述目标视频文件的每一视频帧中包含视频帧标识;
所述倒序播放所述目标视频文件的视频帧直到预设视频帧的步骤,包括:
根据每一视频帧中包含的视频帧标识,获得所述目标视频文件的倒数第二帧视频帧;
从所述倒数第二帧视频帧开始,倒序播放所述目标视频文件的视频帧直到预设视频帧。
可选的,所述预设视频帧为所述目标视频文件的正数第二帧视频帧。
第三方面,本申请实施例还提供另一种视频文件的发布方法,应用于第二终端,所述方法包括:
获取待发布视频文件;
发送所述待发布视频文件至服务器,以使所述服务器接收所述待发布视频文件,从所述待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件,并对应于视频展示界面的界面标识,建立视频展示界面中展示位置与所述目标视频文件的对应关系,用于第一终端根据所述视频展示界面中展示位置与所述目标视频文件的对应关系,在视频展示界面的相应展示位置播放所述目标视频文件。
可选的,在所述获取待发布视频文件的步骤之后,所述方法还包括:
获取用户选择的目标时间戳;
所述发送所述待发布视频文件至服务器的步骤,包括:
发送所述待发布视频文件及所述目标时间戳至服务器,以使所述服务器接收所述待发布视频文件及所述目标时间戳,从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧,并选取以所述目标视频帧为第一帧视频帧的第一预设数量的视频帧。
可选的,所述获取用户选择的目标时间戳的步骤,包括:
展示所述待发布视频文件的进度条;
获取用户在所述进度条上选择的位置信息;
根据所述位置信息、所述进度条的长度及所述待发布视频文件的时长,确定所述用户选择的目标时间戳。
可选的,所述进度条为图片形式的进度条。
第四方面,本申请实施例提供了一种视频文件的发布装置,应用于服务器,所述装置包括:
视频文件获取模块,用于获取待发布视频文件;
视频帧选取模块,用于从所述待发布视频文件中,选取第一预设数量的视频帧;
目标视频文件生成模块,用于将所选取的视频帧生成目标视频文件;
目标展示位置确定模块,用于确定所述目标视频文件在视频预览界面中的目标展示位置;
对应关系存储模块,用于保存所述目标展示位置与所述目标视频文件的对应关系,以使登录所述服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放所述目标视频文件。
可选的,所述视频文件获取模块包括:
第一视频文件获取单元,用于获取第二终端发送的待发布视频文件;
所述视频帧选取模块包括:
第一视频帧选取单元,用于从所述待发布视频文件的起始位置选取第一预设数量个视频帧或按预设规则从所述待发布视频文件中选取第一预设数量个视频帧。
可选的,所述视频文件获取模块包括:
第二视频文件获取单元,用于接收所述第二终端发送的待发布视频文件及目标时间戳,其中,所述目标时间戳为:所述第二终端获取并发送的用户选择的时间戳;
所述视频帧选取模块包括:
目标视频帧确定单元,用于从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧;
第二视频帧选取单元,用于选取以所述目标视频帧为第一帧视频帧的第一预设数量的视频帧。
可选的,所述目标视频文件生成模块包括:
目标视频文件生成单元,用于将所选取的视频帧中位于末尾的第二预设数量个视频帧,按照倒序添加至所选取的视频帧的最后一帧视频帧之后,生成目标视频文件。
第五方面,本申请实施例还提供了一种视频文件的发布装置,应用于第一终端,所述装置包括:
登录模块,用于登录服务器,以使所述服务器发送预先保存的视频预览界面中的目标展示位置与目标视频文件的对应关系至所述第一终端;其中,所述目标视频文件为所述服务器从获取的待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成的视频文件;
目标视频文件播放模块,用于接收所述对应关系,并根据所述对应关系,在所述视频展示界面中的目标展示位置播放所述目标视频文件。
可选的,所述视频展示界面中的目标展示位置与所述目标视频文件的对应关系为:所述视频展示界面中的目标展示位置与所述目标视频文件的存储地址的对应关系;
所述目标视频文件播放模块包括:
目标视频文件播放单元,用于在所述视频展示界面中的目标展示位置播放所述对应关系包括的存储地址对应的目标视频文件。
可选的,所述目标视频文件播放模块包括:
正序播放单元,用于在所述视频展示界面中的目标展示位置,正序播放所述目标视频文件的视频帧;
倒序播放单元,用于在所述目标视频文件的最后一帧视频帧播放完毕后,倒序播放所述目标视频文件的视频帧直到预设视频帧,并触发所述正序播放单元;
停止播放单元,用于在获取停止播放指令时,停止播放所述目标视频文件。
可选的,所述目标视频文件的每一视频帧中包含视频帧标识;
所述到序播放单元包括:
视频帧获取子单元,用于根据每一视频帧中包含的视频帧标识,获得所述目标视频文件的倒数第二帧视频帧;
倒序播放子单元,用于从所述倒数第二帧视频帧开始,倒序播放所述目标视频文件的视频帧直到预设视频帧。
可选的,所述预设视频帧为所述目标视频文件的正数第二帧视频帧。
第六方面,本申请实施例还提供了另一种视频文件的发布装置,应用于第二终端,所述装置包括:
待发布视频文件获取模块,用于获取待发布视频文件;
待发布视频文件发送模块,用于发送所述待发布视频文件至服务器,以使所述服务器接收所述待发布视频文件,从所述待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件,确定所述目标视频文件在视频预览界面中的目标展示位置,保存所述目标展示位置与所述目标视频文件的对应关系,以使登录所述服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放所述目标视频文件。
可选的,所述装置还包括:
目标时间戳获取模块,用于在获取待发布视频文件之后,获取用户选择的目标时间戳;
所述待发布视频文件发送模块包括:
目标时间戳发送单元,用于发送所述待发布视频文件及所述目标时间戳至服务器,以使所述服务器接收所述待发布视频文件及所述目标时间戳,从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧,并选取以所述目标视频帧为第一帧视频帧的第一预设数量的视频帧。
可选的,所述目标时间戳获取模块包括:
进度条展示单元,用于展示所述待发布视频文件的进度条;
位置信息获取单元,用于获取用户在所述进度条上选择的位置信息;
目标时间戳确定单元,用于根据所述位置信息、所述进度条的长度及所述待发布视频文件的时长,确定所述用户选择的目标时间戳。
另外,本申请实施例还提供了一种服务器,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;
存储器,用于存放计算机程序;
处理器,用于执行存储器上所存放的程序时,实现上述第一种方法步骤。
另外,本申请实施例还提供了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述第一种方法步骤。
另外,本申请实施例还提供了一种终端,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;
存储器,用于存放计算机程序;
处理器,用于执行存储器上所存放的程序时,实现上述第二种方法步骤。
另外,本申请实施例还提供了另一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述第二种方法步骤。
另外,本申请实施例还提供了另一种终端,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;
存储器,用于存放计算机程序;
处理器,用于执行存储器上所存放的程序时,实现上述第三种方法步骤。
另外,本申请实施例还提供了另一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述第三种方法步骤。
另外,本申请实施例还提供了一种计算机程序产品,所述计算机程序产品用于在运行时执行上述第一种方法步骤。
本申请实施例还提供了第二种计算机程序产品,所述计算机程序产品用于在运行时执行上述第二种方法步骤。
本申请实施例还提供了第三种计算机程序产品,所述计算机程序产品用 于在运行时执行上述第二种方法步骤。
本申请实施例所提供的方案中,服务器获取待发布视频文件;从待发布视频文件中,选取第一预设数量的视频帧;将所选取的视频帧生成目标视频文件,确定目标视频文件在视频预览界面中的目标展示位置,并保存目标展示位置与目标视频文件的对应关系,以使登录服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放目标视频文件。可见,由于第一终端在视频预览界面中的目标展示位置播放目标视频文件,用户可以从目标视频文件中获知更多与待发布视频文件内容相关的信息,提升用户体验。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例所提供的第一种视频文件的发布方法的流程图;
图2为本申请实施例所提供的第二种视频文件的发布方法的流程图;
图3为图2所示实施例中播放目标视频文件方式的具体流程图;
图4为本申请实施例所提供的第三种视频文件的发布方法的流程图;
图5为本申请实施例所提供的第一种视频文件的发布装置的结构示意图;
图6为本申请实施例所提供的第二种视频文件的发布装置的结构示意图;
图7为本申请实施例所提供的第三种视频文件的发布装置的结构示意图;
图8为本申请实施例所提供的一种服务器的结构示意图;
图9为本申请实施例所提供的一种终端的结构示意图;
图10为本申请实施例所提供的另一种终端的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行 清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
为了使用户在观看应用程序的视频预览界面时,可以获知更多与视频文件内容相关的信息,提升用户体验,本申请实施例提供了一种视频文件的发布方法、装置、服务器、终端及计算机可读存储介质。
下面首先对本申请实施例所提供的第一种视频文件的发布方法进行介绍。
首先需要说明的是,本申请实施例所提供的第一种视频文件的发布方法应用于服务器,该服务器可以为视频播放应用程序、视频直播应用程序等应用程序的后台服务器。在本申请实施例中,这些应用程序中用于展示视频文件的界面称为视频预览界面。
如图1所示,一种视频文件的发布方法,应用于服务器,所述方法包括:
S101,获取待发布视频文件;
可以理解的是,待发布视频文件一般是服务器中保存的需要发布至视频预览界面的视频文件。该待发布视频文件可以是从互联网上下载的视频文件,也可以是与服务器建立通信连接的终端发送的视频文件,这都是合理的。
S102,从所述待发布视频文件中,选取第一预设数量的视频帧;
服务器获取上述待发布视频文件后,便可以从待发布视频文件中,选取预设数量的视频帧。服务器可以解析该待发布视频文件,进而获得待发布视频文件中所包含的视频帧,然后从中选取第一预设数量的视频帧。具体的,可以按照预设规则进行选取,例如,选取待发布视频文件的中间5帧视频帧,或者,选取待发布视频文件的末尾的6帧视频帧等,这都是合理的,在此不做具体限定。
在一种实施方式中,服务器可以从待发布视频文件的第一帧视频帧开始,选取第一预设数量的视频帧,也就是说,选取待发布视频文件的头部位置的第一预设数量的视频帧。
需要说明的是,第一预设数量可以根据待发布视频文件所包含的视频帧 的数量以及所要生成的目标视频文件的大小等因素确定,例如,可以为5、7、9等,在此不做具体限定。上述解析待发布视频文件的方式可以采用相关视频解析技术中的任意视频解析方式,只要可以将待发布视频文件进行解析,进而获得待发布视频文件的视频帧即可,在此不做具体限定。
S103,将所选取的视频帧生成目标视频文件;
服务器选取上述第一预设数量的视频帧后,便可以将该第一预设数量的视频帧生成目标视频文件。可以理解的是,由于该第一预设数量的视频帧为从待发布视频文件中选取的,所以其数量一般少于待发布视频文件所包含视频帧的总数量,所以,目标视频文件可以理解为待发布视频文件对应的小视频文件,其包含待发布视频文件的部分内容。
需要说明的是,在一种实施方式中,该目标文件的格式可以为webp格式的视频文件,这样可以节省服务器的存储空间。
S104,确定所述目标视频文件在视频预览界面中的目标展示位置;
生成上述目标视频文件后,服务器便可以确定该目标视频文件在视频预览界面中的目标展示位置。在一种实施方式中,视频预览界面中可能包括若干个视频展示区域,可以同时展示若干个视频文件,那么其展示顺序可以按照时间顺序、关键词的热度等因素进行排列,那么服务器生成该目标视频文件后,便可以根据这些因素,确定该目标视频文件在视频预览界面中的展示位置,即目标展示位置。
同理的,如果视频预览界面只包括一个视频文件的展示区域,那么服务器便可以确定该展示区域即为该目标视频文件的目标展示位置。
S105,保存所述目标展示位置与所述目标视频文件的对应关系,以使登录所述服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放所述目标视频文件。
确定了上述目标视频文件的目标展示位置后,服务器可以保存目标展示位置与目标视频文件的对应关系,以便于后续登录服务器的第一终端可以根据该对应关系,在第一终端的视频预览界面中的目标展示位置播放该目标视频文件。
为了方便保存上述对应关系,目标展示位置可以通过其在视频预览界面中的标识等表示,例如,如果视频预览界面中视频文件的展示区域为矩形区域,那么也可以保存矩形区域的四个顶点的坐标与目标视频文件的对应关系,这都是合理的。
可见,本申请实施例所提供的方案中,服务器获取待发布视频文件,从待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件;确定目标视频文件在视频预览界面中的目标展示位置,并保存目标展示位置与目标视频文件的对应关系,以使登录服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放目标视频文件。由于第一终端在视频预览界面中的目标展示位置播放目标视频文件,用户可以从目标视频文件中获知更多与待发布视频文件内容相关的信息,提升用户体验。
作为本申请实施例的一种实施方式,上述获取待发布视频文件的步骤,可以包括:
获取第二终端发送的待发布视频文件。
在该实施方式中,待发布视频文件可以是与服务器建立通信连接的第二终端发送的。那么待发布视频文件可以是用户通过第二终端的摄像头录制并发送至服务器的视频文件,当然也可以为第二终端通过其他方式获得并发送至服务器的视频文件,例如,从互联网下载的视频文件等。
相应的,上述从所述待发布视频文件中,选取第一预设数量的视频帧的步骤,可以包括:
从所述待发布视频文件的起始位置选取第一预设数量的视频帧或按第一预设规则从所述待发布视频文件中选取第一预设数量的视频帧。
在一种实施方式中,服务器可以从待发布视频文件的起始位置选取第一预设数量的视频帧,也就是说从待发布视频文件的第一帧视频帧开始,选取包括第一帧视频帧的第一预设数量的视频帧。例如,第一预设数量为8,那么服务器便可以从待发布视频文件的第一帧视频帧开始,选取第一帧视频帧至 第八帧视频帧。
在另一种实施方式中,服务器可以按第一预设规则从待发布视频文件中选取第一预设数量的视频帧。例如,第一预设规则为选取待发布视频文件末尾的5帧视频帧,那么服务器便可以从待发布视频文件的末尾,选取5帧视频帧,也就是选取倒数第五帧视频帧至倒数第一帧视频帧。
作为本申请实施例的一种实施方式,上述获取待发布视频文件的步骤,可以包括:
接收所述第二终端发送的待发布视频文件及目标时间戳。
第二终端发送待发布视频文件至服务器的同时,还可以发送目标时间戳至服务器,那么服务器在接收第二终端发送的待发布视频文件时,也会接收到该目标时间戳。
其中,该目标时间戳为:第二终端获取并发送的用户选择的时间戳。也就是说,第二终端可以提供用户选择入口,以供用户选择待发布视频文件的目标时间戳。例如,第二终端可以提供时间戳选择界面,用户可以在该界面中选择目标时间戳。
相应的,上述从所述待发布视频文件中,选取第一预设数量的视频帧的步骤,可以包括:
从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧;以所述目标视频帧为第一帧视频帧,按照第二预设规则选取第一预设数量的视频帧。
服务器获得该目标时间戳后,便可以从所述待发布视频文件中,确定目标时间戳对应的目标视频帧。具体来说,由于视频文件的视频帧中一般包括时间戳,可以理解的是,时间戳标识了视频帧的时间顺序。那么,服务器可以对待发布视频文件进行解析,获得待发布视频文件中每一帧视频帧的时间戳,进而,将时间戳与目标时间戳相同的视频帧确定为目标视频帧。
进一步,服务器便可以选取以该目标视频帧为第一帧视频帧,按照第二预设规则选取第一预设数量的视频帧。该第二预设规则可以为按照视频帧排 列顺序顺次选取等,例如,第一预设数量为6,目标视频帧为第15帧视频帧,那么服务器便从待发布视频文件中选取第第15帧视频帧至第21帧视频帧。
可见,本实施例中,服务器可以根据用户选择的目标时间戳生成目标视频文件,满足用户的需要,提升用户体验。
作为本申请实施例的一种实施方式,上述将所选取的视频帧生成目标视频文件的步骤,可以包括:
将所选取的视频帧中位于末尾的第二预设数量个视频帧,按照倒序添加至所选取的视频帧的最后一帧视频帧之后,生成目标视频文件。
服务器选取上述第一预设数量的视频帧后,可以将选取的预设数量的视频帧中位于末尾的第二预设数量个视频帧,按倒序添加在所选取的视频帧的最后一帧视频帧之后,生成目标视频文件。可以理解的是,倒序即为与目标视频文件中视频帧排列顺序相反的顺序。其中,该第二预设数量可以根据所选取的视频帧的数量进行设定,在此不作具体限定,例如,可以为2、3、4等,可以理解的是,第二预设数量不会大于第一预设数量。
例如,第二预设数量为3,那么服务器便将所获取的第一预设数量个视频帧中的倒数第二帧至倒数第四帧视频帧,按倒序添加在所获取的第一预设数量个视频帧的最后一帧视频帧之后,生成目标视频文件。按倒序也就是按照倒数第二帧至倒数第三帧的顺序。
也就是说,如果所获取的第一预设数量个视频帧包含6帧视频帧,那么倒数第二帧视频帧至倒数第四帧视频帧即为正数第三帧视频至正数第五帧视频帧,生成的目标视频文件也就包含第一预设数量个视频帧的正数第一帧视频至正数第六帧视频帧,在正数第六帧视频帧之后,还包括正数第五帧视频至正数第三帧视频帧,共9帧视频帧。其视频帧的顺序为:按照正序的第一帧至第六帧以及第五帧、第四帧及第三帧。
在一种情况下,第二预设数量可以为第一预设数量减2,也就是说,服务器将选取的预设数量的视频帧中的倒数第二帧视频帧至正数第二帧视频帧,按倒序添加在所选取的视频帧的最后一帧视频帧之后,这样生成的目标视频文件也就包含了正数第一帧视频帧至最后一帧视频帧,以及在最后一帧视频 帧之后的,倒序排列的倒数第二帧视频至正数第二帧视频帧。
可见,本实施例中,由于目标视频文件的第一帧视频帧与最后一帧视频帧的内容相差较小,目标视频文件在视频预览界面循环播放时,用户不会感受到强烈的闪烁感,用户体验更好。
本申请实施例还提供了第二种视频文件的发布方法。下面对本申请实施例所提供的第二种视频文件的发布方法进行介绍。
首先需要说明的是,本申请实施例所提供的第二种视频文件的发布方法应用于与服务器建立通信连接的第一终端。该第一终端可以为手机、电脑、平板电脑等电子设备,在此不做具体限定。
如图2所示,一种视频文件的发布方法,应用于第一终端,所述方法包括:
S201,登录服务器,以使所述服务器发送预先保存的视频预览界面中的目标展示位置与目标视频文件的对应关系至所述第一终端;
当用户开启第一终端中安装的应用程序展示视频预览界面时,第一终端便登录服务器。对于登录服务器的具体实现方式可以为任意相关技术中的登录方式,例如,第一终端可以显示用户名及密码输入栏,用户可以输入用户名和密码进行登录。
为了使服务器可以获知用户所开启的界面为展示视频预览界面,第二终端在登录服务器的同时还可以将界面标识发送至服务器,进而服务器便可以将预先保存的视频预览界面中的目标展示位置与目标视频文件的对应关系发送至第一终端。可以理解的是,界面标识即为该视频预览界面的界面标识,服务器接收到该界面标识,便可以将该对应关系发送至第一终端。
其中,目标视频文件为服务器从获取的待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成的视频文件。对于目标视频文件的生成方式,以及上述对应关系的建立方式在上述第一种方法实施例中已经进行了详细介绍,在此不做具体限定。
S202,接收所述对应关系,并根据所述对应关系,在所述视频展示界面 中的目标展示位置播放所述目标视频文件。
第一终端接收到上述对应关系后,便可以根据对应关系,在视频展示界面中的目标展示位置播放目标视频文件。在一种实施方式中,视频预览界面中可能包括若干个视频展示区域,可以同时展示若干个视频文件。当然,视频预览界面可能只包括一个视频文件的展示区域,不管视频预览界面中的视频展示区域为几个,第一终端只要获得上述对应关系,那么便可以确定视频预览界面中目标视频文件的目标展示位置,进而,在该目标展示位置播放目标视频文件。
举例来说,上述对应关系中的目标展示位置为一矩形的四个顶点的坐标,那么第一终端获得该对应关系后,便可以获得该四个顶点的坐标,进而确定该四个顶点的坐标在视频展示界面中的位置,得到四个点的位置,将该四个点的位置围成的矩形确定为实际的目标展示位置,进而在视频展示界面中的该矩形区域内播放目标视频文件。
又例如,每个视频展示区域的大小是预先设定的,那么服务器发送的对应关系中的目标展示位置可以是视频展示区域的中心点的坐标,那么,第一终端只要获得上述对应关系,那么便可以确定视频预览界面中目标视频文件的实际目标展示位置为以该中心点的坐标为中心位置的预设大小的区域,进而,在该区域播放目标视频文件。
在一种实施方式中,目标展示位置与目标视频文件的对应关系可以为:视频展示界面中的目标展示位置与目标视频文件的存储地址的对应关系。该存储地址即为服务器存储目标视频文件的地址。那么第一终端在播放该目标视频文件时,便可以根据该存储地址加载目标视频文件,进而在视频展示界面中的目标展示位置进行播放。
可见,本申请实施例所提供的方案中,第一终端登录服务器,以使服务器发送预先保存的视频预览界面中的目标展示位置与目标视频文件的对应关系至第一终端,接收对应关系,并根据对应关系,在视频展示界面中的目标展示位置播放所述目标视频文件。由于第一终端在视频预览界面中的目标展示位置播放目标视频文件,用户可以从目标视频文件中获知更多与待发布视频文件内容相关的信息,提升用户体验。
作为本申请实施例的一种实施方式,如图3所示,上述在所述视频展示界面中的目标展示位置播放所述目标视频文件的步骤,可以包括:
S301,在所述视频展示界面中的目标展示位置,正序播放所述目标视频文件的视频帧;
可以理解的是,正序播放即为目标视频文件的正数第一帧视频帧开始播放,然后播放正数第二帧视频帧,直到最后一帧视频帧。例如,如果该目标视频帧包括6帧视频帧,那么按照正序播放该目标视频文件的视频帧,即为从该目标视频文件的正数第一帧视频帧开始播放,然后播放正数第二帧视频帧,直到播放至最后一帧视频帧,即正数第六帧视频帧。其中,播放视频帧的方式可以采用任意相关技术中的视频播放方式,例如可以根据视频帧标识等信息,确定每一帧视频帧,进而进行播放,在此不做具体限定。
S302,在所述目标视频文件的最后一帧视频帧播放完毕后,倒序播放所述目标视频文件的视频帧直到预设视频帧;
当目标视频文件的最后一帧视频帧播放完毕后,第一终端可以倒序播放该目标视频文件的视频帧直到预设视频帧。可以理解的是,倒序播放即为按照与正序播放相反的顺序播放。
其中,预设视频帧可以根据目标视频文件所包含的视频帧的数量等因素进行设定,在此不作具体限定。例如,目标视频文件包含6帧视频帧,那么该预设视频帧可以为正数第三帧视频帧、倒数第二帧视频帧等。
S303,返回所述正序播放所述目标视频文件的视频帧的步骤,直到获取停止播放指令,停止播放所述目标视频文件。
在倒序播放上述目标视频文件的视频帧直到第一预设视频帧后,第一终端便可以返回上述按照正序播放目标视频文件的视频帧的步骤,进行循环播放。也就是说,在预设视频帧播放完毕后,便再次从该目标视频文件的正数第一帧视频帧开始,按照正序播放该目标视频文件。
当第二终端获取停止播放指令时,便可以停止循环播放目标视频文件。 举例来说,在一种情况下,当用户点击视频预览界面中的目标展示位置中播放的目标视频文件时,第二终端便获取停止播放指令,停止播放该目标视频文件,进而进入视频播放界面播放该目标视频文件对应的完整视频文件,即上述待发布视频文件。
可见,采用上述播放方式播放目标视频文件时,采用正序播放目标视频文件后倒序播放目标视频文件直到预设视频帧的方式,由于目标视频文件内容的跳跃性小,所以可以减少目标视频文件播放时给用户带来的闪烁感,提升用户体验。
针对上述目标视频文件的每一视频帧中包含视频帧标识的情况而言,作为本申请实施例的一种实施方式,上述倒序播放所述目标视频文件的视频帧直到预设视频帧的步骤,可以包括:
根据每一视频帧中包含的视频帧标识,获得所述目标视频文件的倒数第二帧视频帧;从所述倒数第二帧视频帧开始,倒序播放所述目标视频文件的视频帧直到预设视频帧。
其中,视频帧标识可以为视频帧的帧号、时间戳、偏移量等,在此不做具体限定,只要能够标识视频帧的顺序即可。
这样,在上述目标视频文件的最后一帧视频帧播放完毕后,第一终端便可以根据每一视频帧中包含的视频帧标识,获得该目标视频文件的倒数第二帧视频帧,进而,从该倒数第二帧视频帧开始,倒序播放该目标视频文件的视频帧直到第一预设视频帧。
举例而言,假设视频帧标识为视频帧的帧号,上述目标视频文件包括9帧视频帧,从正数第一帧视频帧到最后一帧视频帧的帧号依次为1-9,那么在上述目标视频文件的最后一帧视频帧播放完毕后,第一终端可以根据每一视频帧的帧号,获得帧号为8的该视频文件的倒数第二帧视频帧,然后从该帧号为8的倒数第二帧视频帧开始,倒序播放该目标视频文件的视频帧直到第一预设视频帧。
作为本申请实施例的一种实施方式,上述预设视频帧为目标视频文件的正数第二帧视频帧。也就是说,在上述目标视频文件的最后一帧视频帧播放 完毕后,第一终端倒序播放该目标视频文件的视频帧直到正数第二帧视频帧,然后再循环从目标视频文件的正数第一帧视频帧开始,正序播放目标视频文件的视频帧。这样,由于目标视频文件的正数第二帧视频帧与正数第一帧视频帧是连续的视频帧,因此视频内容上的差距更小,可以进一步较少用户在观看目标视频文件时感受到的闪烁感,进一步提升用户体验。
本申请实施例还提供了第三种视频文件的发布方法。下面对本申请实施例所提供的第三种视频文件的发布方法进行介绍。
首先需要说明的是,本申请实施例所提供的第三种视频文件的发布方法应用于与服务器建立通信连接的第二终端。该第二终端可以为手机、电脑、平板电脑等电子设备,在此不做具体限定。尤其需要说明的是,该第二终端与上述第一终端可以是同一个终端,也可以是不同的终端,这都是合理的。
如图4所示,一种视频文件的发布方法,应用于第二终端,所述方法包括:
S401,获取待发布视频文件;
可以理解的是,待发布视频文件一般是第二终端中保存的视频文件,在第二终端具有摄像头的情况下,该待发布视频文件可以是用户通过第二终端的摄像头拍摄的视频文件。当然,待发布视频文件也可以是用户从互联网上下载的视频文件,也可以是与第二终端建立通信连接的其它设备发送的视频文件,这都是合理的。
S402,发送所述待发布视频文件至服务器,以使所述服务器接收所述待发布视频文件,从所述待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件,并对应于视频展示界面的界面标识,建立视频展示界面中展示位置与所述目标视频文件的对应关系,用于第一终端根据所述视频展示界面中展示位置与所述目标视频文件的对应关系,在视频展示界面的相应展示位置播放所述目标视频文件。
第二终端获取上述待发布视频文件后,便可以将该待发布视频文件至服务器,进而服务器便可以从该待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件,并对应于视频展示界面的界面标 识,建立视频展示界面中展示位置与所述目标视频文件的对应关系。这样,在第一终端登录服务器时,便可以获得服务器中保存的视频展示界面中展示位置与所述目标视频文件的对应关系,进而,根据该对应关系,在视频展示界面的相应展示位置播放所述目标视频文件。
需要说明的是,第二终端与第一终端可以是用同一个终端,也就是说,第二终端也可以登录服务器,并根据上述对应关系,在视频展示界面的相应展示位置播放所述目标视频文件。
对于服务器生成目标视频文件、建立上述对应关系以及第一终端播放目标视频文件的具体方式已经在上述两种方法实施例中进行了详细介绍,在此不再赘述。
可见,本申请实施例所提供的方案中,第二终端获取待发布视频文件,发送待发布视频文件至服务器,以使服务器接收待发布视频文件,从待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件,并对应于视频展示界面的界面标识,建立视频展示界面中展示位置与目标视频文件的对应关系,用于第一终端根据视频展示界面中展示位置与目标视频文件的对应关系,在视频展示界面的相应展示位置播放目标视频文件。由于第一终端在视频预览界面中的目标展示位置播放目标视频文件,用户可以从目标视频文件中获知更多与待发布视频文件内容相关的信息,提升用户体验,同时,用户可以通过第二终端选择自己想要发布的待发布视频文件,进一步提升用户体验。
为了使用户可以根据自己的需要选择目标视频文件所包含的视频帧,提升用户体验,作为本申请实施例的一种实施方式,在上述获取待发布视频文件的步骤之后,上述方法还可以包括:获取用户选择的目标时间戳。
第二终端可以提供用户选择入口,以供用户选择待发布视频文件的时间戳。例如,第二终端可以提供时间戳选择界面,用户可以在该界面中选择目标时间戳。
相应的,上述发送所述待发布视频文件至服务器的步骤,可以包括:
发送所述待发布视频文件及所述目标时间戳至服务器,以使所述服务器接收所述待发布视频文件及所述目标时间戳,从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧,并选取以所述目标视频帧为第一帧视频帧的第一预设数量的视频帧。
第二终端发送待发布视频文件至服务器的同时,还可以发送目标时间戳至服务器,那么服务器在接收第二终端发送的待发布视频文件时,也会接收到该目标时间戳。进而,便可以从所述待发布视频文件中,确定目标时间戳对应的目标视频帧。
具体来说,由于视频文件的视频帧中一般包括时间戳,可以理解的是,时间戳标识了视频帧的时间顺序。那么,服务器可以对待发布视频文件进行解析,获得待发布视频文件中每一帧视频帧的时间戳,进而,将时间戳与目标时间戳相同的视频帧确定为目标视频帧。进一步,服务器便可以选取以该目标视频帧为第一帧视频帧的第一预设数量的视频帧。其中,第一预设数量可以根据待发布视频文件所包含的视频帧的数量进行设定,在此不作具体限定,例如,可以为5、6、9等。
针对上述第二终端发送待发布视频文件至服务器的同时,还发送目标时间戳至服务器的情况而言,作为本申请实施例的一种实施方式,上述获取用户选择的目标时间戳的步骤,可以包括:
展示所述待发布视频文件的进度条;获取用户在所述进度条上选择的位置信息;根据所述位置信息、所述进度条的长度及所述待发布视频文件的时长,确定所述用户选择的目标时间戳。
具体来说,第二终端可以在预设界面展示待发布视频文件的进度条,可以理解的是,进度条用于表示待发布视频文件长度。在一种实施方式中,该进度条可以为图片形式的进度条。这些图片可以是待发布视频文件中的某些图片,这样用户可以更直观地的看到待发布视频文件的大致内容,方便用户选择目标时间戳。
用户可以在上述预设界面展示的待发布视频文件的进度条上选择自己想要的位置,例如可以点击进度条上的某位置选中该位置。第二终端便可以获 取用户在该进度条上选择的位置信息。
进而,第二终端可以根据用户在进度条上选择的位置信息、进度条的长度及待发布视频文件的时长,确定用户选择的目标时间戳。具体来说,进度条的长度表示视频的时长,那么从进度条开始位置到用户选择的位置信息所占进度条长度的比例,即等于用户选择的目标时间戳对应的时间所占待发布视频文件的时长的比例。由于待发布视频文件的开始时间是确定的,进而便可以确定目标时间戳。
举例而言,假设进度条长度为6厘米,用户选择的位置信息为距离进度条开始位置3厘米,待发布视频文件的时长为100秒,那么用户选择的目标时间戳对应的时间即为100*(3/6)=50秒,待发布视频文件的开始时间是为2017年7月29日15时,那么目标时间戳即为2017年7月29日15时50秒对应的时间戳。
可见,在本实施例中,用户可以自己选择目标时间戳,且第二终端可以显示图片形式的进度条,使用户可以更直观地看到待发布视频文件的内容,便于用户选择目标时间戳,用户体验更好。
相应于上述第一种方法实施例,本申请实施例提供了一种视频文件的发布装置。
下面对本申请实施例所提供的第一种视频文件的发布装置进行介绍。
如图5所示,一种视频文件的发布装置,应用于服务器,所述装置包括:
视频文件获取模块510,用于获取待发布视频文件;
视频帧选取模块520,用于从所述待发布视频文件中,选取第一预设数量的视频帧;
目标视频文件生成模块530,用于将所选取的视频帧生成目标视频文件;
目标展示位置确定模块540,用于确定所述目标视频文件在视频预览界面中的目标展示位置;
对应关系存储模块550,用于保存所述目标展示位置与所述目标视频文件 的对应关系,以使登录所述服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放所述目标视频文件。
可见,本申请实施例所提供的方案中,服务器获取待发布视频文件;从待发布视频文件中,选取第一预设数量的视频帧;将所选取的视频帧生成目标视频文件;确定目标视频文件在视频预览界面中的目标展示位置;保存目标展示位置与目标视频文件的对应关系,以使登录服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放目标视频文件。由于第一终端在视频预览界面中的目标展示位置播放目标视频文件,用户可以从目标视频文件中获知更多与待发布视频文件内容相关的信息,提升用户体验。
作为本申请实施例的一种实施方式,所述视频文件获取模块510可以包括:
第一视频文件获取单元(图中未示出),用于获取第二终端发送的待发布视频文件;
所述视频帧选取模块520可以包括:
第一视频帧选取单元(图中未示出),用于从所述待发布视频文件的起始位置选取第一预设数量个视频帧或按第一预设规则从所述待发布视频文件中选取第一预设数量个视频帧。
作为本申请实施例的一种实施方式,所述视频文件获取模块510可以包括:
第二视频文件获取单元(图中未示出),用于接收所述第二终端发送的待发布视频文件及目标时间戳,其中,所述目标时间戳为:所述第二终端获取并发送的用户选择的时间戳;
所述视频帧选取模块520可以包括:
目标视频帧确定单元(图中未示出),用于从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧;
第二视频帧选取单元(图中未示出),用于以所述目标视频帧为第一帧视频帧,按照第二预设规则选取第一预设数量的视频帧。
作为本申请实施例的一种实施方式,所述目标视频文件生成模块530可以包括:
目标视频文件生成单元(图中未示出),用于将所选取的视频帧中位于末尾的第二预设数量个视频帧,按照倒序添加至所选取的视频帧的最后一帧视频帧之后,生成目标视频文件。
相应于上述第二种方法实施例,本申请实施例提供了一种视频文件的发布装置。
下面对本申请实施例所提供的第二种视频文件的发布装置进行介绍。
如图6所示,一种视频文件的发布装置,应用于第一终端,所述装置包括:
登录模块610,用于登录服务器,以使所述服务器发送预先保存的视频预览界面中的目标展示位置与目标视频文件的对应关系至所述第一终端;
其中,所述目标视频文件为所述服务器从获取的待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成的视频文件;
目标视频文件播放模块620,用于接收所述对应关系,并根据所述对应关系,在所述视频展示界面中的目标展示位置播放所述目标视频文件。
可见,本申请实施例所提供的方案中,第一终端登录服务器,以使服务器发送预先保存的视频预览界面中的目标展示位置与目标视频文件的对应关系至第一终端;接收对应关系,并根据对应关系,在视频展示界面中的目标展示位置播放所述目标视频文件。由于第一终端在视频预览界面中的目标展示位置播放目标视频文件,用户可以从目标视频文件中获知更多与待发布视频文件内容相关的信息,提升用户体验。
作为本申请实施例的一种实施方式,所述视频展示界面中的目标展示位置与所述目标视频文件的对应关系为:所述视频展示界面中的目标展示位置与所述目标视频文件的存储地址的对应关系;
所述目标视频文件播放模块620可以包括:
目标视频文件播放单元(图6中未示出),用于在所述视频展示界面中的目标展示位置播放所述对应关系包括的存储地址对应的目标视频文件。
作为本申请实施例的一种实施方式,所述目标视频文件播放模块620可以包括:
正序播放单元(图6中未示出),用于在所述视频展示界面中的目标展示位置,正序播放所述目标视频文件的视频帧;
到序播放单元(图6中未示出),用于在所述目标视频文件的最后一帧视频帧播放完毕后,倒序播放所述目标视频文件的视频帧直到预设视频帧,并触发所述正序播放单元;
停止播放单元(图6中未示出),用于在获取停止播放指令时,停止播放所述目标视频文件。
作为本申请实施例的一种实施方式,所述目标视频文件的每一视频帧中包含视频帧标识;
所述到序播放单元可以包括:
视频帧获取子单元(图6中未示出),用于根据每一视频帧中包含的视频帧标识,获得所述目标视频文件的倒数第二帧视频帧;
倒序播放子单元(图6中未示出),用于从所述倒数第二帧视频帧开始,倒序播放所述目标视频文件的视频帧直到预设视频帧。
作为本申请实施例的一种实施方式,所述预设视频帧为所述目标视频文件的正数第二帧视频帧。
相应于上述第三种方法实施例,本申请实施例提供了一种视频文件的发布装置。
下面对本申请实施例所提供的第三种视频文件的发布装置进行介绍。
如图7所示,一种视频文件的发布装置,应用于第二终端,所述装置包括:
待发布视频文件获取模块710,用于获取待发布视频文件;
待发布视频文件发送模块720,用于发送所述待发布视频文件至服务器,以使所述服务器接收所述待发布视频文件,从所述待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件,确定所述目标视频文件在视频预览界面中的目标展示位置,保存所述目标展示位置与所述目标视频文件的对应关系,以使登录所述服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放所述目标视频文件。
可见,本申请实施例所提供的方案中,第二终端获取待发布视频文件,发送待发布视频文件至服务器,以使服务器接收待发布视频文件,从待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件,并对应于视频展示界面的界面标识,建立视频展示界面中展示位置与目标视频文件的对应关系,用于第一终端根据视频展示界面中展示位置与目标视频文件的对应关系,在视频展示界面的相应展示位置播放目标视频文件。由于第一终端在视频预览界面中的目标展示位置播放目标视频文件,用户可以从目标视频文件中获知更多与待发布视频文件内容相关的信息,提升用户体验,同时,用户可以通过第二终端选择自己想要发布的待发布视频文件,进一步提升用户体验。
作为本申请实施例的一种实施方式,所述装置还可以包括:
目标时间戳获取模块(图7中未示出),用于在获取待发布视频文件之后,获取用户选择的目标时间戳;
所述待发布视频文件发送模块720可以包括:
目标时间戳发送单元(图7中未示出),用于发送所述待发布视频文件及所述目标时间戳至服务器,以使所述服务器接收所述待发布视频文件及所述目标时间戳,从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧,并选取以所述目标视频帧为第一帧视频帧的第一预设数量的视频帧。
作为本申请实施例的一种实施方式,所述目标时间戳获取模块可以包括:
进度条展示单元(图7中未示出),用于展示所述待发布视频文件的进度条;
位置信息获取单元(图7中未示出),用于获取用户在所述进度条上选择的位置信息;
目标时间戳确定单元(图7中未示出),用于根据所述位置信息、所述进度条的长度及所述待发布视频文件的时长,确定所述用户选择的目标时间戳。
本申请实施例还提供了一种服务器,如图8所示,包括处理器801、通信接口802、存储器803和通信总线804,其中,处理器801,通信接口802,存储器803通过通信总线804完成相互间的通信,
存储器803,用于存放计算机程序;
处理器801,用于执行存储器803上所存放的程序时,实现如下步骤:
获取待发布视频文件;
从所述待发布视频文件中,选取第一预设数量的视频帧;
将所选取的视频帧生成目标视频文件;
确定所述目标视频文件在视频预览界面中的目标展示位置;
保存所述目标展示位置与所述目标视频文件的对应关系,以使登录所述服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放所述目标视频文件。
可见,本申请实施例所提供的方案中,服务器获取待发布视频文件;从待发布视频文件中,选取第一预设数量的视频帧;将所选取的视频帧生成目标视频文件;确定目标视频文件在视频预览界面中的目标展示位置;保存目标展示位置与目标视频文件的对应关系,以使登录服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放目标视频文件。由于第一终端在视频预览界面中的目标展示位置播放目标视频文件,用户可以从目标视频文件中获知更多与待发布视频文件内容相关的信息,提升用户 体验。
上述服务器提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
通信接口用于上述服务器与其他设备之间的通信。
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
其中,上述获取待发布视频文件的步骤,可以包括:
获取第二终端发送的待发布视频文件;
所述从所述待发布视频文件中,选取第一预设数量的视频帧的步骤,包括:
从所述待发布视频文件的起始位置选取第一预设数量的视频帧或按预设规则从所述待发布视频文件中选取第一预设数量的视频帧。
其中,上述获取待发布视频文件的步骤,可以包括:
接收所述第二终端发送的待发布视频文件及目标时间戳,其中,所述目标时间戳为:所述第二终端获取并发送的用户选择的时间戳;
所述从所述待发布视频文件中,选取第一预设数量的视频帧的步骤,包括:
从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧;
选取以所述目标视频帧为第一帧视频帧的第一预设数量的视频帧。
其中,上述将所选取的视频帧生成目标视频文件的步骤,可以包括:
将所选取的视频帧中位于末尾的第二预设数量个视频帧,按照倒序添加至所选取的视频帧的最后一帧视频帧之后,生成目标视频文件。
本申请实施例还提供了一种终端,如图9所示,包括处理器901、通信接口902、存储器903和通信总线904,其中,处理器901,通信接口902,存储器903通过通信总线904完成相互间的通信,
存储器903,用于存放计算机程序;
处理器901,用于执行存储器903上所存放的程序时,实现如下步骤:
登录服务器,以使所述服务器发送预先保存的视频预览界面中的目标展示位置与目标视频文件的对应关系至所述第一终端;其中,所述目标视频文件为所述服务器从获取的待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成的视频文件;
接收所述对应关系,并根据所述对应关系,在所述视频展示界面中的目标展示位置播放所述目标视频文件。
可见,本申请实施例所提供的方案中,第一终端登录服务器,以使服务器发送预先保存的视频预览界面中的目标展示位置与目标视频文件的对应关系至第一终端;接收对应关系,并根据对应关系,在视频展示界面中的目标展示位置播放所述目标视频文件。由于第一终端在视频预览界面中的目标展示位置播放目标视频文件,用户可以从目标视频文件中获知更多与待发布视频文件内容相关的信息,提升用户体验。
上述终端提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
通信接口用于上述终端与其他设备之间的通信。
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
其中,上述视频展示界面中的目标展示位置与所述目标视频文件的对应关系为:所述视频展示界面中的目标展示位置与所述目标视频文件的存储地址的对应关系;
上述在所述视频展示界面中的目标展示位置播放所述目标视频文件的步骤,可以包括:
在所述视频展示界面中的目标展示位置播放所述对应关系包括的存储地址对应的目标视频文件。
其中,上述在所述视频展示界面中的目标展示位置播放所述目标视频文件的步骤,可以包括:
在所述视频展示界面中的目标展示位置,正序播放所述目标视频文件的视频帧;
在所述目标视频文件的最后一帧视频帧播放完毕后,倒序播放所述目标 视频文件的视频帧直到预设视频帧;
返回所述正序播放所述目标视频文件的视频帧的步骤,直到获取停止播放指令,停止播放所述目标视频文件。
其中,上述目标视频文件的每一视频帧中包含视频帧标识;
上述倒序播放所述目标视频文件的视频帧直到预设视频帧的步骤,可以包括:
根据每一视频帧中包含的视频帧标识,获得所述目标视频文件的倒数第二帧视频帧;
从所述倒数第二帧视频帧开始,倒序播放所述目标视频文件的视频帧直到预设视频帧。
其中,上述预设视频帧为所述目标视频文件的正数第二帧视频帧。
本申请实施例还提供了另一种终端,如图10所示,包括处理器1001、通信接口1002、存储器1003和通信总线1004,其中,处理器1001,通信接口1002,存储器1003通过通信总线1004完成相互间的通信,
存储器1003,用于存放计算机程序;
处理器1001,用于执行存储器1003上所存放的程序时,实现如下步骤:
获取待发布视频文件;
发送所述待发布视频文件至服务器,以使所述服务器接收所述待发布视频文件,从所述待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件,并对应于视频展示界面的界面标识,建立视频展示界面中展示位置与所述目标视频文件的对应关系,用于第一终端根据所述视频展示界面中展示位置与所述目标视频文件的对应关系,在视频展示界面的相应展示位置播放所述目标视频文件。
可见,本申请实施例所提供的方案中,第二终端获取待发布视频文件,发送待发布视频文件至服务器,以使服务器接收待发布视频文件,从待发布 视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件,并对应于视频展示界面的界面标识,建立视频展示界面中展示位置与目标视频文件的对应关系,用于第一终端根据视频展示界面中展示位置与目标视频文件的对应关系,在视频展示界面的相应展示位置播放目标视频文件。由于第一终端在视频预览界面中的目标展示位置播放目标视频文件,用户可以从目标视频文件中获知更多与待发布视频文件内容相关的信息,提升用户体验,同时,用户可以通过第二终端选择自己想要发布的待发布视频文件,进一步提升用户体验。
上述终端提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
通信接口用于上述终端与其他设备之间的通信。
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
其中,在上述获取待发布视频文件的步骤之后,上述方法还包括:
获取用户选择的目标时间戳;
所述发送所述待发布视频文件至服务器的步骤,包括:
发送所述待发布视频文件及所述目标时间戳至服务器,以使所述服务器接收所述待发布视频文件及所述目标时间戳,从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧,并选取以所述目标视频帧为第一帧视频帧的第一预设数量的视频帧。
其中,上述获取用户选择的目标时间戳的步骤,可以包括:
展示所述待发布视频文件的进度条;
获取用户在所述进度条上选择的位置信息;
根据所述位置信息、所述进度条的长度及所述待发布视频文件的时长,确定所述用户选择的目标时间戳。
其中,上述进度条为图片形式的进度条。
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:
获取待发布视频文件;
从所述待发布视频文件中,选取第一预设数量的视频帧;
将所选取的视频帧生成目标视频文件;
确定所述目标视频文件在视频预览界面中的目标展示位置;
保存所述目标展示位置与所述目标视频文件的对应关系,以使登录所述服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放所述目标视频文件。
可见,本申请实施例所提供的方案中,计算机程序被处理器执行时,服务器获取待发布视频文件;从待发布视频文件中,选取第一预设数量的视频帧;将所选取的视频帧生成目标视频文件;确定目标视频文件在视频预览界面中的目标展示位置;保存目标展示位置与目标视频文件的对应关系,以使登录服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放目标视频文件。由于第一终端在视频预览界面中的目标展示位 置播放目标视频文件,用户可以从目标视频文件中获知更多与待发布视频文件内容相关的信息,提升用户体验。
其中,上述获取待发布视频文件的步骤,可以包括:
获取第二终端发送的待发布视频文件;
所述从所述待发布视频文件中,选取第一预设数量的视频帧的步骤,包括:
从所述待发布视频文件的起始位置选取第一预设数量的视频帧或按预设规则从所述待发布视频文件中选取第一预设数量的视频帧。
其中,上述获取待发布视频文件的步骤,可以包括:
接收所述第二终端发送的待发布视频文件及目标时间戳,其中,所述目标时间戳为:所述第二终端获取并发送的用户选择的时间戳;
所述从所述待发布视频文件中,选取第一预设数量的视频帧的步骤,包括:
从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧;
选取以所述目标视频帧为第一帧视频帧的第一预设数量的视频帧。
其中,上述将所选取的视频帧生成目标视频文件的步骤,可以包括:
将所选取的视频帧中位于末尾的第二预设数量个视频帧,按照倒序添加至所选取的视频帧的最后一帧视频帧之后,生成目标视频文件。
本申请实施例还提供了另一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:
登录服务器,以使所述服务器发送预先保存的视频预览界面中的目标展示位置与目标视频文件的对应关系至所述第一终端;其中,所述目标视频文件为所述服务器从获取的待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成的视频文件;
接收所述对应关系,并根据所述对应关系,在所述视频展示界面中的目标展示位置播放所述目标视频文件。
可见,本申请实施例所提供的方案中,计算机程序被处理器执行时,第一终端登录服务器,以使服务器发送预先保存的视频预览界面中的目标展示位置与目标视频文件的对应关系至第一终端;接收对应关系,并根据对应关系,在视频展示界面中的目标展示位置播放所述目标视频文件。由于第一终端在视频预览界面中的目标展示位置播放目标视频文件,用户可以从目标视频文件中获知更多与待发布视频文件内容相关的信息,提升用户体验。
其中,上述视频展示界面中的目标展示位置与所述目标视频文件的对应关系为:所述视频展示界面中的目标展示位置与所述目标视频文件的存储地址的对应关系;
上述在所述视频展示界面中的目标展示位置播放所述目标视频文件的步骤,可以包括:
在所述视频展示界面中的目标展示位置播放所述对应关系包括的存储地址对应的目标视频文件。
其中,上述在所述视频展示界面中的目标展示位置播放所述目标视频文件的步骤,可以包括:
在所述视频展示界面中的目标展示位置,正序播放所述目标视频文件的视频帧;
在所述目标视频文件的最后一帧视频帧播放完毕后,倒序播放所述目标视频文件的视频帧直到预设视频帧;
返回所述正序播放所述目标视频文件的视频帧的步骤,直到获取停止播放指令,停止播放所述目标视频文件。
其中,上述目标视频文件的每一视频帧中包含视频帧标识;
上述倒序播放所述目标视频文件的视频帧直到预设视频帧的步骤,可以包括:
根据每一视频帧中包含的视频帧标识,获得所述目标视频文件的倒数第 二帧视频帧;
从所述倒数第二帧视频帧开始,倒序播放所述目标视频文件的视频帧直到预设视频帧。
其中,上述预设视频帧为所述目标视频文件的正数第二帧视频帧。
本申请实施例还提供了另一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:
获取待发布视频文件;
发送所述待发布视频文件至服务器,以使所述服务器接收所述待发布视频文件,从所述待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件,并对应于视频展示界面的界面标识,建立视频展示界面中展示位置与所述目标视频文件的对应关系,用于第一终端根据所述视频展示界面中展示位置与所述目标视频文件的对应关系,在视频展示界面的相应展示位置播放所述目标视频文件。
可见,本申请实施例所提供的方案中,计算机程序被处理器执行时,第二终端获取待发布视频文件,发送待发布视频文件至服务器,以使服务器接收待发布视频文件,从待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件,并对应于视频展示界面的界面标识,建立视频展示界面中展示位置与目标视频文件的对应关系,用于第一终端根据视频展示界面中展示位置与目标视频文件的对应关系,在视频展示界面的相应展示位置播放目标视频文件。由于第一终端在视频预览界面中的目标展示位置播放目标视频文件,用户可以从目标视频文件中获知更多与待发布视频文件内容相关的信息,提升用户体验,同时,用户可以通过第二终端选择自己想要发布的待发布视频文件,进一步提升用户体验。
其中,在上述获取待发布视频文件的步骤之后,上述方法还包括:
获取用户选择的目标时间戳;
所述发送所述待发布视频文件至服务器的步骤,包括:
发送所述待发布视频文件及所述目标时间戳至服务器,以使所述服务器接收所述待发布视频文件及所述目标时间戳,从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧,并选取以所述目标视频帧为第一帧视频帧的第一预设数量的视频帧。
其中,上述获取用户选择的目标时间戳的步骤,可以包括:
展示所述待发布视频文件的进度条;
获取用户在所述进度条上选择的位置信息;
根据所述位置信息、所述进度条的长度及所述待发布视频文件的时长,确定所述用户选择的目标时间戳。
其中,上述进度条为图片形式的进度条。
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品用于在运行时执行以下方法步骤:
获取待发布视频文件;
从所述待发布视频文件中,选取第一预设数量的视频帧;
将所选取的视频帧生成目标视频文件;
确定所述目标视频文件在视频预览界面中的目标展示位置;
保存所述目标展示位置与所述目标视频文件的对应关系,以使登录所述服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放所述目标视频文件。
其中,上述获取待发布视频文件的步骤,可以包括:
获取第二终端发送的待发布视频文件;
所述从所述待发布视频文件中,选取第一预设数量的视频帧的步骤,包括:
从所述待发布视频文件的起始位置选取第一预设数量的视频帧或按预设 规则从所述待发布视频文件中选取第一预设数量的视频帧。
其中,上述获取待发布视频文件的步骤,可以包括:
接收所述第二终端发送的待发布视频文件及目标时间戳,其中,所述目标时间戳为:所述第二终端获取并发送的用户选择的时间戳;
所述从所述待发布视频文件中,选取第一预设数量的视频帧的步骤,包括:
从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧;
选取以所述目标视频帧为第一帧视频帧的第一预设数量的视频帧。
其中,上述将所选取的视频帧生成目标视频文件的步骤,可以包括:
将所选取的视频帧中位于末尾的第二预设数量个视频帧,按照倒序添加至所选取的视频帧的最后一帧视频帧之后,生成目标视频文件。
本申请实施例还提供了第二种计算机程序产品,所述计算机程序产品用于在运行时执行以下方法步骤:
登录服务器,以使所述服务器发送预先保存的视频预览界面中的目标展示位置与目标视频文件的对应关系至所述第一终端;其中,所述目标视频文件为所述服务器从获取的待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成的视频文件;
接收所述对应关系,并根据所述对应关系,在所述视频展示界面中的目标展示位置播放所述目标视频文件。
其中,上述视频展示界面中的目标展示位置与所述目标视频文件的对应关系为:所述视频展示界面中的目标展示位置与所述目标视频文件的存储地址的对应关系;
上述在所述视频展示界面中的目标展示位置播放所述目标视频文件的步骤,可以包括:
在所述视频展示界面中的目标展示位置播放所述对应关系包括的存储地 址对应的目标视频文件。
其中,上述在所述视频展示界面中的目标展示位置播放所述目标视频文件的步骤,可以包括:
在所述视频展示界面中的目标展示位置,正序播放所述目标视频文件的视频帧;
在所述目标视频文件的最后一帧视频帧播放完毕后,倒序播放所述目标视频文件的视频帧直到预设视频帧;
返回所述正序播放所述目标视频文件的视频帧的步骤,直到获取停止播放指令,停止播放所述目标视频文件。
其中,上述目标视频文件的每一视频帧中包含视频帧标识;
上述倒序播放所述目标视频文件的视频帧直到预设视频帧的步骤,可以包括:
根据每一视频帧中包含的视频帧标识,获得所述目标视频文件的倒数第二帧视频帧;
从所述倒数第二帧视频帧开始,倒序播放所述目标视频文件的视频帧直到预设视频帧。
其中,上述预设视频帧为所述目标视频文件的正数第二帧视频帧。
本申请实施例还提供了第三种计算机程序产品,所述计算机程序产品用于在运行时执行以下方法步骤:
获取待发布视频文件;
发送所述待发布视频文件至服务器,以使所述服务器接收所述待发布视频文件,从所述待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件,并对应于视频展示界面的界面标识,建立视频展示界面中展示位置与所述目标视频文件的对应关系,用于第一终端根据所述视频展示界面中展示位置与所述目标视频文件的对应关系,在视频展示界 面的相应展示位置播放所述目标视频文件。
其中,在上述获取待发布视频文件的步骤之后,上述方法还包括:
获取用户选择的目标时间戳;
所述发送所述待发布视频文件至服务器的步骤,包括:
发送所述待发布视频文件及所述目标时间戳至服务器,以使所述服务器接收所述待发布视频文件及所述目标时间戳,从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧,并选取以所述目标视频帧为第一帧视频帧的第一预设数量的视频帧。
其中,上述获取用户选择的目标时间戳的步骤,可以包括:
展示所述待发布视频文件的进度条;
获取用户在所述进度条上选择的位置信息;
根据所述位置信息、所述进度条的长度及所述待发布视频文件的时长,确定所述用户选择的目标时间戳。
其中,上述进度条为图片形式的进度条。
需要说明的是,对于上述装置、服务器、终端、计算机可读存储介质及计算机程序产品实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。

Claims (34)

  1. 一种视频文件的发布方法,其特征在于,应用于服务器,所述方法包括:
    获取待发布视频文件;
    从所述待发布视频文件中,选取第一预设数量的视频帧;
    将所选取的视频帧生成目标视频文件;
    确定所述目标视频文件在视频预览界面中的目标展示位置;
    保存所述目标展示位置与所述目标视频文件的对应关系,以使登录所述服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放所述目标视频文件。
  2. 如权利要求1所述的方法,其特征在于,所述获取待发布视频文件的步骤,包括:
    获取第二终端发送的待发布视频文件;
    所述从所述待发布视频文件中,选取第一预设数量的视频帧的步骤,包括:
    从所述待发布视频文件的起始位置选取第一预设数量的视频帧或按第一预设规则从所述待发布视频文件中选取第一预设数量的视频帧。
  3. 如权利要求1所述的方法,其特征在于,所述获取待发布视频文件的步骤,包括:
    接收所述第二终端发送的待发布视频文件及目标时间戳,其中,所述目标时间戳为:所述第二终端获取并发送的用户选择的时间戳;
    所述从所述待发布视频文件中,选取第一预设数量的视频帧的步骤,包括:
    从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧;
    以所述目标视频帧为第一帧视频帧,按照第二预设规则选取第一预设数量的视频帧。
  4. 如权利要求1-3任一项所述的方法,其特征在于,所述将所选取的视频帧生成目标视频文件的步骤,包括:
    将所选取的视频帧中位于末尾的第二预设数量个视频帧,按照倒序添加至所选取的视频帧的最后一帧视频帧之后,生成目标视频文件。
  5. 一种视频文件的发布方法,其特征在于,应用于第一终端,所述方法包括:
    登录服务器,以使所述服务器发送预先保存的视频预览界面中的目标展示位置与目标视频文件的对应关系至所述第一终端;其中,所述目标视频文件为所述服务器从获取的待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成的视频文件;
    接收所述对应关系,并根据所述对应关系,在所述视频展示界面中的目标展示位置播放所述目标视频文件。
  6. 如权利要求5所述的方法,其特征在于,所述视频展示界面中的目标展示位置与所述目标视频文件的对应关系为:所述视频展示界面中的目标展示位置与所述目标视频文件的存储地址的对应关系;
    所述在所述视频展示界面中的目标展示位置播放所述目标视频文件的步骤,包括:
    在所述视频展示界面中的目标展示位置播放所述对应关系包括的存储地址对应的目标视频文件。
  7. 如权利要求5所述的方法,其特征在于,所述在所述视频展示界面中的目标展示位置播放所述目标视频文件的步骤,包括:
    在所述视频展示界面中的目标展示位置,正序播放所述目标视频文件的视频帧;
    在所述目标视频文件的最后一帧视频帧播放完毕后,倒序播放所述目标视频文件的视频帧直到预设视频帧;
    返回所述正序播放所述目标视频文件的视频帧的步骤,直到获取停止播放指令,停止播放所述目标视频文件。
  8. 如权利要求7所述的方法,其特征在于,所述目标视频文件的每一视频帧中包含视频帧标识;
    所述倒序播放所述目标视频文件的视频帧直到预设视频帧的步骤,包括:
    根据每一视频帧中包含的视频帧标识,获得所述目标视频文件的倒数第二帧视频帧;
    从所述倒数第二帧视频帧开始,倒序播放所述目标视频文件的视频帧直到预设视频帧。
  9. 如权利要求8所述的方法,其特征在于,所述预设视频帧为所述目标视频文件的正数第二帧视频帧。
  10. 一种视频文件的发布方法,其特征在于,应用于第二终端,所述方法包括:
    获取待发布视频文件;
    发送所述待发布视频文件至服务器,以使所述服务器接收所述待发布视频文件,从所述待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件,并对应于视频展示界面的界面标识,建立视频展示界面中展示位置与所述目标视频文件的对应关系,用于第一终端根据所述视频展示界面中展示位置与所述目标视频文件的对应关系,在视频展示界面的相应展示位置播放所述目标视频文件。
  11. 如权利要求10所述的方法,其特征在于,在所述获取待发布视频文件的步骤之后,所述方法还包括:
    获取用户选择的目标时间戳;
    所述发送所述待发布视频文件至服务器的步骤,包括:
    发送所述待发布视频文件及所述目标时间戳至服务器,以使所述服务器接收所述待发布视频文件及所述目标时间戳,从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧,并选取以所述目标视频帧为第一帧视频帧的第一预设数量的视频帧。
  12. 如权利要求11所述的方法,其特征在于,所述获取用户选择的目标时间戳的步骤,包括:
    展示所述待发布视频文件的进度条;
    获取用户在所述进度条上选择的位置信息;
    根据所述位置信息、所述进度条的长度及所述待发布视频文件的时长,确定所述用户选择的目标时间戳。
  13. 如权利要求12所述的方法,其特征在于,所述进度条为图片形式的进度条。
  14. 一种视频文件的发布装置,其特征在于,应用于服务器,所述装置包括:
    视频文件获取模块,用于获取待发布视频文件;
    视频帧选取模块,用于从所述待发布视频文件中,选取第一预设数量的视频帧;
    目标视频文件生成模块,用于将所选取的视频帧生成目标视频文件;
    目标展示位置确定模块,用于确定所述目标视频文件在视频预览界面中的目标展示位置;
    对应关系存储模块,用于保存所述目标展示位置与所述目标视频文件的对应关系,以使登录所述服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放所述目标视频文件。
  15. 如权利要求14所述的装置,其特征在于,所述视频文件获取模块包括:
    第一视频文件获取单元,用于获取第二终端发送的待发布视频文件;
    所述视频帧选取模块包括:
    第一视频帧选取单元,用于从所述待发布视频文件的起始位置选取第一预设数量个视频帧或按第一预设规则从所述待发布视频文件中选取第一预设数量个视频帧。
  16. 如权利要求14所述的装置,其特征在于,所述视频文件获取模块包括:
    第二视频文件获取单元,用于接收所述第二终端发送的待发布视频文件及目标时间戳,其中,所述目标时间戳为:所述第二终端获取并发送的用户选择的时间戳;
    所述视频帧选取模块包括:
    目标视频帧确定单元,用于从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧;
    第二视频帧选取单元,用于以所述目标视频帧为第一帧视频帧,按照第二预设规则选取第一预设数量的视频帧。
  17. 如权利要求14-16任一项所述的装置,其特征在于,所述目标视频文件生成模块包括:
    目标视频文件生成单元,用于将所选取的视频帧中位于末尾的第二预设数量个视频帧,按照倒序添加至所选取的视频帧的最后一帧视频帧之后,生成目标视频文件。
  18. 一种视频文件的发布装置,其特征在于,应用于第一终端,所述装置包括:
    登录模块,用于登录服务器,以使所述服务器发送预先保存的视频预览界面中的目标展示位置与目标视频文件的对应关系至所述第一终端;其中,所述目标视频文件为所述服务器从获取的待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成的视频文件;
    目标视频文件播放模块,用于接收所述对应关系,并根据所述对应关系,在所述视频展示界面中的目标展示位置播放所述目标视频文件。
  19. 如权利要求18所述的装置,其特征在于,所述视频展示界面中的目标展示位置与所述目标视频文件的对应关系为:所述视频展示界面中的目标展示位置与所述目标视频文件的存储地址的对应关系;
    所述目标视频文件播放模块包括:
    目标视频文件播放单元,用于在所述视频展示界面中的目标展示位置播放所述对应关系包括的存储地址对应的目标视频文件。
  20. 如权利要求18所述的装置,其特征在于,所述目标视频文件播放模块包括:
    正序播放单元,用于在所述视频展示界面中的目标展示位置,正序播放所述目标视频文件的视频帧;
    倒序播放单元,用于在所述目标视频文件的最后一帧视频帧播放完毕后,倒序播放所述目标视频文件的视频帧直到预设视频帧,并触发所述正序播放单元;
    停止播放单元,用于在获取停止播放指令时,停止播放所述目标视频文件。
  21. 如权利要求20所述的装置,其特征在于,所述目标视频文件的每一视频帧中包含视频帧标识;
    所述到序播放单元包括:
    视频帧获取子单元,用于根据每一视频帧中包含的视频帧标识,获得所述目标视频文件的倒数第二帧视频帧;
    倒序播放子单元,用于从所述倒数第二帧视频帧开始,倒序播放所述目标视频文件的视频帧直到预设视频帧。
  22. 如权利要求21所述的装置,其特征在于,所述预设视频帧为所述目标视频文件的正数第二帧视频帧。
  23. 一种视频文件的发布装置,其特征在于,应用于第二终端,所述装置包括:
    待发布视频文件获取模块,用于获取待发布视频文件;
    待发布视频文件发送模块,用于发送所述待发布视频文件至服务器,以使所述服务器接收所述待发布视频文件,从所述待发布视频文件中,选取第一预设数量的视频帧,将所选取的视频帧生成目标视频文件,确定所述目标 视频文件在视频预览界面中的目标展示位置,保存所述目标展示位置与所述目标视频文件的对应关系,以使登录所述服务器的第一终端,根据所述对应关系,在所述视频预览界面中的目标展示位置播放所述目标视频文件。
  24. 如权利要求23所述的装置,其特征在于,所述装置还包括:
    目标时间戳获取模块,用于在获取待发布视频文件之后,获取用户选择的目标时间戳;
    所述待发布视频文件发送模块包括:
    目标时间戳发送单元,用于发送所述待发布视频文件及所述目标时间戳至服务器,以使所述服务器接收所述待发布视频文件及所述目标时间戳,从所述待发布视频文件中,确定所述目标时间戳对应的目标视频帧,并选取以所述目标视频帧为第一帧视频帧的第一预设数量的视频帧。
  25. 如权利要求24所述的装置,其特征在于,所述目标时间戳获取模块包括:
    进度条展示单元,用于展示所述待发布视频文件的进度条;
    位置信息获取单元,用于获取用户在所述进度条上选择的位置信息;
    目标时间戳确定单元,用于根据所述位置信息、所述进度条的长度及所述待发布视频文件的时长,确定所述用户选择的目标时间戳。
  26. 一种服务器,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;
    存储器,用于存放计算机程序;
    处理器,用于执行存储器上所存放的程序时,实现权利要求1-4任一所述的方法步骤。
  27. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-4任一所述的方法步骤。
  28. 一种终端,其特征在于,包括处理器、通信接口、存储器和通信总 线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;
    存储器,用于存放计算机程序;
    处理器,用于执行存储器上所存放的程序时,实现权利要求5-9任一所述的方法步骤。
  29. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求5-9任一所述的方法步骤。
  30. 一种终端,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;
    存储器,用于存放计算机程序;
    处理器,用于执行存储器上所存放的程序时,实现权利要求10-13任一所述的方法步骤。
  31. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求10-13任一所述的方法步骤。
  32. 一种计算机程序产品,其特征在于,所述计算机程序产品用于在运行时执行权利要求1-4任一所述的方法步骤。
  33. 一种计算机程序产品,其特征在于,所述计算机程序产品用于在运行时执行权利要求5-9任一所述的方法步骤。
  34. 一种计算机程序产品,其特征在于,所述计算机程序产品用于在运行时执行权利要求10-13任一所述的方法步骤。
PCT/CN2017/106898 2017-08-03 2017-10-19 一种视频文件的发布方法及装置 WO2019024257A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/307,891 US11153666B2 (en) 2017-08-03 2017-10-19 Method and apparatus for releasing video file

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710657211.6A CN107484019A (zh) 2017-08-03 2017-08-03 一种视频文件的发布方法及装置
CN201710657211.6 2017-08-03

Publications (1)

Publication Number Publication Date
WO2019024257A1 true WO2019024257A1 (zh) 2019-02-07

Family

ID=60597480

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106898 WO2019024257A1 (zh) 2017-08-03 2017-10-19 一种视频文件的发布方法及装置

Country Status (3)

Country Link
US (1) US11153666B2 (zh)
CN (1) CN107484019A (zh)
WO (1) WO2019024257A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507640A (zh) * 2021-07-12 2021-10-15 北京有竹居网络技术有限公司 录屏视频分享方法、装置、电子设备及存储介质
CN114760509A (zh) * 2022-06-14 2022-07-15 飞狐信息技术(天津)有限公司 视频发布方法、系统、存储介质及电子设备
CN114786039A (zh) * 2022-04-25 2022-07-22 海信电子科技(武汉)有限公司 服务器及视频预览图的制作方法

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107484019A (zh) * 2017-08-03 2017-12-15 乐蜜有限公司 一种视频文件的发布方法及装置
CN110020378A (zh) * 2018-01-02 2019-07-16 北京小度互娱科技有限公司 视频网站的内容发布方法及装置
CN110909204A (zh) * 2018-09-18 2020-03-24 优视科技有限公司 视频发布方法、装置及电子设备
CN110996164A (zh) * 2020-01-02 2020-04-10 北京字节跳动网络技术有限公司 视频发布方法、装置、电子设备及计算机可读介质
CN111464864B (zh) * 2020-04-02 2022-12-06 Oppo广东移动通信有限公司 倒序视频获取方法、装置、电子设备以及存储介质
CN111970560B (zh) * 2020-07-09 2022-07-22 北京百度网讯科技有限公司 视频获取方法、装置、电子设备及存储介质
CN112040330B (zh) 2020-09-09 2021-12-07 北京字跳网络技术有限公司 视频文件的处理方法、装置、电子设备及计算机存储介质
CN112764869A (zh) * 2021-01-29 2021-05-07 北京达佳互联信息技术有限公司 一种作品编辑提示方法、装置、电子设备和存储介质
CN114630146B (zh) * 2022-05-12 2023-01-17 海看网络科技(山东)股份有限公司 一种iptv中解决进度条预览卡顿的方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030103566A1 (en) * 2001-12-05 2003-06-05 Robert Stenzel Method of reverse play for predictively coded compressed video
US20050175314A1 (en) * 2004-02-10 2005-08-11 Qiang Hu Method and system for performing reverse play of SD MPEG video
CN104936032A (zh) * 2015-06-03 2015-09-23 北京百度网讯科技有限公司 网络视频播放方法及装置
CN106412621A (zh) * 2016-09-28 2017-02-15 广州华多网络科技有限公司 网络直播间的视频显示方法及装置、控制方法与相关设备
CN106777116A (zh) * 2016-12-15 2017-05-31 腾讯科技(深圳)有限公司 一种内容获取方法、用户客户端、服务器及系统

Family Cites Families (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5945987A (en) * 1995-05-05 1999-08-31 Microsoft Corporation Interactive entertainment network system and method for providing short sets of preview video trailers
US7823056B1 (en) * 2006-03-15 2010-10-26 Adobe Systems Incorporated Multiple-camera video recording
US7644425B2 (en) * 2006-03-22 2010-01-05 Alcatel Lucent Picture-in-picture mosaic
US20080141126A1 (en) * 2006-11-17 2008-06-12 Vincent Lee Johnson Method and system to aid in viewing digital content
US7992097B2 (en) * 2006-12-22 2011-08-02 Apple Inc. Select drag and drop operations on video thumbnails across clip boundaries
US8020100B2 (en) * 2006-12-22 2011-09-13 Apple Inc. Fast creation of video segments
KR20100094519A (ko) * 2007-11-19 2010-08-26 톰슨 라이센싱 편집 장치, 편집 방법 및 편집 프로그램
US20100242066A1 (en) * 2009-03-19 2010-09-23 Cyberlink Corp. Method of Performing Random Seek Preview for Streaming Video
CN102209259B (zh) * 2011-06-03 2014-06-25 Tcl集团股份有限公司 一种动态生成电影封面墙的方法及系统
JP2013009218A (ja) * 2011-06-27 2013-01-10 Sony Corp 編集装置及び方法、並びにプログラム
EP2595353A1 (en) * 2011-11-15 2013-05-22 Alcatel Lucent Method for rendering a multimedia asset, a related system, media client and related media server
US9081491B2 (en) * 2012-03-30 2015-07-14 Corel Corporation Controlling and editing media files with touch gestures over a media viewing area using a touch sensitive device
EP2868100B1 (en) * 2012-06-29 2019-01-30 Given Imaging Ltd. System and method for displaying an image stream
US9589594B2 (en) * 2013-02-05 2017-03-07 Alc Holdings, Inc. Generation of layout of videos
JP6182885B2 (ja) * 2013-02-05 2017-08-23 ノーリツプレシジョン株式会社 画像処理プログラム及び画像処理装置
US9182361B2 (en) * 2013-05-28 2015-11-10 Ann Arbor Digital Devices Inc. Digital X-ray imaging system with still and video capture modes
US20150350729A1 (en) * 2014-05-28 2015-12-03 United Video Properties, Inc. Systems and methods for providing recommendations based on pause point in the media asset
CN107465954B (zh) * 2014-12-04 2019-09-06 Oppo广东移动通信有限公司 动态缩略图的生成方法及相关产品
US9918040B2 (en) * 2014-12-05 2018-03-13 Comcast Cable Comunications Magagement, Llc Video preview during trick play
CN106210608B (zh) * 2015-04-29 2019-07-12 中国电信股份有限公司 基于移动侦测实现监控点位动态封面的方法、装置和系统
US10643665B2 (en) * 2015-04-29 2020-05-05 Tomtom International B.V. Data processing systems
CN105992068A (zh) * 2015-05-19 2016-10-05 乐视移动智能信息技术(北京)有限公司 一种视频文件预览方法及装置
CN104918095A (zh) * 2015-05-19 2015-09-16 乐视致新电子科技(天津)有限公司 多媒体流数据预览展示方法及装置
CN105159639B (zh) * 2015-08-21 2018-07-27 小米科技有限责任公司 音频封面显示方法及装置
US10356456B2 (en) * 2015-11-05 2019-07-16 Adobe Inc. Generating customized video previews
US9532004B1 (en) * 2016-05-12 2016-12-27 Google Inc. Animated user identifiers
WO2018083152A1 (en) * 2016-11-02 2018-05-11 Tomtom International B.V. Creating a digital media file with highlights of multiple media files relating to a same period of time
CN107484019A (zh) * 2017-08-03 2017-12-15 乐蜜有限公司 一种视频文件的发布方法及装置
CN107509110A (zh) * 2017-08-03 2017-12-22 乐蜜有限公司 一种视频文件的循环播放方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030103566A1 (en) * 2001-12-05 2003-06-05 Robert Stenzel Method of reverse play for predictively coded compressed video
US20050175314A1 (en) * 2004-02-10 2005-08-11 Qiang Hu Method and system for performing reverse play of SD MPEG video
CN104936032A (zh) * 2015-06-03 2015-09-23 北京百度网讯科技有限公司 网络视频播放方法及装置
CN106412621A (zh) * 2016-09-28 2017-02-15 广州华多网络科技有限公司 网络直播间的视频显示方法及装置、控制方法与相关设备
CN106777116A (zh) * 2016-12-15 2017-05-31 腾讯科技(深圳)有限公司 一种内容获取方法、用户客户端、服务器及系统

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507640A (zh) * 2021-07-12 2021-10-15 北京有竹居网络技术有限公司 录屏视频分享方法、装置、电子设备及存储介质
CN114786039A (zh) * 2022-04-25 2022-07-22 海信电子科技(武汉)有限公司 服务器及视频预览图的制作方法
CN114786039B (zh) * 2022-04-25 2024-03-26 海信电子科技(武汉)有限公司 服务器及视频预览图的制作方法
CN114760509A (zh) * 2022-06-14 2022-07-15 飞狐信息技术(天津)有限公司 视频发布方法、系统、存储介质及电子设备
CN114760509B (zh) * 2022-06-14 2022-09-20 飞狐信息技术(天津)有限公司 视频发布方法、系统、存储介质及电子设备

Also Published As

Publication number Publication date
CN107484019A (zh) 2017-12-15
US20210029421A1 (en) 2021-01-28
US11153666B2 (en) 2021-10-19

Similar Documents

Publication Publication Date Title
WO2019024257A1 (zh) 一种视频文件的发布方法及装置
KR20220127887A (ko) 생방송 데이터 표시 방법 및 장치, 디바이스 및 저장 매체
WO2017121362A1 (zh) 一种信息处理方法及服务器、计算机存储介质
US11025967B2 (en) Method for inserting information push into live video streaming, server, and terminal
US11070886B2 (en) Method and apparatus for looping a video file
WO2017181598A1 (zh) 视频播放方法及装置
CN107864122B (zh) 一种连麦主播直播流的显示方法及装置
US10728613B2 (en) Method and apparatus for content insertion during video playback, and storage medium
CN106375860B (zh) 一种视频播放方法、装置、终端及服务器
CN104796795A (zh) 一种视频内容发布方法及装置
CN108650547A (zh) 一种视频分享方法、装置及设备
WO2019205560A1 (zh) 界面显示方法、装置、智能交互平板及存储介质
CN112770168B (zh) 视频的播放方法以及相关装置、设备
US20170171277A1 (en) Method and electronic device for multimedia recommendation based on android platform
CN110913237A (zh) 直播控制方法和装置、直播发起设备和存储介质
WO2019119643A1 (zh) 移动直播的互动终端、方法及计算机可读存储介质
CN114025185B (zh) 一种视频回放方法、装置、电子设备及存储介质
CN113101633B (zh) 云游戏的模拟操作方法、装置及电子设备
CN108271033B (zh) 一种视频直播方法及装置
WO2019104533A1 (zh) 一种视频播放方法及装置
US11496787B2 (en) Information processing method and device, electronic device, and storage medium
CN112188269B (zh) 视频播放方法和装置以及视频生成方法和装置
US9232281B2 (en) Communication management apparatus, terminal, communication management system, communication management method, program, and information storage medium
CN113242472B (zh) 电视图文播控管理方法、装置、计算机设备及存储介质
WO2018000628A1 (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: 17920102

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17920102

Country of ref document: EP

Kind code of ref document: A1