Nothing Special   »   [go: up one dir, main page]

CN103491368A - Method, device and system for processing video - Google Patents

Method, device and system for processing video Download PDF

Info

Publication number
CN103491368A
CN103491368A CN201310419201.0A CN201310419201A CN103491368A CN 103491368 A CN103491368 A CN 103491368A CN 201310419201 A CN201310419201 A CN 201310419201A CN 103491368 A CN103491368 A CN 103491368A
Authority
CN
China
Prior art keywords
image data
raw image
compressed package
player
receiving terminal
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
CN201310419201.0A
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.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media 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 TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201310419201.0A priority Critical patent/CN103491368A/en
Publication of CN103491368A publication Critical patent/CN103491368A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses a method for processing video. The method is used for shortening the delay time of the video of a real-time video call. The method comprises the steps of acquiring collected original image data, compressing the original image data into a compression package and sending the compression package to an image receiving end. The method only needs to compress the original image data, the compressed compression package is not further packaged any longer, the time wasted when original image information is packaged is saved, and the process of transmitting the original image data to the image receiving end is accelerated. The invention further discloses a device and system for achieving the method.

Description

A kind of method for processing video frequency, Apparatus and system
Technical field
The present invention relates to the video playback technical field, relate in particular to a kind of method for processing video frequency, Apparatus and system.
Background technology
Along with the expansion of the Internet and in the extensive use in each field, many association industries are arisen at the historic moment, such as: online film, sharing video frequency, video conference, instant Online Video conversation etc.These industries have common characteristics, and that needs displaying video exactly.And before video playback, need video is transmitted, original image information is processed etc. to step.
At present, traditional Video processing is that original image is packaged into to the server stream format, as: TS stream, FLV stream, MP4 stream etc., the TS(full name obtained of take again after encapsulation is Transport Stream, be translated into transport stream) stream or the FLV(full name be FLASH VIDEO, being translated into the FLASH video) stream, the MP4 stream format is transferred to the image receiving terminal, and the user is play the stream obtained with existing player at the image receiving terminal.
When playing, player receives the video flowing with TS stream or FLV stream, the transmission of MP4 stream format, and video flowing could be play after needing first fill up the buffering area of player (buffer) in player, and has at least increased the time delay more than 1 second like this.
If online film, sharing video frequency etc. can not have much impact, and if in video conference or instant Online Video chat, the time delay meeting of 1 second has a huge impact the user, and when being encapsulated, video also needs the time, so, when carrying out real-time video call, can produce the time delay that is greater than 1 second.
Summary of the invention
The embodiment of the present invention provides a kind of method for processing video frequency, Apparatus and system, the delay time of video when shortening real-time video call.
A kind of method for processing video frequency comprises the following steps: obtain the raw image data collected; By described raw image data boil down to compressed package; Described compressed package is sent to the image receiving terminal.No longer the raw image data collected is encapsulated, but only raw image data is compressed, and sent the compressed package of raw image data to the image receiving terminal.
Preferably, after described compressed package is sent to the image receiving terminal, also comprise: described image receiving terminal receives the compressed package of the raw image data of IMAQ end transmission; The described compressed package that described image receiving terminal decompresses and receives, obtain raw image data; Play described raw image data in the player that described image receiving terminal is predetermined minimum in buffer size.After the image receiving terminal receives compressed package, player buffer area landfill is full, after in player, play, because the buffer area of player is preset as minimum value, can realize can be playing after the packet decompress(ion) when there being data just to come, thereby reduce delay time from video flowing to buffering area that insert.
Preferably, described compressed package is the compressed package of form H.264.
A kind of method for processing video frequency comprises the following steps: the compressed package that receives the raw image data of IMAQ end transmission; The described compressed package that decompression receives, obtain raw image data; Play described raw image data in the player that is predetermined minimum in buffer size.After the image receiving terminal receives compressed package, player buffer area landfill is full, after in player, play, because the buffer area of player is preset as minimum value, can realize can be playing after the packet decompress(ion) when there being data just to come, thereby reduce delay time from video flowing to buffering area that insert.
Preferably, described compressed package is format compression bag H.264.
Preferably, play described raw image data in the player that is predetermined minimum in buffer size, comprising: in the player that is predetermined minimum in buffer size, be that picture is play by the instant decompress(ion) of described compressed package.By the compressed package decompress(ion), be to play the delay time that can reduce the picture synthetic video after picture.
A kind of video process apparatus, is characterized in that, comprising: acquisition module, the raw image data collected for acquisition; Compression module, for by described raw image data boil down to compressed package; Sending module, for sending to the image receiving terminal by described compressed package.
Preferably, compression module comprises: compression unit H.264, and for by described raw image data boil down to format compression bag H.264.
A kind of video process apparatus comprises: receiver module, for receiving the compressed package of the raw image data that the IMAQ end sends; Decompression module, the described compressed package received for decompression, obtain raw image data; Playing module, play described raw image data for the player that is predetermined minimum in buffer size.
Preferably, receiver module comprises: receiving element, and for receiving the H.264 format compression bag of the raw image data that the IMAQ end sends.
Preferably, playing module comprises: broadcast unit, for the player that is predetermined minimum in buffer size, is that picture is play by the instant decompress(ion) of described compressed package.
A kind of processing system for video comprises: the IMAQ end, and the raw image data collected for acquisition, by described raw image data boil down to compressed package, and send described compressed package; The image receiving terminal, for receiving the compressed package of the raw image data that the IMAQ end sends; The described compressed package that decompression receives, obtain raw image data; And the described raw image data of broadcasting in the player that is predetermined minimum in buffer size.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, or understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification write, claims and accompanying drawing.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
The accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms the part of specification, for explaining the present invention, is not construed as limiting the invention together with embodiments of the present invention.In the accompanying drawings:
The flow chart that Fig. 1 is a kind of method for processing video frequency in the embodiment of the present invention (for the IMAQ end);
Fig. 2 is the flow chart of (also can be called video broadcasting method, for the image receiving terminal) of another kind of method for processing video frequency in the embodiment of the present invention;
Fig. 3 is a kind of video process apparatus in the embodiment of the present invention (IMAQ end) schematic diagram;
Fig. 4 is a kind of video process apparatus in the embodiment of the present invention (image receiving terminal) schematic diagram;
Fig. 5 is a kind of processing system for video schematic diagram in the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein, only for description and interpretation the present invention, is not intended to limit the present invention.
In video conference or instant Online Video chat, in current video flow processing mode, can when original image information encapsulates and when the buffering area to player is dosed, cause very long delay time.In order to address this problem, as shown in Figure 1, the invention provides a kind of method for processing video frequency (for the IMAQ end), comprise the following steps:
Step 101, obtain the raw image data collected;
Step 102, by raw image data boil down to compressed package;
Step 103, send to the image receiving terminal by compressed package.
The embodiment of the present invention provides a kind of method for processing video frequency, when raw image data is transmitted, do not re-use traditional video streaming, as: TS(TS is the encapsulation format carried out under Japanese high-definition camera is taken, full name is MPEG2-TS, TS i.e. the abbreviation of " Transport Stream ", Chinese is translated into traffic flow) stream or FLV(FLV be the abbreviation of FLASH VIDEO, be translated into the FLASH video) stream, MP4 stream etc., only need be compressed raw image data, no longer the compressed package after compression is done to further encapsulation process, saved the time of waste when original image information is encapsulated, accelerated the process that raw image data is transferred to the image receiving terminal.
Preferably, after compressed package is sent to the image receiving terminal, also comprise: the image receiving terminal receives the compressed package of the raw image data of IMAQ end transmission; The compressed package that the image receiving terminal decompresses and receives, obtain raw image data; Play raw image data in the player that the image receiving terminal is predetermined minimum in buffer size.
After compressed package sends to the image receiving terminal, the image receiving terminal is decompressed the compressed package of the initial data that receives, and play in the player that is predetermined minimum in buffer size, can realize that the image receiving terminal receives after packet just can be pressed into picture to the packet solution and play, because buffer size is predetermined minimum, accelerated to fill up the speed of buffering area, accelerate the process of playing image data, better realized the real-time interactive functions such as real-time video meeting or instant Online Video chat.
Preferably, above-mentioned compressed package is the compressed package of form H.264.
As described in Figure 2, the embodiment of the present invention also provides another kind of method for processing video frequency (also can be called video broadcasting method, for the image receiving terminal), and the method comprises:
Step 201, the compressed package of the raw image data that reception IMAQ end sends;
Step 202, the compressed package that decompresses and receive, obtain raw image data;
Step 203, play raw image data in the player that is predetermined minimum in buffer size.
After compressed package sends to the image receiving terminal, the image receiving terminal is decompressed the compressed package of the initial data that receives, and play in the player that is predetermined minimum at buffering area, can realize that the image receiving terminal receives after packet just can be pressed into picture to the packet solution and play, because buffer size is predetermined minimum, accelerated to fill up the speed of buffering area, accelerate the process of playing image data, better realized the real-time interactive functions such as real-time video meeting or instant Online Video chat.
Preferably, compressed package is format compression bag H.264.
Preferably, in the player that is predetermined minimum in buffer size, play raw image data, comprising: in the player that is predetermined minimum in buffer size, be that picture is play by the instant decompress(ion) of compressed package.
Embodiment mono-
The method for processing video frequency that the present embodiment one provides the embodiment of the present invention is applied in a video conference scene, the IMAQ end is that meeting originating end A(can be computer or mobile phone), the image receiving terminal is that meeting participation end B(can be computer or mobile phone), concrete grammar following steps A-F:
A, meeting originating end A obtain the raw image data collected.
B, meeting originating end A are by raw image data boil down to format compression bag H.264.
H.264 be the common new-generation digital video compression format after MPEG4 proposed of International Organization for Standardization and International Telecommunication Union.H.264 the advantage of form is, low code check: and the compression technology such as MPEG2 and MPEG4ASP compare, and under picture quality on an equal basis, adopt the data volume after technique compresses H.264 to only have 1/8 of MPEG2,1/3 of MPEG4.High-quality image: H.264 continuous, smooth high quality image (DVD quality) can be provided.Fault-tolerant ability is strong: H.264 provide and solved in wrong essential tool such as the incidental packet losses of unstable net environment.Network adaptability is strong: H.264 network abstract layer is provided, has made file H.264 can easily on heterogeneous networks, transmit for example the Internet, CDMA, GPRS, WCDMA, CDMA2000 etc.
C, meeting originating end A send to meeting to participate in end B compressed package.
In above step, adopted the H.264 compress technique of format compression, can compress significantly raw image data, owing in the embodiment of the present invention, adopting and not encapsulated compressing rear raw image data, and raw image data is large, so adopt H.264 format compression raw image data, the space of being occupied to reduce raw image data to the full extent.
D, meeting participate in the H.264 format compression bag that end B receives the raw image data of meeting originating end A transmission.
E, meeting participate in the H.264 format compression bag that end B decompresses and receives, and obtain raw image data.
F, meeting participate in holding in the player that B is predetermined minimum in buffer size, by the instant decompress(ion) of compressed package, are that picture is play.
In the present embodiment one, after compressed package sends to meeting to participate in end B, meeting participates in end B the compressed package of the initial data that receives is decompressed, and play in the player that is predetermined minimum at buffering area, can realize that meeting participates in end B and receives after packet and just can be pressed into picture to the packet solution and play, because buffer size is predetermined minimum, accelerated to fill up the speed of buffering area, accelerated the process of playing image data, better realized that meeting originating end A and meeting participate in the real-time video meeting of end B.
More than described a kind of method implementation procedure of processing address list, this process can be realized by device, below built-in function and the structure of device is introduced.
As shown in Figure 3, a kind of video process apparatus comprises:
Acquisition module 301, the raw image data collected for acquisition;
Compression module 302, for the raw image data boil down to compressed package of inciting somebody to action;
Sending module 303, for sending to compressed package the image receiving terminal.
Wherein, compression module 302 comprises: H.264 compression unit 3021, for by described raw image data boil down to format compression bag H.264.
As shown in Figure 4, a kind of video process apparatus comprises:
Receiver module 401, for receiving the compressed package of the raw image data that the IMAQ end sends;
Decompression module 402, the compressed package received for decompression, obtain raw image data;
Playing module 403, play raw image data for the player that is predetermined minimum in buffer size.
Wherein, receiver module 401 comprises: receiving element 4011, and for receiving the H.264 format compression bag of the raw image data that the IMAQ end sends.
Playing module 403 comprises: broadcast unit 4031, for the player that is predetermined minimum in buffer size, is that picture is play by the instant decompress(ion) of compressed package.
As shown in Figure 5, it is a kind of for realizing the system of method for processing video frequency and device that the invention process also provides, and this system comprises:
IMAQ end 501, the raw image data collected for acquisition, by raw image data boil down to compressed package, and send compressed package;
Image receiving terminal 502, for receiving the compressed package of the raw image data that the IMAQ end sends; The compressed package that decompression receives, obtain raw image data; And play raw image data in the player that is predetermined minimum in buffer size.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect fully.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code one or more.
The present invention describes with reference to flow chart and/or the block diagram of method, equipment (system) and computer program according to the embodiment of the present invention.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction be stored in this computer-readable memory produce the manufacture that comprises command device, this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make and carry out the sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out on computer or other programmable devices is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1. a method for processing video frequency, is characterized in that, comprises the following steps:
The raw image data that acquisition collects;
By described raw image data boil down to compressed package;
Described compressed package is sent to the image receiving terminal.
2. the method for claim 1, is characterized in that, after described compressed package is sent to the image receiving terminal, also comprises:
Described image receiving terminal receives the compressed package of the raw image data of IMAQ end transmission;
The described compressed package that described image receiving terminal decompresses and receives, obtain raw image data;
Play described raw image data in the player that described image receiving terminal is predetermined minimum in buffer size.
3. method as claimed in claim 1 or 2, is characterized in that, described compressed package is the compressed package of form H.264.
4. a method for processing video frequency, is characterized in that, comprises the following steps:
Receive the compressed package of the raw image data of IMAQ end transmission;
The described compressed package that decompression receives, obtain raw image data;
Play described raw image data in the player that is predetermined minimum in buffer size.
5. method as claimed in claim 4, is characterized in that, described compressed package is format compression bag H.264.
6. method as claimed in claim 4, it is characterized in that, play described raw image data in the player that is predetermined minimum in buffer size, comprising: in the player that is predetermined minimum in buffer size, be that picture is play by the instant decompress(ion) of described compressed package.
7. a video process apparatus, is characterized in that, comprising:
Acquisition module, the raw image data collected for acquisition;
Compression module, for by described raw image data boil down to compressed package;
Sending module, for sending to the image receiving terminal by described compressed package.
8. device as claimed in claim 7, is characterized in that, compression module comprises:
H.264 compression unit, for by described raw image data boil down to format compression bag H.264.
9. a video process apparatus, is characterized in that, comprising:
Receiver module, for receiving the compressed package of the raw image data that the IMAQ end sends;
Decompression module, the described compressed package received for decompression, obtain raw image data;
Playing module, play described raw image data for the player that is predetermined minimum in buffer size.
10. device as claimed in claim 9, is characterized in that, receiver module comprises:
Receiving element, for receiving the H.264 format compression bag of the raw image data that the IMAQ end sends.
11. device as claimed in claim 9, is characterized in that, playing module comprises:
Broadcast unit, for the player that is predetermined minimum in buffer size, is that picture is play by the instant decompress(ion) of described compressed package.
12. a processing system for video, is characterized in that, comprising:
The IMAQ end, the raw image data collected for acquisition, by described raw image data boil down to compressed package, and send described compressed package;
The image receiving terminal, for receiving the compressed package of the raw image data that the IMAQ end sends; The described compressed package that decompression receives, obtain raw image data; And the described raw image data of broadcasting in the player that is predetermined minimum in buffer size.
CN201310419201.0A 2013-09-13 2013-09-13 Method, device and system for processing video Pending CN103491368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310419201.0A CN103491368A (en) 2013-09-13 2013-09-13 Method, device and system for processing video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310419201.0A CN103491368A (en) 2013-09-13 2013-09-13 Method, device and system for processing video

Publications (1)

Publication Number Publication Date
CN103491368A true CN103491368A (en) 2014-01-01

Family

ID=49831289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310419201.0A Pending CN103491368A (en) 2013-09-13 2013-09-13 Method, device and system for processing video

Country Status (1)

Country Link
CN (1) CN103491368A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109996004A (en) * 2019-05-14 2019-07-09 北京筑梦园科技有限公司 A kind of low power image imaging method, processor and device
CN110012205A (en) * 2019-05-14 2019-07-12 北京筑梦园科技有限公司 A kind of low-power-consumption video imaging method, processor and device
CN110278454A (en) * 2019-07-04 2019-09-24 深圳市瑞驰信息技术有限公司 The naked flow data of H264, H265 is packaged into the method that FLV format is transmitted with NIO

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050022253A1 (en) * 2003-07-24 2005-01-27 Jingyang Chen Audio splice process for digital Ad insertion
CN101193289A (en) * 2006-11-22 2008-06-04 中兴通讯股份有限公司 A real time conversion method from MPEG-4 transmission code stream to Internet stream media alliance stream
CN101321268A (en) * 2004-06-07 2008-12-10 斯灵媒体公司 Personal media broadcasting system
CN101483783A (en) * 2008-01-07 2009-07-15 日本电气株式会社 Reproducing apparatus, reproducing system, reproducing method, and recording medium thereof
CN101505365A (en) * 2009-02-25 2009-08-12 南京邮电大学 Real-time video monitoring system implementing method based on network television set-top box

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050022253A1 (en) * 2003-07-24 2005-01-27 Jingyang Chen Audio splice process for digital Ad insertion
CN101321268A (en) * 2004-06-07 2008-12-10 斯灵媒体公司 Personal media broadcasting system
CN101193289A (en) * 2006-11-22 2008-06-04 中兴通讯股份有限公司 A real time conversion method from MPEG-4 transmission code stream to Internet stream media alliance stream
CN101483783A (en) * 2008-01-07 2009-07-15 日本电气株式会社 Reproducing apparatus, reproducing system, reproducing method, and recording medium thereof
CN101505365A (en) * 2009-02-25 2009-08-12 南京邮电大学 Real-time video monitoring system implementing method based on network television set-top box

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109996004A (en) * 2019-05-14 2019-07-09 北京筑梦园科技有限公司 A kind of low power image imaging method, processor and device
CN110012205A (en) * 2019-05-14 2019-07-12 北京筑梦园科技有限公司 A kind of low-power-consumption video imaging method, processor and device
CN110278454A (en) * 2019-07-04 2019-09-24 深圳市瑞驰信息技术有限公司 The naked flow data of H264, H265 is packaged into the method that FLV format is transmitted with NIO

Similar Documents

Publication Publication Date Title
US11196786B2 (en) Interface apparatus and method for transmitting and receiving media data
CN111246284B (en) Video stream playing method, system, terminal and storage medium
CN108200447B (en) Live broadcast data transmission method and device, electronic equipment, server and storage medium
KR101859064B1 (en) Video synchronous playback method, apparatus, and system
CN107819809B (en) Method and device for synchronizing content
US20090300685A1 (en) System, method, and device for transmitting video captured on a wireless device
TW200822758A (en) Scalable video coding and decoding
CN101945096A (en) Video live broadcast system facing to set-top box and PC of mobile phone and working method thereof
WO2007007496A1 (en) Multi-point conference system, multi-point conference method, and program
WO2015196710A1 (en) Device capability negotiation method and apparatus, and computer storage medium
CN110996122B (en) Video frame transmission method, device, computer equipment and storage medium
KR20160108342A (en) Method and apparatus for multiplexing layered coded contents
US10085029B2 (en) Switching display devices in video telephony
US9936266B2 (en) Video encoding method and apparatus
CN103491368A (en) Method, device and system for processing video
CN107079132B (en) Port in visual telephone feeds the video frame of intraframe decoding after reconfiguring
EP2538670A1 (en) Data processing unit and data encoding device
CN104093089A (en) Cinema program live telecasting system and method
KR102349451B1 (en) The method for transmitting or receiving multimedia and apparatus thereof
CN110602065A (en) Live broadcast stream pushing method and device
CN105245920A (en) Multi-channel video transmission method and device
CN108124183B (en) Method for synchronously acquiring video and audio to perform one-to-many video and audio streaming
JP4533819B2 (en) Video server system and data transfer method
CN204190888U (en) A kind of system of movie theatre programme televised live

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20140101