CN104811678A - Method and device for carrying out video playing - Google Patents
Method and device for carrying out video playing Download PDFInfo
- Publication number
- CN104811678A CN104811678A CN201410032048.0A CN201410032048A CN104811678A CN 104811678 A CN104811678 A CN 104811678A CN 201410032048 A CN201410032048 A CN 201410032048A CN 104811678 A CN104811678 A CN 104811678A
- Authority
- CN
- China
- Prior art keywords
- frame
- rendering
- eye
- right eye
- eye frame
- 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
Landscapes
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The embodiment of the invention relates to the technical field of video processing, and particularly relates to a method and a device for carrying out video playing so as to be used for watching 3D video on a 2D television. The method provided by the embodiment of the invention comprises the steps of determining a 2D left eye frame and a 2D right eye frame in allusion to a 3D image frame according to the 3D image frame; and alternatively outputting the 2D left eye frames and the 2D right eye frames, which are determined by each 3D image frame, according to a sequence of the 3D image frames. According to the embodiment of the invention, one 2D left eye frame and one 2D right eye frame are determined in allusion to each 3D image frame according to the 3D image frame; and the 2D left eye frames and the 2D right eye frames, which are determined by each 3D image frame, are alternatively outputted according to the sequence of the 3D image frames. 3D video can be watched on the 2D television by adopting the method and the device provided by the embodiment of the invention.
Description
Technical field
The present invention relates to technical field of video processing, particularly a kind of method and apparatus carrying out video playback.
Background technology
Along with the develop rapidly of image technique, HD video cannot meet the demand of people.3D video is liked by increasing people.
If need at first to appreciate 3D video, it is all generally middle viewing at the cinema.Along with the development of TV tech, the appearance of 3D TV makes people be in just can watch 3D video.
3D TV is the abbreviation of 3 D stereoscopic image TV.It utilizes the eyes of people to observe the angle slightly difference of object, therefore, it is possible to distinguish that object is far and near, produces three-dimensional this principle of vision, and the image that right and left eyes is seen is separated.
Although the appearance of 3D TV can make people be in just can watch 3D video, 3D TV price generally higher than 2D TV, and temporarily cannot buy 3D TV for the user just buying 2D TV, so just limits the development of 3D technology.A kind of technology is not had can to watch 3D video on 2D TV at present yet.
In sum, 3D video cannot be watched on 2D TV at present.
Summary of the invention
The invention provides a kind of method and apparatus carrying out video playback, in order to watch 3D video on 2D TV.
The embodiment of the present invention provides a kind of method of carrying out video playback, comprising:
For a 3D rendering frame, according to described 3D rendering frame, determine a 2D left-eye frame and a 2D right eye frame;
According to the order of 3D rendering frame, the 2D left-eye frame determined by each 3D rendering frame and 2D right eye frame are alternately exported.
Preferably, the method also comprises:
While output 2D left-eye frame, control 3D glasses left eye is opened right eye and is closed, and at transmission 2D right eye frame simultaneously, control 3D glasses right eye is opened left eye and closed.
Preferably, according to the order of 3D rendering frame, the 2D left-eye frame determined and 2D right eye frame are alternately exported, comprising by each 3D rendering frames:
For a 3D rendering frame, first transmit the 2D left-eye frame determined by described 3D rendering frame, after described 2D left-eye frame is transmitted, transmit the 2D right eye frame determined by described 3D rendering frame.
Preferably, according to the order of 3D rendering frame, the 2D left-eye frame determined and 2D right eye frame are alternately exported, also comprise by each 3D rendering frames:
When 2D left-eye frame and 2D right eye frame alternately export, after a frame has exported, one section, interval duration exports next frame;
Wherein, in described one section of duration, export invalid data or do not export any data.
Preferably, described 3D rendering frame is frame encapsulation Frame Packing form 3D two field picture;
For a 3D rendering frame, according to described 3D rendering frame, determine a 2D left-eye frame and a 2D right eye frame, comprising:
For each 3D rendering frame, from each 3D rendering frame, extract a 2D left-eye frame and a 2D right eye frame.
Preferably, described 3D rendering frame is left and right Side-By-Side form 3D two field picture;
For a 3D rendering frame, according to described 3D rendering frame, determine a 2D left-eye frame and a 2D right eye frame, comprising:
For each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively stretch processing is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
Preferably, described 3D rendering frame is upper and lower Top-And-Bottom form 3D two field picture;
For a 3D rendering frame, according to described 3D rendering frame, determine a 2D left-eye frame and a 2D right eye frame, comprising:
For each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively row interpolation process is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
Preferably, the method also comprises:
When conducting frame exports, according to the frame frequency of 3D rendering frame and the frame frequency of output, interpolation method is adopted to carry out frame per second self-adaptive processing.
A kind of equipment carrying out video playback that the embodiment of the present invention provides, comprising:
Processing module, for for a 3D rendering frame, according to described 3D rendering frame, determines a 2D left-eye frame and a 2D right eye frame;
Output module, for the order according to 3D rendering frame, alternately exports the 2D left-eye frame determined by each 3D rendering frame and 2D right eye frame.
Preferably, described processing module also for:
While output 2D left-eye frame, control 3D glasses left eye is opened right eye and is closed, and at transmission 2D right eye frame simultaneously, control 3D glasses right eye is opened left eye and closed.
Preferably, described output module specifically for:
For a 3D rendering frame, first transmit the 2D left-eye frame determined by described 3D rendering frame, after described 2D left-eye frame is transmitted, transmit the 2D right eye frame determined by described 3D rendering frame.
Preferably, described output module also for:
When 2D left-eye frame and 2D right eye frame alternately export, after a frame has exported, one section, interval duration exports next frame;
Wherein, in described one section of duration, export invalid data or do not export any data.
Preferably, described 3D rendering frame is frame encapsulation Frame Packing form 3D two field picture;
Described processing module specifically for:
For each 3D rendering frame, from each 3D rendering frame, extract a 2D left-eye frame and a 2D right eye frame.
Preferably, described 3D rendering frame is Side-By-Side form 3D two field picture;
Described processing module specifically for:
For each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively stretch processing is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
Preferably, described 3D rendering frame is Top-And-Bottom form 3D two field picture;
Described processing module specifically for:
For each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively row interpolation process is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
Preferably, described processing module also for:
When conducting frame exports, according to the frame frequency of 3D rendering frame and the frame frequency of output, interpolation method is adopted to carry out frame per second self-adaptive processing.
The embodiment of the present invention, for a 3D rendering frame, according to described 3D rendering frame, determines a 2D left-eye frame and a 2D right eye frame; According to the order of 3D rendering frame, the 2D left-eye frame determined by each 3D rendering frame and 2D right eye frame are alternately exported.Brain due to people can understand the parallax of right and left eyes, and the distance of judgment object whereby, produce stereoscopic vision, so just can achieve and watch 3D video on 2D TV.
Accompanying drawing explanation
Fig. 1 is the method flow schematic diagram that the embodiment of the present invention one carries out video playback;
Fig. 2 is the schematic diagram of the 3D rendering frame conversion of the embodiment of the present invention two Frame Packing form;
Fig. 3 is the embodiment of the present invention three Frame Packing capable extraction of form valid data and 3D glasses signal schematic representation;
Fig. 4 is that the embodiment of the present invention 48 frame is to 10 frame transition diagram;
Fig. 5 is the schematic diagram of the 3D rendering frame conversion of the embodiment of the present invention five Side-By-Side form;
Fig. 6 is the schematic diagram of the 3D rendering frame conversion of the embodiment of the present invention six Top-And-Bottom form;
Fig. 7 embodiment of the present invention seven carries out the method flow schematic diagram of video playback for three kinds of 3D forms;
Fig. 8 embodiment of the present invention eight carries out the device structure schematic diagram of video playback;
Fig. 9 embodiment of the present invention nine carries out the device structure schematic diagram of video playback;
Figure 10 embodiment of the present invention ten carries out the device structure schematic diagram of video playback;
Figure 11 embodiment of the present invention 11 carries out the system schematic of video playback.
Embodiment
The embodiment of the present invention, for a 3D rendering frame, according to described 3D rendering frame, determines a 2D left-eye frame and a 2D right eye frame; According to the order of 3D rendering frame, the 2D left-eye frame determined by each 3D rendering frame and 2D right eye frame are alternately exported.Brain due to people can understand the parallax of right and left eyes, and the distance of judgment object whereby, produce stereoscopic vision, so just can achieve and watch 3D video on 2D TV.
Below in conjunction with Figure of description, the embodiment of the present invention is described in further detail.
As shown in Figure 1, the method that the embodiment of the present invention one carries out video playback comprises:
Step 101, for a 3D rendering frame, according to described 3D rendering frame, determine a 2D left-eye frame and a 2D right eye frame;
Step 102, order according to 3D rendering frame, alternately export the 2D left-eye frame determined by each 3D rendering frame and 2D right eye frame.
Preferably, while output 2D left-eye frame, control 3D glasses left eye is opened right eye and is closed, and at transmission 2D right eye frame simultaneously, control 3D glasses right eye is opened left eye and closed.
Preferably, according to the order of 3D rendering frame, the 2D left-eye frame determined and 2D right eye frame are alternately exported, comprising by each 3D rendering frames:
For a 3D rendering frame, first transmit the 2D left-eye frame determined by described 3D rendering frame, after described 2D left-eye frame is transmitted, transmit the 2D right eye frame determined by described 3D rendering frame.
Preferably, according to the order of 3D rendering frame, the 2D left-eye frame determined and 2D right eye frame are alternately exported, also comprise by each 3D rendering frames:
When 2D left-eye frame and 2D right eye frame alternately export, after a frame has exported, one section, interval duration exports next frame;
Wherein, in described one section of duration, export invalid data or do not export any data.
According to protocol requirement, the frame head of every frame and postamble include some data, these data are not effective view data, but some control informations (such as, this frame is secured transmission of payload data etc. from after which VSYNC being detected), these be not a part in picture, do not need to be seen by human eye, so invalid data can be exported during this period of time or do not export any data.
Regardless of which kind of 3D rendering frame format, in each 3D rendering frame, left eye data and right eye data can be comprised, so regardless of which kind of 3D rendering frame format, 2D left-eye frame and 2D right eye frame can be determined.Just different 3D rendering frame formats, the mode of the 2D left-eye frame determined and 2D right eye frame is different, enumerates several mode below.
Mode one, Frame Packing(frame encapsulate) the 3D rendering frame of form.
Frame Packing form has two packets in a 3D rendering frame, the image of left-eye frame and right eye frame respectively, separate (Active Space, does not comprise video content, but comprises other information such as audio frequency, OSD) with one section of blank data area between two packets.
Concrete, for each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively process is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
As shown in Figure 2, when the 3D rendering frame of the embodiment of the present invention to Frame Packing form processes, need by the packet of two in a picture frame separately, using the packet for left eye as a 2D left-eye frame, using the packet for right eye as a 2D right eye frame.
In force, a linage-counter and 3D crystal control signal can be adopted.In 2D left-eye frame transmitting procedure, counter counts horizontal synchronizing pulse signal, when confirming that left-eye image exports complete, producing invalid frame and is masked blank data area or do not send any signal in blank data area, then continues to export 2D right eye frame.
Wherein, for the 3D data format that each is concrete, row field information known (such as the data format of 1280 × 720p of Frame packing form), counts horizontal synchronizing pulse signal, when count value reaches 1280, key diagram is as end of transmission.
3D crystal control signal comprises left eye control signal and right eye control signal.
When exporting 2D left-eye frame, left eye control signal becomes useful signal, and right eye control signal becomes invalid signals, opens left eye close right eye to indicate 3D glasses; When exporting 2D right eye frame, left eye control signal becomes invalid signals, and right eye control signal becomes useful signal, opens right eye close left eye to indicate 3D glasses.The signal be specifically related to can see Fig. 3.
In Fig. 3, comprise field system chronizing impulse signal (VSYNC), horizontal synchronizing pulse signal (HSYNC), data valid signal (DATA_ENABLE) and 3D crystal control signal (LEFT_VALID).
Wherein, field system chronizing impulse signal (VSYNC) and horizontal synchronizing pulse signal (HSYNC) are the signals in agreement, and the equipment Inspection of the embodiment of the present invention, to these two signals, knows that the data when received are valid data, generating these two signals according to agreement regulation, output in HDMI;
Data valid signal (DATA_ENABLE) is for needing the data of output display;
Left eye control signal (Left_valid) is for control 3D glasses, and Left_valid is high, represents that left eye is opened, for low expression left eye closes;
Right eye control signal (Right_valid) is for control 3D glasses, and Right_valid is high, represents that left eye is opened, for low expression left eye closes.
Due to 2D left-eye frame and 2D right eye frame alternately export time, after a frame has exported, the one section of duration in interval exports next frame, so in the duration of interval, left eye control signal and right eye control signal are all invalid, and the right and left eyes of such 3D glasses just all closes.
Brain due to people can understand the parallax of right and left eyes, and the distance of judgment object whereby, produce stereoscopic vision, utilize active shutter type 3 D spectacles, ensure that right and left eyes sees corresponding picture in the correct moment, and refresh rate is enough high, so just can achieve and watch 3D video on 2D TV.
The 3D glasses that the signal handled well can be sent to 2D TV and match by the embodiment of the present invention respectively, what on 2D TV, two a series of paintings faces of right and left eyes replaced continuously shows (3D rendering to the conversion of 2D image as Fig. 2), and the right and left eyes switch of 3D glasses can be controlled by wireless transmitting terminals, see corresponding picture in the correct moment, thus realize the image effect of 3D.
Preferably, when conducting frame exports, according to the frame frequency of 3D rendering frame and the frame frequency of output, interpolation method is adopted to carry out frame per second self-adaptive processing.
For 1080p × 24Hz, because output frequency is 60Hz, and the field frequency of 1080p × 24Hz is that (1080p × 24Hz is the frame frequency of 3D video source to 24Hz, right and left eyes two frame is had in this 3D video, be equivalent to 48Hz), therefore can enter with 4 frames, frame frequency is brought up to 60Hz (shown in Fig. 4 by the method that 10 frames go out, F3(L in Fig. 4) identify the 3rd left-eye frame, other are similar).
Such as according to the header packet information of the 3D Frame received, resolving the 3D data format obtained is 1080p × 24Hz, and the frame frequency namely inputted is 24Hz, output is 60Hz, cycle 1/24 and 1/60, transmission time 1/24*4=1/60*10, so just determine that 4 frames enter, 10 frames go out;
Then by the method for interpolation, frame frequency is brought up to 60Hz; As can be seen from Figure 4, F0,1 is repeated 4 times.
Mode two, about Side-By-Side() the 3D rendering frame of form.
One 3D rendering frame of Side-By-Side form is left-right format.In one frame image data of left-right format, containing left and right two width image, contain the information of each half of right and left eyes, compared with the common 2D signal of equal resolution, both horizontal total pixel numbers are equal, and vertical line number is also equal, and pixel clock frequency is also equal.But because left-right format is that after compressing 1/2 in the horizontal direction by left images, merging forms, therefore horizontal resolution is the half of normal 2D video in fact, needs again to stretch one times in the horizontal direction during broadcasting.
Concrete, for each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively stretch processing is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
The mode stretched has a variety of, such as arest neighbors interpolation, bilinear interpolation, cube sum etc.
As shown in Figure 5, when the embodiment of the present invention processes Side-By-Side left-right format, respectively by the data buffer storage of right and left eyes to corresponding memory, the data in memory can be carried out the stretching of horizontal direction simultaneously.
In force, a linage-counter and 3D crystal control signal can be adopted.In 2D left-eye frame transmitting procedure, counter counts horizontal synchronizing pulse signal, when confirming that left-eye image exports complete, producing invalid frame and is masked blank data area or do not send any signal in blank data area, then continues to export 2D right eye frame.
Wherein, for the 3D data format that each is concrete, row field information known (such as the data format of 1280 × 720p of Frame packing form), counts horizontal synchronizing pulse signal, when count value reaches 1280, key diagram is as end of transmission.
3D crystal control signal comprises left eye control signal and right eye control signal.
When exporting 2D left-eye frame, left eye control signal becomes useful signal, and right eye control signal becomes invalid signals, opens left eye close right eye to indicate 3D glasses; When exporting 2D right eye frame, left eye control signal becomes invalid signals, and right eye control signal becomes useful signal, opens right eye close left eye to indicate 3D glasses.The signal be specifically related to can see Fig. 3.
In Fig. 3, comprise field system chronizing impulse signal (VSYNC), horizontal synchronizing pulse signal (HSYNC), data valid signal (DATA_ENABLE) and 3D crystal control signal (LEFT_VALID).
Wherein, field system chronizing impulse signal (VSYNC) and horizontal synchronizing pulse signal (HSYNC) are the signals in agreement, and the equipment Inspection of the embodiment of the present invention, to these two signals, knows that the data when received are valid data, generating these two signals according to agreement regulation, output in HDMI;
Data valid signal (DATA_ENABLE) is for needing the data of output display;
Left eye control signal (Left_valid) is for control 3D glasses, and Left_valid is high, represents that left eye is opened, for low expression left eye closes;
Right eye control signal (Right_valid) is for control 3D glasses, and Right_valid is high, represents that left eye is opened, for low expression left eye closes.
Due to 2D left-eye frame and 2D right eye frame alternately export time, after a frame has exported, the one section of duration in interval exports next frame, so in the duration of interval, left eye control signal and right eye control signal are all invalid, and the right and left eyes of such 3D glasses just all closes.
Brain due to people can understand the parallax of right and left eyes, and the distance of judgment object whereby, produce stereoscopic vision, utilize active shutter type 3 D spectacles, ensure that right and left eyes sees corresponding picture in the correct moment, and refresh rate is enough high, so just can achieve and watch 3D video on 2D TV.
The 3D glasses that the signal handled well can be sent to 2D TV and match by the embodiment of the present invention respectively, what on 2D TV, two a series of paintings faces of right and left eyes replaced continuously shows (3D rendering to the conversion of 2D image as Fig. 2), and the right and left eyes switch of 3D glasses can be controlled by wireless transmitting terminals, see corresponding picture in the correct moment, thus realize the image effect of 3D.
Preferably, when conducting frame exports, according to the frame frequency of 3D rendering frame and the frame frequency of output, interpolation method is adopted to carry out frame per second self-adaptive processing.
For 1080p × 24Hz, because output frequency is 60Hz, and the field frequency of 1080p × 24Hz is that (1080p × 24Hz is the frame frequency of 3D video source to 24Hz, right and left eyes two frame is had in this 3D video, be equivalent to 48Hz), therefore can enter with 4 frames, frame frequency is brought up to 60Hz (shown in Fig. 4) by the method that 10 frames go out.
Such as according to the header packet information of the 3D Frame received, resolving the 3D data format obtained is 1080p × 24Hz, and the frame frequency namely inputted is 24Hz, output is 60Hz, cycle 1/24 and 1/60, transmission time 1/24*4=1/60*10, so just determine that 4 frames enter, 10 frames go out;
Then by the method for interpolation, frame frequency is brought up to 60Hz; As can be seen from Figure 4, F0,1 is repeated 4 times.
Mode three, Top-And-Bottom(are upper and lower) the 3D rendering frame of form.
One 3D rendering frame of Top-And-Bottom form is top-down format.In one frame image data of top-down format, containing upper and lower two width images, contain the information of each half of right and left eyes, compared with the common 2D signal of equal resolution, both horizontal total pixel numbers are equal, and vertical line number is also equal, and pixel clock frequency is also equal.But because top-down format is that after compressing 1/2 in vertical direction by upper hypograph, merging forms, therefore vertical resolution is the half of normal 2D video in fact, need carry out row interpolation process in vertical direction during broadcasting.
Concrete, for each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively row interpolation process is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
As shown in Figure 6, when the embodiment of the present invention processes Top-And-Bottom left-right format, respectively by the data buffer storage of right and left eyes to corresponding memory, the data in memory can be carried out row interpolation process simultaneously.
In force, a linage-counter and 3D crystal control signal can be adopted.In 2D left-eye frame transmitting procedure, counter counts horizontal synchronizing pulse signal, when confirming that left-eye image exports complete, producing invalid frame and is masked blank data area or do not send any signal in blank data area, then continues to export 2D right eye frame.
Wherein, for the 3D data format that each is concrete, row field information known (such as the data format of 1280 × 720p of Frame packing form), counts horizontal synchronizing pulse signal, when count value reaches 1280, key diagram is as end of transmission.
3D crystal control signal comprises left eye control signal and right eye control signal.
When exporting 2D left-eye frame, left eye control signal becomes useful signal, and right eye control signal becomes invalid signals, opens left eye close right eye to indicate 3D glasses; When exporting 2D right eye frame, left eye control signal becomes invalid signals, and right eye control signal becomes useful signal, opens right eye close left eye to indicate 3D glasses.The signal be specifically related to can see Fig. 3.
In Fig. 3, comprise field system chronizing impulse signal (VSYNC), horizontal synchronizing pulse signal (HSYNC), data valid signal (DATA_ENABLE) and 3D crystal control signal (LEFT_VALID).
Wherein, field system chronizing impulse signal (VSYNC) and horizontal synchronizing pulse signal (HSYNC) are the signals in agreement, and the equipment Inspection of the embodiment of the present invention, to these two signals, knows that the data when received are valid data, generating these two signals according to agreement regulation, output in HDMI;
Data valid signal (DATA_ENABLE) is for needing the data of output display;
Left eye control signal (Left_valid) is for control 3D glasses, and Left_valid is high, represents that left eye is opened, for low expression left eye closes;
Right eye control signal (Right_valid) is for control 3D glasses, and Right_valid is high, represents that left eye is opened, for low expression left eye closes.
Due to 2D left-eye frame and 2D right eye frame alternately export time, after a frame has exported, the one section of duration in interval exports next frame, so in the duration of interval, left eye control signal and right eye control signal are all invalid, and the right and left eyes of such 3D glasses just all closes.
Brain due to people can understand the parallax of right and left eyes, and the distance of judgment object whereby, produce stereoscopic vision, utilize active shutter type 3 D spectacles, ensure that right and left eyes sees corresponding picture in the correct moment, and refresh rate is enough high, so just can achieve and watch 3D video on 2D TV.
The 3D glasses that the signal handled well can be sent to 2D TV and match by the embodiment of the present invention respectively, what on 2D TV, two a series of paintings faces of right and left eyes replaced continuously shows (3D rendering to the conversion of 2D image as Fig. 2), and the right and left eyes switch of 3D glasses can be controlled by wireless transmitting terminals, see corresponding picture in the correct moment, thus realize the image effect of 3D.
Preferably, when conducting frame exports, according to the frame frequency of 3D rendering frame and the frame frequency of output, interpolation method is adopted to carry out frame per second self-adaptive processing.
For 1080p × 24Hz, because output frequency is 60Hz, and the field frequency of 1080p × 24Hz is that (1080p × 24Hz is the frame frequency of 3D video source to 24Hz, right and left eyes two frame is had in this 3D video, be equivalent to 48Hz), therefore can enter with 4 frames, frame frequency is brought up to 60Hz (shown in Fig. 4) by the method that 10 frames go out.
Such as according to the header packet information of the 3D Frame received, resolving the 3D data format obtained is 1080p × 24Hz, and the frame frequency namely inputted is 24Hz, output is 60Hz, cycle 1/24 and 1/60, transmission time 1/24*4=1/60*10, so just determine that 4 frames enter, 10 frames go out;
Then by the method for interpolation, frame frequency is brought up to 60Hz; As can be seen from Figure 4, F0,1 is repeated 4 times.
As shown in Figure 7, the method that the embodiment of the present invention seven carries out video playback for three kinds of 3D forms comprises:
Step 701, receive HDMI(High Definition Multimedia Interface, HDMI (High Definition Multimedia Interface)) 3D video data.
Here HDMI just illustrates, also can receive 3D video data by other video channels, such as RGB(RGB) passage, S terminal channel etc.
Step 702, by resolving the 3D video data of HDMI received, determine 3D video data specifically which kind of form.
If Frame Packing form, then perform step 703 ~ step 705;
If Side-By-Side form, then perform step 706 ~ step 708;
If Top-And-Bottom form, then perform step 709 ~ step 711.
Step 703, the 3D frame of video of Frame Packing form is resolved and processed.
Step 704, determine 2D left-eye frame and 2D right eye frame.
Step 705, buffer memory determine 2D left-eye frame and 2D right eye frame, and produce the signal of control 3D glasses, and perform step 712.
Step 706, the 3D frame of video of Side-By-Side form is resolved and processed.
Step 707, to determine and buffer memory 2D left-eye frame and 2D right eye frame.
Step 708, the 2D left-eye frame of buffer memory and 2D right eye frame to be stretched, and produce the signal of control 3D glasses, and perform step 712.
Step 709, the 3D frame of video of Top-And-Bottom form is resolved and processed.
Step 710, to determine and buffer memory 2D left-eye frame and 2D right eye frame.
Step 711, the 2D left-eye frame of buffer memory and 2D right eye frame are carried out row interpolation, and produce the signal (i.e. 3D crystal control signal) of control 3D glasses, and perform step 712.
Step 712, the 2D left-eye frame replacing output buffer memory to 2D TV and 2D right eye frame, the signal of the 3D of emission control simultaneously glasses.
It should be noted that, the 3D frame of video that the embodiment of the present invention can carry out processing is not limited to above-mentioned three kinds of forms, and extended formatting is suitable for the embodiment of the present invention too.
Based on same inventive concept, the equipment carrying out video playback is additionally provided in the embodiment of the present invention, the principle of dealing with problems due to this equipment is similar to the method that the embodiment of the present invention carries out video playback, and therefore the enforcement of this equipment see the enforcement of method, can repeat part and repeat no more.
The equipment carrying out video playback as Fig. 8 embodiment of the present invention eight comprises:
Processing module 800, for for a 3D rendering frame, according to described 3D rendering frame, determines a 2D left-eye frame and a 2D right eye frame;
Output module 810, for the order according to 3D rendering frame, alternately exports the 2D left-eye frame determined by each 3D rendering frame and 2D right eye frame.
Preferably, described processing module 800 also for:
While output 2D left-eye frame, control 3D glasses left eye is opened right eye and is closed, and at transmission 2D right eye frame simultaneously, control 3D glasses right eye is opened left eye and closed.
Preferably, described processing module 800 specifically for:
For a 3D rendering frame, first transmit the 2D left-eye frame determined by described 3D rendering frame, after described 2D left-eye frame is transmitted, transmit the 2D right eye frame determined by described 3D rendering frame.
Preferably, described processing module 800 also for:
When 2D left-eye frame and 2D right eye frame alternately export, after a frame has exported, one section, interval duration exports next frame;
Wherein, in described one section of duration, export invalid data or do not export any data.
Preferably, described 3D rendering frame is frame encapsulation Frame Packing form 3D two field picture;
Described processing module 810 specifically for:
For each 3D rendering frame, from each 3D rendering frame, extract a 2D left-eye frame and a 2D right eye frame.
Preferably, described 3D rendering frame is Side-By-Side form 3D two field picture;
Described processing module 810 specifically for:
For each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively stretch processing is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
Preferably, described 3D rendering frame is Top-And-Bottom form 3D two field picture;
Described processing module 810 specifically for:
For each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively row interpolation process is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
Preferably, described processing module 810 also for:
When conducting frame exports, according to the frame frequency of 3D rendering frame and the frame frequency of output, interpolation method is adopted to carry out frame per second self-adaptive processing.
As shown in Figure 9, the equipment that the embodiment of the present invention nine carries out video playback comprises:
Processor 900, for a 3D rendering frame, according to described 3D rendering frame, determines a 2D left-eye frame and a 2D right eye frame; According to the order of 3D rendering frame, the 2D left-eye frame determined by each 3D rendering frame and 2D right eye frame are alternately exported by reflector 910;
Reflector 910, for exporting 2D left-eye frame and 2D right eye frame under the control of processor 900.
Preferably, processor 900 also for:
While output 2D left-eye frame, control 3D glasses left eye is opened right eye and is closed, and at transmission 2D right eye frame simultaneously, control 3D glasses right eye is opened left eye and closed.
Preferably, processor 900 specifically for:
For a 3D rendering frame, first transmit the 2D left-eye frame determined by described 3D rendering frame, after described 2D left-eye frame is transmitted, transmit the 2D right eye frame determined by described 3D rendering frame.
Preferably, processor 900 also for:
When 2D left-eye frame and 2D right eye frame alternately export, after a frame has exported, one section, interval duration exports next frame;
Wherein, in described one section of duration, export invalid data or do not export any data.
Preferably, described 3D rendering frame is frame encapsulation Frame Packing form 3D two field picture;
Processor 900 specifically for:
For each 3D rendering frame, from each 3D rendering frame, extract a 2D left-eye frame and a 2D right eye frame.
Preferably, described 3D rendering frame is Side-By-Side form 3D two field picture;
Processor 900 specifically for:
For each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively stretch processing is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
Preferably, described 3D rendering frame is Top-And-Bottom form 3D two field picture;
Processor 900 specifically for:
For each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively row interpolation process is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
Preferably, processor 900 also for:
When conducting frame exports, according to the frame frequency of 3D rendering frame and the frame frequency of output, interpolation method is adopted to carry out frame per second self-adaptive processing.
As shown in Figure 10, the embodiment of the present invention ten is carried out in the device structure schematic diagram of video playback:
The identification of 3D frame identify(3D frame) module is by HDMI channel reception 3D rendering, and the frame information contained by 3D rendering frame head carries out frame identification and parsing, 3D rendering is divided into multiple accessible form classification.
The process of Frame processor(frame) module according to different 3D storage formats, 2D image is extracted from 3D rendering, produces the switch controlling signal (i.e. 3D crystal control signal) of corresponding row field control signal and 3 D active eyeglasses simultaneously.
FIFO/SRAM CTRL(memory controls) module carries out buffer control to the view data extracted from 3D.
Signal Mux/Processor(signal behavior/process) module synchronously processes the control signal generated, and HDMI passage is exported on a road, is connected to 2D TV, and what two a series of paintings faces of right and left eyes can replace continuously on 2D TV shows; 3 D active eyeglasses is exported on one tunnel, the right and left eyes switch of control 3D glasses.
In force, the module in Figure 10 can adopt circuit realiration.
As shown in figure 11, the embodiment of the present invention 11 is carried out in the system schematic of video playback, the embodiment of the present invention carries out the equipment of video playback to the 3D video data reconstruct 2D video data received, and the 3D crystal control signal generated for control 3D eyes, then send to 2D TV by video channel (such as HMDI or RGB etc.), 3D crystal control signal is sent to 3D glasses (such as active shutter type 3 D spectacles) simultaneously.
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 the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (16)
1. carry out a method for video playback, it is characterized in that, the method comprises:
For a 3D rendering frame, according to described 3D rendering frame, determine a 2D left-eye frame and a 2D right eye frame;
According to the order of 3D rendering frame, the 2D left-eye frame determined by each 3D rendering frame and 2D right eye frame are alternately exported.
2. the method for claim 1, is characterized in that, the method also comprises:
While output 2D left-eye frame, control 3D glasses left eye is opened right eye and is closed, and at transmission 2D right eye frame simultaneously, control 3D glasses right eye is opened left eye and closed.
3. the method for claim 1, is characterized in that, according to the order of 3D rendering frame, the 2D left-eye frame determined and 2D right eye frame is alternately exported, comprising by each 3D rendering frame:
For a 3D rendering frame, first transmit the 2D left-eye frame determined by described 3D rendering frame, after described 2D left-eye frame is transmitted, transmit the 2D right eye frame determined by described 3D rendering frame.
4. the method for claim 1, is characterized in that, according to the order of 3D rendering frame, the 2D left-eye frame determined and 2D right eye frame is alternately exported, also comprise by each 3D rendering frame:
When 2D left-eye frame and 2D right eye frame alternately export, after a frame has exported, one section, interval duration exports next frame;
Wherein, in described one section of duration, export invalid data or do not export any data.
5. the method as described in as arbitrary in Claims 1 to 4, is characterized in that, described 3D rendering frame is frame encapsulation Frame Packing form 3D two field picture;
For a 3D rendering frame, according to described 3D rendering frame, determine a 2D left-eye frame and a 2D right eye frame, comprising:
For each 3D rendering frame, from each 3D rendering frame, extract a 2D left-eye frame and a 2D right eye frame.
6. the method as described in as arbitrary in Claims 1 to 4, it is characterized in that, described 3D rendering frame is left and right Side-By-Side form 3D two field picture;
For a 3D rendering frame, according to described 3D rendering frame, determine a 2D left-eye frame and a 2D right eye frame, comprising:
For each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively stretch processing is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
7. the method as described in as arbitrary in Claims 1 to 4, it is characterized in that, described 3D rendering frame is upper and lower Top-And-Bottom form 3D two field picture;
For a 3D rendering frame, according to described 3D rendering frame, determine a 2D left-eye frame and a 2D right eye frame, comprising:
For each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively row interpolation process is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
8. the method as described in as arbitrary in Claims 1 to 4, it is characterized in that, the method also comprises:
When conducting frame exports, according to the frame frequency of 3D rendering frame and the frame frequency of output, interpolation method is adopted to carry out frame per second self-adaptive processing.
9. carry out an equipment for video playback, it is characterized in that, this equipment comprises:
Processing module, for for a 3D rendering frame, according to described 3D rendering frame, determines a 2D left-eye frame and a 2D right eye frame;
Output module, for the order according to 3D rendering frame, alternately exports the 2D left-eye frame determined by each 3D rendering frame and 2D right eye frame.
10. equipment as claimed in claim 9, is characterized in that, described processing module also for:
While output 2D left-eye frame, control 3D glasses left eye is opened right eye and is closed, and at transmission 2D right eye frame simultaneously, control 3D glasses right eye is opened left eye and closed.
11. equipment as claimed in claim 9, is characterized in that, described output module specifically for:
For a 3D rendering frame, first transmit the 2D left-eye frame determined by described 3D rendering frame, after described 2D left-eye frame is transmitted, transmit the 2D right eye frame determined by described 3D rendering frame.
12. equipment as claimed in claim 9, is characterized in that, described output module also for:
When 2D left-eye frame and 2D right eye frame alternately export, after a frame has exported, one section, interval duration exports next frame;
Wherein, in described one section of duration, export invalid data or do not export any data.
13. as arbitrary in claim 9 ~ 12 as described in equipment, it is characterized in that, described 3D rendering frame is frame encapsulation Frame Packing form 3D two field picture;
Described processing module specifically for:
For each 3D rendering frame, from each 3D rendering frame, extract a 2D left-eye frame and a 2D right eye frame.
14. as arbitrary in claim 9 ~ 12 as described in equipment, it is characterized in that, described 3D rendering frame is Side-By-Side form 3D two field picture;
Described processing module specifically for:
For each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively stretch processing is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
15. as arbitrary in claim 9 ~ 12 as described in equipment, it is characterized in that, described 3D rendering frame is Top-And-Bottom form 3D two field picture;
Described processing module specifically for:
For each 3D rendering frame, from each 3D rendering frame, extract left-eye frame and right eye frame, respectively row interpolation process is carried out to left-eye frame and right eye frame and obtain a 2D left-eye frame and a 2D right eye frame.
16. as arbitrary in claim 9 ~ 12 as described in equipment, it is characterized in that, described processing module also for:
When conducting frame exports, according to the frame frequency of 3D rendering frame and the frame frequency of output, interpolation method is adopted to carry out frame per second self-adaptive processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410032048.0A CN104811678A (en) | 2014-01-23 | 2014-01-23 | Method and device for carrying out video playing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410032048.0A CN104811678A (en) | 2014-01-23 | 2014-01-23 | Method and device for carrying out video playing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104811678A true CN104811678A (en) | 2015-07-29 |
Family
ID=53696133
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410032048.0A Pending CN104811678A (en) | 2014-01-23 | 2014-01-23 | Method and device for carrying out video playing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104811678A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112351267A (en) * | 2020-10-29 | 2021-02-09 | 西安诺瓦星云科技股份有限公司 | Video display method, display controller, display control card and display control system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010140430A1 (en) * | 2009-06-03 | 2010-12-09 | Canon Kabushiki Kaisha | Video image processing apparatus and method for controlling video image processing apparatus |
CN102196286A (en) * | 2010-03-11 | 2011-09-21 | Lg电子株式会社 | Image display device and method for operating the same |
JP2011228862A (en) * | 2010-04-16 | 2011-11-10 | Sony Corp | Data structure, image processing apparatus, image processing method and program |
CN102857773A (en) * | 2011-06-28 | 2013-01-02 | 乐金显示有限公司 | Stereoscopic image display device and driving method thereof |
CN102883178A (en) * | 2011-07-14 | 2013-01-16 | 三星电子株式会社 | Display apparatus and method for displaying 3d image thereon |
CN103139593A (en) * | 2011-11-21 | 2013-06-05 | 三星电子株式会社 | Display apparatus and driving method thereof |
CN103313074A (en) * | 2012-03-16 | 2013-09-18 | 深圳市亿思达显示科技有限公司 | Switching box and three-dimensional display system using same |
-
2014
- 2014-01-23 CN CN201410032048.0A patent/CN104811678A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010140430A1 (en) * | 2009-06-03 | 2010-12-09 | Canon Kabushiki Kaisha | Video image processing apparatus and method for controlling video image processing apparatus |
CN102196286A (en) * | 2010-03-11 | 2011-09-21 | Lg电子株式会社 | Image display device and method for operating the same |
JP2011228862A (en) * | 2010-04-16 | 2011-11-10 | Sony Corp | Data structure, image processing apparatus, image processing method and program |
CN102857773A (en) * | 2011-06-28 | 2013-01-02 | 乐金显示有限公司 | Stereoscopic image display device and driving method thereof |
CN102883178A (en) * | 2011-07-14 | 2013-01-16 | 三星电子株式会社 | Display apparatus and method for displaying 3d image thereon |
CN103139593A (en) * | 2011-11-21 | 2013-06-05 | 三星电子株式会社 | Display apparatus and driving method thereof |
CN103313074A (en) * | 2012-03-16 | 2013-09-18 | 深圳市亿思达显示科技有限公司 | Switching box and three-dimensional display system using same |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112351267A (en) * | 2020-10-29 | 2021-02-09 | 西安诺瓦星云科技股份有限公司 | Video display method, display controller, display control card and display control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8994795B2 (en) | Method for adjusting 3D image quality, 3D display apparatus, 3D glasses, and system for providing 3D image | |
US20170310995A1 (en) | Method and system for encoding and transmitting high definition 3-d multimedia content | |
JP5809064B2 (en) | Transfer of 3D image data | |
EP2577981B1 (en) | Method and apparaus for making intelligent use of active space in frame packing format | |
CN102197655B (en) | Stereoscopic image reproduction method in case of pause mode and stereoscopic image reproduction apparatus using same | |
CN102474633A (en) | Method of processing data for 3d images and audio/video system | |
CN102210154A (en) | Stereoscopic image data transmitter and stereoscopic image data receiver | |
CN101873507A (en) | Transmitting device, receiving system, stereoscopic image data transmission method and method of reseptance | |
CN103442241B (en) | A kind of 3D display packing and 3D display unit | |
EP2339858A2 (en) | 3D Image Synchronization Apparatus and 3D Image Providing System | |
JP6667981B2 (en) | Imbalance setting method and corresponding device | |
US20120120190A1 (en) | Display device for use in a frame sequential 3d display system and related 3d display system | |
WO2022156671A1 (en) | Multi-view virtual display signal processing method and system, computer readable storage medium, and electronic device | |
CN102186096A (en) | 3D display set-top box of common television set | |
TWI674556B (en) | The hardware system for inputting 3d image in a flat panel | |
US20110134215A1 (en) | Method and apparatus for providing 3d image and method and apparatus for displaying 3d image | |
US20110134226A1 (en) | 3d image display apparatus and method for determining 3d image thereof | |
CN103108206A (en) | New shutter-type three-dimensional switching box | |
JP2012138655A (en) | Image processing device and image processing method | |
CN104811678A (en) | Method and device for carrying out video playing | |
US20110310222A1 (en) | Image distributing apparatus, display apparatus, and image distributing method thereof | |
CN103002296A (en) | Stereoscopic image display method and stereoscopic image display system | |
KR101722213B1 (en) | 3D video converting system | |
US20130044102A1 (en) | Method for outputting three-dimensional (3d) image and display apparatus thereof | |
CN104581109A (en) | 3D digital video signal processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate 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: 20150729 |