CN104410904A - Video playing method and video playing device - Google Patents
Video playing method and video playing device Download PDFInfo
- Publication number
- CN104410904A CN104410904A CN201410822752.6A CN201410822752A CN104410904A CN 104410904 A CN104410904 A CN 104410904A CN 201410822752 A CN201410822752 A CN 201410822752A CN 104410904 A CN104410904 A CN 104410904A
- Authority
- CN
- China
- Prior art keywords
- video
- video data
- color information
- video image
- rgb color
- 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
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000002159 abnormal effect Effects 0.000 claims description 26
- 238000001514 detection method Methods 0.000 claims description 16
- 230000008878 coupling Effects 0.000 claims description 4
- 238000010168 coupling process Methods 0.000 claims description 4
- 238000005859 coupling reaction Methods 0.000 claims description 4
- 230000000875 corresponding effect Effects 0.000 description 20
- 230000006835 compression Effects 0.000 description 12
- 238000007906 compression Methods 0.000 description 12
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 239000003086 colorant Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 101100175003 Oryza sativa subsp. japonica RGB1 gene Proteins 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000013011 mating Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440263—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4318—Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440218—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4424—Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a video playing method and a video playing device. The video playing method comprises the following steps: decoding video data into a YUV format and then playing; detecting whether a played video image is displayed normally or not; and when the video image is abnormally displayed, converting the video data from the YUV format into an RGB format and then playing. Therefore, under a normal condition, video is played in a high-efficiency playing mode; in a video playing process, when the condition that the played video image is abnormally displayed is detected, the video is played in a relatively low-efficiency and stable playing mode, so that the video image is immediately recovered to be normally displayed, and the normal playing of the video is ensured.
Description
Technical field
The present invention relates to video display arts field, especially relate to a kind of video broadcasting method and device.
Background technology
When carrying out video playback, first video play device carries out video decode to video data, be the video data of yuv format by the video data decoding of compression, then by the video data of yuv format write video card internal memory, and export the video data of yuv format to broadcast window by video card internal memory and shown.This play mode can display video image fast, has higher display efficiency, usually adopts this pattern to carry out video playback in prior art.
But, because needs carry out output video data by video card internal memory, therefore in video display process, if there is some mistake in the display interface that operating system provides, or compatibility issue appears in video card, the video image play will be caused to occur the display anomalies such as mistake, Hua Ping, blank screen.But still do not provide corresponding solution detect in time above-mentioned abnormal show situation and recover in prior art.
Summary of the invention
Main purpose of the present invention is to provide a kind of video broadcasting method and device, is intended to detect the abnormal show of video image in video display process and recover, and ensures the normal play of video.
To achieve these objectives, the present invention proposes a kind of video broadcasting method, comprises step:
Be play video data decoding after yuv format;
Detect the video image play and whether show exception;
When described video image display is abnormal, described video data is play after yuv format is converted to rgb format.
Preferably, whether the described video image play that detects shows abnormal comprising:
Obtain the rgb color information of described video image and the rgb color information of decoded video data;
Judge whether the rgb color information of described video image and the rgb color information of decoded video data mate;
If coupling, then judge that the display of described video image is normal;
If do not mate, then judge that the display of described video image is abnormal.
Preferably, the rgb color information of described acquisition broadcasting pictures and the rgb color information of decoded video data comprise:
Broadcast window chooses reference point;
Obtain the rgb color information of the video image of corresponding described reference point;
Obtain the YUV color information of corresponding described reference point in decoded video data, and described YUV color information is converted to rgb color information.
Preferably, described reference point of choosing on broadcast window comprises:
Described broadcast window is divided at least two regions;
Obtain the coordinate of the geometric center in each region, the geometric center in each region is chosen for reference point.
Preferably, described method also comprises:
When playing the video data of yuv format, by the video data of described yuv format write video card internal memory, export the video data of described yuv format to broadcast window by described video card internal memory and shown;
When playing the video data of rgb format, directly export the video data of described rgb format to broadcast window as image and shown.
The present invention proposes a kind of video play device simultaneously, comprises Video decoding module, video video memory display module, video detection module, video image modular converter and video image display module, wherein:
Video decoding module, for being yuv format by video data decoding;
Video video memory display module, for playing the video data of yuv format;
Whether video detection module, show exception for the video image detecting broadcasting;
Video image modular converter, for when described video image display is abnormal, is converted to rgb format by described video data from yuv format;
Video image display module, for playing the video data of rgb format.
Preferably, described video detection module comprises acquiring unit and judging unit, wherein:
Acquiring unit, for the rgb color information of the rgb color information and decoded video data that obtain described video image;
Judging unit, whether the rgb color information for the rgb color information and decoded video data that judge described video image mates; If coupling, then judge that the display of described video image is normal; If do not mate, then judge that the display of described video image is abnormal.
Preferably, described acquiring unit for: on broadcast window, choose reference point; Obtain the rgb color information of the video image of corresponding described reference point; Obtain the YUV color information of corresponding described reference point in decoded video data, and described YUV color information is converted to rgb color information.
Preferably, described acquiring unit is used for: described broadcast window is divided at least two regions; Obtain the coordinate of the geometric center in each region, the geometric center in each region is chosen for reference point.
Preferably, described video video memory display module is used for: by the video data of described yuv format write video card internal memory, export the video data of described yuv format to broadcast window shown by described video card internal memory;
Described video image display module is used for: directly export the video data of described rgb format to broadcast window as image and shown.
A kind of video broadcasting method provided by the present invention, is first yuv format by video data decoding, carries out video playback by high efficiency play mode; In video display process, the video image play is detected, when detecting that the video image display of broadcasting is abnormal, then video data is converted to rgb format from yuv format, with relative inefficiencies but stable play mode carries out video playback, thus make video image be recovered normal display timely, ensure that the normal play of video.
Accompanying drawing explanation
Fig. 1 is the flow chart of video broadcasting method one embodiment of the present invention;
Fig. 2 is whether the video image detecting broadcasting in video broadcasting method embodiment of the present invention shows abnormal flow chart;
Fig. 3 is the schematic diagram choosing reference point in the embodiment of the present invention on broadcast window;
Fig. 4 is the module diagram of video play device one embodiment of the present invention;
Fig. 5 is the module diagram of video detection module in Fig. 4.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
See Fig. 1, propose video broadcasting method one embodiment of the present invention, described video broadcasting method comprises the following steps:
Step S10: be yuv format by video data decoding
Video play device reads current shooting, local store or outside (as sent by network) video data sent.This video data is the packed data that obtains after video compression algorithm compression, described compression algorithm as H.263, H.264, H.265, AVI, MPEG4 etc.
Video play device utilizes the video data of the compression algorithm of prior art Plays to compression to carry out video decode, be decoded as the video data of yuv format, the original video source data that the video data of yuv format captures when being video acquisition, primarily of YUV tri-component compositions.
Step S11: the video data playing yuv format
Concrete, by the video data of yuv format write video card internal memory, (video card internal memory is mapped as one section of memory headroom by operating system to video play device, and the address of this memory headroom is provided, the video data of yuv format is directly copied to corresponding memory headroom address by video play device), and by video card internal memory, the broadcast window that the video data of yuv format exports display to is shown, reach the effect of video playback.This play mode can display video image fast, and display efficiency is higher, and therefore common video playback all adopts this pattern.
Step S12: detect the video image play and whether show exception
Video play device real-time or timing detection play video image whether show exception, such as, in playing process, carry out one-time detection at set intervals.There is the problems such as display mistake, Hua Ping, blank screen in the abnormal video image that comprises of video image display.
When detecting that video image display is abnormal, then enter step S13, carry out abnormal restoring; Otherwise, keep current broadcast mode, proceed to detect.
Step S13: video data is converted to rgb format from yuv format
When detecting that video image display is abnormal, video play device is then changed the form of video data, namely utilize transfer algorithm general in prior art that video data is converted to rgb format from yuv format, the video data of rgb format forms primarily of RGB three primary colors.
Step S14: the video data playing rgb format
Concrete, video play device directly exports the video data of each frame rgb format to broadcast window as single image and is shown.Although this play mode reduces display efficiency because needing video data to carry out the conversion once from yuv format to rgb format, but due to without the need to accessing display card internal memory, therefore there is device independence, namely concrete video card type and the compatibility of video card is not limited to, therefore there is higher stability during displaying video, the normal display of video image can be ensured.
As shown in Figure 2, whether the video image detecting broadcasting in abovementioned steps S12 shows exception, specifically comprises the following steps:
Step S121: obtain the rgb color information of video image and the rgb color information of decoded video data
Concrete, first video play device can choose some reference points on broadcast window, obtains the coordinate of each reference point; Then the video image in broadcast window is obtained, according to the coordinate of reference point, obtain the rgb color information of the video image of corresponding reference point, namely obtain the rgb color information of the pixel (each reference point can comprise a pixel, four pixels, nine pixels etc.) of the video image of reference point locations place display; Meanwhile, obtain decoded video data (i.e. the video data of yuv format), according to the coordinate of reference point, from decoded video data, read the YUV color information of corresponding reference point locations, and YUV color information is converted to rgb color information.Finally, the rgb color information of each reference point corresponding in video image and decoded video data is obtained.
Described reference point can be some points that are random on broadcast window or that specify according to certain rule in advance.Or, broadcast window is divided at least two regions, then obtains the coordinate of the geometric center in each region, the geometric center in each region is chosen for reference point.
In specific implementation, as shown in Figure 3, video play device obtains the coordinate range of broadcast window by operating system interface, the X in the broadcast window lower right corner, Y-axis coordinate is deducted X, the Y-axis coordinate in the window upper left corner, obtains the width of broadcast window and height.According to width and the height of broadcast window, broadcast window is on average divided into some regions 10 (as two regions, four regions, nine regions, 16 regions etc., areal is not limit), again directly by width and highly divided by region 10 number divided, obtain the width in each region 10 and height.Finally, by the width in each region 10 and highly divided by two, obtain the X of the geometric center 20 in each region 10, Y-axis coordinate, the geometric center 20 in each region 10 is chosen for reference point.
In theory, the reference point chosen is more, and the testing result of acquisition is more accurate, and the reference point therefore chosen is The more the better.
Step S122: judge whether the rgb color information of video image and the rgb color information of decoded video data mate
The rgb color information of the video image corresponding to each reference point and the rgb color information of decoded video data are contrasted; When the two the rgb color information of comparing result corresponding to each reference point all mates (namely identical), then think the rgb color information of video image and the rgb color information match of decoded video data, enter step S123, judge that video image display is normal; When the two the rgb color information of comparing result corresponding at least one reference point does not mate (namely not identical), then think that the rgb color information of video image and the rgb color information of decoded video data do not match, enter step S124, judge that video image display is abnormal, as there is the problems such as display mistake, Hua Ping, blank screen.
Step S123: judge that video image display is normal
Step S124: judge that video image display is abnormal
Video broadcasting method of the present invention, is first yuv format by video data decoding, carries out video playback by high efficiency play mode; In video display process, the video image play is detected, when detecting that the video image display of broadcasting is abnormal, then video data is converted to rgb format from yuv format, with relative inefficiencies but stable play mode carries out video playback, thus make video image be recovered normal display timely, ensure that the normal play of video.
See Fig. 4, propose video play device one embodiment of the present invention, described video play device comprises Video decoding module, video video memory display module, video detection module, video image modular converter and video image display module, wherein:
Video decoding module: for being yuv format by video data decoding, and the video data of yuv format is sent to video video memory display module.
Described video data can be the video data of current shooting, the video data of local storage or outside (as sent by network) video data sent.This video data is the packed data that obtains after video compression algorithm compression, described compression algorithm as H.263, H.264, H.265, AVI, MPEG4 etc.
Video decoding module provides video decode interface, and input content is the video data after compression, and output content is the video data of decoded yuv format.After Video decoding module utilizes the video data of the compression algorithm of prior art Plays to compression to carry out video decode, obtain the video data of yuv format, the original video source data that the video data of yuv format captures when being video acquisition, primarily of YUV tri-component compositions.
Video video memory display module: for playing the video data of yuv format.
Video video memory display module provides image display interface, input content is the video data of yuv format, the fast video display interface utilizing operating system to provide is (as DirectX, the generic video display interfaces such as OpenGL) display memory of accessing display card, directly by the video data of yuv format write video card internal memory, (video card internal memory is mapped as one section of memory headroom by operating system, and the address of this memory headroom is provided, the video data of yuv format is directly copied to corresponding memory headroom address by video video memory display module), and by video card internal memory, the broadcast window that the video data of yuv format exports display to is shown, reach the effect of video playback.This play mode can display video image fast, and display efficiency is higher, and therefore common video playback all adopts this pattern.
Video detection module: whether the video image for detecting broadcasting shows exception, when testing result is video image display exception, then sends to video image modular converter by the video data of yuv format.
Video detection module real-time or timing detection play video image whether show exception, such as, in playing process, carry out one-time detection at set intervals.There is the problems such as display mistake, Hua Ping, blank screen in the abnormal video image that comprises of video image display.
Video detection module as shown in Figure 5, comprises acquiring unit and judging unit, wherein:
Acquiring unit: obtain the rgb color information of video image and the rgb color information of decoded video data.
Concrete, first acquiring unit can choose some reference points on broadcast window, obtains the coordinate of each reference point; Then the video image in broadcast window is obtained, and according to the coordinate of reference point, obtain the rgb color information of the video image of corresponding reference point, namely obtain the rgb color information of the pixel (each reference point can comprise a pixel, four pixels, nine pixels etc.) of the video image of reference point locations place display; Simultaneously, obtain decoded video data (i.e. the video data of yuv format), and according to the coordinate of reference point, from decoded video data, read the YUV color information of corresponding reference point locations, and YUV color information is converted to rgb color information.Finally, the rgb color information of each reference point corresponding in video image and decoded video data is obtained.
Described reference point can be some points that are random on broadcast window or that specify according to certain rule in advance.Or broadcast window is divided at least two regions by acquiring unit, then obtain the coordinate of the geometric center in each region, the geometric center in each region is chosen for reference point.
In specific implementation, as shown in Figure 3, acquiring unit obtains the coordinate range of broadcast window by operating system interface, the X in the broadcast window lower right corner, Y-axis coordinate is deducted X, the Y-axis coordinate in the window upper left corner, obtains the width of broadcast window and height; According to width and the height of broadcast window, broadcast window is on average divided into some regions 10 (as two regions, four regions, nine regions, 16 regions etc., areal is not limit), again directly by width and highly divided by region 10 number divided, obtain the width in each region 10 and height; Finally, by the width in each region 10 and highly divided by two, obtain the X of the geometric center 20 in each region 10, Y-axis coordinate, the geometric center 20 in each region 10 is chosen for reference point.
In theory, the reference point chosen is more, and the testing result of acquisition is more accurate, and the reference point therefore chosen in theory is The more the better.
Judging unit: whether the rgb color information for the rgb color information and decoded video data that judge video image mates; Upon a match, then judge that video image display is normal; When not mating, then judge that video image display is abnormal.
Concrete, the rgb color information of the video image corresponding to each reference point and the rgb color information of decoded video data contrast by judging unit; When the two the rgb color information of comparing result corresponding to each reference point all mates (namely identical), then think and the rgb color information of video image and the rgb color information match of decoded video data judge that video image display is normal; When the two the rgb color information of comparing result corresponding at least one reference point does not mate (namely not identical), then think that the rgb color information of video image and the rgb color information of decoded video data do not match, judge that video image display is abnormal, as there is the problems such as display mistake, Hua Ping, blank screen.
Video image modular converter: for providing video image translation interface, input content is the video data of yuv format, and output content is the video data of rgb format.When video image display is abnormal, video image modular converter utilizes transfer algorithm general in prior art that video data is converted to rgb format from yuv format, and the video data after conversion is sent to video image display module, wherein the video data of rgb format forms primarily of RGB three primary colors.
Video image display module: for playing the video data of rgb format.
Concrete, video image display module directly exports the video data of each frame rgb format to broadcast window as single image and is shown.Although this play mode reduces display efficiency because needing video data to carry out the conversion once from yuv format to rgb format, but due to without the need to accessing display card internal memory, therefore there is device independence, namely concrete video card type and the compatibility of video card is not limited to, therefore there is higher stability during displaying video, the normal display of video image can be ensured.
Video play device of the present invention, first carries out video playback by video video memory display module with high efficiency play mode; By video detection module, the video image play is detected in video display process, when detecting that the video image display of broadcasting is abnormal, then by video image modular converter, video data is converted to rgb format from yuv format, by video image display module with relative inefficiencies but stable play mode carries out video playback, thus make video image be recovered normal display timely, ensure that the normal play of video.
It should be noted that: in the embodiment of the present invention, the YUV of indication contains various yuv format: as YUY2, YUYV, YVYU, UYVY, AYUV, Y41P, Y411, Y211, IF09, IYUV, YV12, YVU9, YUV411, YUV420 etc.; RGB also contains various rgb format simultaneously: as RGB1, RGB4, RGB8, RGB565, RGB555, RGB24, RGB32, ARGB32 etc.
It should be noted that further: the video play device that above-described embodiment provides, when displaying video, is only illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules.In addition, the video play device that above-described embodiment provides and video broadcasting method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, and the technical characteristic in embodiment of the method is all corresponding applicable in device embodiment, repeats no more here.
One of ordinary skill in the art will appreciate that, realize the hardware that all or part of step in above-described embodiment method can control to be correlated with by program to complete, described program can be stored in a computer read/write memory medium, and described storage medium can be ROM/RAM, disk, CD etc.
Should be understood that; these are only the preferred embodiments of the present invention; can not therefore limit the scope of the claims of the present invention; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (10)
1. a video broadcasting method, is characterized in that, comprises step:
Be play video data decoding after yuv format;
Detect the video image play and whether show exception;
When described video image display is abnormal, described video data is play after yuv format is converted to rgb format.
2. video broadcasting method according to claim 1, is characterized in that, whether the described video image play that detects shows abnormal comprising:
Obtain the rgb color information of described video image and the rgb color information of decoded video data;
Judge whether the rgb color information of described video image and the rgb color information of decoded video data mate;
If coupling, then judge that the display of described video image is normal;
If do not mate, then judge that the display of described video image is abnormal.
3. video broadcasting method according to claim 2, is characterized in that, the rgb color information of described acquisition broadcasting pictures and the rgb color information of decoded video data comprise:
Broadcast window chooses reference point;
Obtain the rgb color information of the video image of corresponding described reference point;
Obtain the YUV color information of corresponding described reference point in decoded video data, and described YUV color information is converted to rgb color information.
4. video broadcasting method according to claim 3, is characterized in that, described reference point of choosing on broadcast window comprises:
Described broadcast window is divided at least two regions;
Obtain the coordinate of the geometric center in each region, the geometric center in each region is chosen for reference point.
5. the video broadcasting method according to any one of claim 1-4, is characterized in that, described method also comprises:
When playing the video data of yuv format, by the video data of described yuv format write video card internal memory, export the video data of described yuv format to broadcast window by described video card internal memory and shown;
When playing the video data of rgb format, directly export the video data of described rgb format to broadcast window as image and shown.
6. a video play device, is characterized in that, comprises Video decoding module, video video memory display module, video detection module, video image modular converter and video image display module, wherein:
Video decoding module, for being yuv format by video data decoding;
Video video memory display module, for playing the video data of yuv format;
Whether video detection module, show exception for the video image detecting broadcasting;
Video image modular converter, for when described video image display is abnormal, is converted to rgb format by described video data from yuv format;
Video image display module, for playing the video data of rgb format.
7. video play device according to claim 6, is characterized in that, described video detection module comprises acquiring unit and judging unit, wherein:
Acquiring unit, for the rgb color information of the rgb color information and decoded video data that obtain described video image;
Judging unit, whether the rgb color information for the rgb color information and decoded video data that judge described video image mates; If coupling, then judge that the display of described video image is normal; If do not mate, then judge that the display of described video image is abnormal.
8. video play device according to claim 7, is characterized in that, described acquiring unit for: on broadcast window, choose reference point; Obtain the rgb color information of the video image of corresponding described reference point; Obtain the YUV color information of corresponding described reference point in decoded video data, and described YUV color information is converted to rgb color information.
9. video play device according to claim 8, is characterized in that, described acquiring unit is used for: described broadcast window is divided at least two regions; Obtain the coordinate of the geometric center in each region, the geometric center in each region is chosen for reference point.
10. the video play device according to any one of claim 6-9, it is characterized in that, described video video memory display module is used for: by the video data of described yuv format write video card internal memory, export the video data of described yuv format to broadcast window shown by described video card internal memory;
Described video image display module is used for: directly export the video data of described rgb format to broadcast window as image and shown.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410822752.6A CN104410904A (en) | 2014-12-25 | 2014-12-25 | Video playing method and video playing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410822752.6A CN104410904A (en) | 2014-12-25 | 2014-12-25 | Video playing method and video playing device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104410904A true CN104410904A (en) | 2015-03-11 |
Family
ID=52648488
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410822752.6A Pending CN104410904A (en) | 2014-12-25 | 2014-12-25 | Video playing method and video playing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104410904A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105744358A (en) * | 2016-03-18 | 2016-07-06 | 青岛海信电器股份有限公司 | Video play processing method and device |
CN105828182A (en) * | 2016-05-13 | 2016-08-03 | 北京思特奇信息技术股份有限公司 | Method and system for real-time rending video based on OpenGL |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003034380A2 (en) * | 2001-10-19 | 2003-04-24 | Koninklijke Philips Electronics N.V. | Method of and display processing unit for displaying a colour image and a display apparatus comprising such a display processing unit |
CN1538758A (en) * | 2003-04-15 | 2004-10-20 | 明基电通股份有限公司 | Method of correcting display device colour image and its device |
CN101461252A (en) * | 2006-06-21 | 2009-06-17 | 日本电信电话株式会社 | Video matching apparatus and video matching method |
CN102750116A (en) * | 2011-11-21 | 2012-10-24 | 新奥特(北京)视频技术有限公司 | Method for processing over-range signal of luma and chroma (YUV) color space |
CN103841389A (en) * | 2014-04-02 | 2014-06-04 | 北京奇艺世纪科技有限公司 | Video playing method and player |
-
2014
- 2014-12-25 CN CN201410822752.6A patent/CN104410904A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003034380A2 (en) * | 2001-10-19 | 2003-04-24 | Koninklijke Philips Electronics N.V. | Method of and display processing unit for displaying a colour image and a display apparatus comprising such a display processing unit |
CN1538758A (en) * | 2003-04-15 | 2004-10-20 | 明基电通股份有限公司 | Method of correcting display device colour image and its device |
CN101461252A (en) * | 2006-06-21 | 2009-06-17 | 日本电信电话株式会社 | Video matching apparatus and video matching method |
CN102750116A (en) * | 2011-11-21 | 2012-10-24 | 新奥特(北京)视频技术有限公司 | Method for processing over-range signal of luma and chroma (YUV) color space |
CN103841389A (en) * | 2014-04-02 | 2014-06-04 | 北京奇艺世纪科技有限公司 | Video playing method and player |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105744358A (en) * | 2016-03-18 | 2016-07-06 | 青岛海信电器股份有限公司 | Video play processing method and device |
CN105744358B (en) * | 2016-03-18 | 2018-09-14 | 青岛海信电器股份有限公司 | The processing method and processing device of video playing |
CN105828182A (en) * | 2016-05-13 | 2016-08-03 | 北京思特奇信息技术股份有限公司 | Method and system for real-time rending video based on OpenGL |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101471830B1 (en) | Data transmission using out-of-gamut color coordinates | |
US11032448B2 (en) | Video display system and video display method | |
US8401339B1 (en) | Apparatus for partitioning and processing a digital image using two or more defined regions | |
CN110460743A (en) | Display device, converting means, display methods, playing device, playback method | |
KR102362054B1 (en) | Display apparatus consisting a multi display system and control method thereof | |
US20160100161A1 (en) | Decoder, encoder, decoding method, encoding method, and codec system | |
US10805680B2 (en) | Method and device for configuring image mode | |
US11532075B2 (en) | Display apparatus for restoring high-frequency component of input image and image processing method thereof | |
CN105589667B (en) | Method and device for capturing display image of display equipment | |
US11538131B2 (en) | Systems and methods for the application of adaptive video watermarks | |
US10504484B2 (en) | Information processing apparatus, information recording medium, image processing method, and program for converting a color space of an image | |
CN104410904A (en) | Video playing method and video playing device | |
CN101866574A (en) | Digital video experiment device and experiment method | |
CN106507079B (en) | A kind of color rendition method and device | |
JP5998579B2 (en) | Video display apparatus, method and program for multi-display system | |
CN102769732A (en) | Method for converting video fields | |
CN105120369A (en) | Menu background color processing method and apparatus | |
CN111406404B (en) | Compression method, decompression method, system and storage medium for obtaining video file | |
US8068691B2 (en) | Sparkle processing | |
US8855444B2 (en) | Method for partitioning and processing a digital image | |
JP5119520B2 (en) | Media capture system, method and computer program product for evaluating processing capability using cascaded memory | |
KR102489894B1 (en) | Method and device for determining a characteristic of a display device | |
CN112540735A (en) | Multi-screen synchronous display method, device and system and computer storage medium | |
CN104243942B (en) | Image processing method and image processing apparatus | |
CN104410884A (en) | Synchronous and asynchronous playing player for LED and LCD display screens |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20190423 |
|
AD01 | Patent right deemed abandoned |