CN102413350B - Method for processing blue-light 3D (three-dimensional) video - Google Patents

Method for processing blue-light 3D (three-dimensional) video Download PDF

Info

Publication number
CN102413350B
CN102413350B CN201110389707.2A CN201110389707A CN102413350B CN 102413350 B CN102413350 B CN 102413350B CN 201110389707 A CN201110389707 A CN 201110389707A CN 102413350 B CN102413350 B CN 102413350B
Authority
CN
China
Prior art keywords
video
blue light
content
file
right wing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110389707.2A
Other languages
Chinese (zh)
Other versions
CN102413350A (en
Inventor
曾超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201110389707.2A priority Critical patent/CN102413350B/en
Publication of CN102413350A publication Critical patent/CN102413350A/en
Application granted granted Critical
Publication of CN102413350B publication Critical patent/CN102413350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a video processing technique. The invention provides a method for processing a blue-light 3D (three-dimensional) video which is used for solving the problem that a blue-light 3D program cannot be directly broadcast by an existing stereo display terminal, such as 3D television, 3D mobile phone, and the like. The technical scheme is that the method comprises the following steps: firstly, introducing a content of the blue-light 3D video; setting parameters of a to-be-transcoded video according to the demands of different stereo display terminals; separating the content of the blue-light 3D video; outputting a left-path video, a right-path forecasting video and an audio file; decoding and encoding the right-path forecasting video, thereby acquiring a right-path video; merging the left-path video, the audio and the right-path video; arraying the left-path video and the right-path video into a 3D image spliced pattern according to different stereo display terminals; and lastly, calling an audio/video encoding library to encode a merged content and acquiring a video playing file after ending the encoding. The method for processing the blue-light 3D video has the beneficial effects of being convenient for a user and being suitable to broadcast the blue-light 3D program.

Description

Blue light 3D method for processing video frequency
Technical field
The present invention relates to video processing technique, particularly the processing method of blue light 3D video.
Background technology
In video technique field, main development trend be pursue to natural scene more truly, feature clearly.Simulated television, through development and the application of many decades, nowadays will be replaced by Digital Television, and HD digital TV (HDTV), by increasing the resolution of image demonstration, has further improved the authenticity of vision.Current two dimensional surface video has made it can not meet people to the true demand with naturally reproducing of scene in the limitation that represents natural scene depth information method.Eyes are when observing object, slightly variant on the image space of object on retina of both eyes, are called binocular parallax.Binocular parallax, through the fusion of brain visual cortex, strengthens the three-dimensional perceived effect of people for real world.Binocular tri-dimensional video utilizes human eye binocular parallax characteristic, use two video cameras from two different points of view (viewpoint spacing generally equals people's binocular spacing), to obtain two images of same scenery, and then the right and left eyes that two images are presented to respectively to people, brain by process a left side and look and right view picture between spacing, in perceptual image, the depth information of scenery, makes the image of enjoying have strong depth perception and realism.Because the video of blue light 3D program adopts H.264MVC larger as video compression standard and code check, conventionally need blue light 3D player ability normal play, at present the stereo display terminal such as 3D TV, 3D mobile phone can't be play-overed blue light 3D program, therefore blue light 3D program format is converted to the form that existing 3D product can play the popularization of 3D product is had to important function.For the processing of blue light 3D video, also do not improve at present and unified method.
Summary of the invention
The shortcoming that the present invention seeks to overcome the stereo display terminals such as current 3D TV, 3D mobile phone and can't play-over blue light 3D program, provides a kind of blue light 3D method for processing video frequency.
The present invention is that blue light 3D method for processing video frequency, is characterized in that, comprises the following steps for solving the problems of the technologies described above adopted technical scheme:
A. import blue light 3D video content, according to the requirement of different stereo display terminals, set the parameter for the treatment of transcoding video;
B. blue light 3D content is separated, export left road video, right wing prediction video and audio file;
C. by right wing prediction video decode, decode content is encoded and obtained right wing video;
D.Jiang Zuo road video, audio frequency and right wing video merge, and according to different stereo display terminal Jiang Zuo road videos and right wing video, are arranged in 3D rendering connecting method;
E. call the content that audio/video coding storehouse is combined and encode, until end-of-encode obtains video playback file.
Concrete, in step a, described parameter comprises resolution, frame per second, code check, coding mode and reference frame number.
Further, described resolution is 1080p or 720p or 480p; Described frame per second is 23.976fps or 24fps or 25fps or 29.97fps or 30fps or 60fps; The span of described code check is 1000~30000Kbps.
Concrete, in step a, during described importing blue light 3D video content, also import LOGO file;
Further comprising the steps of between step c and steps d:
F. the LOGO file of importing is added to left road video and right wing video, and the abscissa that adds position in left road video and right wing video is made as to different value.
Further, described LOGO file is static LOGO file or dynamic LOGO file.
Concrete, when blue light 3D content is separated described in step b, also export subtitle file;
Further comprising the steps of between described step b and step c:
G. the subtitle file of output is changed, be divided into left and right road subtitle file, by subtitle file abscissa of position in video in left and right road is made as to different value;
In steps d, when described Jiang Zuo road video, audio frequency and right wing video merge, also by with conversion after subtitle file merge.
Further, in step c, the concrete grammar of its decoding and coding is:
C1. in host process, create decoding process, coding process and named pipes, host process is in waiting for connection status;
C2. every decoding one two field picture of the process of decoding sends and writes connection request to host process, waits for request results, and host process receives to be write after connection request, judges whether named pipes is full, if not to decoding process, send request successfully, otherwise do not send;
C3. the process of decoding, receiving after the successful message of request, writes named pipes by the data of a decode two field picture, asks success message to cross certain hour get back to c2 step and continue to send and write connection request if do not receive;
When the process of c4. encoding completes content encoded content at every turn, to host process, send and read connection request, wait for request results, host process is read after connection request receiving, and judge whether named pipes is to expire, if send request successfully to coding process, otherwise do not send;
C5. the process of encoding is receiving after the successful message of request, and from named pipes sense data and pipeline is emptied, if do not receive, request success message crosses certain hour and get back to c4 step and continue to send and read connection request;
C6. repeat c2-c5 step and obtain all right wing videos.
Concrete, 3D rendering connecting method is Side-by-Side or Up-and-Down or Line Interleaved described in steps d.
The invention has the beneficial effects as follows, by above-mentioned blue light 3D method for processing video frequency, efficiently solve the stereo display terminals such as current 3D TV, 3D mobile phone and can't play-over the problem of blue light 3D program, make the stereo display terminals such as 3D TV or 3D mobile phone can play blue light 3D program, facilitate user.
Embodiment
Blue light 3D method for processing video frequency of the present invention is: first import blue light 3D video content, according to the requirement of different stereo display terminals, set the parameter for the treatment of transcoding video, then blue light 3D content is separated, export left road video, right wing prediction video and audio file, again by right wing is predicted to video decode, decode content is encoded and obtained right wing video, and then Jiang Zuo road video, audio frequency and right wing video merge, according to different stereo display terminal Jiang Zuo road videos and right wing video, be arranged in 3D rendering connecting method, finally calling the content that audio/video coding storehouse is combined encodes, until end-of-encode, obtain video playback file.
Embodiment
This example also imports LOGO file when importing blue light 3D video content, also exports subtitle file when blue light 3D content is separated.
First import blue light 3D video content and LOGO file, here LOGO file can be static LOGO file or dynamic LOGO file, according to the requirement of different stereo display terminals, set the parameter for the treatment of transcoding video, this parameter comprises resolution, frame per second, code check, coding mode and reference frame number etc., wherein, resolution can be 1080p or 720p or 480p etc., frame per second can be 23.976fps or 24fps or 25fps or 29.97fps or 30fps or 60fps etc., the span of code check is 1000~30000Kbps, then blue light 3D content is separated, export left road video, right wing prediction video, audio file and subtitle file, again the subtitle file of output is changed, be divided into left and right road subtitle file, by subtitle file abscissa of position in video in left and right road is made as to different value, realize the right and left eyes parallax of subtitle file, and then by right wing is predicted to video decode, decode content is encoded and obtained right wing video, when decoding and coding, for fear of the temporary file that generates large volume, the shortening processing time in host process, creates decoding process and coding process realizes two communications between process by the mode of named pipes, its communication mode is: in host process, create decoding process, coding process and named pipes, host process is in waiting for connection status, then every decoding one two field picture of the process of decoding sends and writes connection request to host process, wait for request results, host process receives to be write after connection request, judge whether named pipes is full, if not send request successfully to decoding process, otherwise do not send, decoding process is receiving after the successful message of request, the data of a decode two field picture are write to named pipes, if not receiving request success message crosses certain hour and continues to send and write connection request, when coding process completes content encoded content at every turn, to host process, send and read connection request, wait for request results, host process is read after connection request receiving, judge whether named pipes is full, if send request successfully to coding process, otherwise do not send, coding process is receiving after the successful message of request, from named pipes sense data and pipeline is emptied, if not receiving request success message crosses certain hour and continues to send and read connection request, repeat said process and obtain all right wing videos.And then the LOGO file of importing is added to left road video and right wing video, and the abscissa that adds position in left road video and right wing video is made as to different value, to realize the right and left eyes parallax of LOGO file, Zai Jiangzuo road video, audio frequency, subtitle file after right wing video and conversion merges, according to different stereo display terminal Jiang Zuo road videos and right wing video, be arranged in 3D rendering connecting method, as Side-by-Side or Up-and-Down or Line Interleaved etc., finally calling the content that audio/video coding storehouse is combined encodes, until end-of-encode, obtain video playback file.

Claims (9)

1. blue light 3D method for processing video frequency, is characterized in that, comprises the following steps:
A. import blue light 3D video content, according to the requirement of different stereo display terminals, set the parameter for the treatment of transcoding video;
B. blue light 3D content is separated, export left road video, right wing prediction video and audio file;
C. by right wing prediction video decode, decode content is encoded and obtained right wing video, the concrete grammar of its decoding and coding is:
C1. in host process, create decoding process, coding process and named pipes, host process is in waiting for connection status;
C2. every decoding one two field picture of the process of decoding sends and writes connection request to host process, waits for request results, and host process receives to be write after connection request, judges whether named pipes is full, if not to decoding process, send request successfully, otherwise do not send;
C3. the process of decoding, receiving after the successful message of request, writes named pipes by the data of a decode two field picture, asks success message to cross certain hour get back to c2 step and continue to send and write connection request if do not receive;
When the process of c4. encoding completes content encoded content at every turn, to host process, send and read connection request, wait for request results, host process is read after connection request receiving, and judge whether named pipes is to expire, if send request successfully to coding process, otherwise do not send;
C5. the process of encoding is receiving after the successful message of request, and from named pipes sense data and pipeline is emptied, if do not receive, request success message crosses certain hour and get back to c4 step and continue to send and read connection request;
C6. repeat c2-c5 step and obtain all right wing videos;
D.Jiang Zuo road video, audio frequency and right wing video merge, and according to different stereo display terminal Jiang Zuo road videos and right wing video, are arranged in 3D rendering connecting method;
E. call the content that audio/video coding storehouse is combined and encode, until end-of-encode obtains video playback file.
2. blue light 3D method for processing video frequency according to claim 1, is characterized in that, in step a, described parameter comprises resolution, frame per second, code check, coding mode and reference frame number.
3. blue light 3D method for processing video frequency according to claim 2, is characterized in that, described resolution is 1080p or 720p or 480p.
4. blue light 3D method for processing video frequency according to claim 2, is characterized in that, described frame per second is 23.976fps or 24fps or 25fps or 29.97fps or 30fps or 60fps.
5. blue light 3D method for processing video frequency according to claim 2, is characterized in that, the span of described code check is 1000~30000Kbps.
6. blue light 3D method for processing video frequency according to claim 1, is characterized in that, in step a, also imports LOGO file during described importing blue light 3D video content;
Further comprising the steps of between step c and steps d:
F. the LOGO file of importing is added to left road video and right wing video, and the abscissa that adds position in left road video and right wing video is made as to different value.
7. blue light 3D method for processing video frequency according to claim 6, is characterized in that, described LOGO file is static LOGO file or dynamic LOGO file.
8. blue light 3D method for processing video frequency according to claim 1, is characterized in that, when blue light 3D content is separated described in step b, also exports subtitle file;
Further comprising the steps of between described step b and step c:
G. the subtitle file of output is changed, be divided into left and right road subtitle file, by subtitle file abscissa of position in video in left and right road is made as to different value;
In steps d, when described Jiang Zuo road video, audio frequency and right wing video merge, also by with conversion after subtitle file merge.
9. blue light 3D method for processing video frequency according to claim 1, is characterized in that, 3D rendering connecting method is Side-by-Side or Up-and-Down or Line Interleaved described in steps d.
CN201110389707.2A 2011-11-30 2011-11-30 Method for processing blue-light 3D (three-dimensional) video Active CN102413350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110389707.2A CN102413350B (en) 2011-11-30 2011-11-30 Method for processing blue-light 3D (three-dimensional) video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110389707.2A CN102413350B (en) 2011-11-30 2011-11-30 Method for processing blue-light 3D (three-dimensional) video

Publications (2)

Publication Number Publication Date
CN102413350A CN102413350A (en) 2012-04-11
CN102413350B true CN102413350B (en) 2014-04-16

Family

ID=45915151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110389707.2A Active CN102413350B (en) 2011-11-30 2011-11-30 Method for processing blue-light 3D (three-dimensional) video

Country Status (1)

Country Link
CN (1) CN102413350B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780896A (en) * 2012-05-31 2012-11-14 新奥特(北京)视频技术有限公司 Method for supporting three-dimensional (3D) technology through stream media materials
CN102752616A (en) * 2012-06-20 2012-10-24 四川长虹电器股份有限公司 Method for converting double-view three-dimensional video to multi-view three-dimensional video
CN102802002B (en) * 2012-08-14 2015-01-14 上海艾麒信息科技有限公司 Method for mobile phone to play back 3-dimensional television videos
JP6158423B2 (en) 2013-04-10 2017-07-05 ゼットティーイー コーポレイション Depth information encoding and decoding method, system and apparatus
CN108600858B (en) * 2018-05-18 2020-08-04 高新兴科技集团股份有限公司 Video playing method for synchronously displaying AR information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1489857A1 (en) * 2002-03-27 2004-12-22 Sanyo Electric Co., Ltd. 3-dimensional image processing method and device
CN101631257A (en) * 2009-08-06 2010-01-20 中兴通讯股份有限公司 Method and device for realizing three-dimensional playing of two-dimensional video code stream
CN102067613A (en) * 2008-06-24 2011-05-18 三星电子株式会社 Method and apparatus for processing 3D video image
CN102186023A (en) * 2011-04-27 2011-09-14 四川长虹电器股份有限公司 Binocular three-dimensional subtitle processing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102763421B (en) * 2010-02-15 2015-08-26 汤姆森许可贸易公司 The apparatus and method of process video content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1489857A1 (en) * 2002-03-27 2004-12-22 Sanyo Electric Co., Ltd. 3-dimensional image processing method and device
CN102067613A (en) * 2008-06-24 2011-05-18 三星电子株式会社 Method and apparatus for processing 3D video image
CN101631257A (en) * 2009-08-06 2010-01-20 中兴通讯股份有限公司 Method and device for realizing three-dimensional playing of two-dimensional video code stream
CN102186023A (en) * 2011-04-27 2011-09-14 四川长虹电器股份有限公司 Binocular three-dimensional subtitle processing method

Also Published As

Publication number Publication date
CN102413350A (en) 2012-04-11

Similar Documents

Publication Publication Date Title
CN1647546B (en) Method and system for processing compressed video stream of stereoscopic video flow
CN106789991B (en) Multi-person interactive network live broadcast method and system based on virtual scene
US8743178B2 (en) Multi-view video format control
JP6037567B2 (en) Decoding method of 3D video flow corresponding to 2D
CN102413350B (en) Method for processing blue-light 3D (three-dimensional) video
JP5870272B2 (en) Video processing device
TW201143361A (en) Method and system for enhanced 2D video display based on 3D video input
WO2014100020A1 (en) Managing 3d edge effects on autostereoscopic displays
JP2013526145A (en) Method for generating and reconstructing a video stream corresponding to stereoscopic viewing, and associated encoding and decoding device
TW201143362A (en) Method and system for pulldown processing for 3D video
CN102598684A (en) Video signal processing device and video signal processing method
CN102843566B (en) Communication method and equipment for three-dimensional (3D) video data
Champel et al. The special challenges of offering high quality experience for VR video
WO2022142757A1 (en) Video processing method and apparatus, electronic device, and computer readable storage medium
US20140072271A1 (en) Recording apparatus, recording method, reproduction apparatus, reproduction method, program, and recording reproduction apparatus
CN111901628A (en) Cloud rendering method based on zSpace desktop VR all-in-one machine
WO2012165160A1 (en) Playback device, playback method, and program
KR101218815B1 (en) 3D user interface processing method and set-top box using the same
CN202957932U (en) 3D video data communication device and communication system
CN104159144A (en) A high-definition video playing method based on a DirectShow
KR101659623B1 (en) A method for processing data and stereo scopic image palying device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant