CN107295326A - A kind of 3D three-dimensional video-frequencies method for recording - Google Patents
A kind of 3D three-dimensional video-frequencies method for recording Download PDFInfo
- Publication number
- CN107295326A CN107295326A CN201710416449.XA CN201710416449A CN107295326A CN 107295326 A CN107295326 A CN 107295326A CN 201710416449 A CN201710416449 A CN 201710416449A CN 107295326 A CN107295326 A CN 107295326A
- Authority
- CN
- China
- Prior art keywords
- video
- path
- video stream
- timestamp
- single channel
- 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
Abstract
The invention discloses a kind of 3D three-dimensional video-frequencies method for recording, the detailed process of method includes:Step S1, while gathering left and right two-path video stream, adds timestamp on each two field picture of two-path video stream;Step S2, compression of images is carried out to left and right two-path video stream respectively, and the left and right two-path video stream after compression is fused to the single channel video flowing of 3D left-right formats, still retains original timestamp per two field picture;Step S3, encodes to the single channel video flowing of 3D left-right formats, is stored as 3D video files.Left and right two-path video stream is fused into the single channel video flowing of 3D left-right formats by the present invention due to adding timestamp on each two field picture of left and right two-path video stream, solves the problem of two-path video is synchronous.
Description
Technical field
Present invention relates particularly to a kind of 3D three-dimensional video-frequencies method for recording.
Background technology
With the development of social science and technology, video record mode there has also been significant progress, be sent out by 2D video records
Open up 3D video records.3D videos possess the third dimension and feeling of immersion not available for 2D videos, are shown appreciation for somebody by more and more people.
Current 3D records mode and is broadly divided into single channel video flowing 3D recording modes and two-way video stream 3D recording modes.Single channel video flowing 3D
Recording mode is typically using the three-dimensional stream encryption mode of various visual angles, and mutiview code extension standards for example H.264 usually exist
That is done on synchronous recording is not ideal enough.Two-way video stream 3D records mode by the two-path video signal recording of 3D video sources to same
In individual file, the two-path video of 3D video sources in recorded file is spliced into by the encoding and decoding software of customization by 3D forms(Left and right
Form, top-down format)Image show, reach 3D record effect.Existing 3D, which records mode, at present fixed to encoding and decoding software
System require, or done in synchronization it is undesirable, so as to influence final Consumer's Experience.
The content of the invention
It is of the prior art not enough there is provided a kind of 3D three-dimensional video-frequencies method for recording it is an object of the invention to overcome,
Timestamp is added on each two field picture of left and right two-path video stream, left and right two-path video stream is fused into the single channel of 3D left-right formats
Video flowing, fundamentally solves the problem of two-path video is synchronous.
In order to solve the above technical problems, the invention provides a kind of 3D three-dimensional video-frequencies method for recording, it is characterized in that, including with
Lower step:
Step S1, while gathering left and right two-path video stream, adds timestamp on each two field picture of two-path video stream;
Step S2, compression of images is carried out to left and right two-path video stream respectively, and the left and right two-path video stream after compression is fused into 3D
The single channel video flowing of left-right format, left and right video image still retains original timestamp;
Step S3, encodes to the single channel video flowing of 3D left-right formats, is stored as 3D video files.
Further, the time that timestamp is consumed for the current collection time at moment plus collection per frame video image.
Further, it is corresponding identical per two field picture timestamp in left and right two-path video stream.
Further, the process that left and right two-path video is fused to the single channel video of 3D left-right formats is, by a synchronous left side
Each original half of boil down in the horizontal direction of right video image, it is highly constant, a two field picture is synthesized after left-right situs.
Further, coded system for H.264, H.323, MPEG or JPEG.
Further, 3D video files use mp4 reference formats.
Compared with prior art, the beneficial effect that is reached of the present invention is:The present invention need not be soft to existing encoding and decoding
Part is customized due to adding timestamp on each two field picture of left and right two-path video stream, and left and right two-path video stream is merged
Into the single channel video flowing of 3D left-right formats, the problem of two-path video is synchronous is fundamentally solved.The final tray of the present invention
Formula uses mp4 reference formats, it is not necessary to player is modified and be can play, is easy to client to use.
Brief description of the drawings
Fig. 1 is method flow schematic diagram of the invention;
Fig. 2 is the schematic flow sheet that left and right two-path video stream is fused to single channel video flowing.
Embodiment
The invention will be further described below in conjunction with the accompanying drawings.Following examples are only used for clearly illustrating the present invention
Technical scheme, and can not be limited the scope of the invention with this.
As shown in figure 1, a kind of 3D three-dimensional video-frequencies method for recording of the present invention, comprises the following steps:
Step S1, while gathering left and right two-path video stream, adds timestamp on each two field picture of two-path video stream;
3D three-dimensional video-frequencies are the video flowings for gathering Same Scene or so two visual angles, to simulate the field that the left and right eye of people is seen
Scape.To each two field picture increase timestamp information in the left and right two-path video stream that collects, timestamp is by collecting device(Or be
The embedded device of 3D stereo video streamings is gathered in the prior art)Current system time and collection is consumed per frame video image
Time constitute, i.e., the time that its constituted mode is consumed for the current collection time at moment plus the every frame video image of collection, list
Position is millisecond.Because 3D video sources or so two-path video is gathered, and acquisition frame rate (the video image number of collection each second simultaneously
Amount) it is identical, so the time that collection is consumed per frame video image is identical, and due to using identical system time, so left
Video flowing video frame time stamp corresponding with right wing video flowing in road is identical.For the different abnormal feelings of left and right video flowing timestamp
Condition, it is both final timestamps to take less timestamp in both.
Such as system time is 20,170,209 12:12:12, it is that 60 frames are per second per road video acquisition frame rate, one frame of collection is regarded
Frequency image institute elapsed time is that 1000 milliseconds (being equal to 1000 milliseconds within wherein 1 second) divided by 60 are approximately equal to 16.6 milliseconds, then accordingly
Timestamp is, 0 second to 20,170,209 12 January 1 day 0 point 0 minute of 1970 Greenwich Mean Time:12:12 total millisecond number is added
16.6 milliseconds.
Step S2, compression of images is carried out to left and right two-path video stream respectively, and the left and right two-path video stream after compression is merged
For the single channel video flowing of 3D left-right formats.
The process that left and right two-path video is formed to complete piece image is, synchronous left and right video image is each in level
The original half of direction boil down to, it is highly constant, the image of a frame standard resolution is synthesized after left-right situs, its detailed process can
Referring to Fig. 2.In the present embodiment, using VPSS modules (video processing subsystem, full name of embedded device in the prior art
For Video Process Sub-System) it is compressed.Wherein VPSS is the One function module of embedded device, is to utilize
Hardware provides quick graphics process, the function such as compression.VPSS compression of images is simply handled view data, can't be right
Timestamp is impacted.Then using TDE in embedded device in the prior art(Two Dimensional Engine, figure
Two-dimentional accelerating engine)The single channel video flowing of the 3D left-right formats after being superimposed is overlapped to left and right two-path video stream.Wherein
TDE is the One function module of embedded device, is to provide quick graphic plotting, overlaying function using hardware.3D or so lattice
Still retain original timestamp per frame video image in the single channel video flowing of formula.
Step S3, encodes to the single channel video flowing of 3D left-right formats, is stored as 3D video files.
The single channel video flowing of 3D left-right formats is encoded, conventional coded system have H.264, H.323, MPEG and
JPEG, is not enumerated herein, using H.264 encoding in the embodiment of the present invention, then by the list of the 3D left-right formats after coding
Road video stream data is stored as the 3D video files of mp4 reference formats.
Because two-way video stream will write two-path video flow data, and single channel video flowing need to only write video fluxion all the way
According to.Because the video flowing for being stored in video file is single channel video flowing in the present invention, so the 3D stereoscopic video files ratio of generation is write
The file for entering two-way video stream is small, saves disk space.For example:Left and right two-way is 1080P video flowing, if by two
Road video flowing is stored in same mp4 files, then the size of file is the size of two 1080P video flowings.And single channel video flowing
After video fusion is carried out, its resolution ratio is still 1080P, is deposited into mp4 files, and file size is that a 1080P is regarded
The size of frequency stream.
If video player supports 3D video playbacks, it can directly play, 2D form broadcastings are otherwise carried out to it.Broadcast
Put this 3D stereoscopic video file, it is not necessary to which third party's player is modified, facilitate the use of client.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, without departing from the technical principles of the invention, some improvement and modification can also be made, these improvement and modification
Also it should be regarded as protection scope of the present invention.
Claims (6)
1. a kind of 3D three-dimensional video-frequencies method for recording, it is characterized in that, comprise the following steps:
Step S1, while gathering left and right two-path video stream, adds timestamp on each two field picture of two-path video stream;
Step S2, compression of images is carried out to left and right two-path video stream respectively, and the left and right two-path video stream after compression is fused into 3D
The single channel video flowing of left-right format, still retains original timestamp per two field picture;
Step S3, encodes to the single channel video flowing of 3D left-right formats, is stored as 3D video files.
2. a kind of 3D three-dimensional video-frequencies method for recording according to claim 1, it is characterized in that, timestamp is the current collection moment
The time that time is consumed plus collection per frame video image.
3. a kind of 3D three-dimensional video-frequencies method for recording according to claim 2, it is characterized in that, correspondence in the two-path video stream of left and right
Every two field picture timestamp it is identical.
4. a kind of 3D three-dimensional video-frequencies method for recording according to claim 1, it is characterized in that, left and right two-path video is fused to
The process of the single channel video of 3D left-right formats is, by each boil down in the horizontal direction of synchronous left and right video image it is original one
Half, it is highly constant, a two field picture is synthesized after left-right situs.
5. a kind of 3D three-dimensional video-frequencies method for recording according to claim 1, it is characterized in that, coded system for H.264,
H.323, MPEG or JPEG.
6. a kind of 3D three-dimensional video-frequencies method for recording according to claim 1, it is characterized in that, 3D video files are marked using mp4
Quasiconfiguaration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710416449.XA CN107295326A (en) | 2017-06-06 | 2017-06-06 | A kind of 3D three-dimensional video-frequencies method for recording |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710416449.XA CN107295326A (en) | 2017-06-06 | 2017-06-06 | A kind of 3D three-dimensional video-frequencies method for recording |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107295326A true CN107295326A (en) | 2017-10-24 |
Family
ID=60094279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710416449.XA Pending CN107295326A (en) | 2017-06-06 | 2017-06-06 | A kind of 3D three-dimensional video-frequencies method for recording |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107295326A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108900928A (en) * | 2018-07-26 | 2018-11-27 | 宁波视睿迪光电有限公司 | Method and device, the 3D screen client, Streaming Media Cloud Server of naked eye 3D live streaming |
CN109194436A (en) * | 2018-11-01 | 2019-01-11 | 百度在线网络技术(北京)有限公司 | Sensor time stabs synchronous detecting method, device, equipment, medium and vehicle |
CN109547768A (en) * | 2018-11-05 | 2019-03-29 | 万维科研有限公司 | The method for generating the accurate depth map of 3 D video |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102340681A (en) * | 2010-07-26 | 2012-02-01 | 深圳市锐取软件技术有限公司 | 3D (three-dimensional) stereo video single-file double-video stream recording method |
US20130321594A1 (en) * | 2012-06-05 | 2013-12-05 | Mstar Semiconductor, Inc. | Image Synchronization Method and Associated Apparatus |
CN104813659A (en) * | 2013-03-21 | 2015-07-29 | 联发科技股份有限公司 | Video frame processing method |
CN104935914A (en) * | 2014-03-19 | 2015-09-23 | 宏达国际电子股份有限公司 | Electronic device and image photographing method thereof |
CN105898283A (en) * | 2016-06-21 | 2016-08-24 | 北京奇虎科技有限公司 | Synchronous shooting circuit, device and method |
-
2017
- 2017-06-06 CN CN201710416449.XA patent/CN107295326A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102340681A (en) * | 2010-07-26 | 2012-02-01 | 深圳市锐取软件技术有限公司 | 3D (three-dimensional) stereo video single-file double-video stream recording method |
US20130321594A1 (en) * | 2012-06-05 | 2013-12-05 | Mstar Semiconductor, Inc. | Image Synchronization Method and Associated Apparatus |
CN104813659A (en) * | 2013-03-21 | 2015-07-29 | 联发科技股份有限公司 | Video frame processing method |
CN104935914A (en) * | 2014-03-19 | 2015-09-23 | 宏达国际电子股份有限公司 | Electronic device and image photographing method thereof |
CN105898283A (en) * | 2016-06-21 | 2016-08-24 | 北京奇虎科技有限公司 | Synchronous shooting circuit, device and method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108900928A (en) * | 2018-07-26 | 2018-11-27 | 宁波视睿迪光电有限公司 | Method and device, the 3D screen client, Streaming Media Cloud Server of naked eye 3D live streaming |
CN109194436A (en) * | 2018-11-01 | 2019-01-11 | 百度在线网络技术(北京)有限公司 | Sensor time stabs synchronous detecting method, device, equipment, medium and vehicle |
CN109547768A (en) * | 2018-11-05 | 2019-03-29 | 万维科研有限公司 | The method for generating the accurate depth map of 3 D video |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101362647B1 (en) | System and method for generating and palying three dimensional image file including two dimensional image | |
CN103202021B (en) | Code device, decoding apparatus, transcriber, coding method and coding/decoding method | |
JP2004274125A (en) | Image processing apparatus and method | |
KR101490689B1 (en) | Method and apparatus for generating a stereoscopic image datastream using a camera parameter, and method and apparatus for reconstructing a stereoscopic image using the same | |
KR101362941B1 (en) | Method and Apparatus for decoding metadata used for playing stereoscopic contents | |
EP2158768B1 (en) | System and method for generating and regenerating 3d image files based on 2d image media standards | |
US8878836B2 (en) | Method and apparatus for encoding datastream including additional information on multiview image and method and apparatus for decoding datastream by using the same | |
JP6320366B2 (en) | System and method for generating and playing 3D stereoscopic video files based on 2D video media standards | |
WO2008054100A1 (en) | Method and apparatus for decoding metadata used for playing stereoscopic contents | |
CN102474638A (en) | Combining 3D video and auxiliary data | |
KR20050121246A (en) | 3-dimensional image creation device, 3-dimensional image reproduction device, 3-dimensional image processing device, 3-dimensional image processing program, and recording medium containing the program | |
CN102340681A (en) | 3D (three-dimensional) stereo video single-file double-video stream recording method | |
CN107295326A (en) | A kind of 3D three-dimensional video-frequencies method for recording | |
TW201242336A (en) | Transferring of 3D image data | |
CN112532963B (en) | AR-based three-dimensional holographic real-time interaction system and method | |
TW201215104A (en) | Letterbox margin processing method, letterbox margin processing apparatus and video processing system | |
CN104205824A (en) | Method for generating, transporting and reconstructing a stereoscopic video stream | |
KR101591703B1 (en) | 3 3 Method and apparatus for generating 3-dimensional image datastream and method and apparatus for receiving 3-dimensional image datastream | |
Kim et al. | Efficient stereoscopic contents file format on the basis of ISO base media file format | |
KR101453084B1 (en) | Portable terminal and method for generating and playing three dimensional image file | |
EP1547397A1 (en) | Method and system for stereoscopic representation | |
CN103428463B (en) | 3D video source stores method and apparatus and 3D video broadcasting method and device | |
KR101659623B1 (en) | A method for processing data and stereo scopic image palying device | |
CN114554232A (en) | Mixed reality live broadcast method and system based on naked eye 3D |
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: 20171024 |