CN112423046A - Method, device and equipment for transmitting video data and readable storage medium - Google Patents

Method, device and equipment for transmitting video data and readable storage medium Download PDF

Info

Publication number
CN112423046A
CN112423046A CN202011142877.6A CN202011142877A CN112423046A CN 112423046 A CN112423046 A CN 112423046A CN 202011142877 A CN202011142877 A CN 202011142877A CN 112423046 A CN112423046 A CN 112423046A
Authority
CN
China
Prior art keywords
video data
transmitted
preset
bandwidth
required bandwidth
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
CN202011142877.6A
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011142877.6A priority Critical patent/CN112423046A/en
Publication of CN112423046A publication Critical patent/CN112423046A/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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43632Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • H04N21/43635HDMI
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]

Landscapes

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

Abstract

The invention discloses a method, a device, equipment and a readable storage medium for video data transmission, wherein the method comprises the following steps: acquiring video data to be transmitted; determining whether the required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold value; the preset bandwidth threshold value is determined according to a preset available bandwidth; if so, reducing the required bandwidth to obtain target video data to be transmitted, and transmitting the target video data to be transmitted to the at least one auxiliary screen. The invention avoids the problems of high delay of video data during transmission and influence on the downloading speed of the television when the video data which does not meet the transmission requirement is transmitted to the auxiliary screen, thereby reducing the delay of the television when the video data is transmitted to the auxiliary screen and improving the downloading speed of the television.

Description

Method, device and equipment for transmitting video data and readable storage medium
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a video data transmission method, a video data transmission device, a video data transmission apparatus, and a computer-readable storage medium.
Background
With the development of multi-screening (for example, the smart television has a main screen and at least one auxiliary screen), the smart television needs to send the same output data (for example, video data) to the main screen and the auxiliary screen respectively, so that the main screen and the auxiliary screen output the same output data, and different users can conveniently acquire the same video data through the main screen and the auxiliary screen. However, the sub-screen generally needs to acquire video data through the network, and the main screen does not need, which may cause data transmission delay between the main screen and the sub-screen, and along with the data volume that needs to be transmitted is larger and larger, for example, the format resolution of video is higher and higher, and the higher the resolution is, the larger the data volume is, which results in longer and longer data transmission delay, so that there is delay in the video data on the sub-screen when outputting, in addition, when transmitting the video data to the sub-screen, the smart tv needs to occupy a larger bandwidth, so that the download bandwidth is affected, which results in a slower download speed.
Therefore, the television has the problems of high delay and low downloading speed when transmitting video data to the secondary screen at present.
Disclosure of Invention
The invention mainly aims to provide a method, a device and equipment for transmitting video data and a readable storage medium, and aims to solve the technical problems of high delay and low downloading speed when the conventional television transmits the video data to a secondary screen.
To achieve the above object, the present invention provides a method of video data transmission for a television including a main screen and at least one sub-screen, the method comprising:
acquiring video data to be transmitted;
determining whether the required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold value; the preset bandwidth threshold value is determined according to a preset available bandwidth;
if so, reducing the required bandwidth to obtain target video data to be transmitted, and transmitting the target video data to be transmitted to the auxiliary screen.
Preferably, before the step of determining whether the required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold, the method includes:
acquiring the resolution and frame rate of the video data to be transmitted;
and calculating the required bandwidth according to the resolution and the frame rate.
Preferably, the step of reducing the required bandwidth to obtain the target video data to be transmitted includes:
reducing the resolution of the video data to be transmitted, and determining whether the reduced resolution of the video data to be transmitted is greater than or equal to a preset resolution threshold;
and if so, determining the video data to be transmitted with the reduced resolution as the target video data to be transmitted.
Preferably, the step of reducing the required bandwidth to obtain the target video data to be transmitted includes:
reducing the frame rate of the video data to be transmitted, and determining whether the reduced frame rate of the video data to be transmitted is greater than or equal to a preset frame rate threshold value;
and if so, determining the video data to be transmitted with the reduced frame rate as the target video data to be transmitted.
Preferably, the step of reducing the required bandwidth to obtain the target video data to be transmitted includes:
and compressing the video data to be transmitted according to a preset compression mode, and determining the compressed video data to be transmitted as the target video data to be transmitted.
Preferably, after the step of determining whether the required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold, the method includes:
and if not, transmitting the video data to be transmitted to the auxiliary screen.
Preferably, the video data to be transmitted includes an internet protocol address of the secondary screen, and the step of transmitting the target video data to be transmitted to the secondary screen includes:
and transmitting the target video data to be transmitted to the secondary screen according to the Internet protocol address.
Further, to achieve the above object, the present invention also provides a video data transmission apparatus comprising:
the acquisition module is used for acquiring video data to be transmitted;
the determining module is used for determining whether the required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold value; the preset bandwidth threshold value is determined according to a preset available bandwidth;
the reducing module is used for reducing the required bandwidth if the required bandwidth is larger than the required bandwidth, so as to obtain target video data to be transmitted;
and the transmission module is used for transmitting the video data to be transmitted of the target to the secondary screen of the television.
Furthermore, to achieve the above object, the present invention also provides a video data transmission device comprising a memory, a processor and a video data transmission program stored on the memory and executable on the processor, the video data transmission program, when executed by the processor, implementing the steps of the method of video data transmission as described above.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a video data transmission program which, when executed by a processor, implements the steps of the method of video data transmission as described above.
The invention obtains the video data to be transmitted; determining whether the required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold value; the preset bandwidth threshold value is determined according to a preset available bandwidth; if so, reducing the required bandwidth to obtain target video data to be transmitted, and transmitting the target video data to be transmitted to the at least one auxiliary screen. The invention realizes that whether the preset available bandwidth meets the transmission requirement of the video data is determined when the video data needs to be transmitted to the auxiliary screen, if the transmission requirement is not met, namely the required bandwidth corresponding to the transmission requirement is greater than the preset bandwidth threshold corresponding to the preset available bandwidth, the required bandwidth is reduced, the video data meeting the transmission requirement is obtained, and the problems that the video data occupies too much uploading bandwidth when the video data is transmitted and the downloading bandwidth of the television is influenced when the total bandwidth is unchanged are avoided, so that the problems that the high delay of the video data during transmission and the downloading speed of the television are influenced when the video data which do not meet the transmission requirement are transmitted to the auxiliary screen are solved, the delay of the television during transmitting the video data to the auxiliary screen is reduced, and the downloading speed of the television is improved.
Drawings
Fig. 1 is a schematic flow chart of a first embodiment of a method for video data transmission according to the present invention;
FIG. 2 is a flow chart of a second embodiment of the method for video data transmission according to the present invention;
FIG. 3 is a functional block diagram of a video data transmission apparatus according to a preferred embodiment of the present invention;
fig. 4 is a schematic structural diagram of a hardware operating environment according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a video data transmission method according to a first embodiment of the present invention.
While a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different than that shown or described herein. The method of video data transmission may be used for a television including a main screen and at least one sub-screen, and various steps of performing the method of main body description video data transmission are omitted below for convenience of description. The video data transmission method comprises the following steps:
step S110, video data to be transmitted is acquired.
Specifically, the multi-screen display of the television includes a main screen and at least one sub-screen, when the television outputs video data through the main screen, the video data does not need to be uploaded to the network, and when the video data is output through the sub-screen, the video data generally needs to be uploaded to the network and then downloaded through the network and then output through the sub-screen unless the distance between the main screen and the sub-screen is close enough to enable the video data to be transmitted through a data line (e.g., an HDMI (High Definition Multimedia Interface, High Definition Multimedia Interface)).
Specifically, video data to be transmitted, which needs to be transmitted to the sub-screen, is acquired.
Step S120, determining whether the required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold value; wherein the preset bandwidth threshold is determined according to a preset available bandwidth.
Specifically, the video data to be transmitted has a certain data size, and the data size is the total data size of the data to be transmitted in a certain time in a transmission process, where the data size corresponding to the data to be transmitted in a unit time is the required bandwidth of the data to be transmitted, and it is determined whether the required bandwidth is greater than a preset bandwidth threshold, where the preset bandwidth threshold is determined by a preset available bandwidth, the preset available bandwidth is the bandwidth of the local network, the preset bandwidth threshold is greater than or equal to the preset available bandwidth, and preferably, the preset bandwidth threshold is twice the preset available bandwidth.
For example, if the bandwidth of the local network is 80MB, the preset bandwidth threshold is 160MB, and determining whether the required bandwidth is greater than the preset bandwidth threshold is to determine whether the required bandwidth is greater than 160 MB.
And step S130, if so, reducing the required bandwidth to obtain target video data to be transmitted, and transmitting the target video data to be transmitted to the auxiliary screen.
Specifically, if the required bandwidth of the video data to be transmitted is greater than the preset bandwidth threshold, it is described that the local bandwidth cannot meet the transmission requirement of the video data to be transmitted, that is, the problem that the transmission of the video data to be transmitted under the condition that the local bandwidth is not changed causes delay of the sub-screen when the video data to be transmitted is output is caused, therefore, the required bandwidth needs to be reduced, that is, the data size of the video data to be transmitted is reduced until the local bandwidth can meet the transmission requirement of the video data to be transmitted, and then the video data to be transmitted after the data size is reduced is the target video data to be transmitted.
Further, after the step of determining whether the required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold, the method includes:
and a, if not, transmitting the video data to be transmitted to the auxiliary screen.
Specifically, if the required bandwidth of the video data to be transmitted is less than or equal to the preset bandwidth threshold, it indicates that the local bandwidth meets the transmission requirement of the video data to be transmitted, and therefore, the video data to be transmitted can be directly transmitted to the secondary screen without reducing the data size of the video data to be transmitted.
It should be noted that, no matter whether the local bandwidth meets the transmission requirement of the video data to be transmitted, the number of the sub-screens needs to be considered, and it can be understood that, when each sub-screen needing to transmit the video data to be transmitted is added, a copy of the video data to be transmitted needs to be added, that is, the video data to be transmitted to each sub-screen is transmitted separately, that is, when there are a plurality of sub-screens, the transmission requirement of the video data to be transmitted needs to consider the number of the sub-screens in addition to the size of the video data to be transmitted.
For example, if the data size of the video data to be transmitted is a, and the number of the sub-screens is n, the data size corresponding to the transmission requirement of the video data to be transmitted is the product of a and n.
The video data to be transmitted comprises an internet protocol address of a secondary screen, and the step of transmitting the target video data to be transmitted to the secondary screen comprises the following steps:
and b, transmitting the target video data to be transmitted to the secondary screen according to the Internet protocol address.
Specifically, each sub-screen corresponds to a different internet protocol address, before transmitting the target to-be-transmitted video data to the sub-screen, the target to-be-transmitted video data needs to be copied into the copied target to-be-transmitted video data with the same number of scores as that of the main and sub-screens, and the internet protocol addresses of the sub-screens are respectively added to the target to-be-transmitted video data with the number of scores corresponding to that of the sub-screens, so that the target to-be-transmitted video data is transmitted to the sub-screen according to the internet protocol addresses.
The implementation comprises the steps of obtaining video data to be transmitted; determining whether the required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold value; the preset bandwidth threshold value is determined according to a preset available bandwidth; if so, reducing the required bandwidth to obtain target video data to be transmitted, and transmitting the target video data to be transmitted to the at least one auxiliary screen. The method and the device realize that whether the preset available bandwidth meets the transmission requirement of the video data or not when the video data is required to be transmitted to the auxiliary screen, if the transmission requirement is not met, namely the required bandwidth corresponding to the transmission requirement is greater than the preset bandwidth threshold corresponding to the preset available bandwidth, the required bandwidth is reduced, the video data meeting the transmission requirement is obtained, the problem that too much uploading bandwidth is occupied when the video data is transmitted and the downloading bandwidth of a television is influenced when the total bandwidth is unchanged is avoided, the problems that the high delay of the video data during transmission and the downloading speed of the television are influenced when the video data which does not meet the transmission requirement are transmitted to the auxiliary screen are solved, and the delay of the television during the transmission of the video data to the auxiliary screen is reduced and the downloading speed of the television is improved.
Further, referring to fig. 2, a second embodiment is proposed based on the first embodiment of the method for transmitting video data of the present invention, where before the step of determining whether the required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold, the method includes:
step S220, obtaining the resolution and frame rate of the video data to be transmitted.
Specifically, the data size of the video data to be transmitted is determined by the resolution and the frame rate thereof, and it should be noted that the larger the resolution and/or the frame rate is, the larger the data size is; the smaller the resolution and/or frame rate, the smaller the data size.
Specifically, the data size of the video data to be transmitted can be determined by acquiring the resolution and frame rate thereof. For example, if the resolution is 1920 × 1080, the frame rate is 60 frames/second, and the transmission time is 60 seconds, the total number of pixels in the video data to be transmitted is the product of the resolution, the frame rate, and the transmission time, and the result is 7464960000, the data size of the video data to be transmitted can be converted by the total number of pixels, taking a picture in a bmp format (one frame is one picture) as an example, for an 8-bit bmp picture, storage of one pixel needs 8 bits, that is, 1 byte, and therefore, when the video data to be transmitted is composed of the bmp picture, the total size of the video data to be transmitted is 7464960000 bytes.
Step S230, calculating the required bandwidth according to the resolution and the frame rate.
Specifically, the required bandwidth is calculated according to the resolution and the frame rate. It should be noted that the required bandwidth is data to be transmitted in a unit time, that is, the required bandwidth is a product of a resolution and a frame rate.
The step of reducing the required bandwidth to obtain the target video data to be transmitted includes:
and c, reducing the resolution of the video data to be transmitted, and determining whether the reduced resolution of the video data to be transmitted is greater than or equal to a preset resolution threshold.
Specifically, the data size of the video data to be transmitted is reduced by reducing the resolution of the video data to be transmitted, thereby reducing the required bandwidth. For example, if the resolution is 1920 × 1080, the frame rate is 60 frames/second, and the transmission time is 60 seconds, the total number of pixels in the video data to be transmitted is the product of the resolution, the frame rate, and the transmission time, which results in 7464960000, and after the resolution is reduced to 1024 × 768, the result is 2831155200, obviously 2831155200 is less than 7464960000.
In addition, the picture quality of the video data to be transmitted when the video data to be transmitted is output by the auxiliary screen is influenced by the resolution, and it can be understood that the higher the resolution is, the better the picture quality is; the lower the resolution, the worse the picture quality. Therefore, when the resolution is reduced, the quality of the picture quality needs to be considered, and the quality of the picture quality is represented as picture definition, and the better the picture quality is, the higher the picture definition is; the worse the picture quality, the lower the picture sharpness. Therefore, a preset resolution threshold value can be set according to the requirement of a user on the definition of the picture, and the preset resolution threshold value can ensure the picture quality of the video data to be transmitted when the secondary screen outputs the video data, namely, when the resolution needs to be reduced to be lower than the preset resolution threshold value to meet the preset bandwidth threshold value, the resolution is only reduced to the preset resolution threshold value to ensure the picture quality.
And d, if so, determining the video data to be transmitted with the reduced resolution as the target video data to be transmitted.
Specifically, if the resolution ratio after the resolution ratio reduction is greater than or equal to the preset resolution ratio threshold value, determining the video data to be transmitted after the resolution ratio reduction as the target video data to be transmitted; and if the resolution ratio is smaller than the preset resolution ratio threshold value after the resolution ratio is reduced, reducing the resolution ratio to the preset resolution ratio threshold value, and taking the video data to be transmitted after the resolution ratio is reduced to the preset resolution ratio threshold value as the target video data to be transmitted.
The step of reducing the required bandwidth to obtain the target video data to be transmitted further includes:
and e, reducing the frame rate of the video data to be transmitted, and determining whether the reduced frame rate of the video data to be transmitted is greater than or equal to a preset frame rate threshold value.
Specifically, the data size of the video data to be transmitted is reduced by reducing the frame rate of the video data to be transmitted, thereby reducing the required bandwidth. For example, if the resolution is 1920 × 1080, the frame rate is 60 frames/second, and the transmission time is 60 seconds, the total number of pixels in the video data to be transmitted is the product of the resolution, the frame rate, and the transmission time, which results in 7464960000, and after the frame rate is reduced to 30 frames/second, the result is 3732480000, obviously 3732480000 is less than 7464960000.
In addition, the frame rate is the refresh rate of the picture per second, and the picture fluency of the video data to be transmitted when the secondary screen outputs can be influenced by the frame rate, and it can be understood that the higher the frame rate is, the better the picture fluency is; the lower the frame rate, the worse the picture fluency. Therefore, when the frame rate is reduced, the degree of the image fluency needs to be considered, and the degree of the image fluency is expressed as image continuity, and the higher the image fluency is, the better the image continuity is; the lower the smoothness of the picture, the worse the picture continuity. Therefore, a preset frame rate threshold can be set according to the requirement of a user on the picture continuity, and the preset frame rate threshold can ensure the picture fluency of the video data to be transmitted when the secondary screen outputs, that is, when the frame rate needs to be reduced to be lower than the preset frame rate threshold to meet the preset bandwidth threshold, the frame rate is only reduced to the preset frame rate threshold to ensure the picture quality.
And f, if so, determining the video data to be transmitted with the reduced frame rate as the target video data to be transmitted.
Specifically, if the frame rate after the frame rate reduction is greater than or equal to the preset frame rate threshold, determining that the video data to be transmitted after the frame rate reduction is the target video data to be transmitted; and if the frame rate is lower than the preset frame rate threshold value after the frame rate is reduced, reducing the frame rate to the preset frame rate threshold value, and taking the video data to be transmitted after the frame rate is reduced to the preset frame rate threshold value as the target video data to be transmitted.
The step of reducing the required bandwidth to obtain the target video data to be transmitted further includes:
and g, compressing the video data to be transmitted according to a preset compression mode, and determining the compressed video data to be transmitted as the target video data to be transmitted.
Specifically, video data to be transmitted is compressed according to a preset compression mode so as to compress the video data to be transmitted with a large data size into the video data to be transmitted with a small data size, and the compressed video data to be transmitted is determined to be the target video data to be transmitted.
It should be noted that the preset compression mode is a data processing mode that reduces the amount of data to reduce the storage space without losing useful information, where the reduced amount of data is generally a portion that is insensitive to human vision, i.e., losing the portion of data does not cause the user to be unable to understand the corresponding image or video.
According to the embodiment, the data size of the video data to be transmitted is reduced by reducing the resolution of the video data to be transmitted, reducing the frame rate of the video data to be transmitted or compressing the video data to be transmitted according to a preset compression mode, so that the required bandwidth is reduced, and the delay in transmitting the video data to the auxiliary screen is reduced and the downloading speed is increased.
In addition, the present invention also provides a video data transmission apparatus, as shown in fig. 3, the video data transmission apparatus includes:
a first obtaining module 10, configured to obtain video data to be transmitted;
a first determining module 20, configured to determine whether a required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold; the preset bandwidth threshold value is determined according to a preset available bandwidth;
a reducing module 30, configured to reduce the required bandwidth if the required bandwidth is greater than the required bandwidth, to obtain target video data to be transmitted;
and the transmission module 40 is used for transmitting the target video data to be transmitted to the secondary screen of the television.
Optionally, the video data transmission apparatus further includes:
the second acquisition module is used for acquiring the resolution and the frame rate of the video data to be transmitted;
and the calculating module is used for calculating the required bandwidth according to the resolution and the frame rate.
Optionally, in terms of reducing the required bandwidth to obtain target video data to be transmitted, the reducing module 30 is specifically configured to:
reducing the resolution of the video data to be transmitted, and determining whether the reduced resolution of the video data to be transmitted is greater than or equal to a preset resolution threshold; and if so, determining the video data to be transmitted with the reduced resolution as the target video data to be transmitted.
Optionally, in terms of reducing the required bandwidth to obtain target video data to be transmitted, the reducing module 30 is further specifically configured to:
reducing the frame rate of the video data to be transmitted, and determining whether the reduced frame rate of the video data to be transmitted is greater than or equal to a preset frame rate threshold value; and if so, determining the video data to be transmitted with the reduced frame rate as the target video data to be transmitted.
Optionally, in terms of reducing the required bandwidth to obtain target video data to be transmitted, the reducing module 30 is further specifically configured to:
and compressing the video data to be transmitted according to a preset compression mode, and determining the compressed video data to be transmitted as the target video data to be transmitted.
Optionally, the transmission module 40 is further configured to transmit the video data to be transmitted to the secondary screen if the video data is not transmitted to the secondary screen.
Optionally, the video data to be transmitted includes an internet protocol address of the secondary screen, and in terms of transmitting the target video data to be transmitted to the secondary screen, the transmission module 40 is specifically configured to:
and transmitting the target video data to be transmitted to the secondary screen according to the Internet protocol address.
The specific implementation of the video data transmission apparatus of the present invention is substantially the same as the embodiments of the video data transmission method described above, and will not be described herein again.
In addition, the invention also provides video data transmission equipment. As shown in fig. 4, fig. 4 is a schematic structural diagram of a hardware operating environment according to an embodiment of the present invention.
It should be noted that fig. 4 is a schematic structural diagram of a hardware operating environment of the video data transmission apparatus.
As shown in fig. 4, the video data transmission apparatus may include: a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the video data transmission device may further include an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.
It will be appreciated by those skilled in the art that the video data transmission device architecture shown in fig. 4 does not constitute a limitation of the video data transmission device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 4, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a video data transmission program. The operating system is a program for managing and controlling hardware and software resources of the video data transmission apparatus, and supports the operation of the video data transmission program and other software or programs.
In the video data transmission apparatus shown in fig. 4, the user interface 1003 is mainly used to acquire video data to be transmitted; the network interface 1004 is mainly used for the background server and performs data communication with the background server; the processor 1001 may be adapted to invoke a video data transfer program stored in the memory 1005 and to perform the steps of the method of video data transfer as described above.
The specific implementation of the video data transmission device of the present invention is substantially the same as the embodiments of the video data transmission method described above, and will not be described herein again.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a video data transmission program is stored, and when being executed by a processor, the video data transmission program implements the steps of the method for transmitting video data as described above.
The specific implementation of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the video data transmission method described above, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, a device, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method of video data transmission, the method being for a television comprising a primary screen and at least one secondary screen, the method comprising:
acquiring video data to be transmitted;
determining whether the required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold value; the preset bandwidth threshold value is determined according to a preset available bandwidth;
if so, reducing the required bandwidth to obtain target video data to be transmitted, and transmitting the target video data to be transmitted to the auxiliary screen.
2. The method of claim 1, wherein the step of determining whether the required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold is preceded by:
acquiring the resolution and frame rate of the video data to be transmitted;
and calculating the required bandwidth according to the resolution and the frame rate.
3. The method of claim 2, wherein the step of reducing the required bandwidth to obtain the target video data to be transmitted comprises:
reducing the resolution of the video data to be transmitted, and determining whether the reduced resolution of the video data to be transmitted is greater than or equal to a preset resolution threshold;
and if so, determining the video data to be transmitted with the reduced resolution as the target video data to be transmitted.
4. The method of claim 2, wherein the step of reducing the required bandwidth to obtain the target video data to be transmitted comprises:
reducing the frame rate of the video data to be transmitted, and determining whether the reduced frame rate of the video data to be transmitted is greater than or equal to a preset frame rate threshold value;
and if so, determining the video data to be transmitted with the reduced frame rate as the target video data to be transmitted.
5. The method of claim 1, wherein the step of reducing the required bandwidth to obtain the target video data to be transmitted comprises:
and compressing the video data to be transmitted according to a preset compression mode, and determining the compressed video data to be transmitted as the target video data to be transmitted.
6. The method of claim 1, wherein the step of determining whether the required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold comprises:
and if not, transmitting the video data to be transmitted to the auxiliary screen.
7. The method of claim 1, wherein the video data to be transmitted includes an internet protocol address of the secondary screen, and the step of transmitting the target video data to be transmitted to the secondary screen includes:
and transmitting the target video data to be transmitted to the secondary screen according to the Internet protocol address.
8. A video data transmission apparatus, comprising:
the acquisition module is used for acquiring video data to be transmitted;
the determining module is used for determining whether the required bandwidth of the video data to be transmitted is greater than a preset bandwidth threshold value; the preset bandwidth threshold value is determined according to a preset available bandwidth;
the reducing module is used for reducing the required bandwidth if the required bandwidth is larger than the required bandwidth, so as to obtain target video data to be transmitted;
and the transmission module is used for transmitting the video data to be transmitted of the target to the secondary screen of the television.
9. A video data transmission apparatus, characterized in that the video data transmission apparatus comprises a memory, a processor and a video data transmission program stored on the memory and executable on the processor, which video data transmission program, when executed by the processor, implements the steps of the method of video data transmission according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a video data transmission program is stored on the computer-readable storage medium, which when executed by a processor implements the steps of the method of video data transmission according to any one of claims 1 to 7.
CN202011142877.6A 2020-10-22 2020-10-22 Method, device and equipment for transmitting video data and readable storage medium Pending CN112423046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011142877.6A CN112423046A (en) 2020-10-22 2020-10-22 Method, device and equipment for transmitting video data and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011142877.6A CN112423046A (en) 2020-10-22 2020-10-22 Method, device and equipment for transmitting video data and readable storage medium

Publications (1)

Publication Number Publication Date
CN112423046A true CN112423046A (en) 2021-02-26

Family

ID=74841693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011142877.6A Pending CN112423046A (en) 2020-10-22 2020-10-22 Method, device and equipment for transmitting video data and readable storage medium

Country Status (1)

Country Link
CN (1) CN112423046A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113625982A (en) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 Multi-screen display method and device
CN113625981A (en) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 Multi-screen display method and device
CN114020228A (en) * 2021-10-30 2022-02-08 深圳曦华科技有限公司 Screen display method and device
CN115118601A (en) * 2022-05-26 2022-09-27 广东跃昉科技有限公司 Transmission bandwidth allocation method and device for multi-path USB camera and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986914A (en) * 2014-05-27 2014-08-13 东南大学 Code rate self-adaption method based on number of client sides in wireless video monitoring system
CN105025249A (en) * 2014-04-22 2015-11-04 中国移动通信集团江苏有限公司 Video monitoring data transmission control method, apparatus and video monitoring system
CN107770600A (en) * 2017-11-07 2018-03-06 深圳创维-Rgb电子有限公司 Transmission method, device, equipment and the storage medium of stream medium data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025249A (en) * 2014-04-22 2015-11-04 中国移动通信集团江苏有限公司 Video monitoring data transmission control method, apparatus and video monitoring system
CN103986914A (en) * 2014-05-27 2014-08-13 东南大学 Code rate self-adaption method based on number of client sides in wireless video monitoring system
CN107770600A (en) * 2017-11-07 2018-03-06 深圳创维-Rgb电子有限公司 Transmission method, device, equipment and the storage medium of stream medium data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113625982A (en) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 Multi-screen display method and device
CN113625981A (en) * 2021-07-21 2021-11-09 展讯通信(上海)有限公司 Multi-screen display method and device
WO2023000621A1 (en) * 2021-07-21 2023-01-26 展讯通信(上海)有限公司 Multi-screen display method and apparatus
CN114020228A (en) * 2021-10-30 2022-02-08 深圳曦华科技有限公司 Screen display method and device
CN115118601A (en) * 2022-05-26 2022-09-27 广东跃昉科技有限公司 Transmission bandwidth allocation method and device for multi-path USB camera and computer equipment

Similar Documents

Publication Publication Date Title
CN112423046A (en) Method, device and equipment for transmitting video data and readable storage medium
CN108810649B (en) Image quality adjusting method, intelligent television and storage medium
US9699099B2 (en) Method of transmitting data in a communication system
US20040184523A1 (en) Method and system for providing reduced bandwidth for picture in picture video transmissions
US7881369B2 (en) Image transmission apparatus, image transmission method and image transmission program
US20090119365A1 (en) Method and apparatus for display synchronization using image compression
US9066059B2 (en) Method of and apparatus for maintaining smooth video transition between distinct applications
CN111083496A (en) Data processing method and related product
EP2272237B1 (en) Method of transmitting data in a communication system
CN109688465B (en) Video enhancement control method and device and electronic equipment
US20220237754A1 (en) Image processing method and apparatus
JP2005287035A (en) Method and system for displaying multimedia data
CN111694625B (en) Method and equipment for projecting screen from car box to car machine
CN112911318B (en) Live broadcast room background replacement method and device, electronic equipment and storage medium
CN113612979A (en) Projection method, electronic equipment and computer equipment
CN111381749A (en) Image display and processing method, device, equipment and storage medium
US9729931B2 (en) System for managing detection of advertisements in an electronic device, for example in a digital TV decoder
CN112752107B (en) Webpage picture preprocessing method, system, storage medium and computer equipment
EP3582504B1 (en) Image processing method, device, and terminal device
CN109120979B (en) Video enhancement control method and device and electronic equipment
CN110178378B (en) Video processing apparatus, video processing method, and storage medium
CN107995524A (en) A kind of FTP client FTP and its design, data processing method for connecting network video server
CN110365962B (en) Color gamut conversion processing method and device and electronic equipment
US9219948B2 (en) Method and system for compression and decompression for handling web content
WO2023142714A1 (en) Video processing collaboration method, apparatus, device, and storage medium

Legal Events

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