[go: up one dir, main page]

CN111954077A - Video stream processing method and device for live broadcast - Google Patents

Video stream processing method and device for live broadcast Download PDF

Info

Publication number
CN111954077A
CN111954077A CN202010855933.4A CN202010855933A CN111954077A CN 111954077 A CN111954077 A CN 111954077A CN 202010855933 A CN202010855933 A CN 202010855933A CN 111954077 A CN111954077 A CN 111954077A
Authority
CN
China
Prior art keywords
video
video stream
video file
live
broadcast
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.)
Pending
Application number
CN202010855933.4A
Other languages
Chinese (zh)
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.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN202010855933.4A priority Critical patent/CN111954077A/en
Publication of CN111954077A publication Critical patent/CN111954077A/en
Pending legal-status Critical Current

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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/47815Electronic shopping
    • 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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses a live video stream processing method and device, and relates to the technical field of live broadcast and video. The specific implementation mode comprises the following steps: in response to receiving a broadcasting instruction of a terminal, shooting to obtain a live video stream, and sending a stream pushing request to a server; in response to the recorded and broadcast instruction, starting to extract the live broadcast video stream to form a recorded and broadcast video stream; acquiring an article link; and in response to the recorded broadcast stopping instruction, stopping extracting the live broadcast video stream to obtain a target recorded broadcast video stream, generating a video file corresponding to the target recorded broadcast video stream, and performing association processing on the video file and the article link. The terminal in the application can extract the video shot by the anchor in the live broadcast process and the item link recommended by the anchor, so that the follow-up common release of the extracted video can be realized. Meanwhile, the method and the device can also avoid the problem that the watching experience of recorded and broadcast videos is influenced due to the fact that too much content is in the pictures brought by directly extracting the pictures of the live broadcast room.

Description

Video stream processing method and device for live broadcast
Technical Field
The application relates to the technical field of computers, in particular to the technical field of live broadcast and video, and particularly relates to a method and a device for processing a live broadcast video stream.
Background
With the development of internet technology, live video is more and more popular with users. In the process of live broadcasting of the anchor, audiences can interact with the anchor through a barrage and the like.
In the live broadcast process, the anchor can perform various forms of performances and also can sell articles. The anchor can add an item link in a live broadcast picture through operation, and a viewer can buy an item recommended by the anchor by clicking the item link on the screen. In the related art, the anchor can record the picture of the live broadcast room and distribute the recorded live broadcast picture, so that a user who misses the live broadcast can watch the item information by watching the recorded live broadcast picture.
Disclosure of Invention
A video stream processing method, a video stream processing device, an electronic device and a storage medium for live broadcasting are provided.
According to a first aspect, there is provided a method for processing a live video stream, comprising: responding to a received playing instruction of a terminal, shooting to obtain a live video stream, and sending a stream pushing request to a server so that the server pushes the live video stream or a processed live video stream to a viewer terminal in a live broadcast room; in response to the recorded and broadcast instruction, starting to extract the live broadcast video stream to form a recorded and broadcast video stream; in response to monitoring that an article link adding operation is performed in the live broadcast process, acquiring an article link; and in response to the recorded broadcast stopping instruction, stopping extracting the live broadcast video stream to obtain a target recorded broadcast video stream, generating a video file corresponding to the target recorded broadcast video stream, and performing association processing on the video file and the article link.
According to a second aspect, there is provided a video stream processing apparatus for live broadcasting, comprising: the broadcasting unit is configured to respond to a received broadcasting instruction of the terminal, shoot to obtain a live video stream, and send a stream pushing request to the server, so that the server pushes the live video stream or the processed live video stream to a viewer terminal in a live broadcasting room; an extraction unit configured to start extracting a live video stream to form a recorded broadcast video stream in response to acquiring the recorded broadcast instruction; the acquisition unit is configured to respond to monitoring of an operation of adding the article link in the live broadcast process and acquire the article link; and the stopping unit is configured to stop extracting the live broadcast video stream to obtain a target recorded broadcast video stream in response to the recorded broadcast stopping instruction, generate a video file corresponding to the target recorded broadcast video stream, and perform association processing on the video file and the article link.
According to a third aspect, there is provided an electronic device comprising: one or more processors; a storage device for storing one or more programs which, when executed by one or more processors, cause the one or more processors to implement a method as in any embodiment of a method for processing a live video stream.
According to a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method as in any one of the embodiments of the method of processing a video stream for live broadcast.
According to the scheme of the application, the terminal can extract the video shot by the anchor in the live broadcast process and the item link recommended by the anchor, so that the extracted video and the item link can be released together subsequently. And the published content comprises an item link associated with the video file, so that a viewer watching the video can purchase an item recommended by the anchor in the video file through the item link. Meanwhile, the embodiment can also avoid the problem that the watching experience of recorded and broadcast videos is influenced due to excessive contents in the pictures brought by directly extracting the pictures of the live broadcast room.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for live video stream processing according to the present application;
fig. 3 is a schematic diagram of an application scenario for a live video stream processing method according to the present application;
FIG. 4 is a flow diagram of yet another embodiment of a method for live video stream processing according to the present application;
FIG. 5 is a block diagram of one embodiment of a video stream processing apparatus for live broadcast according to the present application;
fig. 6 is a block diagram of an electronic device used to implement a video stream processing method for live broadcast according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the live video stream processing method or the live video stream processing apparatus of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, a network 104, and a server 103. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102 and the server 103. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102 to interact with the server 103 via the network 104 to receive or send messages or the like. Various communication client applications, such as video applications, live applications, instant messaging tools, mailbox clients, social platform software, and the like, may be installed on the terminal devices 101 and 102.
Here, the terminal apparatuses 101 and 102 may be hardware or software. When the terminal devices 101, 102 are hardware, they may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101 and 102 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein. Of the terminal devices 101, 102, one of the terminal devices may be a cast terminal and the other terminal device may be a viewer terminal.
The server 103 may be a server providing various services, such as a background server providing live support for the terminal devices 101, 102. The backend server may analyze and otherwise process data such as a stream pushing request received from the terminal 101, and feed back a processing result (e.g., a processed video stream) to the terminal apparatus 102.
It should be noted that the live video stream processing method provided in the embodiment of the present application may be executed by the terminal devices 101 and 102, and accordingly, a live video stream processing apparatus may be disposed in the terminal devices 101 and 102.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for live video stream processing according to the present application is shown. The video stream processing method aiming at the live broadcast is used for a terminal and can be used for the terminal, and the method comprises the following steps:
step 201, in response to receiving a broadcast command of a terminal, capturing to obtain a live video stream, and sending a stream pushing request to a server, so that the server pushes the live video stream or a processed live video stream to a viewer terminal in a live room.
In this embodiment, an execution body (for example, the terminal device shown in fig. 1) on which the live video stream processing method operates may capture a live video stream when receiving a command to start playing a live video stream from a main terminal. The playback instruction here refers to an instruction to start live broadcasting. Such as may be generated by a user activating a play key. The anchor terminal indicates that the user of the terminal is the anchor of the live broadcast. Specifically, the live video stream is a picture taken by a camera of the anchor terminal or a camera connected to the anchor terminal. The broadcast instruction here may be generated by a broadcast operation of a user of the terminal. In practice, the terminal in the present application may be an anchor terminal. The corresponding live broadcast of the live broadcast room is the live broadcast indicated by the live broadcast video stream.
The processed live video stream sent to the viewer terminal may be obtained by processing a shot video stream, that is, an original video stream, by the server. The processing herein may refer to a video stream to which a variety of display contents are added. Such as display content to which at least one of the following is added: barrage and advertisement. The processed live video stream is a live room picture.
Step 202, in response to acquiring the recorded broadcast instruction, beginning to extract the live broadcast video stream to form a recorded broadcast video stream.
In this embodiment, the execution main body may obtain a recorded broadcast instruction during the live broadcast, so as to start to extract an obtained live broadcast video stream, and use a formed extraction result as a recorded broadcast video stream. The recording and playing instruction may be generated by a recording and playing operation of a user, or may be generated by the execution main body in response to the terminal starting a live broadcast, for example, locally generated by receiving a playing instruction.
And step 203, responding to the operation of adding the item link in the live broadcast process, and acquiring the item link.
In this embodiment, the executing body may obtain the item link in response to monitoring that an item adding link operation of the user is received in a live broadcast process.
And 204, in response to the recorded broadcast stopping instruction, stopping extracting the live broadcast video stream to obtain a target recorded broadcast video stream, generating a video file corresponding to the target recorded broadcast video stream, and performing association processing on the video file and the article link.
In this embodiment, the execution main body may stop extracting the live video stream when the recording stop instruction is obtained from the target terminal, and record the live video stream extracted in the whole process as the target recording video stream from the start of extracting the live video stream to the stop of extracting the live video stream. In practice, the execution body described above may perform the association processing in various ways. For example, the video file and the item link are sent to the server, and the server stores the video file and the item link in association with each other.
In practice, the target recorded video stream may be associated with only one item link, or may include video stream segments associated with at least two item links, respectively.
In the method provided by the embodiment of the application, the terminal can extract the video shot by the anchor in the live broadcasting process and the item link recommended by the anchor, so that the extracted video and the item link can be released together subsequently. And the published content comprises an item link associated with the video file, so that a viewer watching the video can purchase an item recommended by the anchor in the video file through the item link. Meanwhile, the embodiment can also avoid the problem that the watching experience of recorded and broadcast videos is influenced due to excessive contents in the pictures brought by directly extracting the pictures of the live broadcast room.
In some optional implementations of the present embodiment, the target recorded video stream includes a plurality of video stream segments respectively associated with a plurality of item links.
In these implementations, the target recorded video stream may include a plurality of video stream segments, i.e., sub-video streams. Each video stream segment corresponds to, i.e. is associated with, an item link.
The implementation modes can acquire a plurality of video stream segments, so that the video stream segments associated with the item links can be comprehensively extracted in one live broadcast.
In some optional application scenarios of these implementations, the associating the video file with the item link in step 204 may include: splitting the video file into sub-video files respectively associated with different item links, wherein each sub-video file is associated with a video stream segment.
In these optional application scenarios, the execution subject may split the video file into at least two sub-video files. Each sub-video file is associated with an item link and different sub-video files are associated with different item links.
In practice, the execution body described above may be split in various ways. For example, the execution subject may use the end time of displaying the item link as the time point of splitting different sub video files, that is, use the end time as the end time point of the sub video file corresponding to the item link, and use the next time point of the end time as the start time point of the next sub video file adjacent to the sub video file.
The application scenes can determine the sub-video file corresponding to each article link by splitting the video file, so that the article links and the sub-video files corresponding to different articles can be respectively published.
Optionally, the splitting the video file into sub video files respectively associated with different item links may include: acquiring an image identification result of a video frame in a video file; and splitting the video file according to different identification results to obtain at least two sub-video files, wherein the different identification results comprise different labels of target articles, and the different target articles are respectively articles indicated by different article links.
Specifically, the execution main body or other electronic devices may perform image recognition on a video frame in a video file, so that the execution main body may split the video file into at least two sub-video files according to different recognition results. The other electronic device here is an electronic device which is connected in communication with the execution main body described above.
Several objects may be presented in the video frame, wherein one object is a target item, i.e. an item recommended by the anchor. In the different recognition results, there may be an identification tag of the same object, such as an identification tag of a face of the anchor, or there may be an identification tag of a different object, where the different object may be an item recommended by the anchor. For example, one target item recommended by the anchor is a pencil, and in the image recognition result of the video frame where the pencil is located, the identification label corresponding to the pencil is "1". The next target item recommended by the anchor is an eraser, and in the image recognition result of the video frame where the eraser is located, the identification label corresponding to the eraser is '2'.
The application scenes can accurately split the video file through image recognition.
In some optional implementations of this embodiment, the associating processing of the video file and the item link in step 204 above may include: acquiring video publishing information, wherein the video publishing information is used for indicating whether the video file is published; and in response to the fact that the video publishing information indicates that the video file is published, the video file is published in association with the item link, wherein a shopping cart identifier associated with the item link is presented in a video playing interface of the published video file.
The execution subject may perform the association distribution in a case where the acquired video distribution information indicates that the video file is distributed. Specifically, the execution main body may acquire video distribution information using various information, and the execution main body may acquire the video distribution information from a local or other electronic device (such as a server), where the video distribution information may be information stored in advance on a terminal or a server.
The implementation modes can automatically carry out associated publishing on the video file and the item link through the video publishing information.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the video stream processing method for live broadcasting according to the present embodiment. In the application scenario of fig. 3, in response to receiving a play instruction 302 of a terminal, an execution main body 301 obtains a live video stream by shooting, and sends a stream pushing request to a server, so that the server pushes the live video stream or a processed live video stream to a viewer terminal in a live broadcast room. The execution body 301 starts extracting the live video stream to form a recorded broadcast video stream in response to acquiring the recorded broadcast instruction 303. The execution main body 301 acquires the item link 304 in response to monitoring that an item link operation is added in the live broadcast process. In response to acquiring the recording stop instruction 305, the execution main body 301 stops extracting the live video stream to obtain a target recording and playing video stream 306, generates a video file 307 corresponding to the target recording and playing video stream, and performs association processing 308 on the video file 307 and the item link.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method of video stream processing for live streaming is shown. The process 400 includes the following steps:
step 401, in response to receiving a broadcast command of a terminal, capturing to obtain a live video stream, and sending a stream pushing request to a server, so that the server pushes the live video stream or a processed live video stream to a viewer terminal in a live room.
In this embodiment, an execution body (for example, the terminal device shown in fig. 1) on which the live video stream processing method operates may capture a live video stream when receiving a command to start playing a live video stream from a main terminal. The playback instruction here refers to an instruction to start live broadcasting. Such as may be generated by a user activating a play key. The anchor terminal indicates that the user of the terminal is the anchor of the live broadcast. Specifically, the live video stream is a picture taken by a camera of the anchor terminal or a camera connected to the anchor terminal. The broadcast instruction here may be generated by a broadcast operation of a user of the terminal.
Step 402, in response to acquiring the recorded broadcast instruction, beginning to extract the live video stream to form a recorded broadcast video stream.
In this embodiment, the execution main body may obtain a recorded broadcast instruction during the live broadcast, so as to start to extract an obtained live broadcast video stream, and use a formed extraction result as a recorded broadcast video stream. The recording and playing instruction may be generated by a recording and playing operation of a user, or may be generated by the execution main body in response to the terminal starting a live broadcast, for example, locally generated by receiving a playing instruction.
And 403, responding to the operation of adding the item link in the live broadcast process, and acquiring the item link.
In this embodiment, the executing body may obtain the item link in response to monitoring that an item adding link operation of the user is received in a live broadcast process.
And step 404, in response to the recorded broadcast stopping instruction, stopping extracting the live broadcast video stream to obtain a target recorded broadcast video stream, generating a video file corresponding to the target recorded broadcast video stream, and performing associated storage on the video file and the article link locally.
In this embodiment, the execution subject may locally perform associated storage on the video file and the item link. In this way, the video file and the item link in the association relationship can be stored locally.
These implementations may store the video file and the item link locally in association, so that a user of the terminal, such as an anchor, may choose to publish both at any time.
In some optional implementations of this embodiment, the locally performing associated storage on the video file and the item link in step 404 may include: adding an identifier to a video file; and associating the identifier with the item link, and locally storing the video file, the item link and the identifier in an associated manner.
In these alternative implementations, the execution body may add an identifier to the video file. The identification is used to distinguish the video file from other video files. And, the execution subject may further associate the identifier with an item link. In this way, if the user wants to publish the video file, the terminal can find the item link associated with the identifier, so that the video file and the item link are published together.
Optionally, the method may further include: in response to detecting a video publishing operation on the video file, extracting an item link associated with an identifier of the video file; and performing associated publishing on the video file and the extracted item link, wherein the shopping cart identifier associated with the extracted item link is presented in a video playing interface of the published video file.
Specifically, the executing agent may determine the identifier of the video file when a video distribution operation on the video file is detected. And extracts the item link with which the identification is associated. In this way, the execution agent may publish the item link and the video file together. In practice, the execution subject can upload the video file and the article link to the server, so that the server can realize the distribution of the video.
The execution subject can display the shopping cart identifier in the published video, so that the audience of the video can quickly purchase the articles by operating the shopping cart identifier, and a more quick article purchase channel is provided for the user. Specifically, the shopping cart identification corresponds to the item link. When a user watching the recorded video file clicks the shopping cart identifier, a purchase entry, such as the purchase entry including the item name, the item price and the "go to see" button, may be displayed in the video frame corresponding to the video file. If the user clicks the button, the displayed screen may jump to the purchase page for the item indicated by the item link. Alternatively, the user clicks on the purchase entry and the displayed screen may jump directly to the purchase page.
The optional implementation modes can extract the video file and the item link at any time when the user wants to publish the video, so that the video file and the item link can be published together.
In some optional cases, the publishing the video file and the item link may include: and performing associated publishing on the video file and the extracted item link so that the shopping cart identifier associated with the extracted item link appears in a video playing interface of the published video file.
With further reference to fig. 5, as an implementation of the methods shown in the above figures, the present application provides an embodiment of a live video stream processing apparatus, which corresponds to the method embodiment shown in fig. 2, and besides the features described below, the apparatus embodiment may further include the same or corresponding features or effects as the method embodiment shown in fig. 2. The device can be applied to various electronic equipment.
As shown in fig. 5, the video stream processing apparatus 500 for live broadcasting of the present embodiment includes: an opening unit 501, an extraction unit 502, an acquisition unit 503, and a stop unit 504. The broadcasting unit 501 is configured to, in response to receiving a broadcasting instruction of a terminal, capture a live video stream, and send a stream pushing request to a server, so that the server pushes the live video stream or a processed live video stream to a viewer terminal in a live room; an extracting unit 502 configured to start extracting a live video stream to form a recorded broadcast video stream in response to acquiring the recorded broadcast instruction; an obtaining unit 503 configured to obtain an item link in response to monitoring that an item link operation is added in the live broadcast process; and a stopping unit 504, configured to, in response to the recording stop instruction being obtained, stop extracting the live video stream to obtain a target recorded broadcast video stream, generate a video file corresponding to the target recorded broadcast video stream, and perform association processing on the video file and the item link.
In this embodiment, for specific processing of the playing unit 501, the extracting unit 502, the obtaining unit 503, and the stopping unit 504 of the live video stream processing apparatus 500 and technical effects brought by the specific processing, reference may be made to the related descriptions of step 201, step 202, step 203, and step 204 in the corresponding embodiment of fig. 2, which are not described herein again.
In some optional implementations of this embodiment, the stopping unit is further configured to perform the associating process of the video file and the item link as follows: and locally storing the video file and the item link in an associated manner.
In some optional implementations of the embodiment, the stopping unit is further configured to perform the locally storing the video file in association with the item link as follows: adding an identifier to a video file; and associating the identifier with the item link, and locally storing the video file, the item link and the identifier in an associated manner.
In some optional implementations of this embodiment, the apparatus further includes: a link extraction unit configured to extract an item link associated with an identification of a video file in response to detecting a video distribution operation to the video file; and the publishing unit is configured to perform associated publishing on the video file and the extracted item link, wherein the shopping cart identifier associated with the extracted item link is presented in the video playing interface of the published video file.
In some optional implementations of this embodiment, the stopping unit is further configured to perform the associating process of the video file and the item link as follows: acquiring video publishing information, wherein the video publishing information is used for indicating whether the video file is published; and in response to the fact that the video publishing information indicates that the video file is published, the video file is published in association with the item link, wherein a shopping cart identifier associated with the item link is presented in a video playing interface of the published video file.
In some optional implementations of the present embodiment, the target recorded video stream includes a plurality of video stream segments respectively associated with a plurality of item links.
In some optional implementations of this embodiment, the stopping unit is further configured to perform the associating process of the video file and the item link as follows: splitting the video file into sub-video files respectively associated with different item links, wherein each sub-video file is associated with a video stream segment.
In some optional implementations of the embodiment, the stopping unit is further configured to perform splitting the video file into sub-video files respectively associated with different item links as follows: acquiring an image identification result of a video frame in a video file; and splitting the video file according to different identification results to obtain at least two sub-video files, wherein the different identification results comprise different labels of target articles, and the different target articles are respectively articles indicated by different article links.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 6, the embodiment of the present application is a block diagram of an electronic device for a live video stream processing method. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 601, memory 602, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor 601 is taken as an example.
The memory 602 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method for processing live video streams provided herein. A non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to perform the video stream processing method for live provided by the present application.
The memory 602, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the video stream processing method for live broadcast in the embodiments of the present application (for example, the playing unit 501, the extracting unit 502, the obtaining unit 503, and the stopping unit 504 shown in fig. 5). The processor 601 executes various functional applications and data processing of the server by running non-transitory software programs, instructions and modules stored in the memory 602, that is, implementing the video stream processing method for live broadcast in the above method embodiment.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the video stream processing electronic device for live broadcasting, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 602 optionally includes memory remotely located from processor 601, and these remote memories may be connected over a network to video stream processing electronics for live broadcasts. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the video stream processing method for live broadcasting may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The input device 603 may receive input numeric or character information and generate key signal inputs related to user settings and function control for the live video stream processing electronics, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or like input device. The output devices 604 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a playback unit, an extraction unit, an acquisition unit, and a stop unit. The names of the units do not form a limitation on the units themselves in some cases, and for example, the acquiring unit may be further described as a "unit that acquires an item link in response to an operation of adding an item link during the monitoring of the live broadcast".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: in response to the acquisition of a live broadcast recording instruction for the terminal, starting to record a video stream shot by the terminal, and acquiring an article link added by the terminal to the live broadcast; stopping recording the video stream shot by the terminal in response to the stop instruction; and generating a video file corresponding to the recorded video stream, and performing association processing on the video file and the article link.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. A video stream processing method for live broadcast is used for a terminal, and the method comprises the following steps:
responding to a received playing instruction of the terminal, shooting to obtain a live video stream, and sending a stream pushing request to a server so that the server pushes the live video stream or the processed live video stream to a viewer terminal of a live room;
in response to the recorded broadcast instruction, starting to extract the live broadcast video stream to form a recorded broadcast video stream;
in response to monitoring that an article link adding operation is performed in the live broadcast process, acquiring an article link;
and in response to the acquisition of a recording stopping instruction, stopping extracting the live broadcast video stream to obtain a target recording and broadcasting video stream, generating a video file corresponding to the target recording and broadcasting video stream, and performing association processing on the video file and the article link.
2. The method of claim 1, wherein the associating the video file with the item link comprises:
and locally storing the video file and the item link in an associated manner.
3. The method of claim 2, wherein the locally storing the video file in association with the item link comprises:
adding an identifier to the video file;
and associating the identifier with the item link, and locally storing the video file, the item link and the identifier in an associated manner.
4. The method of claim 3, wherein the method further comprises:
in response to detecting a video publishing operation on the video file, extracting an item link associated with an identification of the video file;
and performing associated publishing on the video file and the extracted item link, wherein a shopping cart identifier associated with the extracted item link is presented in a video playing interface of the published video file.
5. The method of claim 1, wherein the associating the video file with the item link comprises:
acquiring video publishing information, wherein the video publishing information is used for indicating whether the video file is published;
and in response to the fact that the video publishing information indicates that the video file is published, the video file is published in association with the item link, wherein a shopping cart identifier associated with the item link is presented in a video playing interface of the published video file.
6. The method of claim 1, wherein the target recorded video stream comprises a plurality of video stream segments respectively associated with a plurality of item links.
7. The method of claim 6, wherein the associating the video file with the item link comprises:
splitting the video file into sub-video files respectively associated with different item links, wherein each sub-video file is associated with a video stream segment.
8. The method of claim 7, wherein the splitting the video file into sub-video files respectively associated with different item links comprises:
acquiring an image identification result of a video frame in the video file;
and splitting the video file according to different identification results to obtain at least two sub-video files, wherein the different identification results comprise different labels of target articles, and the different target articles are respectively articles indicated by different article links.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
10. A computer-readable storage medium having stored thereon a computer program, wherein,
the program when executed by a processor implementing the method as claimed in any one of claims 1-8.
CN202010855933.4A 2020-08-24 2020-08-24 Video stream processing method and device for live broadcast Pending CN111954077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010855933.4A CN111954077A (en) 2020-08-24 2020-08-24 Video stream processing method and device for live broadcast

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010855933.4A CN111954077A (en) 2020-08-24 2020-08-24 Video stream processing method and device for live broadcast

Publications (1)

Publication Number Publication Date
CN111954077A true CN111954077A (en) 2020-11-17

Family

ID=73359985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010855933.4A Pending CN111954077A (en) 2020-08-24 2020-08-24 Video stream processing method and device for live broadcast

Country Status (1)

Country Link
CN (1) CN111954077A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630618A (en) * 2021-08-06 2021-11-09 上海哔哩哔哩科技有限公司 Video processing method, device and system
CN114025177A (en) * 2021-09-29 2022-02-08 阿里巴巴(中国)有限公司 Method for generating short video, method and device for processing short video
CN114466201A (en) * 2022-02-21 2022-05-10 上海哔哩哔哩科技有限公司 Live stream processing method and device
CN114466210A (en) * 2022-01-27 2022-05-10 广州方硅信息技术有限公司 Live broadcast quality detection processing method and device, equipment, medium and product thereof
WO2022188688A1 (en) * 2021-03-12 2022-09-15 北京字节跳动网络技术有限公司 Information sending method and apparatus, electronic device, and computer-readable storage medium
WO2023124853A1 (en) * 2022-01-01 2023-07-06 北京有竹居网络技术有限公司 Video processing method and apparatus, video playing method and apparatus, and electronic device and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303557A (en) * 2016-08-16 2017-01-04 广州华多网络科技有限公司 The live content methods of exhibiting of network direct broadcasting and device
CN108650531A (en) * 2018-07-17 2018-10-12 北京引领海逛科技有限公司 The method and system of video content Rapid matching product
CN109104639A (en) * 2017-06-20 2018-12-28 阿里巴巴集团控股有限公司 Live broadcast system, the method, apparatus and electronic equipment for determining live video theme
CN109429074A (en) * 2017-08-25 2019-03-05 阿里巴巴集团控股有限公司 A kind of live content processing method, device and system
US20190108561A1 (en) * 2017-10-05 2019-04-11 Mindtree Ltd. Purchase Intent Determination And Real Time In-store Shopper Assistance
CN111405221A (en) * 2020-01-13 2020-07-10 海信电子科技(深圳)有限公司 Display device and display method of recording file list

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303557A (en) * 2016-08-16 2017-01-04 广州华多网络科技有限公司 The live content methods of exhibiting of network direct broadcasting and device
CN109104639A (en) * 2017-06-20 2018-12-28 阿里巴巴集团控股有限公司 Live broadcast system, the method, apparatus and electronic equipment for determining live video theme
CN109429074A (en) * 2017-08-25 2019-03-05 阿里巴巴集团控股有限公司 A kind of live content processing method, device and system
US20190108561A1 (en) * 2017-10-05 2019-04-11 Mindtree Ltd. Purchase Intent Determination And Real Time In-store Shopper Assistance
CN108650531A (en) * 2018-07-17 2018-10-12 北京引领海逛科技有限公司 The method and system of video content Rapid matching product
CN111405221A (en) * 2020-01-13 2020-07-10 海信电子科技(深圳)有限公司 Display device and display method of recording file list

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022188688A1 (en) * 2021-03-12 2022-09-15 北京字节跳动网络技术有限公司 Information sending method and apparatus, electronic device, and computer-readable storage medium
CN113630618A (en) * 2021-08-06 2021-11-09 上海哔哩哔哩科技有限公司 Video processing method, device and system
CN114025177A (en) * 2021-09-29 2022-02-08 阿里巴巴(中国)有限公司 Method for generating short video, method and device for processing short video
CN114025177B (en) * 2021-09-29 2024-08-06 阿里巴巴(中国)有限公司 Method for generating short video, method and device for processing short video
WO2023124853A1 (en) * 2022-01-01 2023-07-06 北京有竹居网络技术有限公司 Video processing method and apparatus, video playing method and apparatus, and electronic device and medium
CN114466210A (en) * 2022-01-27 2022-05-10 广州方硅信息技术有限公司 Live broadcast quality detection processing method and device, equipment, medium and product thereof
CN114466210B (en) * 2022-01-27 2024-04-16 广州方硅信息技术有限公司 Live broadcast quality detection processing method and device, equipment and medium thereof
CN114466201A (en) * 2022-02-21 2022-05-10 上海哔哩哔哩科技有限公司 Live stream processing method and device
CN114466201B (en) * 2022-02-21 2024-03-19 上海哔哩哔哩科技有限公司 Live stream processing method and device

Similar Documents

Publication Publication Date Title
CN111954077A (en) Video stream processing method and device for live broadcast
CN106204168A (en) Commodity barrage display system, unit and method
WO2021114845A1 (en) Interactive service processing method, system and device, and storage medium
US11233764B2 (en) Metrics-based timeline of previews
WO2010141939A1 (en) Ecosystem for smart content tagging and interaction
CN104113786A (en) Information acquisition method and device
CN107995515A (en) The method and device of information alert
CN111726682A (en) Video segment generating method, apparatus, device and computer storage medium
CN111866550A (en) Method and device for shielding video clip
CN112969093B (en) Interactive service processing method, device, equipment and storage medium
CN109309851B (en) Information processing method, server and terminal
US20190014063A1 (en) System and Methods for Dynamically Generating Animated GIF Files for Delivery Via the Network
CN112235613A (en) Video processing method and device, electronic equipment and storage medium
CN111694983B (en) Information display method, information display device, electronic equipment and storage medium
CN113542888A (en) Video processing method and device
CN111954078A (en) Video generation method and device for live broadcast
US20170330036A1 (en) Provide augmented reality content
CN111601150A (en) Video processing method and device
CN110855557A (en) Video sharing method and device and storage medium
CN110505502A (en) A video processing method, device and computer-readable storage medium
CN112528052A (en) Multimedia content output method, device, electronic equipment and storage medium
US10284883B2 (en) Real-time data updates from a run down system for a video broadcast
CN112383825B (en) Video recommendation method and device, electronic equipment and medium
CN111901668B (en) Video playing method and device
US12041291B2 (en) QR attribution

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201117