CN107682672A - A kind of two-way video stream implementation method, storage medium and multimedia terminal - Google Patents
A kind of two-way video stream implementation method, storage medium and multimedia terminal Download PDFInfo
- Publication number
- CN107682672A CN107682672A CN201710919504.7A CN201710919504A CN107682672A CN 107682672 A CN107682672 A CN 107682672A CN 201710919504 A CN201710919504 A CN 201710919504A CN 107682672 A CN107682672 A CN 107682672A
- Authority
- CN
- China
- Prior art keywords
- video data
- resolution
- implementation method
- low resolution
- video stream
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000005540 biological transmission Effects 0.000 claims description 14
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 235000015170 shellfish Nutrition 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234363—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the spatial resolution, e.g. for clients with a lower screen resolution
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention provides a kind of two-way video stream implementation method, storage medium and multimedia terminal, and methods described includes step:By pre-setting two kinds of different resolution ratio, high-resolution is selected to open camera collection original video data, when carrying out low resolution operation, then the original video data is copied a, and the video data of copy or original video data are zoomed into low resolution, after video data after scaling is encoded, then carry out corresponding low resolution operation.The present invention need not increase hardware, it can realize and the video data of two kinds of different resolutions is transmitted and stored respectively, greatly meet the actual demand of existing multimedia terminal, bring great advantage to the user, and the present invention is relatively low to the performance requirement of multimedia terminal, and video is only scaled and not stretched, do not interfere with video image quality.
Description
Technical field
The present invention relates to multimedia terminal technical field, more particularly to a kind of two-way video stream implementation method, storage medium
And multimedia terminal.
Background technology
In field of multimedia systems, intelligent terminal can uploaded videos to server end and be transmitted to the viewing of other terminals,
Video can also be locally stored in intelligent terminal simultaneously.For example, when police hold law-enforcing recorder shooting spot, lead to
Cross and wirelessly transmit the video to command centre, command centre video described in real time inspection and can be scheduled, while record of enforcing the law
Instrument the machine needs to do HD video storage to facilitate evidence obtaining.
Limited in view of network bandwidth expense and broadband, real-time uploaded videos general intelligence uses low resolution low bit- rate
Video, transmission real-time and fluency are so just can guarantee that, while intelligent terminal locally also needs to storage video and recorded, with
Just collect evidence because evidence obtaining have high request to video definition, then the video for requiring to store be necessary for high-resolution and
High code check.Traditional video flowing all the way can not take into account both well, and it can only take a median from Resolutions
It is transmitted and stores simultaneously.Obviously, existing video flowing all the way can not meet the actual demand of intelligent terminal well.
Therefore, prior art has yet to be improved and developed.
The content of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of two-way video stream implementation method, are deposited
Storage media and multimedia terminal, it is intended to which solving existing video streaming method all the way can only take a median same from Resolutions
When be transmitted and store, it is impossible to the problem of meeting intelligent terminal actual demand well.
Technical scheme is as follows:
A kind of two-way video stream implementation method, wherein, including step:
Two kinds of different resolution ratio are pre-set, select high-resolution to open camera collection original video data;
When carrying out low resolution operation, then the original video data is copied it is a, and by the video data or original of copy
Beginning video data zooms to low resolution;
After video data after scaling is encoded, then carry out corresponding low resolution operation.
Described two-way video stream implementation method, wherein, the low resolution operation is storage operation or transmission operation.
Described two-way video stream implementation method, wherein, the step pre-sets two kinds of different resolution ratio, and selection is high
Resolution ratio opens camera collection original video data, also includes afterwards:
When carrying out high-resolution operation, then directly the original video data is encoded, then carry out corresponding high-resolution
Rate operates.
Described two-way video stream implementation method, wherein, after the step is encoded the video data after scaling, then
Corresponding low resolution operation is carried out, is specifically included:
After being encoded by software encoder to the video data after scaling, then carry out corresponding low resolution operation.
Described two-way video stream implementation method, wherein, the step is when carrying out high-resolution operation, then directly to institute
State original video data to be encoded, then carry out corresponding high-resolution operation, specifically include:
When carrying out high-resolution operation, then directly the original video data is encoded by hardware video encoders,
Carrying out corresponding high-resolution operation.
Described two-way video stream implementation method, wherein, the high-resolution operation is storage operation or transmission operation.
A kind of storage medium, wherein, a plurality of instruction is stored with, the instruction is suitable to be loaded by processor and performed above-mentioned
Anticipate a kind of two-way video stream implementation method.
A kind of multimedia terminal, wherein, including processor, it is adapted for carrying out an instruction;And memory, it is a plurality of suitable for storing
Instruction, the instruction are suitable to be loaded by processor and perform any one above-mentioned two-way video stream implementation method.
Beneficial effect:The present invention provides a kind of two-way video implementation method, by pre-setting two kinds of different resolution ratio,
High-resolution is selected to open camera collection original video data, when carrying out low resolution operation, then by the original video
Data copy is a, and the video data of copy or original video data are zoomed into low resolution, by the video counts after scaling
After being encoded, then carry out corresponding low resolution operation.The present invention need not increase hardware, can realize two kinds of differences
The video data of resolution ratio is transmitted and stored respectively, the actual demand of existing multimedia terminal is greatly met, to use
Family brings great convenience.
Brief description of the drawings
Fig. 1 is a kind of flow chart of two-way video stream implementation method preferred embodiment of the present invention;
Fig. 2 is a kind of structured flowchart of multimedia terminal preferred embodiment of the present invention.
Embodiment
The present invention provides a kind of two-way video stream implementation method, storage medium and multimedia terminal, to make the mesh of the present invention
, technical scheme and effect it is clearer, clear and definite, the present invention is described in more detail below.It is it should be appreciated that described herein
Specific embodiment only to explain the present invention, be not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of two-way video stream implementation method preferred embodiment provided by the invention,
Wherein, as illustrated, including step:
S10, two kinds of different resolution ratio are pre-set, select high-resolution to open camera collection original video data;
S20, when carrying out low resolution operation, then the original video data is copied it is a, and by the video data of copy
Or original video data zooms to low resolution;
S30, after the video data after scaling is encoded, then carry out corresponding low resolution operation.
Specifically, video flowing all the way is mostly only supported in existing multimedia terminal, i.e. user can only choose a kind of resolution
Rate video is transmitted and stored simultaneously, and the implementation of this video flowing all the way can not meet multimedia terminal well
Actual demand.
For example, when multimedia terminal needs to preserve high-resolution video and uploads the video of low resolution, it is existing
Video flowing mode can not then be realized all the way.Therefore, the invention provides a kind of two-way video stream implementation method, by setting in advance
Two kinds of different resolution ratio are put, select high-resolution to open camera collection original video data, when progress low resolution operation
When, then the original video data is copied into portion, and the video data of copy or original video data are zoomed into low resolution
Rate, after the video data after scaling is encoded, then carry out corresponding low resolution operation.
Hardware need not be increased by the present invention, can realize and be passed the video data of two kinds of different resolutions respectively
Defeated and storage operation, greatly meets the actual demand of existing multimedia terminal, brings great advantage to the user.
In a kind of specific embodiment, when user preset during two kinds of different resolution ratio, by the two resolution ratio
High-resolution be used to open the camera of multimedia terminal, then what is collected is then high-resolution original video data;
When carrying out low resolution operation, the low resolution operation can be storage operation or transmission operation, for example, when low point
When resolution operates for transmission, then original video data is copied into portion, and the video data of copy or original video data are contracted
It is put into low resolution;It is preferred that it may be selected the video data of copy zooming to low resolution, then to copying after the scaling
Shellfish video data is encoded, finally by the video data transmission after coding to server.Now, high-resolution deposit is being carried out
During storage operation, then directly the original video data is encoded, the original video data after coding is subjected to storage operation.
It can be realized in the case where not increasing hardware and deposited high-resolution video data by above-mentioned example in real time
Storage operation, is transmitted operation by the video data of low resolution, greatly meets the actual demand of existing multimedia terminal,
Bring great advantage to the user.
Further, usual multimedia terminal all has multi-channel video encoder, is had the ability in general multiplex coding device strong
Weak point, generally gives the strong encoder of ability by high-resolution video data and is encoded, by the video counts of low resolution
Encoded according to the weak encoder of ability of giving, just can so ensure the encoding overhead of two-path video can be met.
Further, multimedia terminal generally has a hardware video encoders, and the coding energy of hardware video encoders
Power is typically much stronger than the code capacity of software encoder.Therefore, in the above-described embodiments, when the transmission operation for carrying out low resolution
When, then the video data after scaling is encoded using code capacity weaker software encoder;It is high-resolution when carrying out
During storage operation, then original video data is encoded using code capacity stronger hardware video encoders, so distributed
It can ensure that the encoding overhead of two-path video is effectively satisfied.
Certainly, the operation for not limiting low resolution in the above-described embodiments must be that transmission operates, the behaviour of low resolution
Work can also be storage operation, and when the operation of low resolution is stores operation, then high-resolution operation operates for transmission.
In another specific embodiment, when storage operates and transmission operation is identical resolution operation, then exist
Carry out during storing operation or transmission operation, it is not necessary to original video data is zoomed in and out, it is only necessary to original video
Data are encoded, and then copy is a, by the video data after coding and copy video data carry out simultaneously storage operation and
Transmission operation.
Based on the above method, the present invention also provides a kind of storage medium, wherein, it is stored with a plurality of instruction, child's neck
Suitable for being loaded by processor and being performed any one above-mentioned two-way video stream implementation method.
Specifically, the storage medium is stored with a plurality of instruction, and the instruction is suitable to be loaded by processor and specifically performed:
Two kinds of different resolution ratio are pre-set, select high-resolution to open camera collection original video data;
When carrying out low resolution operation, then the original video data is copied it is a, and by the video data or original of copy
Beginning video data zooms to low resolution;
After video data after scaling is encoded, then carry out corresponding low resolution operation.
Based on a kind of above-mentioned embodiment of two-way video stream implementation method, the present invention also provides a kind of multimedia terminal, its
In, as shown in Fig. 2 including:
Processor 1, it is adapted for carrying out each instruction;And
Memory 2, suitable for storing a plurality of instruction, the instruction is suitable to be loaded by processor 1 and performed any one described two-way
Video flowing implementation method.
In summary, a kind of two-way video implementation method provided by the invention, by pre-setting two kinds of different resolutions
Rate, select high-resolution to open camera collection original video data, when carrying out low resolution operation, then original regarded described
Frequency data copy is a, and the video data of copy or original video data are zoomed into low resolution, by the video after scaling
After data are encoded, then carry out corresponding low resolution operation.The present invention need not increase hardware, can realize two kinds not
Video data with resolution ratio is transmitted and stored respectively, greatly meets the actual demand of existing multimedia terminal, gives
User is brought great convenience, and the present invention is relatively low to the performance requirement of multimedia terminal, and video is only scaled not
Stretch, do not interfere with video image quality.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Protect scope.
Claims (8)
1. a kind of two-way video stream implementation method, it is characterised in that including step:
Two kinds of different resolution ratio are pre-set, select high-resolution to open camera collection original video data;
When carrying out low resolution operation, then the original video data is copied it is a, and by the video data or original of copy
Beginning video data zooms to low resolution;
After video data after scaling is encoded, then carry out corresponding low resolution operation.
2. two-way video stream implementation method according to claim 1, it is characterised in that the low resolution operation is storage
Operation or transmission operation.
3. two-way video stream implementation method according to claim 1, it is characterised in that the step pre-sets two kinds not
Same resolution ratio, select high-resolution to open camera collection original video data, also include afterwards:
When carrying out high-resolution operation, then directly the original video data is encoded, then carry out corresponding high-resolution
Rate operates.
4. two-way video stream implementation method according to claim 1, it is characterised in that the step is by the video after scaling
After data are encoded, then corresponding low resolution operation is carried out, specifically included:
After being encoded by software encoder to the video data after scaling, then carry out corresponding low resolution operation.
5. two-way video stream implementation method according to claim 3, it is characterised in that the step is when progress high-resolution
During operation, then directly the original video data is encoded, then carry out corresponding high-resolution operation, specifically included:
When carrying out high-resolution operation, then directly the original video data is encoded by hardware video encoders,
Carrying out corresponding high-resolution operation.
6. the two-way video stream implementation method according to claim 3 or 5, it is characterised in that the high-resolution, which operates, is
Storage operation or transmission operation.
7. a kind of storage medium, it is characterised in that be stored with a plurality of instruction, the instruction is suitable to be loaded and performed by processor
State any one two-way video stream implementation method of claim 1-6.
8. a kind of multimedia terminal, it is characterised in that including processor, be adapted for carrying out an instruction;And memory, suitable for storage
A plurality of instruction, the instruction are suitable to be loaded by processor and performed the claims 1-6 any one two-way video stream realizations
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710919504.7A CN107682672A (en) | 2017-09-30 | 2017-09-30 | A kind of two-way video stream implementation method, storage medium and multimedia terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710919504.7A CN107682672A (en) | 2017-09-30 | 2017-09-30 | A kind of two-way video stream implementation method, storage medium and multimedia terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107682672A true CN107682672A (en) | 2018-02-09 |
Family
ID=61138995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710919504.7A Pending CN107682672A (en) | 2017-09-30 | 2017-09-30 | A kind of two-way video stream implementation method, storage medium and multimedia terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107682672A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111770377A (en) * | 2020-04-03 | 2020-10-13 | 北京数智鑫正科技有限公司 | Compression method for video playing system |
CN112235606A (en) * | 2020-12-11 | 2021-01-15 | 全时云商务服务股份有限公司 | Multi-layer video processing method, system and readable storage medium |
CN114339344A (en) * | 2020-10-10 | 2022-04-12 | 海信视像科技股份有限公司 | Intelligent device and video recording method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104349100A (en) * | 2013-07-25 | 2015-02-11 | 杭州海康威视数字技术股份有限公司 | DVR monitoring system supporting single-channel dual-stream video recording and method thereof |
CN104410822A (en) * | 2014-11-24 | 2015-03-11 | 深圳市华宝电子科技有限公司 | Video monitoring method and vehicular video monitoring equipment |
CN106028058A (en) * | 2016-05-12 | 2016-10-12 | 青岛海信移动通信技术股份有限公司 | Method and device for recording multimedia data |
CN106303390A (en) * | 2015-06-02 | 2017-01-04 | 联想(北京)有限公司 | Image-pickup method and device thereof, image transfer method and device thereof |
CN106791927A (en) * | 2016-12-23 | 2017-05-31 | 福建帝视信息科技有限公司 | A kind of video source modeling and transmission method based on deep learning |
-
2017
- 2017-09-30 CN CN201710919504.7A patent/CN107682672A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104349100A (en) * | 2013-07-25 | 2015-02-11 | 杭州海康威视数字技术股份有限公司 | DVR monitoring system supporting single-channel dual-stream video recording and method thereof |
CN104410822A (en) * | 2014-11-24 | 2015-03-11 | 深圳市华宝电子科技有限公司 | Video monitoring method and vehicular video monitoring equipment |
CN106303390A (en) * | 2015-06-02 | 2017-01-04 | 联想(北京)有限公司 | Image-pickup method and device thereof, image transfer method and device thereof |
CN106028058A (en) * | 2016-05-12 | 2016-10-12 | 青岛海信移动通信技术股份有限公司 | Method and device for recording multimedia data |
CN106791927A (en) * | 2016-12-23 | 2017-05-31 | 福建帝视信息科技有限公司 | A kind of video source modeling and transmission method based on deep learning |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111770377A (en) * | 2020-04-03 | 2020-10-13 | 北京数智鑫正科技有限公司 | Compression method for video playing system |
CN111770377B (en) * | 2020-04-03 | 2022-04-01 | 北京数智鑫正科技有限公司 | Compression method for video playing system |
CN114339344A (en) * | 2020-10-10 | 2022-04-12 | 海信视像科技股份有限公司 | Intelligent device and video recording method |
CN114339344B (en) * | 2020-10-10 | 2024-03-05 | 海信视像科技股份有限公司 | Intelligent device and video recording method |
CN112235606A (en) * | 2020-12-11 | 2021-01-15 | 全时云商务服务股份有限公司 | Multi-layer video processing method, system and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102324326B1 (en) | Streaming multiple encodings encoded using different encoding parameters | |
US8499091B2 (en) | Method and an apparatus for data recording and streaming | |
CN101924944B (en) | Selection method and information providing method and devices of scalable video coding operating point | |
US20120047280A1 (en) | Method and apparatus for reducing deterioration of a quality of experience of a multimedia service in a multimedia system | |
US20140104493A1 (en) | Proactive video frame dropping for hardware and network variance | |
CN103210642B (en) | Occur during expression switching, to transmit the method for the scalable HTTP streams for reproducing naturally during HTTP streamings | |
CN104270646A (en) | Self-adaption transmission method and system based on mobile streaming media | |
CN102802088B (en) | Data transmission method based on real-time transmission protocol | |
CN113115067A (en) | Live broadcast system, video processing method and related device | |
US11089283B2 (en) | Generating time slice video | |
CN114363649B (en) | Video processing method, device, equipment and storage medium | |
CN107682672A (en) | A kind of two-way video stream implementation method, storage medium and multimedia terminal | |
CN104469370A (en) | Video transcode method and device | |
CN111147860B (en) | Video data decoding method and device | |
DE102020108357A1 (en) | RE-ENCODING PREDICTED IMAGES IN LIVE VIDEOSTREAM APPLICATIONS | |
CN109672897B (en) | Panoramic video coding method and device | |
CN111629283B (en) | Multi-stream media gateway service system and method | |
CN104270672A (en) | Video processing method and device | |
CN108540745B (en) | High-definition double-stream video transmission method, transmitting end, receiving end and transmission system | |
US20120033727A1 (en) | Efficient video codec implementation | |
CN104735410A (en) | Narrow bandwidth lower than 4 K/S video transmission method and system | |
JP2020524450A (en) | Transmission system for multi-channel video, control method thereof, multi-channel video reproduction method and device thereof | |
CN104333765A (en) | Processing method and device of video live streams | |
CN104796702A (en) | H264 video frame rate conversion method and device | |
CN104780392A (en) | Transcoding method and device for video files |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180209 |