CN105049918A - Method for separating local recorded video and network live video - Google Patents

Method for separating local recorded video and network live video Download PDF

Info

Publication number
CN105049918A
CN105049918A CN201510395420.9A CN201510395420A CN105049918A CN 105049918 A CN105049918 A CN 105049918A CN 201510395420 A CN201510395420 A CN 201510395420A CN 105049918 A CN105049918 A CN 105049918A
Authority
CN
China
Prior art keywords
data
network
video
yuvb
frame per
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
CN201510395420.9A
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.)
Chengdu Xike Technology Co Ltd
Original Assignee
Chengdu Xike 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 Chengdu Xike Technology Co Ltd filed Critical Chengdu Xike Technology Co Ltd
Priority to CN201510395420.9A priority Critical patent/CN105049918A/en
Publication of CN105049918A publication Critical patent/CN105049918A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26216Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The present invention discloses a method for separating a local recorded video and a network live video. The method comprises the steps of (S1) a camera collection module collects image data in real time and outputs yuv data with high frame rate and high resolution in accordance with a local video recording requirement, (S2) after each frame of yuv data is obtained, the data is marked as yuvA data, (S3) a piece of yuvA data is copied and marked as yuvB data, (S4) the yuvA data is subjected to video compression, encoding and package processing, and the processed yuvA data is stored into a local storage card, (S5) the frame rate and resolution of the yuvB data are reduced, and the yuvB data is converted into yuvB' data with low frame rate and low resolution in accordance with a network live video requirement, and (S6) the yuvB' data is subjected to compression, encoding and package processing according to a relevant streaming protocol, and then the processed yuvB' data is broadcast live through a network. According to the method, the high quality of a local storage video can be ensured, and the data amount of a network transmission video can be reduced.

Description

The separation method of a kind of local recorded video and network direct broadcasting video
Technical field
The present invention relates to live video recording field, particularly relate to the separation method of a kind of local recorded video and network direct broadcasting video.
Background technology
No matter be web camera, or the moving camera of current trend, there is the Core Feature that two are basic: local video is recorded and internet video live broadcasting.Local video is recorded and is preserved the memory card of video to fuselage, or external SDcard, for this video, can select to record higher frame per second and the video with resolution.And network direct broadcasting video, owing to being limited by the restriction such as the network bandwidth and flow, often seem more precious, so this kind of video transmits the video of lower frame per second and resolution often.So a kind of design by local recorded video and network direct broadcasting video separation seems particularly important.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, the separation method of a kind of local recorded video and network direct broadcasting video is provided, different process is carried out to local recorded video and network direct broadcasting video, both ensure that the local high-quality storing video, also achieve the data volume reducing Internet Transmission video.
The object of the invention is to be achieved through the following technical solutions: the separation method of a kind of local recorded video and network direct broadcasting video, comprises following multiple step:
S1: shooting acquisition module real-time image acquisition data, and export the high frame per second and high-resolution yuv data that meet the requirement of local recorded video;
S2: after often obtaining frame yuv data, be all labeled as yuvA data;
S3: copy a yuvA data, and be labeled as yuvB data;
Then the yuvA data handled well are saved on local storage card by S4: carry out video compression, coding and package process to yuvA data;
S5: yuvB data are converted to the yuvB ' data of the lower frame per second meeting network direct broadcasting video invitation and low resolution by the frame per second and the resolution that reduce yuvB data;
S6: yuvB ' data are encoded according to relevant stream media protocol, compresses and package process, then the yuvB ' data handled well are gone out by network direct broadcasting.
In the present invention, described shooting acquisition module is arranged on web camera, moving camera or wearable device.
Further, in the image data acquiring process of step S1, the communication quality of real-time Sampling network, namely the effective transmission speed that Sampling network is real-time, and according to effective transmission speed during this network implementation, dynamically adjust IMAQ frame per second, make effective transmission speed simultaneously match when IMAQ frame per second and network implementation.
When the communication quality difference of network, if network is per second can only transmit N frame data, then IMAQ frame per second also drops to collection N frame per second, and when the good communication quality of network, if network is per second can pass M frame data, then IMAQ frame per second is also raised to collection M frame per second.
Further, the IMAQ frame per second that acquisition module of making a video recording also is arranged according to User Defined carries out real-time image data acquiring.
Further, within the scope of the IMAQ frame per second that shooting acquisition module is arranged at User Defined, according to effective transmission speed during network implementation, dynamically adjustment IMAQ frame per second.
The invention has the beneficial effects as follows:
1) the present invention preserves on a memory card with high frame per second, high resolution scheme local recorded video, to ensure the local high-quality storing video; Frame, resolution decreasing process are fallen to network direct broadcasting video, to reduce the data volume of Internet Transmission video, ensures the fluency of live video.
2) effective transmission speed of the real-time Sampling network of the present invention or the feedback information of reception network condition, dynamically adjust IMAQ frame per second, make effective transmission speed simultaneously match when IMAQ frame per second and network implementation.
3) the present invention can accept the self-defined setting of user to IMAQ frame per second, controls image acquisition rates according to scene demand, thus ensures the quality of the image/video gathered.
4) within the scope of the IMAQ frame per second that the present invention also can be arranged at User Defined, according to effective transmission speed during network implementation, dynamically adjust IMAQ frame per second, both ensured that the time delay caused due to network was in controllable state, the time delay of effective reduction image/video, ensures again the quality of the image/video gathered.
Accompanying drawing explanation
Fig. 1 is yuv flow chart of data processing figure of the present invention;
Fig. 2 is image data acquiring control flow schematic diagram in the present invention.
Embodiment
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail, but protection scope of the present invention is not limited to the following stated.
As shown in Figure 1, the separation method of a kind of local recorded video and network direct broadcasting video, comprises following multiple step:
S1: shooting acquisition module real-time image acquisition data, and export the high frame per second and high-resolution yuv data that meet the requirement of local recorded video;
S2: after often obtaining frame yuv data, be all labeled as yuvA data;
S3: copy a yuvA data, and be labeled as yuvB data;
Then the yuvA data handled well are saved on local storage card by S4: carry out video compression, coding and package process to yuvA data;
S5: yuvB data are converted to the yuvB ' data of the lower frame per second meeting network direct broadcasting video invitation and low resolution by the frame per second and the resolution that reduce yuvB data;
S6: yuvB ' data are encoded according to relevant stream media protocol, compresses and package process, then the yuvB ' data handled well are gone out by network direct broadcasting.
In the present invention, described shooting acquisition module is arranged on web camera, moving camera or wearable device.
Further, in the image data acquiring process of step S1, the communication quality of real-time Sampling network, namely the effective transmission speed that Sampling network is real-time, and according to effective transmission speed during this network implementation, dynamically adjust IMAQ frame per second, make effective transmission speed simultaneously match when IMAQ frame per second and network implementation, make in this live process, the delay that the Late phase of the view data that rear end receives corresponds to moving camera collection remains consistent, with the change of the communication quality of network, and the cumulative of time delay can not be caused.
When the communication quality difference of network, if network is per second can only transmit N frame data, then IMAQ frame per second also drops to collection N frame per second, and when the good communication quality of network, if network is per second can pass M frame data, then IMAQ frame per second is also raised to collection M frame per second.
Further, the IMAQ frame per second that shooting acquisition module is also arranged according to User Defined carries out real-time image data acquiring, thus ensures the quality of the image/video gathered.
Further, within the scope of the IMAQ frame per second that shooting acquisition module is arranged at User Defined, according to effective transmission speed during network implementation, dynamically adjust IMAQ frame per second, both ensured that the time delay caused due to network was in controllable state, the time delay of effective reduction image/video, ensures again the quality of the image/video gathered.
As shown in Figure 2, suppose: in the shooting acquisition module 1s of moving camera, gather 6 frame data, shooting acquisition module acquires 6 frame data FEDCBA, and 6 frame data gathered send by wireless communication module in time, under network condition good situations, beholder also have received FEDCBA6 frame data in time, does not have time delay.
When network condition is bad time, shooting acquisition module acquires 6 frame data FEDCBA, beholder holds the data received in time to only have CBA tri-frame data, and this network condition is fed back to moving camera end, the network condition detection module of moving camera detects that network has the delay of three frames this moment, subsequently, its frame per second matching module adjusts the frame per second of shooting acquisition module real-time dynamicly, the acquisition rate of shooting acquisition module is made to gather 6 frame data from 1s, drop in 1s and collect 3 frame data, carry out the transmission speed of matching network.When the shooting acquisition module of such moving camera carries out next group IMAQ, only gather 3 frame data IHG, that beholder's end is watched is FED, when collection terminal gathers next group data LKJ, beholder's end watches Frame IHG, by that analogy, so, beholder holds the Late phase of viewing to remain 3 frames for the delay of moving camera collection, avoids the cumulative of the time delay caused due to network reason.
If do not carry out dynamic conditioning frame per second, after there is network delay, moving camera can continue collection 6 frame data, and beholder holds cumulative 3 frame time delays, becomes time delay 6 frame data, when moving camera gathers 6 frame data again, beholder's end is cumulative 3 frame time delays again, become time delay 9 frame data, so by that analogy, the time delay of the view data that beholder holds the view data of watching to gather compared to moving camera can be increasing, and time delay can add up successively.

Claims (6)

1. a separation method for local recorded video and network direct broadcasting video, is characterized in that, comprises following multiple step:
S1: shooting acquisition module real-time image acquisition data, and export the high frame per second and high-resolution yuv data that meet the requirement of local recorded video;
S2: after often obtaining frame yuv data, be all labeled as yuvA data;
S3: copy a yuvA data, and be labeled as yuvB data;
Then the yuvA data handled well are saved on local storage card by S4: carry out video compression, coding and package process to yuvA data;
S5: yuvB data are converted to the yuvB ' data of the lower frame per second meeting network direct broadcasting video invitation and low resolution by the frame per second and the resolution that reduce yuvB data;
S6: yuvB ' data are encoded according to relevant stream media protocol, compresses and package process, then the yuvB ' data handled well are gone out by network direct broadcasting.
2. the separation method of a kind of local recorded video according to claim 1 and network direct broadcasting video, is characterized in that: described shooting acquisition module is arranged on web camera, moving camera or wearable device.
3. the separation method of a kind of local recorded video according to claim 1 and network direct broadcasting video, it is characterized in that: in the image data acquiring process of step S1, the communication quality of real-time Sampling network, namely the effective transmission speed that Sampling network is real-time, and according to effective transmission speed during this network implementation, dynamically adjust IMAQ frame per second, make effective transmission speed simultaneously match when IMAQ frame per second and network implementation.
4. the separation method of a kind of local recorded video according to claim 3 and network direct broadcasting video, it is characterized in that: when the communication quality difference of network, if network is per second can only transmit N frame data, then IMAQ frame per second also drops to collection N frame per second, when the good communication quality of network, if network is per second can pass M frame data, then IMAQ frame per second is also raised to collection M frame per second.
5. the separation method of a kind of local recorded video according to claim 1 and network direct broadcasting video, is characterized in that: the IMAQ frame per second that shooting acquisition module is also arranged according to User Defined carries out real-time image data acquiring.
6. the separation method of a kind of local recorded video according to claim 3 and network direct broadcasting video, it is characterized in that: within the scope of the IMAQ frame per second that shooting acquisition module is arranged at User Defined, according to effective transmission speed during network implementation, dynamically adjust IMAQ frame per second.
CN201510395420.9A 2015-07-08 2015-07-08 Method for separating local recorded video and network live video Pending CN105049918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510395420.9A CN105049918A (en) 2015-07-08 2015-07-08 Method for separating local recorded video and network live video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510395420.9A CN105049918A (en) 2015-07-08 2015-07-08 Method for separating local recorded video and network live video

Publications (1)

Publication Number Publication Date
CN105049918A true CN105049918A (en) 2015-11-11

Family

ID=54456041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510395420.9A Pending CN105049918A (en) 2015-07-08 2015-07-08 Method for separating local recorded video and network live video

Country Status (1)

Country Link
CN (1) CN105049918A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028058A (en) * 2016-05-12 2016-10-12 青岛海信移动通信技术股份有限公司 Method and device for recording multimedia data
CN106169998A (en) * 2016-07-13 2016-11-30 腾讯科技(深圳)有限公司 The treating method and apparatus of media file
CN107018415A (en) * 2017-03-17 2017-08-04 浙江大华技术股份有限公司 A kind of method and apparatus that video data is exported based on dual code stream
CN107249107A (en) * 2017-05-03 2017-10-13 西安诺瓦电子科技有限公司 Video controller and image processing method and device
WO2018019237A1 (en) * 2016-07-26 2018-02-01 北京金山安全软件有限公司 Video transmitting method and device, and electronic equipment
WO2018023555A1 (en) * 2016-08-04 2018-02-08 SZ DJI Technology Co., Ltd. Method and system for handling image data
CN111586431A (en) * 2020-06-05 2020-08-25 广州酷狗计算机科技有限公司 Method, device and equipment for live broadcast processing and storage medium
CN111901661A (en) * 2020-07-30 2020-11-06 海信视像科技股份有限公司 Video recording method, video playing method and display equipment
CN112584074A (en) * 2016-11-08 2021-03-30 深圳市大疆创新科技有限公司 Video recording method and shooting equipment
CN114556958A (en) * 2020-12-23 2022-05-27 深圳市大疆创新科技有限公司 Video transmission method and system, video processing method and device, playing terminal and movable platform

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087399A (en) * 2006-06-09 2007-12-12 中兴通讯股份有限公司 A multi-media terminal and its method for conference recording and playing
CN102137098A (en) * 2011-01-25 2011-07-27 北京天纵网联科技有限公司 Method for on-line real-time recording and forwarding of audio/ video streams by mobile internet terminal
CN102447893A (en) * 2010-09-30 2012-05-09 北京沃安科技有限公司 Method and system for real-time acquisition and release of videos of mobile phone
CN103188518A (en) * 2011-12-29 2013-07-03 中国航天科工集团第二研究院七〇六所 Wireless network video storage system and wireless network video monitoring method thereof
CN104038844A (en) * 2014-06-25 2014-09-10 浙江工业大学 Mobile live broadcast system based on MPEG-2 standard
CN104702909A (en) * 2014-04-17 2015-06-10 杭州海康威视数字技术股份有限公司 Video data processing method and video data processing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087399A (en) * 2006-06-09 2007-12-12 中兴通讯股份有限公司 A multi-media terminal and its method for conference recording and playing
CN102447893A (en) * 2010-09-30 2012-05-09 北京沃安科技有限公司 Method and system for real-time acquisition and release of videos of mobile phone
CN102137098A (en) * 2011-01-25 2011-07-27 北京天纵网联科技有限公司 Method for on-line real-time recording and forwarding of audio/ video streams by mobile internet terminal
CN103188518A (en) * 2011-12-29 2013-07-03 中国航天科工集团第二研究院七〇六所 Wireless network video storage system and wireless network video monitoring method thereof
CN104702909A (en) * 2014-04-17 2015-06-10 杭州海康威视数字技术股份有限公司 Video data processing method and video data processing device
CN104038844A (en) * 2014-06-25 2014-09-10 浙江工业大学 Mobile live broadcast system based on MPEG-2 standard

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028058A (en) * 2016-05-12 2016-10-12 青岛海信移动通信技术股份有限公司 Method and device for recording multimedia data
CN106169998A (en) * 2016-07-13 2016-11-30 腾讯科技(深圳)有限公司 The treating method and apparatus of media file
CN106169998B (en) * 2016-07-13 2019-01-08 腾讯科技(深圳)有限公司 The treating method and apparatus of media file
WO2018019237A1 (en) * 2016-07-26 2018-02-01 北京金山安全软件有限公司 Video transmitting method and device, and electronic equipment
US20190166334A1 (en) * 2016-08-04 2019-05-30 SZ DJI Technology Co., Ltd. Method and system for handling image data
WO2018023555A1 (en) * 2016-08-04 2018-02-08 SZ DJI Technology Co., Ltd. Method and system for handling image data
CN109562831A (en) * 2016-08-04 2019-04-02 深圳市大疆创新科技有限公司 For handling the method and system of image data
US11108997B2 (en) * 2016-08-04 2021-08-31 SZ DJI Technology Co., Ltd. Method and system for handling image data
CN112584074A (en) * 2016-11-08 2021-03-30 深圳市大疆创新科技有限公司 Video recording method and shooting equipment
CN107018415A (en) * 2017-03-17 2017-08-04 浙江大华技术股份有限公司 A kind of method and apparatus that video data is exported based on dual code stream
CN107249107A (en) * 2017-05-03 2017-10-13 西安诺瓦电子科技有限公司 Video controller and image processing method and device
CN107249107B (en) * 2017-05-03 2020-03-27 西安诺瓦星云科技股份有限公司 Video controller and image processing method and device
CN111586431A (en) * 2020-06-05 2020-08-25 广州酷狗计算机科技有限公司 Method, device and equipment for live broadcast processing and storage medium
CN111586431B (en) * 2020-06-05 2022-03-15 广州酷狗计算机科技有限公司 Method, device and equipment for live broadcast processing and storage medium
CN111901661A (en) * 2020-07-30 2020-11-06 海信视像科技股份有限公司 Video recording method, video playing method and display equipment
CN114556958A (en) * 2020-12-23 2022-05-27 深圳市大疆创新科技有限公司 Video transmission method and system, video processing method and device, playing terminal and movable platform
WO2022133782A1 (en) * 2020-12-23 2022-06-30 深圳市大疆创新科技有限公司 Video transmission method and system, video processing method and device, playing terminal, and movable platform

Similar Documents

Publication Publication Date Title
CN105049918A (en) Method for separating local recorded video and network live video
US10694249B2 (en) Method and system for selective content processing based on a panoramic camera and a virtual-reality headset
CN105704580B (en) A kind of video transmission method
EP3298790A1 (en) Providing low&high quality streams
EP1993291A2 (en) Image processing system
CN102377730A (en) Audio/video signal processing method and mobile terminal
CN106791899A (en) The live middle method and device and client for reducing viewer end picture interim card
US10687011B2 (en) Method and apparatus for improving transmission of transport video signal
US20100045810A1 (en) Video Signal Processing System and Method Thereof
CN105812710A (en) Method and system for optimizing image quality in video call process
CN105611227A (en) Digital data sending method and device and digital data reception method and device based on composite video signals
CN103002354A (en) Method and system for eliminating network jitter of video data during transmission
CN102378001A (en) Mobile terminal supporting picture live broadcast mode, video live broadcast method thereof and system thereof
CN105141873A (en) System and method for dynamically adjusting frame rate of motion camera
US20160149667A1 (en) Information processing apparatus, information processing method, and program
US8320449B2 (en) Method for controlling video frame stream
US12063380B2 (en) Method and system for panoramic multimedia streaming enabling view-region selection
CN106791896A (en) High definition/super clear program satellite internet transmission platform
CN101437157B (en) Multipath CDMA video transmission system for monitoring railway field video
US11057632B2 (en) Method and system for panoramic multimedia streaming
CN108377402A (en) A kind of TV screen video recorder suitable for set-top box based on bluetooth
CN104754336A (en) Coding method and coded stream control device on basis of image priority statistical analysis
CN106131693A (en) A kind of modular transmission of video Play System and method
KR102024437B1 (en) System and method for transmitting a plurality of video image
CN206226637U (en) A kind of modular transmission of video Play System

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151111

RJ01 Rejection of invention patent application after publication