CN107295360B - Video transmission method and device - Google Patents

Video transmission method and device Download PDF

Info

Publication number
CN107295360B
CN107295360B CN201610230119.7A CN201610230119A CN107295360B CN 107295360 B CN107295360 B CN 107295360B CN 201610230119 A CN201610230119 A CN 201610230119A CN 107295360 B CN107295360 B CN 107295360B
Authority
CN
China
Prior art keywords
video stream
video
sampling
data
region
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
CN201610230119.7A
Other languages
Chinese (zh)
Other versions
CN107295360A (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.)
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech 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 Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN201610230119.7A priority Critical patent/CN107295360B/en
Publication of CN107295360A publication Critical patent/CN107295360A/en
Application granted granted Critical
Publication of CN107295360B publication Critical patent/CN107295360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64784Data processing by the network
    • H04N21/64792Controlling the complexity of the content stream, e.g. by dropping packets
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo

Abstract

The embodiment of the invention provides a video transmission method and a video transmission device. The method comprises the following steps: acquiring source video data; splitting source video data into a first video stream and a second video stream; and sending the first video stream to the server by adopting the first bearer, sending the second video stream to the server by adopting the second bearer so that the server superposes the first video stream and the second video stream into source video data, and sending the first video stream or the second video stream to the terminal equipment. According to the embodiment of the invention, the source video data is divided into the first video stream and the second video stream, and the first video stream and the second video stream are sent to the server by adopting the bearing with different service qualities, so that the flexibility of video transmission is improved; in addition, the server only needs to send one of the first video stream and the second video stream to the terminal device, and the high-resolution video does not need to be converted into the low-resolution video, so that the data processing amount of the server is reduced, and the resource consumption of the server is saved.

Description

Video transmission method and device
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a video transmission method and device.
Background
With the development of communication networks, multimedia data has become an indispensable information source for users, and the transmission of multimedia data has become a research hotspot.
In the prior art, a video source end, that is, a sending device sends a single high-resolution video to a server through a Long Term Evolution (LTE) wireless communication system, and the server displays the high-resolution video, converts the high-resolution video into a low-resolution video, and sends the low-resolution video to a plurality of terminal devices.
Since the LTE wireless communication system supports various Quality of Service (QoS) transmissions, however, in the prior art, a single QoS is sampled to transmit a single high-resolution video, which results in lack of flexibility in video transmission; in addition, the server converts the high-resolution video into the low-resolution video, so that the data processing amount of the server is increased, and the resource consumption of the server is increased.
Disclosure of Invention
Embodiments of the present invention provide a video transmission method and apparatus, so as to improve flexibility of video transmission, reduce data processing amount of a server, and reduce resource consumption of the server.
One aspect of the embodiments of the present invention is to provide a video transmission method, including:
acquiring source video data;
splitting the source video data into a first video stream and a second video stream;
and sending the first video stream to a server by adopting a first bearer, and sending the second video stream to the server by adopting a second bearer, so that the server can superpose the first video stream and the second video stream into the source video data, and send the first video stream or the second video stream to terminal equipment.
Another aspect of the embodiments of the present invention is to provide a video transmission apparatus, including:
the acquisition module is used for acquiring source video data;
a splitting module for splitting the source video data into a first video stream and a second video stream;
and the sending module is used for sending the first video stream to a server by adopting a first bearer and sending the second video stream to the server by adopting a second bearer so that the server can superpose the first video stream and the second video stream into the source video data and send the first video stream or the second video stream to the terminal equipment.
According to the video transmission method and device provided by the embodiment of the invention, the source video data is divided into the first video stream and the second video stream, and the first video stream and the second video stream are sent to the server by adopting the bearers with different service qualities, so that compared with the prior art that a single high-resolution video is transmitted by sampling a single service quality, the flexibility of video transmission is improved; in addition, the server only needs to send one of the first video stream and the second video stream to the terminal device, and the high-resolution video does not need to be converted into the low-resolution video, so that the data processing amount of the server is reduced, and the resource consumption of the server is saved.
Drawings
Fig. 1 is a flowchart of a video transmission method according to an embodiment of the present invention;
fig. 2 is a flowchart of a video transmission method according to another embodiment of the present invention;
fig. 3 is a schematic diagram of a video source in a video transmission method according to another embodiment of the present invention;
fig. 4 is a schematic diagram illustrating an operation of a server in a video transmission method according to another embodiment of the present invention;
fig. 5 is a flowchart of a video transmission method according to another embodiment of the present invention;
fig. 6 is a block diagram of a video transmission apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram of a video transmission apparatus according to another embodiment of the present invention.
Detailed Description
Fig. 1 is a flowchart of a video transmission method according to an embodiment of the present invention. The embodiment of the invention aims at the problem that the prior art can not adopt various service qualities to transmit a single high-resolution video, so that the video transmission is lack of flexibility; in addition, the server converts the high-resolution video into the low-resolution video, so that the data processing amount of the server is improved, the resource consumption of the server is increased, and the video transmission method is provided and comprises the following specific steps:
s101, acquiring source video data;
the execution main body of the embodiment of the present invention is a video source end, and the video source end may specifically be a video shooting device having a shooting function, such as a camera or a video camera, or may be a device that is connected to the video shooting device and is capable of acquiring video data from the video shooting device.
Specifically, a video source end acquires source video data, namely original video data, and if the video source end is a video shooting device, the video shooting device directly acquires the original video data from a memory thereof; if the video source end is a device connected to the video capturing device, the video source end obtains original video data from a memory of the video capturing device, where the original video data may be multiple frames of high-resolution original images.
Step S102, dividing the source video data into a first video stream and a second video stream;
in the embodiment of the present invention, a video source end divides original video data acquired by the video source end into a first video stream and a second video stream, and the dividing principle may be that each frame of original image is divided into a first area and a second area, specifically, the first area and the second area are areas that do not overlap with each other, image data of the first area constitutes the first video stream, and image data of the second area constitutes the second video stream; the principle of the segmentation may also be that image data of a part of original images in a plurality of original images form a first video stream, and image data of the rest of original images in the plurality of original images form a second video stream, for example, the original video data includes 30 original images, the image data of the first 10 original images form the first video stream, and the image data of the rest of 20 original images form the second video stream.
Step S103, sending the first video stream to a server by adopting a first bearer, and sending the second video stream to the server by adopting a second bearer, so that the server can superpose the first video stream and the second video stream into the source video data, and send the first video stream or the second video stream to a terminal device.
Since the radio bearers in the LTE wireless communication system include a dedicated bearer and a default bearer, the QoS of the dedicated bearer and the default bearer are different, the dedicated bearer satisfies high QoS, and the default bearer satisfies low QoS. The video source transmits the divided first video stream and second video stream by using different radio bearers, specifically, the first video stream is sent to the server by using a first bearer, and the second video stream is sent to the server by using a second bearer, where the first bearer may be a dedicated bearer, the second bearer may be a default bearer, or the second bearer may be a dedicated bearer, and the first bearer may be a default bearer. After receiving the first video stream and the second video stream, the server superimposes the first video stream and the second video stream as the source video data, sends the first video stream or the second video stream to the terminal device, and sends the first video stream or the second video stream to the terminal device, which may be determined by the resolutions of the first video stream and the second video stream, for example, sends a low-resolution video stream to the terminal device.
In the embodiment of the invention, the source video data is divided into the first video stream and the second video stream, and the first video stream and the second video stream are sent to the server by adopting the bearers with different service qualities, so that compared with the prior art that a single service quality is sampled to transmit a single high-resolution video, the flexibility of video transmission is improved; in addition, the server only needs to send one of the first video stream and the second video stream to the terminal device, and the high-resolution video does not need to be converted into the low-resolution video, so that the data processing amount of the server is reduced, and the resource consumption of the server is saved.
Fig. 2 is a flowchart of a video transmission method according to another embodiment of the present invention. On the basis of the embodiment corresponding to fig. 1, the video transmission method provided by the embodiment of the present invention includes the following specific steps:
step S201, acquiring source video data;
step S201 is identical to step S101, and is not described herein again.
Step S202, dividing each frame of image of the source video data into a first area and a second area;
each frame of image included in the source video data is segmented to obtain a first region and a second region, and the segmentation may be based on an application scene, for example, each frame of image is segmented into a foreground portion and a background portion, or into a center portion and an edge portion. Preferably, the segmented first region is a foreground portion and the second region is a background portion, or the segmented first region is a central portion and the second region is an edge portion.
Step S203, sampling the first area according to a first sampling parameter to obtain first sampling data, and sampling the second area according to a second sampling parameter to obtain second sampling data;
for different divided areas, different sampling parameters are adopted for sampling, the sampling parameters can be sampling rate, sampling interval, sampling period and the like, preferably, the sampling parameters are sampling intervals, the sampling interval for sampling the foreground part of the first area is larger than the sampling interval for sampling the background part of the second area, the resolution of first sampling data obtained after sampling the foreground part of the first area by adopting larger sampling intervals is low, and the resolution of second sampling data obtained after sampling the background part of the second area by adopting smaller sampling intervals is high.
Step S204, encoding the first sampling data according to a first encoding parameter to obtain the first video stream, and encoding the second sampling data according to a second encoding parameter to obtain the second video stream;
and respectively adopting different coding parameters to code the first sampling data and the second sampling data with different resolutions, wherein the coding parameters comprise a quantization threshold and an output code rate, namely, independently coding the first sampling data and the second sampling data. For example, when the first region is a central portion and the second region is an edge portion, a smaller quantization threshold is sampled to encode the central portion and a larger quantization threshold is sampled to encode the edge portion for fine center quantization and blurred edge quantization. The output code rate may be a transmission bandwidth, for example, a wider transmission bandwidth is used for the central portion, a narrower transmission bandwidth is used for the edge portion, and when the total transmission bandwidth of the video source end is fixed, the transmission bandwidths for transmitting different video streams may be flexibly allocated.
Step S205, sending the first video stream to a server by using a first bearer, and sending the second video stream to the server by using a second bearer, so that the server superimposes the first video stream and the second video stream as the source video data, and sends the first video stream or the second video stream to a terminal device.
Preferably, the first bearer is a dedicated bearer, the second bearer is a default bearer, the dedicated bearer is used for transmitting a video stream of the foreground part or the central part, and the default bearer is used for transmitting a video stream of the background part or the edge part.
In addition, a default bearer may be used to transmit the video stream of the foreground portion or the central portion, and a dedicated bearer may be used to transmit the video stream of the background portion or the edge portion.
According to the embodiment of the invention, each frame of image of the source video data is divided into different areas, different sampling parameters are adopted to sample the different areas to obtain different sampling data, and different coding parameters are adopted to code the different sampling data to obtain different video streams, so that the source video data is divided.
Fig. 3 is a schematic diagram of a video source in a video transmission method according to another embodiment of the present invention, and fig. 4 is a schematic diagram of a server in a video transmission method according to another embodiment of the present invention.
As shown in fig. 3, the operation principle of the video source end includes the following steps:
301, carrying out image acquisition at a video source end;
specifically, the video source end performs image acquisition to obtain source video data.
Step 302, the video source end carries out image decomposition;
as described above, the video source terminal decomposes each frame image of source video data into different regions, such as the first region and the second region.
Step 303, the video source end encodes the first region to obtain a code 1;
step 304, the video source end encodes the second area to obtain a code 2;
305, applying for a radio bearer 1 for a video source end as a code 1;
step 306, the video source applies for radio bearer 2 for coding 2.
As shown in fig. 4, the operation principle of the server comprises the following steps:
step 401, the server receives a video stream a through a radio bearer 1;
step 402, the server receives a video stream B through a radio bearer 2;
step 403, the server decodes the video stream a;
step 404, the server decodes the video stream B;
step 405, the server superposes the decoded data of the video stream A and the video stream B to recover the source video data;
step 406, the server displays the source video data.
Step 407, the server wirelessly sends the video stream B to the terminal device.
On the basis of the above embodiment, the first area is a background area, and the second area is a foreground area; or the second area is a background area, and the first area is a foreground area.
For example, source video data acquired by a video source end is a high-definition image C, the resolution of the image C is 1080P, a foreground part in the image C is acquired by using an image processing technology, the foreground part is sampled and encoded to acquire a video stream a, the video stream a is used for being sent to a terminal device by a server, the video source end performs image difference operation on the high-definition image C and the foreground part to acquire a background part, and the background part is sampled and encoded to acquire a video stream B. Video stream a is transported using a dedicated bearer and video stream B is transported using a default bearer.
The first area is a central area, and the second area is an edge area; or the second area is a central area, and the first area is an edge area.
For example, source video data acquired by a video source end is a high-definition image C, the resolution of the image C is 1080P, a central part in the image C is acquired by using an image processing technology, the central part is sampled and encoded to acquire a video stream a, the video stream a is used for being sent to a terminal device by a server, the video source end performs image difference operation on the high-definition image C and the central part to acquire an edge part, and the edge part is sampled and encoded to acquire a video stream B. Video stream a is transported using a dedicated bearer and video stream B is transported using a default bearer.
Fig. 5 is a flowchart of a video transmission method according to another embodiment of the invention. On the basis of the embodiment corresponding to fig. 1, the video transmission method provided by the embodiment of the present invention includes the following specific steps:
step S501, obtaining image information of source video data at a preset rate, wherein the image information comprises a plurality of frames of images;
specifically, the video source side acquires image information of the source video data at a predetermined rate, for example, the video source side acquires images of the source video data at a rate of 30 frames per second.
Step S502, dividing the multi-frame image into a first image set and a second image set;
the video source end divides a plurality of frames of images acquired every second, for example, the first 10 frames of images acquired every second are taken as a first image set, and the last 20 frames of images acquired every second are taken as a second image set.
Step S503, sampling the first image set according to a first sampling parameter to obtain first sampling data, and sampling the second image set according to a second sampling parameter to obtain second sampling data;
and sampling the first image set and the second image set by adopting different sampling intervals to obtain different sampling data respectively.
Step S504, encode the first sample data according to a first encoding parameter to obtain the first video stream, and encode the second sample data according to a second encoding parameter to obtain the second video stream;
step S505, sending the first video stream to a server by using a first bearer, and sending the second video stream to the server by using a second bearer, so that the server superimposes the first video stream and the second video stream as the source video data, and sends the first video stream or the second video stream to a terminal device.
Step S504 and step S505 are respectively consistent with step S204 and step S205, and the detailed method is not described herein again.
The method and the device for segmenting the source video data achieve segmentation of the source video data by obtaining image information of the source video data at a preset rate, wherein the image information comprises multiple frames of images, dividing the multiple frames of images into a first image set and a second image set, sampling and encoding the first image set to obtain a first video stream, and sampling and encoding the second image set to obtain a second video stream.
Fig. 6 is a block diagram of a video transmission apparatus according to an embodiment of the present invention. As shown in fig. 6, the video transmission apparatus 60 includes an obtaining module 61, a dividing module 62, and a sending module 63, where the obtaining module 61 is configured to obtain source video data; a splitting module 62 for splitting the source video data into a first video stream and a second video stream; the sending module 63 is configured to send the first video stream to a server by using a first bearer, and send the second video stream to the server by using a second bearer, so that the server superimposes the first video stream and the second video stream as the source video data, and sends the first video stream or the second video stream to a terminal device.
In the embodiment of the invention, the source video data is divided into the first video stream and the second video stream, and the first video stream and the second video stream are sent to the server by adopting the bearers with different service qualities, so that compared with the prior art that a single service quality is sampled to transmit a single high-resolution video, the flexibility of video transmission is improved; in addition, the server only needs to send one of the first video stream and the second video stream to the terminal device, and the high-resolution video does not need to be converted into the low-resolution video, so that the data processing amount of the server is reduced, and the resource consumption of the server is saved.
Fig. 7 is a block diagram of a video transmission apparatus according to another embodiment of the present invention. On the basis of the above embodiment, the segmentation module 62 includes an image segmentation unit 621, a sampling unit 622, and an encoding unit 623, where the image segmentation unit 621 is configured to segment each frame image of the source video data into a first area and a second area; the sampling unit 622 is configured to sample the first region according to a first sampling parameter to obtain first sampling data, and sample the second region according to a second sampling parameter to obtain second sampling data; the encoding unit 623 is configured to encode the first sample data according to a first encoding parameter to obtain the first video stream, and encode the second sample data according to a second encoding parameter to obtain the second video stream.
Further, the first area is a background area, and the second area is a foreground area; or the second area is a background area, and the first area is a foreground area.
Further, the first area is a central area, and the second area is an edge area; or the second area is a central area, and the first area is an edge area.
Preferably, the obtaining module 61 is specifically configured to obtain image information of the source video data at a predetermined rate, where the image information includes multiple frames of images; the segmentation module 62 comprises an image segmentation unit 621, a sampling unit 622, and an encoding unit 623, wherein the image segmentation unit 621 is configured to divide the multi-frame image into a first image set and a second image set; the sampling unit 622 is configured to sample the first image set according to a first sampling parameter to obtain first sampling data, and sample the second image set according to a second sampling parameter to obtain second sampling data; the encoding unit 623 is configured to encode the first sample data according to a first encoding parameter to obtain the first video stream, and encode the second sample data according to a second encoding parameter to obtain the second video stream.
The video transmission apparatus provided in the embodiment of the present invention may be specifically configured to execute the method embodiment provided in fig. 1, and specific functions are not described herein again.
According to the embodiment of the invention, each frame of image of source video data is divided into different areas, different sampling parameters are adopted to sample different areas to obtain different sampling data, different coding parameters are adopted to code different sampling data to obtain different video streams, and the division of the source video data is realized; the method comprises the steps of obtaining image information of source video data at a preset rate, wherein the image information comprises multiple frames of images, dividing the multiple frames of images into a first image set and a second image set, sampling and coding the first image set to obtain a first video stream, and sampling and coding the second image set to obtain a second video stream, so that the source video data are segmented.
In summary, in the embodiments of the present invention, source video data is divided into a first video stream and a second video stream, and the first video stream and the second video stream are sent to a server by using bearers with different service qualities, so that compared with the prior art that a single video with a high resolution is transmitted by sampling a single service quality, flexibility of video transmission is improved; in addition, the server only needs to send one of the first video stream and the second video stream to the terminal equipment, and the high-resolution video does not need to be converted into the low-resolution video, so that the data processing amount of the server is reduced, and the resource consumption of the server is saved; the method comprises the steps that each frame of image of source video data is divided into different areas, different sampling parameters are adopted to sample the different areas to obtain different sampling data, different coding parameters are adopted to code the different sampling data to obtain different video streams, and the source video data are divided; the method comprises the steps of obtaining image information of source video data at a preset rate, wherein the image information comprises multiple frames of images, dividing the multiple frames of images into a first image set and a second image set, sampling and coding the first image set to obtain a first video stream, and sampling and coding the second image set to obtain a second video stream, so that the source video data are segmented.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A video transmission method, comprising:
acquiring source video data;
splitting the source video data into a first video stream and a second video stream;
sending the first video stream to a server by adopting a first bearer, sending the second video stream to the server by adopting a second bearer so that the server superposes the first video stream and the second video stream into the source video data, and sending the first video stream or the second video stream to a terminal device, wherein the sending of the first video stream or the second video stream to the terminal device is determined by the resolution of the first video stream and the second video stream, the first bearer is a dedicated bearer, the second bearer is a default bearer, or the second bearer is a dedicated bearer, and the first bearer is a default bearer;
the obtaining source video data includes:
acquiring image information of source video data at a predetermined rate, wherein the image information comprises a plurality of frames of images;
the dividing principle of dividing the source video data into the first video stream and the second video stream is to divide each frame image of the source video data into a first area and a second area, or the dividing principle of dividing the source video data into the first video stream and the second video stream is to divide the multiple frame images into a first image set and a second image set.
2. The method according to claim 1, wherein the dividing the source video data into the first video stream and the second video stream comprises, if a dividing rule for dividing the source video data into the first video stream and the second video stream is to divide each frame image of the source video data into the first area and the second area:
sampling the first area according to a first sampling parameter to obtain first sampling data, and sampling the second area according to a second sampling parameter to obtain second sampling data;
and coding the first sampling data according to a first coding parameter to obtain the first video stream, and coding the second sampling data according to a second coding parameter to obtain the second video stream.
3. The method of claim 2, wherein the first region is a background region and the second region is a foreground region; or
The second area is a background area, and the first area is a foreground area.
4. The method of claim 2, wherein the first region is a central region and the second region is an edge region; or
The second region is a central region, and the first region is an edge region.
5. The method of claim 1,
if the dividing rule for dividing the source video data into the first video stream and the second video stream is to divide the multiple frames of images into the first image set and the second image set, the dividing the source video data into the first video stream and the second video stream includes:
sampling the first image set according to a first sampling parameter to obtain first sampling data, and sampling the second image set according to a second sampling parameter to obtain second sampling data;
and coding the first sampling data according to a first coding parameter to obtain the first video stream, and coding the second sampling data according to a second coding parameter to obtain the second video stream.
6. A video transmission apparatus, comprising:
the acquisition module is used for acquiring source video data;
a splitting module for splitting the source video data into a first video stream and a second video stream;
a sending module, configured to send the first video stream to a server by using a first bearer, send the second video stream to the server by using a second bearer, so that the server superimposes the first video stream and the second video stream as the source video data, and send the first video stream or the second video stream to a terminal device, where sending the first video stream or the second video stream to the terminal device is determined by resolutions of the first video stream and the second video stream, the first bearer is a dedicated bearer, the second bearer is a default bearer, or the second bearer is a dedicated bearer, and the first bearer is a default bearer;
the acquisition module is specifically used for acquiring image information of source video data at a preset rate, wherein the image information comprises a plurality of frames of images;
wherein the segmentation module comprises: an image dividing unit configured to divide each frame image of the source video data into a first region and a second region; or, for dividing the plurality of frame images into a first image set and a second image set.
7. The video transmission apparatus according to claim 6, wherein if each frame image of the source video data is divided into a first region and a second region, the dividing module further comprises:
the sampling unit is used for sampling the first area according to a first sampling parameter to obtain first sampling data, and sampling the second area according to a second sampling parameter to obtain second sampling data;
and the coding unit is used for coding the first sampling data according to a first coding parameter to obtain the first video stream, and coding the second sampling data according to a second coding parameter to obtain the second video stream.
8. The video transmission apparatus according to claim 7, wherein the first region is a background region, and the second region is a foreground region; or
The second area is a background area, and the first area is a foreground area.
9. The video transmission apparatus according to claim 7, wherein the first region is a central region and the second region is an edge region; or
The second region is a central region, and the first region is an edge region.
10. The video transmission apparatus according to claim 6, wherein if the multi-frame image is divided into the first image set and the second image set, the dividing module further comprises:
an image dividing unit for dividing the multi-frame image into a first image set and a second image set;
the sampling unit is used for sampling the first image set according to a first sampling parameter to obtain first sampling data, and sampling the second image set according to a second sampling parameter to obtain second sampling data;
and the coding unit is used for coding the first sampling data according to a first coding parameter to obtain the first video stream, and coding the second sampling data according to a second coding parameter to obtain the second video stream.
CN201610230119.7A 2016-04-13 2016-04-13 Video transmission method and device Active CN107295360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610230119.7A CN107295360B (en) 2016-04-13 2016-04-13 Video transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610230119.7A CN107295360B (en) 2016-04-13 2016-04-13 Video transmission method and device

Publications (2)

Publication Number Publication Date
CN107295360A CN107295360A (en) 2017-10-24
CN107295360B true CN107295360B (en) 2020-08-18

Family

ID=60095610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610230119.7A Active CN107295360B (en) 2016-04-13 2016-04-13 Video transmission method and device

Country Status (1)

Country Link
CN (1) CN107295360B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019127954A1 (en) * 2017-12-27 2019-07-04 华为技术有限公司 Method and apparatus for improving network performance
CN108471540B (en) * 2018-03-21 2020-12-18 美澳视界(厦门)智能科技有限公司 High-definition video smooth live broadcast method and device based on ultralow code stream
EP4138428A4 (en) * 2020-04-17 2023-06-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data processing method, communication device and computer storage medium
CN116888573A (en) * 2021-10-27 2023-10-13 京东方科技集团股份有限公司 Display control method, device, display equipment and computer readable medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220530A (en) * 2013-04-22 2013-07-24 郑永春 System and method for processing high-definition picture for intelligent monitoring

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7167519B2 (en) * 2001-12-20 2007-01-23 Siemens Corporate Research, Inc. Real-time video object generation for smart cameras
US20070268362A1 (en) * 2006-05-22 2007-11-22 Matthew James West Compressed data
CN101193261B (en) * 2007-03-28 2010-07-21 腾讯科技(深圳)有限公司 Video communication system and method
US10178396B2 (en) * 2009-09-04 2019-01-08 Stmicroelectronics International N.V. Object tracking
CN103108197A (en) * 2011-11-14 2013-05-15 辉达公司 Priority level compression method and priority level compression system for three-dimensional (3D) video wireless display
CN104427291B (en) * 2013-08-19 2018-09-28 华为技术有限公司 A kind of image processing method and equipment
CN105306945B (en) * 2014-07-10 2019-03-01 北京创鑫汇智科技发展有限责任公司 A kind of scalable concentration coding method of monitor video and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220530A (en) * 2013-04-22 2013-07-24 郑永春 System and method for processing high-definition picture for intelligent monitoring

Also Published As

Publication number Publication date
CN107295360A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
CN107295360B (en) Video transmission method and device
US9013536B2 (en) Augmented video calls on mobile devices
EP2945384B1 (en) Image processing device and image processing method for color gamut scalability
US11272094B2 (en) System and method providing object-oriented zoom in multimedia messaging
KR102551896B1 (en) Method and apparatus for image encoding/decoding
KR20140143138A (en) Image processing device and method
KR20140018431A (en) Multiple description coding with plural combined diversity
CN105635636A (en) Video conference system and method for realizing transmission control of video image
US11431993B2 (en) Method and apparatus for processing encoded data, computer device, and storage medium
CN111263192A (en) Video processing method and related equipment
CN101742289A (en) Method, system and device for compressing video code stream
EP2852158A1 (en) Image processing device and image processing method
CN110572673A (en) Video encoding and decoding method and device, storage medium and electronic device
CN114125448B (en) Video coding method, decoding method and related devices
US10348452B2 (en) Apparatus and method for transmitting video data in communication system
US9883192B2 (en) Color space compression
US10027989B2 (en) Method and apparatus for parallel decoding
CN109246431B (en) Video coding method and device based on quantization parameter configuration and electronic equipment
CN113141352B (en) Multimedia data transmission method and device, computer equipment and storage medium
CN111742530A (en) Network assistance function for virtual reality dynamic streaming
CN104333765A (en) Processing method and device of video live streams
WO2015094166A1 (en) Video conferencing with improved bandwidth efficiency over wireless display (widi) channel
CN108933945B (en) GIF picture compression method, device and storage medium
US11032345B2 (en) Client side data stream processing
US10104405B1 (en) Dynamic allocation of CPU cycles in video stream processing

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