Video preview method before release of recorded video, storage medium, device and system

A technology for video preview and video recording, applied in transmission systems, selective content distribution, image communication, etc., can solve problems such as cumbersomeness, low practicability, and increase project complexity, achieving high code execution efficiency and ensuring fluency , the effect of strong practicability

CN109660852AActive Publication Date: 2019-04-19WUHAN DOUYU NETWORK TECH CO LTD
6 Cites 2 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2019-04-19

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a video preview method before release of a recorded video, a storage medium, equipment and a system, and relates to the technical field of live broadcast application development. The method comprises the steps that after a user end records a video, recorded video resources are obtained through a created media resource object and stored, and a media resource file is formed;whether the current media resource file can be played or not is judged, if yes, UI updating is conducted, display information of the current media resource file is obtained, wherein the display information comprises all media frame data and video width and height information; a player is created in the updated UI; and the method has a step of setting a horizontal screen or a vertical screen of thecreated player according to the video width and height information in the display information, and performing video preview display according to all the media frame data in the display information inthe set player. The video preview function before release of the recorded video can be achieved, no extra code needs to be added, the light weight class is high, and the practicability is high.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of live broadcast application development, and specifically relates to a video preview method, storage medium, device and system before recording video is released. Background technique

[0002] With the rapid development of mobile terminals, especially the rapid development of mobile terminals, the live broadcast industry is becoming more and more popular, and many users like to watch live broadcasts through mobile terminal devices. As the popularity of live broadcasts continues to rise, short videos or video sharing during live broadcasts are becoming more and more popular, and many videos need to be released for other users to use or watch. Before a user publishes a video, a video preview function is usually added to improve user experience.

[0003] But at present, the conventional video preview function is usually implemented with the help of other third-party frameworks. That is to say, third-party f...

Examples

Embodiment Construction

[0040] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0041] see figure 1 As shown, the embodiment of the present invention provides a video preview method before the recorded video is released, the method includes the following steps:

[0042] Step S1. After the user end has recorded the video, obtain the corresponding recorded video resource through a created media resource object and save it to form a media resource file.

[0043] Specifically, in one embodiment, step S1 specifically includes the following process:

[0044]Step S101 , after the existing video recording module at the user end records the video, it returns a URL (abbreviation for Uniform / Universal Resource Locator, Uniform Resource Locator) address corresponding to the recorded video.

[0045] Step S102, judging whether the returned URL address exists, and if so, creating a media resource object. Taking the IOS syste...