CN113727168B - Video publishing method, device, terminal and storage medium - Google Patents

Video publishing method, device, terminal and storage medium Download PDF

Info

Publication number
CN113727168B
CN113727168B CN202110944921.3A CN202110944921A CN113727168B CN 113727168 B CN113727168 B CN 113727168B CN 202110944921 A CN202110944921 A CN 202110944921A CN 113727168 B CN113727168 B CN 113727168B
Authority
CN
China
Prior art keywords
video
release
playing
original
description information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110944921.3A
Other languages
Chinese (zh)
Other versions
CN113727168A (en
Inventor
张瑞
吴宪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202110944921.3A priority Critical patent/CN113727168B/en
Publication of CN113727168A publication Critical patent/CN113727168A/en
Application granted granted Critical
Publication of CN113727168B publication Critical patent/CN113727168B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44012Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 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/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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4431OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries

Abstract

The embodiment of the invention provides a video publishing method, a device, a terminal and a storage medium, wherein the method comprises the following steps: responding to the triggering operation aiming at the video publishing control, and generating a pre-publishing video according to the original video and the description information of the original video; and displaying a feed stream interface for displaying the published video in the graphical user interface, and playing the pre-published video in the feed stream interface. The method can realize that the pre-release video is previewed after the video release control is triggered and before the video release is successfully realized, so that the process of waiting for the video release is enriched, and the user experience is improved; meanwhile, the pre-release video and the release video to be successfully released are generated based on the same original video and original video description information, so that playing the pre-release video can be equivalent to playing the release video to a certain extent, a user can know the release video in advance, and time is saved.

Description

Video publishing method, device, terminal and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a video distribution method, apparatus, terminal, and storage medium.
Background
With the development of internet technology, short video is becoming one of internet transmission methods. The user can perform short video authoring and publishing through corresponding application software and browse the short videos published by other users.
In the prior art, a user cannot display a video in a corresponding publishing interface before the video is successfully published, and only after the video is successfully published can the user see the actual effect of the video; moreover, the process of publishing the video cannot be interrupted, so that a user cannot operate the current interface in the process of publishing the video, only can passively wait for the result of publishing the video, and the user experience effect is poor.
Disclosure of Invention
The invention provides a video publishing method, a video publishing device, a video publishing terminal and a computer readable storage medium, which are used for solving the problem that videos cannot be displayed before being published successfully in the prior art to a certain extent.
According to a first aspect of the present invention, a video publishing method is provided, in which an application is executed on a processor of a terminal device and a graphical user interface is rendered on a display screen of the terminal device, where the graphical user interface at least includes an original video, original video description information, and a video publishing control; the method comprises the following steps:
responding to the triggering operation aiming at the video publishing control, and generating a pre-publishing video according to the original video and the description information of the original video;
and displaying a feed stream interface used for displaying the published video in the graphical user interface, and playing the pre-published video in the feed stream interface.
Optionally, the generating a pre-release video according to the original video and the description information of the original video in response to the triggering operation for the video release control further includes:
sending a video publishing request to a server, wherein the video publishing request comprises the original video and the description information of the original video; the video publishing request is used for requesting the server to generate a corresponding publishing video according to the original video and the description information of the original video;
receiving processing success information returned by the server aiming at the video publishing request, wherein the processing success information comprises a service identifier corresponding to the video description information of the published video;
and determining video description information of the published video according to the service identifier, and updating original video description information corresponding to the pre-published video according to the video description information.
Optionally, after receiving the processing success information returned by the server for the video publishing request, the method further includes:
deleting the original video description information when the processing success information is received;
deleting the original video when the storage time of the original video reaches a preset time; the saving time is counted from the time when the processing success information is received.
Optionally, after sending the video publishing request to the server, the method further includes:
when the video publishing request fails to be processed, storing the pre-published video into a draft box;
and displaying the processing failure information on the graphical user interface.
Optionally, the displaying a feed stream interface for displaying the published video in the graphical user interface and playing the pre-published video in the feed stream interface includes:
inquiring a local playing address corresponding to the pre-release video before receiving the processing success information;
and playing the pre-release video based on the local playing address.
Optionally, the method further comprises:
after receiving the processing success information, responding to a playing request aiming at the issued video, and inquiring a corresponding local playing address according to the service identifier;
if the query is obtained, the local playing address is adopted for playing;
if the inquiry is not successful, judging whether the video identification corresponding to the released video is received;
if the video identification is received, playing the release video by adopting a playing address corresponding to the video identification;
if the video identification is not received, judging whether a cloud disk playing address corresponding to the released video is received;
if the cloud disk playing address is received, playing the release video by adopting the cloud disk playing address;
and if the cloud disk playing address is not received, displaying playing failure information on the graphical user interface.
Optionally, after sending the video publishing request to the server, the method further includes:
and displaying the processing progress of the video publishing request in the graphical user interface.
According to a second aspect of the present invention, there is provided a video publishing apparatus, wherein a graphical user interface is obtained by executing an application on a processor of a terminal device and rendering on a display screen of the terminal device, and the graphical user interface at least includes an original video, original video description information, and a video publishing control; the device comprises:
the pre-release video generation module is used for responding to the triggering operation aiming at the video release control and generating a pre-release video according to the original video and the description information of the original video;
and the pre-release video playing module is used for displaying a feed stream interface used for displaying the released video in the graphical user interface and playing the pre-release video on the feed stream interface.
Optionally, the apparatus further comprises:
a publishing request sending module, configured to send a video publishing request to a server, where the video publishing request includes the original video and the original video description information; the video publishing request is used for requesting the server to generate a corresponding publishing video according to the original video and the description information of the original video;
the processing information receiving module is used for receiving processing success information returned by the server aiming at the video publishing request, wherein the processing success information comprises a service identifier corresponding to the video description information of the published video;
and the description information updating module is used for determining the video description information of the published video according to the service identifier and updating the original video description information corresponding to the pre-published video according to the video description information.
Optionally, the apparatus further comprises:
the original information deleting module is used for deleting the original video description information when the processing success information is received;
the original video deleting module is used for deleting the original video when the storage time of the original video reaches a preset time; the saving time is counted from the time when the processing success information is received.
Optionally, the apparatus further comprises:
the release failure processing module is used for storing the pre-release video into a draft box when the video release request processing fails;
and the failure information display module is used for displaying the processing failure information on the graphical user interface.
Optionally, the pre-release video playing module includes:
the first playing query module is used for querying a local playing address corresponding to the pre-issued video before the processing success information is received;
and the first playing determining module is used for playing the pre-release video based on the local playing address.
Optionally, the apparatus further comprises:
the second playing query module is used for responding to the playing request aiming at the issued video after receiving the processing success information and querying a corresponding local playing address according to the service identifier;
the second playing determining module is used for playing by adopting the local playing address if the query is obtained;
the third playing query module is used for judging whether the video identification corresponding to the released video is received or not if the video identification is not inquired;
a third playing determining module, configured to play the release video by using a playing address corresponding to the video identifier if the video identifier is received;
a fourth playing query module, configured to determine whether a cloud disk playing address corresponding to the published video is received if the video identifier is not received;
a fourth playing determining module, configured to play the release video using the cloud disk playing address if the cloud disk playing address is received;
and the playing failure prompt module is used for displaying playing failure information on the graphical user interface if the cloud disk playing address is not received.
Optionally, the apparatus further comprises:
and the processing progress display module is used for displaying the processing progress of the video publishing request in the graphical user interface.
According to a third aspect of the present invention, there is provided a terminal comprising: a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the video distribution method as described above.
According to a fourth aspect of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the video distribution method as described above.
Compared with the background art, the embodiment of the invention has the following advantages:
according to the embodiment of the invention, the pre-release video is generated according to the original video and the description information of the original video by responding to the triggering operation aiming at the video release control; and displaying a feed stream interface for displaying the published video in the graphical user interface, and playing the pre-published video in the feed stream interface. The method can realize that the pre-release video is previewed after the video release control is triggered and before the video release is successfully realized, so that the process of waiting for the video release is enriched, and the user experience is improved; meanwhile, the pre-release video and the release video to be successfully released are generated based on the same original video and the original video description information, so that playing the pre-release video can be equivalent to playing the release video to a certain extent, a user can know the release video in advance, and time is saved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flowchart illustrating steps of a video distribution method according to an embodiment of the present invention;
fig. 2 is a schematic view of a video distribution flow of a video distribution method according to an embodiment of the present invention;
fig. 3 is a schematic view of a video playing flow of a video publishing method according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a video distribution apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
The user can publish information which the user wants to publish in a specific client, the information is exemplified by a short video, and the short video can comprise an original video and original video description information, wherein the original video can be regarded as a multimedia file with at least one frame of picture, and the original video description information can be word description information, special effect processing information and the like which are added by the user based on the original video before publishing the short video. In the prior art, after a user triggers a video publishing control, no operation can be performed on a current interface, the current interface can only be operated after the video publishing is successful or failed, and the user experiences poor experience in the process of waiting for a video publishing result. Generally, after the video is successfully distributed, the user also plays the video which is successfully distributed to determine whether the actually distributed video display effect is in accordance with the expectation.
In order to solve the problems, the main technical idea of the invention is that when the terminal device detects that a user (publisher) triggers a video publishing control, a video publishing request is sent to a server, and simultaneously, a pre-publishing video is generated according to an original video and original video description information, and the pre-publishing video is played in a display interface of the terminal device used by the user; therefore, the pre-release video can be previewed before the server processes and finishes the video release request, so that the process of waiting for the server to process the video release request is enriched, and the user experience is improved; meanwhile, the pre-release video and the release video obtained by the server successfully processing the video release request are generated based on the same original video and the original video description information, so that playing the pre-release video can be equivalent to playing the release video to a certain extent, a user can know the release video in advance, and time is saved.
Referring to fig. 1, a schematic flowchart illustrating steps of a video publishing method according to an embodiment of the present invention is shown, where the method may be applied to a terminal device that can install a user-oriented application, and may be applied to a scene where information is published on a feed stream interface, where the information may include one or more of a still picture, a moving picture, a text, an audio, a video, and the like. Because the video file is generally large, the process of publishing and uploading is relatively long, and the influence of the network is large, so that the waiting time for publishing the video is long, and the influence on the user experience is large. Therefore, the embodiment of the present invention is described by taking the case of publishing a video in a feed stream interface as an example. Where feed is a data format, the feed stream interface may be an interface that can continuously update information.
In the embodiment of the present invention, the method may specifically include the following steps:
step 101, responding to a trigger operation for a video publishing control, and generating a pre-publishing video according to an original video and description information of the original video.
By executing the application program on the processor of the terminal device, a corresponding graphical user interface can be rendered on a display screen of the terminal device, and the graphical user interface can include a publishing control. When the user triggers the publishing control, the graphical user interface may display a publishing page, and the user may select or shoot an original video to be published on the publishing control and perform a related editing operation on the original video to be published, for example, add description information to the original video, where the description information may include a title, a tag, a topic, and the like.
In this embodiment, when the user selects the original video to be distributed on the distribution production page, the original video to be distributed may be pre-stored in the local memory of the terminal device. When a user shoots an original video to be published on a publishing production page, the original video to be published can be stored in a local memory of the terminal device after shooting is completed.
When the user adds description information to the original video at the publication production page, the description information of the original video may be saved in the local storage.
After the user determines the video to be published, that is, after the user determines the original video to be published and the original video description information, the graphical user interface at least comprises the original video determined by the user to be published, the original video description information and a video publishing control. The user can trigger a video publishing control in the interface, namely, the video publishing operation of the video to be published is triggered. When receiving the triggering operation for the video publishing control, the terminal device may obtain the corresponding original video and the original video description information from the local storage, and generate the pre-published video according to the original video and the original video description information.
And 102, displaying a feed stream interface for displaying the published video in the graphical user interface, and playing the pre-published video in the feed stream interface.
After the pre-release video is generated, the corresponding feed stream interface can be skipped to, and the pre-release video is played on the feed stream interface.
In specific implementation, the video data in the feed format corresponding to the pre-release video is inserted into the feed stream data of the preset feed stream interface, so that the pre-release video is displayed in the preset feed stream interface.
Specifically, the displaying a feed stream interface for displaying the published video in the graphical user interface and playing the pre-published video in the feed stream interface may include:
inquiring a local playing address corresponding to the pre-release video;
and playing the pre-release video based on the local playing address.
The local playing address corresponds to a storage address for storing the pre-release video, and the storage address stores the original video and the description information of the original video. The terminal equipment can obtain a local playing address corresponding to the pre-release video while generating the pre-release video, and plays the pre-release video on a feed stream interface, specifically, plays the pre-release video through the local playing address, so as to ensure the response speed of playing the pre-release video.
The embodiment of the invention generates the pre-release video according to the original video and the description information of the original video by responding to the triggering operation aiming at the video release control; and displaying a feed stream interface for displaying the published video in the graphical user interface, and playing the pre-published video in the feed stream interface. The method can realize that the pre-release video is previewed after the video release control is triggered and before the video release is successfully realized, so that the process of waiting for the video release is enriched, and the user experience is improved; meanwhile, the pre-release video and the release video to be successfully released are generated based on the same original video and original video description information, so that playing the pre-release video can be equivalent to playing the release video to a certain extent, a user can know the release video in advance, and time is saved.
Further, in an optional embodiment of the present invention, the generating a pre-release video according to the original video and the description information of the original video in response to the triggering operation for the video release control further includes:
sending a video publishing request to a server, wherein the video publishing request comprises an original video and original video description information; the video publishing request is used for requesting the server to generate a corresponding publishing video according to the original video and the description information of the original video;
receiving processing success information returned by the server aiming at the video publishing request, wherein the processing success information comprises a service identifier corresponding to video description information of a published video;
and determining video description information of the published video according to the service identifier, and updating original video description information corresponding to the pre-published video according to the video description information.
In this embodiment, when receiving a trigger operation for a video publishing control, a terminal device may generate a video publishing request and send the video publishing request to a server, where the video publishing request includes an original video and original video description information; the video publishing request is used for requesting the server to generate a corresponding publishing video according to the original video and the description information of the original video.
After receiving the video publishing request, the server processes the original video and the original video description information in the video publishing request according to a certain rule to obtain a corresponding publishing video.
In practical applications, the process of processing the original video and the original video description information in the video publishing request by the server may include: the method comprises the steps of processing the resolution of an original video to be published (for example, reducing the resolution of the original video), performing sensitive word check processing on original video description information of the video to be published (for example, replacing sensitive words in the original video description information with specific characters or deleting the sensitive words, and the like), adding identification information corresponding to the video to be published in the video description information, and the like. The identification information may be information related to an account of the user (publisher), for example, a nickname, an account, and the like of the user. Taking the three processing modes as an example, the distributed video finally obtained by the server includes a video and video description information. The video is obtained by processing the original video through resolution, and the video description information is obtained by adding identification information after the original video description information is subjected to sensitive word verification processing.
When the server successfully processes the video publishing request to obtain the published video, processing success information can be returned to the terminal equipment sending the video publishing request, wherein the processing success information comprises the service identifier corresponding to the video description information of the published video.
After receiving the service identifier, the terminal device may determine the video description information of the published video based on the corresponding relationship between the service identifier and the video description information, and update the original video description information corresponding to the pre-published video according to the video description information. Therefore, when the pre-release video is continuously played after the service identifier is received, the description information displayed in the pre-release video is the video description information corresponding to the release video.
Illustratively, when the terminal device plays the pre-release video before receiving the service identifier, the original video description information is displayed, and if the sensitive words exist in the original video description information, the sensitive words are normally displayed; after the service identifier is received, when the pre-release video is played, the video description information corresponding to the release video is displayed, and the sensitive words in the original video description information are correspondingly processed, namely the sensitive words cannot be normally displayed at the moment.
In another example, when the terminal device plays the pre-release video before receiving the service identifier, the original video description information is displayed, the original video description information does not include account information of the user, and the pre-release video displayed at this time does not have account information of the user; after the service identifier is received, when the pre-release video is played, the video description information corresponding to the release video is displayed, and the displayed pre-release video comprises account information of the user.
In an optional embodiment of the present invention, after receiving the processing success information returned by the server for the video distribution request, the method further includes:
when the information of successful processing is received, deleting the original video description information;
deleting the original video when the storage time of the original video reaches the preset time; the holding time is counted from the time when the processing success information is received.
In this embodiment, after receiving the processing success information, the terminal device may determine the video description information of the published video according to the service identifier in the processing success information, and update the original video description information corresponding to the pre-published video according to the video description information. Therefore, when the terminal device receives the processing success information, the original video description information can be deleted, so that the occupation of local storage resources is reduced.
In practical application, the frequency of playing the published video within a period of time after the user successfully publishes the video is high, so that the local original video can be preferentially adopted for playing in the playing process in order to improve the playing response speed and the video playing effect. Therefore, the original video can be saved for a preset time, and the original video is deleted when the saving time of the original video reaches the preset time, wherein the saving time is counted from the time when the processing success information is received. The preset time may be user defined or default by the system, and is typically set to 1-3 days. Taking the preset time as 1 day as an example, timing is started from the time when the processing success information is received, and when the time from the time when the processing success information is received reaches one day, the original video is deleted.
According to the embodiment, the preset time is set, and the original video corresponding to the successfully processed video publishing request is deleted after the preset time is reached, so that the occupation of local storage resources is effectively reduced, and the response speed of video playing and the video playing effect within the expected time can be improved.
It should be noted that, in other embodiments, whether to delete the original video may be determined according to the pre-release video playing situation. For example, before the terminal device receives the processing success information, if the pre-release video completes one-time complete playing, the original video and the original video description information of the pre-release video may be deleted when the processing success information is received. For another example, after the terminal device receives the processing success information, if the pre-release video completes the complete playing once, the original video may be deleted when the pre-release video completes the complete playing once.
After the server generates the release video, the release video is released to the corresponding feed stream, and when the release video is successfully released to the corresponding feed stream, a video identifier corresponding to the release video is returned to the terminal equipment of the login user (publisher) account. The video identifier may be a play address corresponding to the published video, and the play address is generally a play address of the server.
In addition, after the server generates the release video and before the release video is successfully released to the corresponding feed stream, the server temporarily stores the release video in the cloud disk and obtains a corresponding cloud disk playing address, and it can be understood that the server can transmit the cloud disk playing address to the terminal device of the login user (publisher) account while generating the release video.
Therefore, in an optional embodiment of the present invention, the method may further include:
after receiving the processing success information, responding to a playing request aiming at the issued video, and inquiring a corresponding local playing address according to the service identifier;
if the query is obtained, playing by adopting a local playing address;
if the inquiry is not successful, judging whether a video identifier corresponding to the released video is received;
if the video identification is received, playing the release video by adopting a playing address corresponding to the video identification;
if the video identification is not received, judging whether a cloud disk playing address corresponding to the released video is received or not;
if the cloud disk playing address is received, playing the release video by adopting the cloud disk playing address;
and if the cloud disk playing address is not received, displaying playing failure information on a graphical user interface.
In this embodiment, when the terminal device receives the processing success information, it may determine, according to the service identifier in the processing success information, video description information corresponding to the issued video, and update the original video description information with the video description information, specifically, store the video description information in a storage address corresponding to the original video description information to replace the original video description information. Therefore, after the information of successful processing is received, in response to the playing request aiming at the issued video, the corresponding local playing address obtained by inquiring according to the service identifier is the local playing address of the pre-issued video; if the query is obtained, a local playing address is adopted for playing, and the playing is the multimedia generated by the video description information corresponding to the original video and the release video; the seamless connection between the multimedia playing and the pre-release video can be realized, and the original video description information played in the next frame is directly updated to the video description information corresponding to the next frame for playing; the multimedia playing is not required to be started from the beginning, the multimedia playing at the moment has the same video description information as the published video, the processed original video content corresponding to the original video and the published video is the same, the resolution is higher, and the user experience can be improved.
In some cases, for example, a user (publisher) changes a terminal device of a login account, at this time, the terminal device cannot inquire a corresponding local playing address according to a service identifier, and at this time, it is determined whether a video identifier corresponding to a published video is received; and if the video identification is received, playing the released video by adopting the playing address corresponding to the video identification.
In some cases, for example, when the server has some logic faults and does not transmit the video identifier to the terminal device, the terminal device may not receive the video identifier corresponding to the published video, and at this time, it is determined whether the cloud disk playing address corresponding to the published video is received; if the cloud disk playing address is received, playing the release video by adopting the cloud disk playing address; and if the cloud disk playing address is not received, displaying playing failure information on a graphical user interface.
In the embodiment of the invention, the local playing address playing mode is set as the highest playing priority, so that the display effect of playing the content same as the published video in a seamless connection manner in the process of playing the pre-published video can be realized, and the user experience is further improved. In addition, because the cloud disk playing address is a temporary playing address, the playing mode of the cloud disk playing address is set to be the lowest playing priority, the playing address with high limited selection stability can be ensured to be played, and the playing success rate can be improved from multiple angles.
Further, in an optional embodiment of the present invention, after the sending the video publishing request to the server, the method may further include:
when the video publishing request fails to be processed, storing the pre-published video into a draft box;
and displaying the processing failure information on a graphical user interface.
Because the video distribution is greatly influenced by the network, when the network is unstable or the network speed is slow, the video distribution request processing is overtime, and the video distribution request processing is failed.
In this embodiment, when the video distribution request processing fails, the terminal device may pre-distribute the video into the draft box and display the processing failure information on the graphical user interface.
Specifically, the video data in the feed stream data of the feed stream interface in the feed format corresponding to the pre-release video may be moved to the address corresponding to the draft box, so as to remove the pre-release video from the preset feed stream interface and store the pre-release video in the draft box, so that the pre-release video may be directly found from the draft box for reissuing next time.
It should be noted that, after the user finds the pre-release video in the draft box, the user may also re-edit the pre-release video, for example, modify the original video or the description information of the original video.
Further, in an optional embodiment of the present invention, the method further includes:
and displaying the processing progress of the video publishing request in the graphical user interface.
In this embodiment, after the terminal device sends the video distribution request to the server, the processing progress of the video distribution request may be displayed in the current display interface. The processing progress can be shown in the form of a progress bar or a dynamic pie chart or a percentage.
In order to prevent the processing progress from affecting the effect of the current display interface, the preset position displayed on the current display interface can be determined according to the display form of the processing progress. For example, when the processing progress is displayed in the form of a progress bar, the preset position may be a position where the current display interface is close to the upper boundary or the lower boundary; when the processing progress is shown in the form of a dynamic pie chart or a percentage, the preset position can be the lower left corner or the lower right corner or the upper left corner or the upper right corner of the current display interface. It should be noted that the embodiments of the present invention are not limited to the above examples.
In order to make those skilled in the art better understand the embodiments of the present invention, the video distribution method according to the embodiments of the present invention is described below with reference to fig. 2 and fig. 3 in terms of video distribution and playing, respectively.
Referring to fig. 2, fig. 2 is a block diagram illustrating a video distribution flow of a video distribution method according to an embodiment of the present invention.
Step 201, generating a video release request;
step 202, locally storing an original video to be released and original video description information;
step 203, generating a pre-release video and video data in a feed format corresponding to the pre-release video;
step 204, inserting the video data in the feed format corresponding to the pre-release video into the feed stream data of the feed stream interface so as to display the pre-release video in the feed stream interface;
step 205, displaying the video publishing progress and publishing result;
step 206, judging whether the release is successful; if yes, go to step 207; if not, go to step 209;
step 207, updating the original video description information corresponding to the pre-release video into the video description information corresponding to the release video, and refreshing the pre-release video displayed in the preset feed stream interface;
step 208, deleting the locally stored original video description information, and deleting the locally stored original video after the locally stored original video is reserved for a preset time;
step 209, reserving the locally stored original video and the original video description information, and storing the video data in the feed format corresponding to the pre-release video into a draft box; the user can carry out relevant editing operation on the pre-published video in the draft box;
step 210, judging whether to reissue, if so, returning to execute step 205; if not, the process is ended.
By generating the pre-release video while generating the video release request and displaying the pre-release video on the corresponding feed stream interface, the process of waiting for video release can be enriched, and the user experience is improved; meanwhile, the pre-release video and the release video to be successfully released are generated based on the same original video and the original video description information, so that playing the pre-release video can be equivalent to playing the release video to a certain extent, a user can know the release video in advance, and time is saved.
Referring to fig. 3, fig. 3 is a block diagram illustrating a video playing flow of a video distribution method according to an embodiment of the present invention.
Step 301, the video reaches a preset playing condition;
step 302, judging whether the video is successfully published; if yes, go to step 303, otherwise, go to step 306;
step 303, inquiring whether a local play address exists according to a service ID (service identifier) returned by the server; if yes, go to step 307; if not, go to step 304;
step 304, judging whether the video ID (video identifier) returned by the server is valid; if yes, go to step 307; if not, go to step 305;
step 305, judging whether the cloud disk playing address returned by the server is valid; if yes, go to step 307; if not, prompting that the playing is failed;
step 306, inquiring whether a local playing address exists according to the storage ID (storage address) of the pre-issued video; if yes, go to step 307; if not, prompting that the playing is failed;
step 307, play the video.
By determining the playing address according to the video publishing condition and setting the local playing address playing mode as the highest playing priority, the display effect of playing the content same as the published video in a seamless connection manner in the process of playing the pre-published video can be realized, and the user experience is further improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a schematic block diagram of a video publishing apparatus according to an embodiment of the present invention is shown, where a graphical user interface is obtained by executing an application on a processor of a terminal device and rendering the application on a display screen of the terminal device, and the graphical user interface at least includes an original video, original video description information, and a video publishing control; the device may specifically include the following modules:
a pre-release video generation module 401, configured to generate a pre-release video according to the original video and the original video description information in response to a trigger operation for the video release control;
a pre-release video playing module 402, configured to display a feed stream interface for displaying a released video in the graphical user interface, and play the pre-release video on the feed stream interface.
Optionally, the apparatus further comprises:
a publishing request sending module, configured to send a video publishing request to a server, where the video publishing request includes the original video and the original video description information; the video publishing request is used for requesting the server to generate a corresponding publishing video according to the original video and the description information of the original video;
the processing information receiving module is used for receiving processing success information returned by the server aiming at the video publishing request, wherein the processing success information comprises a service identifier corresponding to the video description information of the published video;
and the description information updating module is used for determining the video description information of the published video according to the service identifier and updating the original video description information corresponding to the pre-published video according to the video description information.
Optionally, the apparatus further comprises:
the original information deleting module is used for deleting the original video description information when the processing success information is received;
the original video deleting module is used for deleting the original video when the storage time of the original video reaches a preset time; the saving time is counted from the time when the processing success information is received.
Optionally, the apparatus further comprises:
the release failure processing module is used for storing the pre-release video into a draft box when the video release request processing fails;
and the failure information display module is used for displaying the processing failure information on the graphical user interface.
Optionally, the pre-release video playing module 402 includes:
the first playing query module is used for querying a local playing address corresponding to the pre-issued video before the processing success information is received;
and the first playing determination module is used for playing the pre-release video based on the local playing address.
Optionally, the apparatus further comprises:
the second playing query module is used for responding to the playing request aiming at the issued video after receiving the processing success information and querying a corresponding local playing address according to the service identifier;
the second playing determining module is used for playing by adopting the local playing address if the query is obtained;
the third playing and inquiring module is used for judging whether the video identification corresponding to the released video is received or not if the inquiry is not successful;
a third playing determining module, configured to play the release video by using a playing address corresponding to the video identifier if the video identifier is received;
the fourth playing and inquiring module is used for judging whether a cloud disk playing address corresponding to the released video is received or not if the video identifier is not received;
a fourth playing determining module, configured to play the release video by using the cloud disk playing address if the cloud disk playing address is received;
and the playing failure prompt module is used for displaying playing failure information on the graphical user interface if the cloud disk playing address is not received.
Optionally, the apparatus further comprises:
and the processing progress display module is used for displaying the processing progress of the video publishing request in the graphical user interface.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiment of the present invention further provides a terminal, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when being executed by the processor, the computer program implements the processes of the video publishing method embodiment described above, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the processes of the above-described embodiment of the video publishing method are implemented, and the same technical effects can be achieved, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As is readily imaginable to the person skilled in the art: any combination of the above embodiments is possible, and thus any combination between the above embodiments is an embodiment of the present invention, but the present disclosure is not necessarily detailed herein for reasons of space.
The video distribution methods provided herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the video distribution method according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (10)

1. A video publishing method is characterized in that a graphical user interface is obtained by executing an application program on a processor of a terminal device and rendering the application program on a display screen of the terminal device, wherein the graphical user interface at least comprises an original video, original video description information and a video publishing control; the method comprises the following steps:
responding to the triggering operation aiming at the video publishing control, sending a video publishing request to a server, and generating a pre-published video and a local playing address corresponding to the pre-published video according to the original video and the description information of the original video;
before the server processes and completes the video publishing request, a feed stream interface used for displaying published videos is displayed in the graphical user interface, and the pre-published videos are played on the feed stream interface through the local playing address;
and when the video publishing request fails to be processed, storing the pre-published video into a draft box for video re-publishing.
2. The method according to claim 1, wherein the video distribution request includes the original video and the original video description information; the video publishing request is used for requesting the server to generate a corresponding publishing video according to the original video and the description information of the original video; the generating a pre-release video according to the original video and the description information of the original video in response to the triggering operation for the video release control further comprises:
receiving processing success information returned by the server aiming at the video publishing request, wherein the processing success information comprises a service identifier corresponding to the video description information of the published video;
and determining the video description information of the published video according to the service identifier, and updating the original video description information corresponding to the pre-published video according to the video description information.
3. The method according to claim 2, wherein after receiving the processing success information returned by the server for the video distribution request, further comprising:
deleting the original video description information when the processing success information is received;
deleting the original video when the storage time of the original video reaches a preset time; the saving time is counted from the time when the processing success information is received.
4. The method according to claim 1, wherein when the video distribution request processing fails, further comprising:
and displaying processing failure information on the graphical user interface.
5. The method of claim 2, wherein the displaying a feed stream interface for showing published videos in the graphical user interface and playing the pre-published video through the local play address in the feed stream interface comprises:
inquiring the local playing address corresponding to the pre-release video before receiving the processing success information;
and playing the pre-release video based on the local playing address.
6. The method of claim 5, further comprising:
after receiving the processing success information, responding to a playing request aiming at the issued video, and inquiring a corresponding local playing address according to the service identifier;
if the query is obtained, the local playing address is adopted for playing;
if the inquiry is not successful, judging whether the video identification corresponding to the released video is received;
if the video identification is received, playing the release video by adopting a playing address corresponding to the video identification;
if the video identification is not received, judging whether a cloud disk playing address corresponding to the released video is received;
if the cloud disk playing address is received, playing the release video by adopting the cloud disk playing address;
and if the cloud disk playing address is not received, displaying playing failure information on the graphical user interface.
7. The method according to claim 2, wherein after sending the video publishing request to the server, further comprising:
and displaying the processing progress of the video publishing request in the graphical user interface.
8. A video release device is characterized in that a graphical user interface is obtained by executing an application program on a processor of a terminal device and rendering the application program on a display screen of the terminal device, wherein the graphical user interface at least comprises an original video, original video description information and a video release control; the device comprises:
the pre-release video generation module is used for responding to the triggering operation aiming at the video release control, sending a video release request to a server, and generating a pre-release video and a local playing address corresponding to the pre-release video according to the original video and the original video description information;
a pre-release video playing module, configured to display a feed stream interface for displaying a released video in the graphical user interface before the server processes and completes the video release request, and play the pre-release video through the local playing address on the feed stream interface;
and the release failure processing module is used for storing the pre-release video into a draft box for video re-release when the video release request processing fails.
9. A terminal, comprising: a processor, a memory and a computer program stored on and executable on the processor, the computer program when executed by the processor implementing the video distribution method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements the video distribution method according to any one of claims 1 to 7.
CN202110944921.3A 2021-08-17 2021-08-17 Video publishing method, device, terminal and storage medium Active CN113727168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110944921.3A CN113727168B (en) 2021-08-17 2021-08-17 Video publishing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110944921.3A CN113727168B (en) 2021-08-17 2021-08-17 Video publishing method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113727168A CN113727168A (en) 2021-11-30
CN113727168B true CN113727168B (en) 2023-03-21

Family

ID=78676157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110944921.3A Active CN113727168B (en) 2021-08-17 2021-08-17 Video publishing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113727168B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302208A (en) * 2021-12-23 2022-04-08 北京字跳网络技术有限公司 Video distribution method, video distribution device, electronic equipment, storage medium and program product
CN114760509B (en) * 2022-06-14 2022-09-20 飞狐信息技术(天津)有限公司 Video distribution method, system, storage medium and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294642A (en) * 2016-08-03 2017-01-04 天梯头条传媒(苏州)有限公司 There is the information issuing system of greek version function
CN108259941A (en) * 2018-03-01 2018-07-06 北京达佳互联信息技术有限公司 Video broadcasting method and device
CN111510762B (en) * 2020-04-27 2022-04-22 康佳集团股份有限公司 Method, system and storage medium for publishing television small video
CN112749608B (en) * 2020-06-08 2023-10-17 腾讯科技(深圳)有限公司 Video auditing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113727168A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
CN110719524B (en) Video playing method and device, intelligent playing equipment and storage medium
US10194189B1 (en) Playback of content using multiple devices
CN113727168B (en) Video publishing method, device, terminal and storage medium
US20210160577A1 (en) Method for playing video, electronic device and storage medium
US20180255359A1 (en) Method for sharing a captured video clip and electronic device
CN107920274B (en) Video processing method, client and server
US10430044B2 (en) Method, system and computer storage medium for displaying microblog wall
US20110219386A1 (en) Method and apparatus for generating bookmark information
CN106844705B (en) Method and apparatus for displaying multimedia content
CN112333474B (en) Screen projection method, system, equipment and storage medium
CN112087665B (en) Previewing method of live video, computing equipment and computer storage medium
CN107071550B (en) Video data sharing method and device
CN109582904B (en) Published content modification method, device, server, terminal and storage medium
GB2590213A (en) Video publishing method and apparatus, device, and storage medium
WO2017140226A1 (en) Video processing method and device therefor
CN112770168B (en) Video playing method, related device and equipment
JP2005244523A (en) Network conference system, conference terminal and conference server
CN105760377A (en) Information processing method and device
KR101401961B1 (en) System for sharing augmented reality contents and method thereof
US10328336B1 (en) Concurrent game functionality and video content
CN111064979B (en) Webpage live broadcasting method and device, webpage terminal and storage medium
CN111176546B (en) Live message publishing and page generating method and related equipment
CN108271033B (en) Video live broadcast method and device
CN113453078B (en) Interactive prompt method, device, terminal and storage medium
CN115243064B (en) Live broadcast control method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant