WO2012159371A1 - 网络电视切台时画面显示效果的实现方法及装置 - Google Patents

网络电视切台时画面显示效果的实现方法及装置 Download PDF

Info

Publication number
WO2012159371A1
WO2012159371A1 PCT/CN2011/078145 CN2011078145W WO2012159371A1 WO 2012159371 A1 WO2012159371 A1 WO 2012159371A1 CN 2011078145 W CN2011078145 W CN 2011078145W WO 2012159371 A1 WO2012159371 A1 WO 2012159371A1
Authority
WO
WIPO (PCT)
Prior art keywords
processing
dynamic effect
data
picture
frame
Prior art date
Application number
PCT/CN2011/078145
Other languages
English (en)
French (fr)
Inventor
张海滨
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2011/078145 priority Critical patent/WO2012159371A1/zh
Priority to CN201180001754.3A priority patent/CN103493501A/zh
Priority to EP20110859656 priority patent/EP2566154A4/en
Publication of WO2012159371A1 publication Critical patent/WO2012159371A1/zh
Priority to US13/708,321 priority patent/US20130097636A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/50Tuning indicators; Automatic tuning control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4383Accessing a communication channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/64322IP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection

Definitions

  • the present invention relates to the field of network television technology, and in particular, to a method and a device for implementing a screen display effect when a network television is cut.
  • IPTV Internet Protocol Television
  • the delay time of the IPTV live broadcast is between 1. 3s-L 8s.
  • the existing mainstream processing mode IPTV stops at the current picture frame until the code stream I frame of the switched channel arrives. The next video is played, or the IPTV directly black screen waits for the code stream I frame of the switched channel to arrive and plays the next video.
  • a method for implementing a screen display effect when a network television is cut includes:
  • the YUV signal value of the currently displayed frame picture is obtained, Y is the brightness signal of the picture, U is the color difference signal with the picture biased toward red, and V is the color difference signal with the picture biased toward blue;
  • the YUV signal value is processed to bring the frame picture to a predetermined dynamic effect and the dynamic effect is played, the dynamic effect comprising page turning, reeling, blinding or progressive fading.
  • An apparatus for displaying a screen effect when a network television is cut comprising: a receiving module, an acquiring module, and a processing playing module;
  • the receiving module is configured to wait for receiving a cut command sent by a user
  • the acquiring module is configured to acquire a YUV of the currently displayed frame picture when the receiving module receives the cutting command Signal value, Y is the luminance signal of the picture, u is the color difference signal with the picture biased to red, and V is the color difference signal with the picture biased to blue;
  • the processing play module is configured to process the YUV signal value acquired by the acquiring module to achieve a predetermined dynamic effect, and play the dynamic effect, where the dynamic effect includes turning pages, scrolls, Blinds or gradually fade out.
  • the beneficial effects of the embodiment of the present invention are: by acquiring the YUV signal value of the currently displayed frame picture when receiving the cut table command, processing the YUV signal value so that the picture reaches a predetermined dynamic effect and playing the dynamic effect.
  • the realization of the technical solution enables IPTV to display various dynamic effects, such as page turning, reeling, blinds or progressive grading, in the time delay of cutting, which greatly enhances the user experience, which will further enhance users and products. Viscosity, increase the market competitiveness of products such as IPTV set-top boxes.
  • FIG. 1 is a flowchart of a method for implementing a screen display effect when a network television is cut in a first embodiment of the present invention
  • FIG. 2 is a flowchart of a method for implementing a screen display effect when a network television is cut in a second embodiment of the present invention
  • FIG. 3 is a block diagram of a device for displaying a screen when a network television is cut according to Embodiment 3 of the present invention.
  • IPTV Internet Protocol Television
  • Step 101 Receive a cut command sent by a user
  • Step 102 Obtain a YUV signal value of the currently displayed frame picture, Y is a brightness signal of the picture, U is a color difference signal with a picture biased toward red, and V is a color difference signal with a blue color of the picture;
  • Step 103 Process the YUV signal value to achieve a predetermined dynamic effect of the currently displayed frame picture, and play a dynamic effect, including a page turning, a reel, a blind, or a progressive fade out.
  • the beneficial effects of the embodiment of the present invention are: by acquiring the YUV signal value of the currently displayed frame picture when receiving the cut table command, processing the YUV signal value so that the picture reaches a predetermined dynamic effect and playing the dynamic effect.
  • the realization of the technical solution enables IPTV to display various dynamic effects, such as page turning, reeling, blinds or progressive grading, in the time delay of cutting, which greatly enhances the user experience, which will further enhance users and products. Viscosity, increase the market competitiveness of products such as IPTV set-top boxes.
  • Example 2 Example 2
  • the system architecture corresponding to the embodiment of the present invention is briefly introduced, including a camera, a transmitting end, and a receiving end.
  • the camera is used to acquire a scene image
  • the transmitting end sends the image acquired by the camera to the receiving end
  • the receiving end plays the image.
  • Various images received In the conventional color television system, a scene is imaged by using a three-tube color camera or a color CCD (Charge Coupled Device) camera, and then the obtained color image is separately separated by color separation and color separation.
  • CCD Charge Coupled Device
  • RGB data is subjected to a matrix conversion circuit to obtain a luminance signal ⁇ , two color difference signals U and V; the transmitting end (such as a television tower) separately encodes the luminance and the color difference signals, and then transmits the same to the receiving end (such as IPTV) by using the same channel, and receives
  • the terminal decodes the received code stream and displays it to the user.
  • a method for implementing a screen display effect when an Internet Protocol Television (IPTV) is cut the execution body of the method may be the same as the set top box device of the IPTV, and specifically includes the following operations: Step 201: Create a live broadcast thread To play live programs;
  • the user enters the live broadcast control page by operating the remote controller, and selects a live broadcast program from the live broadcast control page, and sends a request for playing the selected live broadcast program to the IPTV set top box device; after receiving the request, the IPTV set top box device creates a request.
  • the live thread plays the live program requested by the user;
  • Step 202 Receive a cut command sent by a user.
  • Step 203 Determine whether the function of the dynamic effect when the live cut table is turned on,
  • step 204 If the dynamic effect function when the live cut is turned on, step 204 is performed;
  • step 208 is performed;
  • the dynamic effect identifier is detected, and when the dynamic effect identifier is a predetermined value (such as 1), the dynamic effect function when the live cut is turned on, when the dynamic effect identifier is not a predetermined value (such as 0), Dynamic effect function when the live cut table is not turned on;
  • the dynamic effect identifier is pre-set by the manufacturer when the set-top box is shipped;
  • the user is free to choose whether to turn on the dynamic effect of the live cut, and send it on or off.
  • the command of the dynamic effect function during the live cut is given to the set top box of the IPTV; after receiving the above command, the set top box can open or not open the function of the dynamic effect when the live cut is performed according to the command;
  • the user controls the dynamic effect function when the live cut table is turned on during the live cut, and sends a command to the IPTV set top box device to open or not open the dynamic effect function when the live cut is performed;
  • Step 204 Select a dynamic effect, where the IPTV set-top box randomly selects a dynamic effect for the user, and determines whether the idle resource of the current CPU (Central Processing Unit) satisfies the service requirement for running the selected dynamic effect.
  • the IPTV set-top box randomly selects a dynamic effect for the user, and determines whether the idle resource of the current CPU (Central Processing Unit) satisfies the service requirement for running the selected dynamic effect.
  • CPU Central Processing Unit
  • step 205 is performed;
  • step 208 is performed;
  • the CPU idle resource when the idle resource is not less than the resource required for the selected dynamic effect, the CPU idle resource satisfies the service requirement of running the selected dynamic effect. Otherwise, the CPU idle resources do not meet the service requirements for running the selected dynamic effects;
  • dynamic effects include: turning pages, scrolls, blinds, or progressive grading;
  • Step 205 Create a dynamic effect playing sub-thread to play the selected dynamic effect
  • Step 206 Acquire a YUV signal value of the currently displayed frame picture, where Y is a luminance signal of the picture, U is a color difference signal whose picture is biased toward red, and V is a color difference signal whose picture is biased toward blue;
  • the user sends a cut-top request for switching the current live program to another live program through the remote controller to the set-top box of the IPTV;
  • the set-top box device of the IPTV obtains the currently displayed frame picture from the play buffer when receiving the cut-off request a code stream, and parsing the obtained code stream to obtain a YUV signal value of the currently displayed picture;
  • Step 207 The obtained YUV signal value is processed to make the currently displayed frame picture reach the selected dynamic effect, and the dynamic effect is played, and step 209 is performed;
  • this step can be displayed in the following two ways:
  • the first method specifically includes the following operations:
  • Step 207-1 Convert the YUV signal value to data in RGB format, R is the red value, G is the green value, and B is the blue value;
  • the obtained YUV signal value is converted into data in RGB format according to a preset formula, wherein the preset formula is -
  • V clip3(0, Floor (2 M — 8 * (112* (RL) I ((1— Kr)*S) + 128) + 0.5));
  • Z is a black level variable. In general, the value of Z is 0 or 16*2.
  • S is a scaling variable, and the value of S is generally 255 or 219*2;
  • Step 207-2 Filling data in the RGB format into a predetermined memory area surface
  • Step 207-3 In the surface, the data in the RGB format is processed to obtain the data of the frame of the frame of the dynamic effect, and the number of times of processing is increased by 1, wherein the initial value of the number of processing times is 0;
  • the data of the RGB format is processed, and the data of the frame of the frame of the dynamic effect is obtained by: dividing the data of the RGB format into a plurality of data blocks; processing the data of the RGB format in the partial data block, including: The data in the RGB format in the partial data block is multiplied by a predetermined ratio of coefficients, filled with a transparent color, compressed or symmetrically transformed, and the processed partial data block and the unprocessed partial data block data constitute a frame data of a dynamic image of the dynamic effect. ;
  • Step 207-4 determining whether the number of times of processing reaches a predetermined threshold
  • Step 207-5 When the number of times of processing is not greater than the predetermined threshold, the picture frame data is copied into the display layer area framebuffer, and the process returns to step 207-3 until the number of times of processing is greater than a predetermined threshold.
  • step 207-3 to step 207-5 The implementation process of step 207-3 to step 207-5 is illustrated by way of example:
  • the selected dynamic effect is the effect of the upper and lower louvers
  • the height of the IPTV screen is 500 pixels
  • the IPTV screen is equally divided into five blocks from top to bottom, each block is 100 pixels high, and the number of times of processing is 10;
  • Bay U in the memory area surface, fills one tenth of the data blocks of each high 100 pixels into a transparent color, and then moves the processed data blocks as a whole to the display layer area framebuffer, thus repeating ten Times, to complete the dynamic effect display of the upper and lower blinds;
  • the second method is: searching the dynamic effect database to obtain the application programming interface API corresponding to the predetermined dynamic effect; calling the application programming interface API to process the YUV signal value to achieve the predetermined dynamic effect of the screen, and playing the dynamic effect;
  • each dynamic effect is encapsulated into an API interface in advance and stored in the dynamic effect database, so that when the set top box of the IPTV realizes some dynamic effect on the display screen, only the corresponding API interface can be called, so that The realization of dynamic effects becomes convenient and efficient;
  • Step 208 Stay on the currently displayed frame picture or black screen
  • Step 209 After receiving the frame data of the next frame picture, ending the playing of the selected dynamic effect, and playing the next frame picture;
  • the beneficial effects brought by the embodiment of the present invention are: obtaining the currently displayed frame drawing by receiving the cut table command
  • the YUV signal value of the surface, the YUV signal value is processed so that the screen achieves the predetermined dynamic effect and the dynamic effect is realized, so that the IPTV can display various dynamic effects during the time delay of the cutting station, such as turning pages, scrolls , blinds or gradually fade out, etc., greatly enhance the user experience, which will further enhance the viscosity of users and products, and increase the market competitiveness of products such as IPTV set-top boxes.
  • an apparatus for displaying a picture on a screen of an Internet Protocol Television the apparatus is specifically a set top box device in a method embodiment, and includes: a receiving module 301, an obtaining module 302, and a processing playing module 303. ;
  • the receiving module 301 is configured to wait for receiving a cut command sent by the user
  • the obtaining module 302 is configured to: when the receiving module 301 receives the cutting command, obtain the YUV signal value of the currently displayed frame picture, where Y is the brightness signal of the picture, U is the color difference signal of the picture biased toward red, and V is the picture biased toward the blue Color difference signal;
  • the processing play module 303 is configured to process the YUV signal value acquired by the obtaining module 302 to achieve a predetermined dynamic effect of the currently displayed frame image, and play a dynamic effect, and the dynamic effect includes turning pages, scrolls, blinds, or progressively elapsed .
  • the processing play module 303 includes:
  • RGB format conversion unit for converting YUV signal values into data in RGB format, R is a red value, G is a green value, and B is a blue value;
  • a padding unit configured to fill data in an RGB format converted by the format conversion unit into a predetermined memory area
  • a processing unit configured to process data in an RGB format in a predetermined memory area to obtain a frame of dynamic effects
  • the frame data of the picture, and the number of times of processing is increased by 1, and the initial value of the number of processing times is 0;
  • a determining unit configured to determine whether the number of times of processing reaches a predetermined threshold
  • a playing unit configured to: when the determining unit determines that the number of times of processing is not greater than a predetermined threshold, copy the frame data obtained by the processing unit to the display layer area, and notify the processing unit to execute the data in the RGB format in the memory area. Processing, obtaining the frame data of one frame of the dynamic effect, and adding the number of times of processing to the operation until the number of times of processing is greater than a predetermined threshold.
  • the processing unit includes:
  • a padding subunit configured to process data in an RGB format in a partial data block, including: multiplying data in an RGB format in a partial data block by a predetermined ratio of coefficients, filling a transparent color, compressing, or symmetrically transforming, after processing of The partial data block and the unprocessed partial data block data constitute a one-frame picture frame data of a dynamic effect.
  • processing play module 303 further includes:
  • the processing play unit is configured to call the search unit to find the application programming interface API to process the YUV signal value to achieve a predetermined dynamic effect and play the dynamic effect.
  • the device further includes: a processing module, configured to: after receiving the YUV signal value of the next frame picture, end the playing of the dynamic effect, and play the next frame picture.
  • a processing module configured to: after receiving the YUV signal value of the next frame picture, end the playing of the dynamic effect, and play the next frame picture.
  • the beneficial effects of the embodiment of the present invention are: by acquiring the YUV signal value of the currently displayed frame picture when receiving the cut table command, processing the YUV signal value so that the picture reaches a predetermined dynamic effect and playing the dynamic effect.
  • the realization of the technical solution enables IPTV to display various dynamic effects, such as page turning, reeling, blinds or progressive grading, in the time delay of cutting, which greatly enhances the user experience, which will further enhance users and products. Viscosity, increase the market competitiveness of products such as IPTV set-top boxes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本发明实施例提供了一种网络电视切台时画面显示效果的实现方法及装置,涉及网络电视技术领域,方法包括:等待接收用户发送的切台命令;当接收到切台命令时,获取当前显示的帧画面的YUV信号值;对所述YUV信号值进行处理以便所述帧画面达到预定的动态效果,并播放所述动态效果。本发明技术方案的实现,使得IPTV在切台的时间延迟内可以显示多种动态效果,大大提升用户的使用体验。

Description

网络电视切台时画面显示效果的实现方法及装置 技术领域
本发明涉及网络电视技术领域, 特别涉及一种网络电视切台时画面显示效果的实现方 法及装置。 背景技术 说 网络电视 (Internet Protocol Television, IPTV) 技术增强了人机交互的互动性, 使得用户不再是信息的被动接受者。 而视频直播作为信息的即时传播仍然是主流大众接收 最新信息的主要渠道, 因此直播体验效果的好坏很大程度上影响 IPTV的发展前景。
目前, IPTV直播切台的延迟时间在 1. 3s-L 8s之间, 在该延迟时间内, 现有主流的处 理方式: IPTV停在当前画面帧直到所切换频道的码流 I帧到达后才开始进行下一个视频的 播放, 或者, IPTV直接黑屏等待所切换频道的码流 I帧到达后进行下一个视频的播放。
目前各个厂家的 IPTV的切台业务均采用上述处理方式, 使得用户在 IPTV切台时的用 户体验比较单一和乏味。 发明内容
为了丰富用户在 IPTV切台时的用户体验,本发明实施例提供了一种网络电视(Internet Protocol Television, IPTV)切台时画面显示效果的实现方法及装置。 所述技术方案如下: 一种网络电视切台时画面显示效果的实现方法, 所述方法包括:
等待接收用户发送的切台命令;
当接收到切台命令时, 获取当前显示的帧画面的 YUV信号值, Y为画面的亮度信号, U 为画面偏向红色的色差信号, V为画面偏向蓝色的色差信号;
对所述 YUV信号值进行处理以使所述帧画面达到预定的动态效果, 并播放所述动态效 果, 所述动态效果包括翻页、 卷轴、 百叶窗或者渐进渐出。
一种网络电视切台时画面显示效果的装置, 所述装置包括: 接收模块, 获取模块和处 理播放模块;
所述接收模块, 用于等待接收用户发送的切台命令;
所述获取模块, 用于当所述接收模块接收到切台命令时, 获取当前显示的帧画面的 YUV 信号值, Y为画面的亮度信号, u为画面偏向红色的色差信号, V为画面偏向蓝色的色差信 号;
所述处理播放模块, 用于对所述获取模块所获取的 YUV信号值进行处理以使所述帧画 面达到预定的动态效果, 并播放所述动态效果, 所述动态效果包括翻页、 卷轴、 百叶窗或 者渐进渐出。
本发明实施例所带来的有益效果是: 通过在接收到切台命令时, 获取当前显示的帧画 面的 YUV信号值, 对 YUV信号值进行处理以便画面达到预定的动态效果并播放动态效果的 技术方案的实现, 使得 IPTV在切台的时间延迟内可以显示多种动态效果, 比如翻页, 卷轴, 百叶窗或渐进渐出等, 大大提升用户的使用体验, 这也将进一步地提升用户与产品的粘度, 增加 IPTV机顶盒等产品的市场竞争力。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所需要使用的 附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本 领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的 附图。
图 1是本发明实施例 1提供的一种网络电视切台时画面显示效果的实现方法流程图; 图 2是本发明实施例 2提供的一种网络电视切台时画面显示效果的实现方法流程图; 图 3是本发明实施例 3提供的一种网络电视切台时画面显示效果的装置框图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作 进一步地详细描述。
实施例 1
参见图 1, 一种网络电视 (Internet Protocol Television, IPTV) 切台时画面显示效 果的实现方法, 该方法具体包括如下操作步骤:
步骤 101 : 接收用户发送的切台命令;
步骤 102: 获取当前显示的帧画面的 YUV信号值, Y为画面的亮度信号, U为画面偏向 红色的色差信号, V为画面偏向蓝色的色差信号;
步骤 103: 对 YUV信号值进行处理以使当前显示的帧画面达到预定的动态效果, 并播放 动态效果, 动态效果包括翻页、 卷轴、 百叶窗或者渐进渐出。 本发明实施例所带来的有益效果是: 通过在接收到切台命令时, 获取当前显示的帧画 面的 YUV信号值, 对 YUV信号值进行处理以便画面达到预定的动态效果并播放动态效果的 技术方案的实现, 使得 IPTV在切台的时间延迟内可以显示多种动态效果, 比如翻页, 卷轴, 百叶窗或渐进渐出等, 大大提升用户的使用体验, 这也将进一步地提升用户与产品的粘度, 增加 IPTV机顶盒等产品的市场竞争力。 实施例 2
先简单的介绍一下本发明实施例所对应的系统架构, 包括摄影机、 发送端和接收端, 其中, 摄影机用于获取场景影像, 发送端则将摄影机获取的影像发送给接收端, 接收端则 播放接收到的各种影像。 在现有的彩色电视系统中, 通常采用三管彩色摄影机或彩色 CCD (Charge Coupled Device, 电荷耦合元件) 摄影机等对场景进行取像, 然后把取得的彩色 图像经分色、 各分色分别放大校正后得到 RGB数据 (这是由于在现有的 RGB彩色模型下, 每一种颜色均可以有一个 RGB数据表示, 如亮红色使用 R值 255、 G值 0 和 B 值 0), 之后, 将得到的 RGB数据经过矩阵变换电路得到亮度信号¥、 两个色差信号 U和 V; 发送端 (如电视塔)将亮度和色差信号分别进行编码后用同一信道发送给接收端(如 IPTV), 接收 端将接收到的码流进行解码后显示给用户。
参见图 2, 一种网络电视 (Internet Protocol Television, IPTV) 切台时画面显示效 果的实现方法,该方法的执行主体具体可以与 IPTV的机顶盒设备相同,具体包括如下操作: 步骤 201 : 创建直播线程以播放直播节目;
具体地, 用户通过操作遥控器进入直播播控页面, 并从该直播播控页面选择一直播节 目,向 IPTV机顶盒设备发送播放所选择直播节目的请求; IPTV机顶盒设备在接收到请求后, 创建一直播线程来播放用户所请求的直播节目;
步骤 202: 接收用户发送的切台命令;
步骤 203: 判断是否打开直播切台时动态效果的功能,
如果打开直播切台时动态效果功能, 则执行步骤 204;
如果不打开直播切台时动态效果功能, 则执行步骤 208;
优选地, 检测动态效果标识符, 当该动态效果标识符为预定值(如 1 ) 时, 则打开直播 切台时动态效果功能, 当该动态效果标识符不是预定值(如 0) 时, 则不打开直播切台时动 态效果功能;
其中, 动态效果标识符在机顶盒出厂时就有厂商预先设定;
另外, 用户可以自由选择是否打开直播切台时动态效果的功能, 并发送打开或不打开 直播切台时动态效果功能的命令给 IPTV的机顶盒; 机顶盒在接收到上述命令后, 根据命令 来打开或不打开直播切台时动态效果的功能;
例如, 用户通过操作遥控器来选择在直播切台时是否打开直播切台时动态效果功能, 并向 IPTV的机顶盒设备发送打开或不打开直播切台时动态效果功能的命令;
步骤 204: 选择一动态效果, 这里, IPTV机顶盒随机为用户选择一动态效果, 并判断 当前 CPU (Central Processing Unit, 中央处理器) 的空闲资源是否满足运行所选择动态 效果的业务要求,
如果 CPU空闲资源满足运行所选择动态效果的业务要求, 则执行步骤 205;
如果 CPU空闲资源不满足运行所选择动态效果的业务要求, 则执行步骤 208;
具体地, 比较当前 CPU资源的空闲资源的大小与所选择动态效果所需资源的大小, 当 空闲资源不小于所选择动态效果所需的资源时, CPU空闲资源满足运行所选择动态效果的业 务要求, 否则, CPU空闲资源不满足运行所选择动态效果的业务要求;
其中, 动态效果包括: 翻页、 卷轴、 百叶窗或者渐进渐出等;
步骤 205: 创建动态效果播放子线程以播放所选择的动态效果;
步骤 206: 获取当前显示的帧画面的 YUV信号值, 其中, Y为画面的亮度信号, U为画 面偏向红色的色差信号, V为画面偏向蓝色的色差信号;
具体地, 用户通过遥控器向 IPTV的机顶盒发送将当前直播节目切换到另外一直播节目 的切台请求; IPTV 的机顶盒设备在接收到切台请求时, 从播放缓冲区中获取当前显示的帧 画面的码流, 并解析所获取的码流得到当前显示画面的 YUV信号值;
步骤 207:对获取的 YUV信号值进行处理以使当前显示的帧画面达到所选择的动态效果, 并播放该动态效果, 执行步骤 209;
具体地, 本步骤可以通过如下两种方式来显示:
方式一具体包括如下操作:
步骤 207-1: 将 YUV信号值转换为 RGB格式的数据, R为红色值, G为绿色值, B为蓝 色值;
具体地, 按照预设的公式将获取的 YUV信号值转换为 RGB格式的数据, 其中, 预设的 公式为-
Y = floor (2M8 * (219*(L-Z)/S + 16) + 0.5);
U = clip3(0, 2M— floor(2M8* (112* (B-L) I ((1- Kb)*S) + 128) + 0.5));
V = clip3(0,
Figure imgf000005_0001
floor (2M8* (112* (R-L) I ((1— Kr)*S) + 128) + 0.5));
L = Kr * R + Kb * B + (1 - Kr - Kb) * G; 其中, Kr和 Kb是两个常数, Kr = 0. 2126Kb = 0. 0722, 或者, Kr = 0. 299Kb = 0. 114;
M 为 YUV信号值的位数, 一般情况下, M >= 8;
Z 为黑电平变量, 一般情况下, Z的取值为 0或者 16*2;
S 为缩放变量, S的取值一般为 255或者 219*2;
步骤 207-2: 将 RGB格式的数据填充到预定的内存区域 surface内;
步骤 207-3: 在 surface内, 将 RGB格式的数据进行处理, 得到动态效果的一帧画面帧 的数据, 并将处理次数加 1, 其中, 处理次数的初始值为 0;
其中, 将 RGB格式的数据进行处理, 得到动态效果的一帧画面帧的数据包括: 将 RGB格式的数据划分为若干个数据块; 将部分数据块内的 RGB格式的数据进行处理, 包括: 将部分数据块内的 RGB格式的数据乘以预定比例的系数、 填充为透明色、 压缩或者 对称变换, 处理后的部分数据块和未处理的部分数据块数据构成动态效果的一帧画面的帧 数据;
步骤 207-4: 判断处理次数是否达到预定阀值;
步骤 207-5 : 在处理次数不大于预定阀值时, 将画面帧数据拷贝到显示层区域 framebuffer内显示, 并返回执行步骤 207-3, 直到处理次数大于预定阀值。
现举例说明步骤 207-3到步骤 207-5的实现过程:
这里, 当所选择的动态效果为上下百叶窗的效果, 而 IPTV屏幕的高度为 500像素, 将 该 IPTV屏幕从上到下等分为 5块, 每块高 100像素, 处理的次数为 10;
贝 U, 在内存区域 surface内, 将各高 100像素的数据块的十分之一数据填充为透明色, 然后, 将处理后的各数据块整体搬移到显示层区域 framebuffer 内显示, 如此重复十次, 以完成上下百叶窗的动态效果展示;
方式二、 查找动态效果数据库得到预定的动态效果对应的应用程序编程接口 API ; 调用应用程序编程接口 API对 YUV信号值进行处理以使画面达到预定的动态效果, 并 播放动态效果;
这里, 预先将各动态效果的实现方法封装为 API 接口并存储在动态效果数据库内, 这 样, IPTV的机顶盒要在显示屏幕上实现某种动态效果时, 只用调用相应的 API接口即可, 使得动态效果的实现变得便捷且实现效率较高;
步骤 208: 停留在当前显示的帧画面或者黑屏;
步骤 209: 当接收到下一帧画面的帧数据后, 结束对所选择动态效果的播放, 而播放下 一帧画面;
本发明实施例所带来的有益效果是: 通过在接收到切台命令时, 获取当前显示的帧画 面的 YUV信号值, 对 YUV信号值进行处理以便画面达到预定的动态效果并播放动态效果的 技术方案的实现, 使得 IPTV在切台的时间延迟内可以显示多种动态效果, 比如翻页, 卷轴, 百叶窗或渐进渐出等, 大大提升用户的使用体验, 这也将进一步地提升用户与产品的粘度, 增加 IPTV机顶盒等产品的市场竞争力。 实施例 3
参见图 3, 一种网络电视 (Internet Protocol Television, IPTV) 切台时画面显示效 果的装置, 该装置具体为方法实施例中的机顶盒设备, 包括: 接收模块 301, 获取模块 302 和处理播放模块 303;
接收模块 301, 用于等待接收用户发送的切台命令;
获取模块 302, 用于当接收模块 301接收到切台命令时, 获取当前显示的帧画面的 YUV 信号值, Y为画面的亮度信号, U为画面偏向红色的色差信号, V为画面偏向蓝色的色差信 号;
处理播放模块 303,用于对获取模块 302所获取的 YUV信号值进行处理以使当前显示的 帧画面达到预定的动态效果, 并播放动态效果, 动态效果包括翻页、 卷轴、 百叶窗或者渐 进渐出。
具体地, 处理播放模块 303包括:
格式转换单元, 用于将 YUV信号值转换为 RGB格式的数据, R为红色值, G为绿色值, B为蓝色值;
填充单元, 用于将格式转换单元转换得到的 RGB格式的数据填充到预定的内存区域内; 处理单元, 用于在预定的内存区域内, 将 RGB格式的数据进行处理, 得到动态效果的 一帧画面的帧数据, 并将处理次数加 1, 处理次数的初始值为 0;
判断单元, 用于判断处理次数是否达到预定阀值;
播放单元, 用于在判断单元判断得到处理次数不大于预定阀值时, 将处理单元得到的 帧数据拷贝到显示层区域内显示, 并通知处理单元执行在内存区域内, 将 RGB格式的数据 进行处理, 得到动态效果的一帧画面的帧数据, 并将处理次数加 1 的操作, 直到处理次数 大于预定阀值。
其中, 处理单元包括:
分块子单元, 用于将 RGB格式的数据划分为若干个数据块;
填充子单元, 用于将部分数据块内的 RGB格式的数据进行处理, 包括: 将部分数据块 内的 RGB格式的数据乘以预定比例的系数、 填充为透明色、 压缩或者对称变换, 处理后的 部分数据块和未处理的部分数据块数据构成动态效果的一帧画面帧数据。
另外, 处理播放模块 303还包括:
查找单元, 用于查找动态效果数据库得到预定的动态效果对应的应用程序编程接口
API ;
处理播放单元, 用于调用查找单元查找得到的应用程序编程接口 API对 YUV信号值进 行处理以使画面达到预定的动态效果, 并播放动态效果。
装置还包括: 处理模块, 用于当接收到下一帧画面的 YUV信号值后, 结束对动态效果 的播放, 并播放下一帧画面。
本发明实施例所带来的有益效果是: 通过在接收到切台命令时, 获取当前显示的帧画 面的 YUV信号值, 对 YUV信号值进行处理以便画面达到预定的动态效果并播放动态效果的 技术方案的实现, 使得 IPTV在切台的时间延迟内可以显示多种动态效果, 比如翻页, 卷轴, 百叶窗或渐进渐出等, 大大提升用户的使用体验, 这也将进一步地提升用户与产品的粘度, 增加 IPTV机顶盒等产品的市场竞争力。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完 成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储 介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1、 一种网络电视 (Internet Protocol Television, IPTV) 切台时画面显示效果的实现 方法, 其特征在于, 所述方法包括:
接收用户发送的切台命令;
获取当前显示的帧画面的 YUV信号值, Y为画面的亮度信号, U为画面偏向红色的色差 信号, V为画面偏向蓝色的色差信号; 以及
对所述 YUV信号值进行处理以使所述帧画面达到预定的动态效果,并播放所述动态效果, 所述动态效果包括翻页、 卷轴、 百叶窗或者渐进渐出。
2、 根据权利要求 1所述的方法, 其特征在于, 所述对所述 YUV信号值进行处理以使所述 画面达到预定的动态效果, 并播放所述动态效果包括:
将所述 YUV信号值转换为 RGB格式的数据, R为红色值, G为绿色值, B为蓝色值; 将所述 RGB格式的数据填充到预定的内存区域内;
在所述内存区域内, 将所述 RGB格式的数据进行处理, 得到所述动态效果的一帧画面的 帧数据, 并将处理次数加 1, 所述处理次数的初始值为 0;
判断所述处理次数是否达到预定阀值;
在所述处理次数不大于所述预定阀值时, 将所述帧数据拷贝到显示层区域内显示, 并返 回执行在所述内存区域内, 将所述 RGB格式的数据进行处理, 得到所述动态效果的一帧画面 的帧数据, 并将处理次数加 1的操作, 直到所述处理次数大于所述预定阀值。
3、根据权利要求 2所述的方法,其特征在于,所述将所述 RGB格式的数据进行处理包括: 将所述 RGB格式的数据划分为若干个数据块;
将部分数据块内的 RGB格式的数据进行处理, 包括: 将部分数据块内的 RGB格式的数据 乘以预定比例的系数、 填充为透明色、 压缩或者对称变换, 处理后的部分数据块和未处理的 部分数据块数据构成所述动态效果的一帧画面的帧数据。
4、 根据权利要求 1所述的方法, 其特征在于, 所述对所述 YUV信号值进行处理以使所述 画面达到预定的动态效果, 并播放所述动态效果包括:
查找动态效果数据库得到所述预定的动态效果对应的应用程序编程接口 API ; 调用所述应用程序编程接口 API对所述 YUV信号值进行处理以使所述画面达到所述预定 的动态效果, 并播放所述动态效果。
5、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 当接收到下一帧画面的 YUV信号值后, 结束对所述动态效果的播放, 并播放所述下一帧画面。
6、 一种网络电视(Internet Protocol Television, IPTV)切台时画面显示效果的装置, 其特征在于, 所述装置包括: 接收模块, 获取模块和处理播放模块;
所述接收模块, 用于等待接收用户发送的切台命令;
所述获取模块, 用于当所述接收模块接收到切台命令时, 获取当前显示的帧画面的 YUV 信号值, Y为画面的亮度信号, u为画面偏向红色的色差信号, V为画面偏向蓝色的色差信 号;
所述处理播放模块, 用于对所述获取模块所获取的 YUV信号值进行处理以使所述帧画面 达到预定的动态效果, 并播放所述动态效果, 所述动态效果包括翻页、 卷轴、 百叶窗或者渐 进渐出。
7、 根据权利要求 6所述的装置, 其特征在于, 所述处理播放模块包括:
格式转换单元,用于将所述 YUV信号值转换为 RGB格式的数据, R为红色值, G为绿色值, B为蓝色值;
填充单元, 用于将所述格式转换单元转换得到的 RGB格式的数据填充到预定的内存区域 内;
处理单元, 用于在所述内存区域内, 将所述 RGB格式的数据进行处理, 得到所述动态效 果的一帧画面的帧数据, 并将处理次数加 1, 所述处理次数的初始值为 0;
判断单元, 用于判断所述处理次数是否达到预定阀值;
播放单元, 用于在所述判断单元判断得到所述处理次数不大于所述预定阀值时, 将所述 处理单元得到的帧数据拷贝到显示层区域内显示, 并通知所述处理单元执行在所述内存区域 内, 将所述 RGB格式的数据进行处理, 得到所述动态效果的一帧画面的帧数据, 并将处理次 数加 1的操作, 直到所述处理次数大于所述预定阀值。
8、 根据权利要求 7所述的装置, 其特征在于, 所述处理单元包括: 分块子单元, 用于将所述 RGB格式的数据划分为若干个数据块;
填充子单元, 用于将部分数据块内的 RGB格式的数据进行处理, 包括: 将部分数据块内 的 RGB格式的数据乘以预定比例的系数、 填充为透明色、 压缩或者对称变换, 处理后的部分 数据块和未处理的部分数据块数据构成所述动态效果的一帧画面帧数据。
9、 根据权利要求 6所述的装置, 其特征在于, 所述处理播放模块包括:
查找单元, 用于查找动态效果数据库得到所述预定的动态效果对应的应用程序编程接口
API ;
处理播放单元, 用于调用所述查找单元查找得到的应用程序编程接口 API对所述 YUV信 号值进行处理以使所述画面达到所述预定的动态效果, 并播放所述动态效果。
10、 根据权利要求 6所述的装置, 其特征在于, 所述装置还包括: 处理模块, 用于当接 收到下一帧画面的 YUV信号值后, 结束对所述动态效果的播放, 并播放所述下一帧画面。
PCT/CN2011/078145 2011-08-09 2011-08-09 网络电视切台时画面显示效果的实现方法及装置 WO2012159371A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2011/078145 WO2012159371A1 (zh) 2011-08-09 2011-08-09 网络电视切台时画面显示效果的实现方法及装置
CN201180001754.3A CN103493501A (zh) 2011-08-09 2011-08-09 网络电视切台时画面显示效果的实现方法及装置
EP20110859656 EP2566154A4 (en) 2011-08-09 2011-08-09 METHOD AND DEVICE FOR REALIZING IMAGE DISPLAY EFFECTS IN CHANNEL CHANGES IN ONE INTERNET TV
US13/708,321 US20130097636A1 (en) 2011-08-09 2012-12-07 Method and apparatus for displaying pictures during iptv channel switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/078145 WO2012159371A1 (zh) 2011-08-09 2011-08-09 网络电视切台时画面显示效果的实现方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/708,321 Continuation US20130097636A1 (en) 2011-08-09 2012-12-07 Method and apparatus for displaying pictures during iptv channel switching

Publications (1)

Publication Number Publication Date
WO2012159371A1 true WO2012159371A1 (zh) 2012-11-29

Family

ID=47216592

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078145 WO2012159371A1 (zh) 2011-08-09 2011-08-09 网络电视切台时画面显示效果的实现方法及装置

Country Status (4)

Country Link
US (1) US20130097636A1 (zh)
EP (1) EP2566154A4 (zh)
CN (1) CN103493501A (zh)
WO (1) WO2012159371A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294522A (zh) * 2015-06-23 2017-01-04 阿里巴巴集团控股有限公司 用于动态展示画面的方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0663769A1 (en) * 1993-12-16 1995-07-19 THOMSON multimedia Channel selection in a television receiver
CN1878249A (zh) * 2005-07-25 2006-12-13 白峰 淡入淡出式切换电视机频道的方法
CN101426109A (zh) * 2007-11-02 2009-05-06 联咏科技股份有限公司 图像输出装置、显示器与图像处理方法
CN101686403A (zh) * 2008-09-28 2010-03-31 扬智科技股份有限公司 图片交互淡入淡出的处理方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5179642A (en) * 1987-12-14 1993-01-12 Hitachi, Ltd. Image synthesizing apparatus for superposing a second image on a first image
US6100930A (en) * 1997-12-19 2000-08-08 Thomson Consumer Electronics, Inc. Process and apparatus for performing wipes on compressed MPEG video bitstreams
WO2001006770A1 (en) * 1999-07-15 2001-01-25 Koninklijke Philips Electronics N.V. Methods and apparatus for presentation of multimedia information in conjunction with broadcast programming
US8749575B2 (en) * 2007-03-07 2014-06-10 Telefonaktiebolaget L M Ericssson (Publ) Display controller, electronic apparatus and method for creating a translucency effect using color model transform
CN101106661A (zh) * 2007-07-25 2008-01-16 康佳集团股份有限公司 一种电视机换台的方法及系统
CN101795366A (zh) * 2009-02-04 2010-08-04 青岛海信电器股份有限公司 一种渐进换台方法及应用此方法的电视机

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0663769A1 (en) * 1993-12-16 1995-07-19 THOMSON multimedia Channel selection in a television receiver
CN1878249A (zh) * 2005-07-25 2006-12-13 白峰 淡入淡出式切换电视机频道的方法
CN101426109A (zh) * 2007-11-02 2009-05-06 联咏科技股份有限公司 图像输出装置、显示器与图像处理方法
CN101686403A (zh) * 2008-09-28 2010-03-31 扬智科技股份有限公司 图片交互淡入淡出的处理方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2566154A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294522A (zh) * 2015-06-23 2017-01-04 阿里巴巴集团控股有限公司 用于动态展示画面的方法及装置
CN106294522B (zh) * 2015-06-23 2019-10-01 阿里巴巴集团控股有限公司 用于动态展示画面的方法及装置

Also Published As

Publication number Publication date
US20130097636A1 (en) 2013-04-18
EP2566154A1 (en) 2013-03-06
CN103493501A (zh) 2014-01-01
EP2566154A4 (en) 2014-02-26

Similar Documents

Publication Publication Date Title
US11812191B2 (en) Display system, display method, and display apparatus
US20230156148A1 (en) Conversion method and conversion apparatus
CN112822537B (zh) 使视频内容适应到显示特性的方法、设备及介质
US8023802B2 (en) Image processing apparatus
WO2018054375A1 (zh) 直播信息的处理方法、装置及存储介质
EP3471405A1 (en) Video signal transmission method and apparatus
KR101528863B1 (ko) 파노라마 영상의 스트리밍 서비스 제공 시스템에서 타일링 영상 동기화 방법
TWI516104B (zh) 網路影片播放的方法及其電子裝置
US20200228837A1 (en) Media information processing method and apparatus
US20210014558A1 (en) Media Information Processing Method, Related Device, and Computer Storage Medium
US8675140B2 (en) Playback apparatus for playing back hierarchically-encoded video image data, method for controlling the playback apparatus, and storage medium
US20050053131A1 (en) Video encoding using parallel processors
CN111405339A (zh) 一种分屏显示方法、电子设备及存储介质
CN103312981A (zh) 一种多照片合成拍照方法及拍照装置
WO2019041226A1 (zh) 一种方形裁剪拍照方法、拍照系统及拍照装置
WO2012159371A1 (zh) 网络电视切台时画面显示效果的实现方法及装置
CN111279679A (zh) 一种方形裁剪拍照方法、拍照系统及拍照装置
CN1294746C (zh) 一种显示控制装置及方法
CN115988171B (zh) 一种视频会议系统及其沉浸式布局方法和装置
JP2012054800A (ja) 映像送信装置
Inoue et al. Field trial of interactive panoramic video streaming system
CN114422735A (zh) 一种录像机、视频数据处理方法、装置及电子设备
CN114422734A (zh) 一种录像机、视频数据处理方法、装置及电子设备
CN116489460A (zh) 一种显示方法和显示设备
CN111200580A (zh) 一种播放器及播放方法

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2011859656

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11859656

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE