CN115412758B - Video processing method and related device - Google Patents

Video processing method and related device Download PDF

Info

Publication number
CN115412758B
CN115412758B CN202211066024.8A CN202211066024A CN115412758B CN 115412758 B CN115412758 B CN 115412758B CN 202211066024 A CN202211066024 A CN 202211066024A CN 115412758 B CN115412758 B CN 115412758B
Authority
CN
China
Prior art keywords
code stream
target code
video
link
identification number
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
CN202211066024.8A
Other languages
Chinese (zh)
Other versions
CN115412758A (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 CN202211066024.8A priority Critical patent/CN115412758B/en
Publication of CN115412758A publication Critical patent/CN115412758A/en
Application granted granted Critical
Publication of CN115412758B publication Critical patent/CN115412758B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43078Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen for seamlessly watching content streams when changing device, e.g. when watching the same program sequentially on a TV and then on a tablet
    • 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/44016Processing 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 splicing one content stream with another content stream, e.g. for substituting a video clip
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot

Abstract

The invention provides a video processing method and a related device, wherein video throwing equipment determines and sends a second target code stream corresponding to a first target code stream and a link corresponding to the second target code stream to material production equipment so as to generate a third target code stream and an identification number of the third target code stream, the third target code stream is obtained by pressing a coded picture corresponding to the link into the second target code stream, the link can be accessed by scanning the coded picture, the identification number of the third target code stream is sent to a mobile terminal so as to throw screen and play a fourth target code stream, and the fourth target code stream is obtained by splicing the first target code stream and the third target code stream corresponding to the identification number of the third target code stream. The fourth target code stream played by screen projection is obtained by splicing the first target code stream and the third target code stream obtained by pressing the coded pictures corresponding to the links into the second target code stream, and the user scans the coded pictures to watch the linked content, so that the user interactivity and experience are improved.

Description

Video processing method and related device
Technical Field
The present invention relates to the field of video processing, and in particular, to a video processing method and related apparatus.
Background
The wireless screen throwing is also called wireless screen sharing, flying screen sharing. Specifically, the screen of the mobile control terminal (such as a mobile phone, a tablet, a notebook, a computer, etc.) is displayed on another screen terminal (such as a tablet, a notebook, a computer, a television, an all-in-one machine, a projector, etc.) in real time by a certain technical method.
In the screen-throwing scene, the mobile control terminal can throw the screen-throwing video into the screen-throwing terminal for playing. If the advertisement video needs to be played, the advertisement video and the video needing to be put on the screen can be spliced and then played, and the playing mode is poor in interactivity with a user and poor in user experience.
Disclosure of Invention
In view of this, the invention provides a video processing method and related device, in order to solve the problem that if an advertisement video needs to be played, the advertisement video can be played after being spliced with a video needing to be put on a screen, and the playing mode has poor interactivity with a user and poor user experience.
In order to solve the technical problems, the invention adopts the following technical scheme:
a video processing method applied to a video delivery device, the video processing method comprising:
receiving a screen throwing request sent by a mobile terminal; the screen throwing request comprises a first target code stream;
Determining and transmitting a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to a material production device so as to generate a third target code stream and an identification number of the third target code stream, and transmitting the identification number of the third target code stream to the video delivery device; the third target code stream is obtained by pressing the coded pictures corresponding to the links into the second target code stream; the link can be accessed by scanning the encoded picture;
the identification number of the third target code stream is sent to the mobile terminal so as to carry out screen-casting playing on the fourth target code stream; the fourth target code stream is obtained by the mobile terminal sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video cloud service system splicing the third target code streams corresponding to the identification numbers of the first target code stream and the third target code stream.
Optionally, determining the second target code stream corresponding to the first target code stream and the link corresponding to the second target code stream includes:
determining a second target code stream corresponding to the first target code stream based on a preset code stream determining rule;
And determining an initial link corresponding to the second target code stream, and performing length adjustment operation on the initial link to obtain a link.
Optionally, performing a length adjustment operation on the initial link to obtain a link, including:
and adjusting the length of the initial link to adjust the initial link to be short-chain, so as to obtain the link.
Optionally, sending the second target code stream corresponding to the first target code stream and the link corresponding to the second target code stream to a material production device, including:
and calling a real-time interface of the material production equipment to send a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to the material production equipment.
A video processing method applied to a material production apparatus, the video processing method comprising:
receiving a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream, which are determined and sent by video delivery equipment; the screen throwing request is sent to video throwing equipment by a mobile terminal and comprises a first target code stream;
generating a third target code stream and an identification number of the third target code stream; the third target code stream is obtained by pressing the coded pictures corresponding to the links into the second target code stream; the link can be accessed by scanning the encoded picture;
The identification number of the third target code stream is sent to the video delivery device, so that the video delivery device sends the identification number of the third target code stream to the mobile terminal, and screen-casting playing is carried out on a fourth target code stream; the fourth target code stream is obtained by the mobile terminal sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video cloud service system splicing the third target code streams corresponding to the identification numbers of the first target code stream and the third target code stream.
Optionally, generating a third target code stream and an identification number of the third target code stream includes:
generating an encoded picture corresponding to the link;
setting the coded picture as a watermark at a designated position in the second target code stream to obtain a third target code stream;
and determining the identification number of the third target code stream according to a preset identification number determination rule.
Optionally, after generating the third target code stream and the identification number of the third target code stream, the method further includes:
and storing the third target code stream and the identification number of the third target code stream to a server meeting preset storage conditions.
A video processing apparatus for use in a video delivery device, the video processing apparatus comprising:
the screen projection request receiving module is used for receiving a screen projection request sent by the mobile terminal; the screen throwing request comprises a first target code stream;
the data determining module is used for determining and transmitting a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to the material production equipment so as to generate a third target code stream and an identification number of the third target code stream, and transmitting the identification number of the third target code stream to the video delivery equipment; the third target code stream is obtained by pressing the coded pictures corresponding to the links into the second target code stream; the link can be accessed by scanning the encoded picture;
the identification number sending module is used for sending the identification number of the third target code stream to the mobile terminal so as to perform screen-casting playing on the fourth target code stream; the fourth target code stream is obtained by the mobile terminal sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video cloud service system splicing the third target code streams corresponding to the identification numbers of the first target code stream and the third target code stream.
A video processing apparatus applied to a material production device, the video processing apparatus comprising:
the data receiving module is used for receiving a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream, which are determined and sent by the video delivery equipment; the screen throwing request is sent to video throwing equipment by a mobile terminal and comprises a first target code stream;
the data generation module is used for generating a third target code stream and an identification number of the third target code stream; the third target code stream is obtained by pressing the coded pictures corresponding to the links into the second target code stream; the link can be accessed by scanning the encoded picture;
the data sending module is used for sending the identification number of the third target code stream to the video delivery device so that the video delivery device can send the identification number of the third target code stream to the mobile terminal to perform screen-casting playing on a fourth target code stream; the fourth target code stream is obtained by the mobile terminal sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video cloud service system splicing the third target code streams corresponding to the identification numbers of the first target code stream and the third target code stream.
The video processing system is characterized by comprising the video delivery device and the material production device.
Optionally, the system also comprises a mobile terminal and a video cloud service system;
the mobile terminal is used for sending a screen throwing request, receiving an identification number of a third target code stream sent by the video throwing device, sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and throwing and playing a fourth target code stream;
the video cloud service system is used for splicing the first target code stream and the third target code stream corresponding to the identification number of the third target code stream to obtain a fourth target code stream.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a video processing method and a related device, wherein video throwing equipment receives a screen throwing request sent by a mobile terminal, the screen throwing request comprises a first target code stream, a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream are determined and sent to material production equipment, so as to generate a third target code stream and identification numbers of the third target code stream, the third target code stream is obtained by pressing coded pictures corresponding to the link into the second target code stream, the link can be accessed in a mode of scanning the coded pictures, the identification numbers of the third target code stream are sent to the mobile terminal, screen throwing playing is carried out on a fourth target code stream, the fourth target code stream is obtained by sending the first target code stream and the identification numbers of the third target code stream to the video throwing equipment, and the third target code stream is spliced with the cloud code stream corresponding to the third target code stream of a cloud service system. In the invention, the fourth target code stream played by screen projection is obtained by splicing the first target code stream and the third target code stream obtained by pressing the coded picture corresponding to the link into the second target code stream, and the user can watch the specific content of the link by scanning the coded picture, so that the interactivity of the user is improved, and the user experience is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a method flowchart of a video processing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another video processing method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a video processing method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a video processing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another video processing apparatus according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the screen-throwing scene, the mobile control terminal can throw the screen-throwing video into the screen-throwing terminal for playing. At present, when the video is played in a screen throwing mode, two videos can be played after being spliced in a code stream splicing mode, for example, an advertisement video and a television video are spliced and then the screen throwing playing is performed, but the mode is limited by a DLNA (DIGITAL LIVING NETWORKALLIANCE) throwing mode, and specifically, a DLNA third-party player can only play video streams and cannot distinguish specific contents in the videos, and further cannot respond to a mobile control end, such as a user operating a remote controller to perform click interaction, so that user experience is poor. If the played content is an advertisement, the screen throwing terminal cannot perform click-skip operation and other operations, so that the advertisement content can only be watched, the click-skip operation cannot be performed, and the advertisement effect is poor.
Further, the inventor finds that when video delivery is performed, a link corresponding to the video can be obtained, then an encoded picture corresponding to the link is added to the video in real time, and further a user can browse specific two-dimensional code contents, such as advertisement specific contents, through a mode of scanning codes, such as two-dimensional codes, in real time, thereby improving advertisement delivery effect and further improving possibility of advertisement conversion. Meanwhile, because the coded pictures added into the video are corresponding to real-time effective links, compared with a mode of pressing in the pre-generated coded pictures, the coded pictures can be ensured to be the latest effective pictures, and therefore, a user can obtain corresponding content by scanning the coded pictures.
Specifically, the invention provides a video processing method and a related device, wherein video delivery equipment receives a screen-casting request sent by a mobile terminal, the screen-casting request comprises a first target code stream, a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream are determined and sent to material production equipment, so as to generate a third target code stream and identification numbers of the third target code stream, the third target code stream is obtained by pressing coded pictures corresponding to the link into the second target code stream, the link can be accessed in a mode of scanning the coded pictures, the identification numbers of the third target code stream are sent to the mobile terminal, so that screen-casting playing is performed on a fourth target code stream, the fourth target code stream is obtained by sending the first target code stream and the identification numbers of the third target code stream to the video delivery equipment, and the third target code stream are sent to the cloud system by the mobile terminal, and the cloud system is spliced with the cloud system identification numbers corresponding to the third target video stream. In the invention, the fourth target code stream played by screen projection is obtained by splicing the first target code stream and the third target code stream obtained by pressing the coded picture corresponding to the link into the second target code stream, and the user can watch the specific content of the link by scanning the coded picture, so that the interactivity of the user is improved, and the user experience is further improved.
Referring to fig. 1, an embodiment of the present invention provides a video processing method, which may include:
s11, the video delivery equipment receives a screen throwing request sent by the mobile terminal.
Specifically, the video delivery device may be a device with a media video delivery system, and when a user views a video in a mobile terminal mobile phone software app of a media, if the user wants to perform screen projection, the screen projection function is started. At this time, the screen projection module of the mobile terminal app initiates a screen projection request to the video projection device, where the screen projection request includes a code stream of the video watched by the user, and in this embodiment, the code stream is referred to as a first target code stream. The screen projection module refers to a functional module of the mobile terminal, which is responsible for projecting a video played on the mobile terminal to other terminal playing (such as television TV or other OTT (Over-the-top media services, over-the-top service or Over-the-top content service) devices).
S12, the video delivery device determines a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream.
In this embodiment, the second target code stream may be a different code stream from the first target code stream, for example, may be an advertisement code stream.
In practical application, the screen throwing request includes a first target code stream, the second target code stream may be a code stream corresponding to the first target code stream, and the specific corresponding relationship may be preconfigured and configured in the video throwing device. The specific corresponding relation can be a code stream determining rule, the code stream determining rule can be a releasing strategy and the like, and the releasing strategy can be determined based on the modes of regional characteristics, user preference and the like.
Specifically, referring to fig. 2, step S12 may include:
s21, determining a second target code stream corresponding to the first target code stream based on a preset code stream determination rule.
In practical applications, the code stream determining rule may be preset, for example, the code stream determining rule may be a second target code stream corresponding to a first target code stream in the screen-throwing request in advance, or a second target code stream corresponding to different code stream segments in the first target code stream in advance, or a second target code stream corresponding to a date of sending the screen-throwing request, and the specific code stream determining rule may be determined according to the situation.
Taking a certain TV play as an example, the second target code stream may be an advertisement code stream to be played, which is set when the TV play is played, for example, TV play A, and the corresponding advertisement code stream is an advertisement code stream B, which is only exemplary and not limited in particular.
S22, determining an initial link corresponding to the second target code stream, and performing length adjustment operation on the initial link to obtain a link.
Specifically, for the second target code stream, an initial link of the second target code stream is determined (this step may be that a configurator of the second target code stream, such as an advertiser, generates an initial link of the second target code stream, and then the video delivery device directly obtains the initial link.
In this embodiment, if the initial link is longer, the initial link cannot be identified if the initial link exceeds the maximum length set by the url link, for example, if the initial link exceeds the maximum length of the url link that the device can scan, or if the initial link is longer, the content of the initial link is more, the generated two-dimensional code is also denser, if the screen of the scanning device is smaller, the situation that the initial link cannot be scanned successfully occurs, and user experience is reduced. Thus, in order to enable the device to successfully scan the initial link, and to improve the user experience, it needs to be short-chained to facilitate recognition.
In practical application, a length threshold may be set according to the length of url links that can be scanned by the device and user experience, and if the length of the initial link exceeds the length threshold, the initial link is adjusted to be short-chain.
The specific adjustment process is as follows:
the length of the initial link is adjusted to adjust the initial link to be short-chain, namely, the initial link is changed to be short-chain, so that the link is obtained.
S13, the video delivery device sends a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to the material production device.
The link may be a two-dimensional code link when in specific implementation.
Specifically, the video delivering device may call a real-time interface of the material production device, so as to send a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to the material production device.
S14, the material production equipment generates a third target code stream and an identification number of the third target code stream.
The third target code stream is obtained by pressing the coded pictures corresponding to the links into the second target code stream, and the final display effect is that the coded pictures are in the second target code stream.
Wherein the link is accessible by scanning the encoded picture. The coding picture can be a two-dimensional code picture, and a user can acquire the specific content of the two-dimensional code link corresponding to the two-dimensional code picture in a mode of scanning the two-dimensional code picture.
The material producing apparatus may be an apparatus mounted with a media material producing service system. The material producing apparatus may generate not only the third target code stream but also an identification number of the third target code stream, and the identification may be an identification of the code stream, that is, an id, for example, 009 is used as the identification number of the third target code stream, or a video name of the third target code stream is used as the identification number of the third target code stream. How the specific identification number is set can be configured according to actual conditions.
Specifically, referring to fig. 3, step S14 may include:
s31, generating an encoded picture corresponding to the link.
Specifically, after receiving the link, the media material production service system generates a coded picture corresponding to the link.
S32, setting the coded picture as a watermark at a designated position in the second target code stream to obtain a third target code stream.
The designated position in the scheme may be preset, for example, the lower right corner of the second target code stream, and if the setting in the lower right corner does not affect the content display of the second target code stream, the encoded picture may be set in the lower right corner. In addition, the device can be arranged at other positions, and the device is specifically set according to actual conditions.
And in the obtained third target code stream, the second target code stream and the watermark are displayed at the same time, and the user scans the watermark of the coded picture (such as a two-dimensional code picture) to access the specific information of the two-dimensional code.
S33, determining the identification number of the third target code stream according to a preset identification number determination rule.
Specifically, the identification number id of the third target code stream may be determined according to the identification number determination rule of the third target code stream.
The identification number determining rule, for example, when the identification numbers are digital, can be distributed in order from small to large, for example, the used maximum identification number can be added by one to be the identification number of the third target code stream. In addition, the allocation may be performed in the order of the identification numbers from the large to the small, and the specific determination rule may be set according to the actual situation.
After the third target code stream and the identification number of the third target code stream are generated, the third target code stream and the identification number of the third target code stream may be stored to a server satisfying a preset storage condition.
The server may be a CDN server or other server. When the CDN server is selected, preset storage conditions can be configured according to practical application, for example, the CDN server which is closer to the material production equipment can be selected, so that the transmission distance is reduced. Or CDN servers with smaller distance and larger residual memory, so as to reduce transmission distance and ensure enough memory as much as possible.
And S15, the material production equipment sends the identification number of the third target code stream to the video delivery equipment.
Specifically, after determining the id of the identification number of the third target code stream and storing the third target code stream and the identification number of the third target code stream to a server meeting a preset storage condition, the identification number of the third target code stream may be sent to the video delivery device.
S16, the video delivery device sends the identification number of the third target code stream to the mobile terminal so as to carry out screen-casting playing on the fourth target code stream.
The fourth target code stream is obtained by the mobile terminal sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video cloud service system splicing the third target code streams corresponding to the identification numbers of the first target code stream and the third target code stream.
Specifically, the video delivery device sends the identification number of the third target code stream to the mobile terminal at the front end.
Then, the mobile terminal sends the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video cloud service system obtains the third target code stream from a CDN server based on the identification number of the third target code stream, and splices the third target code streams corresponding to the identification numbers of the first target code stream and the third target code stream to obtain a fourth target code stream.
When splicing is performed, the playlist list in m3u8 format of the first target code stream and the playlist list in m3u8 format of the third target code stream can be combined, and then splicing can be achieved.
And finally returning a fourth target code stream to a screen projection module of the mobile terminal app by the video cloud service system, and performing screen projection playing on the acquired code stream by the screen projection module. When the screen is played, the screen can be projected to a screen projection terminal, and the screen projection terminal can be a television TV or other OTT equipment.
It should be noted that, in the present invention, the first object code stream, the second object code stream, the third object code stream, and the fourth object code stream may be video streams of the DLNA protocol.
In this embodiment, the video delivery device receives a screen-dropping request sent by a mobile terminal, where the screen-dropping request includes a first target code stream, determines and sends a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to a material production device, so as to generate a third target code stream and an identification number of the third target code stream, and sends the identification number of the third target code stream to the video delivery device, where the third target code stream is obtained by pressing an encoded picture corresponding to the link into the second target code stream, the link can be accessed by scanning the encoded picture, and sends the identification number of the third target code stream to the mobile terminal, so as to perform screen-dropping playing on a fourth target code stream, and the fourth target code stream is obtained by sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video service system is obtained by splicing the identification numbers of the first target code stream and the third target code stream. In the invention, the fourth target code stream played by screen projection is obtained by splicing the first target code stream and the third target code stream obtained by pressing the coded picture corresponding to the link into the second target code stream, and the user can watch the specific content of the link by scanning the coded picture, so that the interactivity of the user is improved, and the user experience is further improved.
In addition, the method and the device realize the combination of the screen-throwing video and the two-dimension code, can be applied to the advertisement screen-throwing scene, and can be used for generating the two-dimension code in real time by inserting the two-dimension code into the video advertisement content, thereby realizing the landing of the two-dimension code advertisement on the screen-throwing scene. If the screen throwing scene of the online media mobile client with the advertisement throwing function can also support throwing and displaying the effect advertisement thrown by the system, the user can be supported to watch the advertisement in the screen throwing scene and further interactively convert, the screen throwing advertisement can meet the user interaction requirement, further converting possibility is provided, and the effective rendering of the screen throwing flow is realized.
Optionally, on the basis of the embodiment of the video processing method, another embodiment of the present invention provides a video processing method, applied to a video delivery device, where the video processing method includes:
receiving a screen throwing request sent by a mobile terminal; the screen throwing request comprises a first target code stream;
determining and transmitting a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to a material production device so as to generate a third target code stream and an identification number of the third target code stream, and transmitting the identification number of the third target code stream to the video delivery device; the third target code stream is obtained by pressing the coded pictures corresponding to the links into the second target code stream; the link can be accessed by scanning the encoded picture;
The identification number of the third target code stream is sent to the mobile terminal so as to carry out screen-casting playing on the fourth target code stream; the fourth target code stream is obtained by the mobile terminal sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video cloud service system splicing the third target code streams corresponding to the identification numbers of the first target code stream and the third target code stream.
The determining the second target code stream corresponding to the first target code stream and the link corresponding to the second target code stream includes:
determining a second target code stream corresponding to the first target code stream based on a preset code stream determining rule;
and determining an initial link corresponding to the second target code stream, and performing length adjustment operation on the initial link to obtain a link.
The length adjustment operation is performed on the initial link to obtain a link, which comprises the following steps:
and adjusting the length of the initial link to adjust the initial link to be short-chain, so as to obtain the link.
The method for transmitting the second target code stream corresponding to the first target code stream and the link corresponding to the second target code stream to the material production equipment comprises the following steps:
And calling a real-time interface of the material production equipment to send a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to the material production equipment.
Alternatively, on the basis of the embodiment of the video processing method described above, another embodiment of the present invention provides a video processing method applied to a material production apparatus, the video processing method including:
receiving a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream, which are determined and sent by video delivery equipment; the screen throwing request is sent to video throwing equipment by a mobile terminal and comprises a first target code stream;
generating a third target code stream and an identification number of the third target code stream; the third target code stream is obtained by pressing the coded pictures corresponding to the links into the second target code stream; the link can be accessed by scanning the encoded picture;
the identification number of the third target code stream is sent to the video delivery device, so that the video delivery device sends the identification number of the third target code stream to the mobile terminal, and screen-casting playing is carried out on a fourth target code stream; the fourth target code stream is obtained by the mobile terminal sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video cloud service system splicing the third target code streams corresponding to the identification numbers of the first target code stream and the third target code stream.
Wherein generating a third target code stream and an identification number of the third target code stream includes:
generating an encoded picture corresponding to the link;
setting the coded picture as a watermark at a designated position in the second target code stream to obtain a third target code stream;
and determining the identification number of the third target code stream according to a preset identification number determination rule.
Wherein after generating the third target code stream and the identification number of the third target code stream, the method further comprises:
and storing the third target code stream and the identification number of the third target code stream to a server meeting preset storage conditions.
In this embodiment, the video delivery device receives a screen-dropping request sent by a mobile terminal, where the screen-dropping request includes a first target code stream, determines and sends a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to a material production device, so as to generate a third target code stream and an identification number of the third target code stream, and sends the identification number of the third target code stream to the video delivery device, where the third target code stream is obtained by pressing an encoded picture corresponding to the link into the second target code stream, the link can be accessed by scanning the encoded picture, and sends the identification number of the third target code stream to the mobile terminal, so as to perform screen-dropping playing on a fourth target code stream, and the fourth target code stream is obtained by sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video service system is obtained by splicing the identification numbers of the first target code stream and the third target code stream. In the invention, the fourth target code stream played by screen projection is obtained by splicing the first target code stream and the third target code stream obtained by pressing the coded picture corresponding to the link into the second target code stream, and the user can watch the specific content of the link by scanning the coded picture, so that the interactivity of the user is improved, and the user experience is further improved.
Optionally, on the basis of the video processing method applied to the video delivery device, another embodiment of the present invention provides a video processing apparatus applied to the video delivery device, referring to fig. 4, the video processing apparatus includes:
the screen projection request receiving module 11 is used for receiving a screen projection request sent by the mobile terminal; the screen throwing request comprises a first target code stream;
the data determining module 12 is configured to determine and send a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to a material production device, so as to generate a third target code stream and an identification number of the third target code stream, and send the identification number of the third target code stream to the video delivery device; the third target code stream is obtained by pressing the coded pictures corresponding to the links into the second target code stream; the link can be accessed by scanning the encoded picture;
the identification number sending module 13 is configured to send an identification number of the third target code stream to the mobile terminal, so as to perform screen-casting playing on the fourth target code stream; the fourth target code stream is obtained by the mobile terminal sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video cloud service system splicing the third target code streams corresponding to the identification numbers of the first target code stream and the third target code stream.
Further, the data determination module 12 includes:
the code stream determining submodule is used for determining a second target code stream corresponding to the first target code stream based on a preset code stream determining rule;
and the link processing sub-module is used for determining an initial link corresponding to the second target code stream, and performing length adjustment operation on the initial link to obtain a link.
Further, the link processing sub-module is configured to perform a length adjustment operation on the initial link, and when obtaining a link, the link processing sub-module is specifically configured to:
and adjusting the length of the initial link to adjust the initial link to be short-chain, so as to obtain the link.
Further, the data determining module 12 is configured to, when sending the second target code stream corresponding to the first target code stream and the link corresponding to the second target code stream to the material production device, specifically:
and calling a real-time interface of the material production equipment to send a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to the material production equipment.
In this embodiment, the video delivery device receives a screen-dropping request sent by a mobile terminal, where the screen-dropping request includes a first target code stream, determines and sends a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to a material production device, so as to generate a third target code stream and an identification number of the third target code stream, and sends the identification number of the third target code stream to the video delivery device, where the third target code stream is obtained by pressing an encoded picture corresponding to the link into the second target code stream, the link can be accessed by scanning the encoded picture, and sends the identification number of the third target code stream to the mobile terminal, so as to perform screen-dropping playing on a fourth target code stream, and the fourth target code stream is obtained by sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video service system is obtained by splicing the identification numbers of the first target code stream and the third target code stream. In the invention, the fourth target code stream played by screen projection is obtained by splicing the first target code stream and the third target code stream obtained by pressing the coded picture corresponding to the link into the second target code stream, and the user can watch the specific content of the link by scanning the coded picture, so that the interactivity of the user is improved, and the user experience is further improved.
It should be noted that, in the working process of each module and sub-module in this embodiment, please refer to the corresponding description in the above embodiment, and the description is omitted here.
Alternatively, on the basis of the above-described video processing method applied to a material production apparatus, another embodiment of the present invention provides a video processing apparatus applied to a material production apparatus, with reference to fig. 5, the video processing apparatus including:
the data receiving module 21 is configured to receive a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream, which are determined and sent by the video delivery device; the screen throwing request is sent to video throwing equipment by a mobile terminal and comprises a first target code stream;
a data generating module 22, configured to generate a third target code stream and an identification number of the third target code stream; the third target code stream is obtained by pressing the coded pictures corresponding to the links into the second target code stream; the link can be accessed by scanning the encoded picture;
the data sending module 23 is configured to send the identification number of the third target code stream to the video delivery device, so that the video delivery device sends the identification number of the third target code stream to the mobile terminal, so as to perform screen-casting playing on a fourth target code stream; the fourth target code stream is obtained by the mobile terminal sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video cloud service system splicing the third target code streams corresponding to the identification numbers of the first target code stream and the third target code stream.
Further, the data generation module 22 includes:
a picture generation sub-module for generating an encoded picture corresponding to the link;
the watermark setting submodule is used for setting the coded picture as a watermark at a designated position in the second target code stream to obtain a third target code stream;
the identification number generation sub-module is used for determining the identification number of the third target code stream according to a preset identification number determination rule.
Further, the method further comprises the following steps:
and the storage module is used for storing the third target code stream and the identification number of the third target code stream to a server meeting the preset storage condition.
In this embodiment, the video delivery device receives a screen-dropping request sent by a mobile terminal, where the screen-dropping request includes a first target code stream, determines and sends a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to a material production device, so as to generate a third target code stream and an identification number of the third target code stream, and sends the identification number of the third target code stream to the video delivery device, where the third target code stream is obtained by pressing an encoded picture corresponding to the link into the second target code stream, the link can be accessed by scanning the encoded picture, and sends the identification number of the third target code stream to the mobile terminal, so as to perform screen-dropping playing on a fourth target code stream, and the fourth target code stream is obtained by sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video service system is obtained by splicing the identification numbers of the first target code stream and the third target code stream. In the invention, the fourth target code stream played by screen projection is obtained by splicing the first target code stream and the third target code stream obtained by pressing the coded picture corresponding to the link into the second target code stream, and the user can watch the specific content of the link by scanning the coded picture, so that the interactivity of the user is improved, and the user experience is further improved.
It should be noted that, in the working process of each module and sub-module in this embodiment, please refer to the corresponding description in the above embodiment, and the description is omitted here.
Optionally, on the basis of the video processing method and the device, another embodiment of the invention provides a video processing system, which comprises the video delivering device and the material producing device.
Further, the system also comprises a mobile terminal and a video cloud service system;
the mobile terminal is used for sending a screen throwing request, receiving an identification number of a third target code stream sent by the video throwing device, sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and throwing and playing a fourth target code stream;
the video cloud service system is used for splicing the first target code stream and the third target code stream corresponding to the identification number of the third target code stream to obtain a fourth target code stream.
In this embodiment, the video delivery device receives a screen-dropping request sent by a mobile terminal, where the screen-dropping request includes a first target code stream, determines and sends a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to a material production device, so as to generate a third target code stream and an identification number of the third target code stream, and sends the identification number of the third target code stream to the video delivery device, where the third target code stream is obtained by pressing an encoded picture corresponding to the link into the second target code stream, the link can be accessed by scanning the encoded picture, and sends the identification number of the third target code stream to the mobile terminal, so as to perform screen-dropping playing on a fourth target code stream, and the fourth target code stream is obtained by sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video service system is obtained by splicing the identification numbers of the first target code stream and the third target code stream. In the invention, the fourth target code stream played by screen projection is obtained by splicing the first target code stream and the third target code stream obtained by pressing the coded picture corresponding to the link into the second target code stream, and the user can watch the specific content of the link by scanning the coded picture, so that the interactivity of the user is improved, and the user experience is further improved.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (11)

1. A video processing method, applied to a video delivery device, comprising:
receiving a screen throwing request sent by a mobile terminal; the screen throwing request comprises a first target code stream;
determining and transmitting a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to a material production device so as to generate a third target code stream and an identification number of the third target code stream, and transmitting the identification number of the third target code stream to the video delivery device; the third target code stream is obtained by pressing the coded pictures corresponding to the links into the second target code stream; the link can be accessed by scanning the encoded picture;
The identification number of the third target code stream is sent to the mobile terminal so as to carry out screen-casting playing on the fourth target code stream; the fourth target code stream is obtained by the mobile terminal sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video cloud service system splicing the third target code streams corresponding to the identification numbers of the first target code stream and the third target code stream.
2. The video processing method according to claim 1, wherein determining a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream comprises:
determining a second target code stream corresponding to the first target code stream based on a preset code stream determining rule;
and determining an initial link corresponding to the second target code stream, and performing length adjustment operation on the initial link to obtain a link.
3. The video processing method according to claim 2, wherein performing a length adjustment operation on the initial link to obtain a link includes:
and adjusting the length of the initial link to adjust the initial link to be short-chain, so as to obtain the link.
4. The video processing method according to claim 1, wherein transmitting the second target code stream corresponding to the first target code stream and the link corresponding to the second target code stream to the material production apparatus includes:
and calling a real-time interface of the material production equipment to send a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to the material production equipment.
5. A video processing method, characterized by being applied to a material production apparatus, comprising:
receiving a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream, which are determined and sent by video delivery equipment; the screen throwing request is sent to video throwing equipment by a mobile terminal and comprises a first target code stream;
generating a third target code stream and an identification number of the third target code stream; the third target code stream is obtained by pressing the coded pictures corresponding to the links into the second target code stream; the link can be accessed by scanning the encoded picture;
the identification number of the third target code stream is sent to the video delivery device, so that the video delivery device sends the identification number of the third target code stream to the mobile terminal, and screen-casting playing is carried out on a fourth target code stream; the fourth target code stream is obtained by the mobile terminal sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video cloud service system splicing the third target code streams corresponding to the identification numbers of the first target code stream and the third target code stream.
6. The video processing method of claim 5, wherein generating a third target code stream and an identification number of the third target code stream comprises:
generating an encoded picture corresponding to the link;
setting the coded picture as a watermark at a designated position in the second target code stream to obtain a third target code stream;
and determining the identification number of the third target code stream according to a preset identification number determination rule.
7. The video processing method according to claim 5, further comprising, after generating a third target code stream and an identification number of the third target code stream:
and storing the third target code stream and the identification number of the third target code stream to a server meeting preset storage conditions.
8. A video processing apparatus, characterized by being applied to a video delivery device, comprising:
the screen projection request receiving module is used for receiving a screen projection request sent by the mobile terminal; the screen throwing request comprises a first target code stream;
the data determining module is used for determining and transmitting a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream to the material production equipment so as to generate a third target code stream and an identification number of the third target code stream, and transmitting the identification number of the third target code stream to the video delivery equipment; the third target code stream is obtained by pressing the coded pictures corresponding to the links into the second target code stream; the link can be accessed by scanning the encoded picture;
The identification number sending module is used for sending the identification number of the third target code stream to the mobile terminal so as to perform screen-casting playing on the fourth target code stream; the fourth target code stream is obtained by the mobile terminal sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video cloud service system splicing the third target code streams corresponding to the identification numbers of the first target code stream and the third target code stream.
9. A video processing apparatus, characterized by being applied to a material production device, comprising:
the data receiving module is used for receiving a second target code stream corresponding to the first target code stream and a link corresponding to the second target code stream, which are determined and sent by the video delivery equipment; the screen throwing request is sent to video throwing equipment by a mobile terminal and comprises a first target code stream;
the data generation module is used for generating a third target code stream and an identification number of the third target code stream; the third target code stream is obtained by pressing the coded pictures corresponding to the links into the second target code stream; the link can be accessed by scanning the encoded picture;
The data sending module is used for sending the identification number of the third target code stream to the video delivery device so that the video delivery device can send the identification number of the third target code stream to the mobile terminal to perform screen-casting playing on a fourth target code stream; the fourth target code stream is obtained by the mobile terminal sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and the video cloud service system splicing the third target code streams corresponding to the identification numbers of the first target code stream and the third target code stream.
10. A video processing system comprising a video delivery device for performing the video processing method of any one of claims 1-4, and a material production device for performing the video processing method of any one of claims 5-7.
11. The video processing system of claim 10, further comprising a mobile terminal and a video cloud service system;
the mobile terminal is used for sending a screen throwing request, receiving an identification number of a third target code stream sent by the video throwing device, sending the identification numbers of the first target code stream and the third target code stream to a video cloud service system, and throwing and playing a fourth target code stream;
The video cloud service system is used for splicing the first target code stream and the third target code stream corresponding to the identification number of the third target code stream to obtain a fourth target code stream.
CN202211066024.8A 2022-09-01 2022-09-01 Video processing method and related device Active CN115412758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211066024.8A CN115412758B (en) 2022-09-01 2022-09-01 Video processing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211066024.8A CN115412758B (en) 2022-09-01 2022-09-01 Video processing method and related device

Publications (2)

Publication Number Publication Date
CN115412758A CN115412758A (en) 2022-11-29
CN115412758B true CN115412758B (en) 2023-11-14

Family

ID=84164301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211066024.8A Active CN115412758B (en) 2022-09-01 2022-09-01 Video processing method and related device

Country Status (1)

Country Link
CN (1) CN115412758B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2119075A1 (en) * 1993-03-16 1994-09-17 Yohichi Itaki Convergence Error Detecting Apparatus Capable of Being Applied to Projection-Type Displays Having Different Scanning Frequencies
CN103916691A (en) * 2014-03-28 2014-07-09 小米科技有限责任公司 Television control method and mobile terminal
WO2015096664A1 (en) * 2013-12-25 2015-07-02 华为终端有限公司 Method, device and system for processing media
CN107027070A (en) * 2016-02-02 2017-08-08 中国电信股份有限公司 Method, terminal and the system of information are implanted into video
CN107205155A (en) * 2017-05-24 2017-09-26 上海交通大学 Quick Response Code based on human eye vision fusion characteristics on spatial domain hides picture system
CN108289209A (en) * 2018-02-05 2018-07-17 广州富翔智能科技有限公司 A kind of dynamic projection method and device of drawing picture
CN109062607A (en) * 2017-10-30 2018-12-21 上海寒武纪信息科技有限公司 Machine learning processor and the method for executing the instruction of vector minimum value using processor
WO2019184643A1 (en) * 2018-03-28 2019-10-03 腾讯科技(深圳)有限公司 Video coding code rate control method, apparatus and device, and storage medium
CN111510751A (en) * 2020-04-26 2020-08-07 深圳市易平方网络科技有限公司 Cross-screen interactive advertisement delivery method, system and storage medium
CN112312187A (en) * 2019-07-31 2021-02-02 腾讯科技(深圳)有限公司 Method, device and equipment for screen projection playing of video and storage medium
WO2021179931A1 (en) * 2020-03-13 2021-09-16 华为技术有限公司 Url screen projection method and apparatus
US11334779B1 (en) * 2022-01-14 2022-05-17 The DTX Company Dynamic embedding of machine-readable codes within video and digital media

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9973562B2 (en) * 2015-04-17 2018-05-15 Microsoft Technology Licensing, Llc Split processing of encoded video in streaming segments
US10587661B2 (en) * 2018-04-23 2020-03-10 PLAYCOMPANY corp. Method and program for providing content streaming service and managing data statistics of user using QR code
US11405667B2 (en) * 2020-06-17 2022-08-02 Yieldmo, Inc. Method for serving interactive digital advertising content within a streaming platform

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2119075A1 (en) * 1993-03-16 1994-09-17 Yohichi Itaki Convergence Error Detecting Apparatus Capable of Being Applied to Projection-Type Displays Having Different Scanning Frequencies
WO2015096664A1 (en) * 2013-12-25 2015-07-02 华为终端有限公司 Method, device and system for processing media
CN103916691A (en) * 2014-03-28 2014-07-09 小米科技有限责任公司 Television control method and mobile terminal
CN107027070A (en) * 2016-02-02 2017-08-08 中国电信股份有限公司 Method, terminal and the system of information are implanted into video
CN107205155A (en) * 2017-05-24 2017-09-26 上海交通大学 Quick Response Code based on human eye vision fusion characteristics on spatial domain hides picture system
CN109062607A (en) * 2017-10-30 2018-12-21 上海寒武纪信息科技有限公司 Machine learning processor and the method for executing the instruction of vector minimum value using processor
CN108289209A (en) * 2018-02-05 2018-07-17 广州富翔智能科技有限公司 A kind of dynamic projection method and device of drawing picture
WO2019184643A1 (en) * 2018-03-28 2019-10-03 腾讯科技(深圳)有限公司 Video coding code rate control method, apparatus and device, and storage medium
CN112312187A (en) * 2019-07-31 2021-02-02 腾讯科技(深圳)有限公司 Method, device and equipment for screen projection playing of video and storage medium
WO2021179931A1 (en) * 2020-03-13 2021-09-16 华为技术有限公司 Url screen projection method and apparatus
CN111510751A (en) * 2020-04-26 2020-08-07 深圳市易平方网络科技有限公司 Cross-screen interactive advertisement delivery method, system and storage medium
US11334779B1 (en) * 2022-01-14 2022-05-17 The DTX Company Dynamic embedding of machine-readable codes within video and digital media

Also Published As

Publication number Publication date
CN115412758A (en) 2022-11-29

Similar Documents

Publication Publication Date Title
KR101591535B1 (en) Techniques to consume content and metadata
EP2408196B1 (en) A method, server and terminal for generating a composite view from multiple content items
US9721254B2 (en) Method and apparatus for providing streaming media programs and targeted advertisements using multiple advertisement version segments
US7360230B1 (en) Overlay management
CN107135417B (en) A kind of throwing screen method and system of HLS protocol
US20080155628A1 (en) Method and system for content sharing
US10817972B2 (en) Watermarked media content in IPTV or iTV networks
US20130198788A1 (en) Social video network
US10009656B2 (en) Multi-option sourcing of content
EP1921852A1 (en) Sharing Television Clips
US10791366B2 (en) Fast channel change in a video delivery network
WO2000007372A1 (en) Overlay management
CN101917391A (en) Method for playing network video and system for playing network video
US20120246218A1 (en) Region of interest streaming
KR101593780B1 (en) Method and system for seamless navigation of content across different devices
CN106817587B (en) Video stream generating/sharing method and system, terminal device and server cluster
EP2586197A1 (en) Method and apparatus for providing streaming media programs and targeted advertisements compatibly with http live streaming
CN114040232B (en) Screen projection system, screen projection method, electronic equipment and storage medium
US20080276289A1 (en) System for video presentations with adjustable display elements
CN115412758B (en) Video processing method and related device
US20180324480A1 (en) Client and Method for Playing a Sequence of Video Streams, and Corresponding Server and Computer Program Product
CN105187934A (en) Terminal platform for television interactive system
US20150032900A1 (en) System for seamlessly switching between a cloud-rendered application and a full-screen video sourced from a content server
US11284139B1 (en) Stateless re-discovery of identity using watermarking of a video stream
US11392643B2 (en) Validation of documents against specifications for delivery of creatives on a video delivery system

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