CN107835455B - Automatic adjusting method for clock frequency - Google Patents

Automatic adjusting method for clock frequency Download PDF

Info

Publication number
CN107835455B
CN107835455B CN201711086295.9A CN201711086295A CN107835455B CN 107835455 B CN107835455 B CN 107835455B CN 201711086295 A CN201711086295 A CN 201711086295A CN 107835455 B CN107835455 B CN 107835455B
Authority
CN
China
Prior art keywords
video
transmission frame
per
frame number
field frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711086295.9A
Other languages
Chinese (zh)
Other versions
CN107835455A (en
Inventor
焦宗东
赵志峰
曹力丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Amlogic Shanghai Co Ltd
Original Assignee
Amlogic Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Amlogic Shanghai Co Ltd filed Critical Amlogic Shanghai Co Ltd
Priority to CN201711086295.9A priority Critical patent/CN107835455B/en
Publication of CN107835455A publication Critical patent/CN107835455A/en
Application granted granted Critical
Publication of CN107835455B publication Critical patent/CN107835455B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43632Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • H04N21/43635HDMI
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping

Abstract

The invention relates to a clock frequency adjusting technology, in particular to an automatic adjusting method of clock frequency, which is applied to a display system adopting a high-definition multimedia interface; the automatic adjusting method comprises the following steps: step S1, acquiring the transmission frame number per second of the video to be played; step S2, judging whether the transmission frame number per second is consistent with the field frequency of the high-definition multimedia interface; if yes, go to step S3; if not, transmitting the video by adopting the current field frequency; step S3, judging whether the transmission frame number per second is an integer; if yes, adjusting the field frequency to be consistent with the transmission frame number per second and then transmitting the video; if not, adjusting the field frequency to a set value and then transmitting the video, wherein the set value is a value obtained by reducing a preset ratio from an integer value which is larger than and closest to the number of frames transmitted per second; the method can automatically adjust the field frequency of the high-definition multimedia interface under the condition that the transmission frame per second of the video is not consistent with the field frequency of the high-definition multimedia interface, and the generated video picture is smooth and fluent.

Description

Automatic adjusting method for clock frequency
Technical Field
The invention relates to a clock frequency adjusting technology, in particular to an automatic adjusting method of clock frequency.
Background
At present, a display Interface of HDMI (High-Definition Multimedia Interface, abbreviated as HDMI) is widely used in devices such as televisions, projectors, blue-ray digital video disks, Multimedia box players, power amplifiers, and the like. Compare in traditional display interface, like lotus socket mouth, colour difference component simulation socket mouth, video graphic array etc. the advantage of HDMI interface lies in: 1. audio and video transmission shares 1 line, no extra audio data line is needed, and the connection mode of the lines is simplified; 2. by adopting a time sequence minimum signal difference technology, very high data bandwidth can be achieved, so that the transmission of high-definition content can be realized; 3. content protection technology, which can prevent data from being illegally copied; 4. support 3D display technologies, etc.
Due to the variety of formats of video sources, different fps (frame Per Second transmission frame, fps for short) are often adopted in the production process, for example, blu-ray DVD video, 23.976fps, high definition presentation video, 29.97fps and the like are adopted. In HDMI, for example, a video display format is 1080p (1920 × 1080), and there are many different field frequencies such as 23.976Hz, 24Hz, 25Hz, 29.97Hz, 30Hz, 50Hz, 59.94Hz, and 60 Hz. Because the fps value of the video source is inconsistent with the field frequency value of the HDMI, the phenomenon that the video jumps instantly or pauses when people watch a television is easy to occur, namely, the phenomenon of frame skipping and repeated frames.
Disclosure of Invention
Aiming at the problems, the invention provides an automatic adjusting method of clock frequency, which is applied to a display system adopting a high-definition multimedia interface; wherein, the automatic adjustment method comprises the following steps:
step S1, acquiring the transmission frame number per second of the video to be played;
step S2, judging whether the transmission frame number per second is consistent with the field frequency of the display device adopting the high-definition multimedia interface;
if not, go to step S3; if so, transmitting the video by adopting the current field frequency;
step S3, judging whether the number of frames per second is an integer;
if yes, adjusting the field frequency to be consistent with the transmission frame number per second and then transmitting the video; if not, the field frequency is adjusted to a set value and then the video is transmitted, wherein the set value is a value obtained by reducing a preset ratio of an integer value which is larger than and closest to the transmission frame number per second.
The automatic adjusting method, wherein the preset ratio is 0.1%.
The above automatic adjusting method, wherein the display system has a plurality of video display formats.
The above automatic adjustment method, wherein the video display format includes:
720p, 1080p and 2160 p.
In the above automatic adjusting method, in step S1, a video decoding module is used to decode the video to be played, so as to obtain the number of frames transmitted per second of the video.
In the foregoing automatic adjusting method, the video decoding module is connected to an encoding module, and the encoding module is configured to encode a video for transmission to a display device through the high-definition multimedia interface.
In the above automatic adjustment method, the display device is a liquid crystal display.
In the above automatic adjustment method, in step S3, when the number of frames per second is an integer, a value corresponding to a parameter that reflects whether the number of frames per second is an integer is set to 1 and displayed;
and when the transmission frame number per second is a non-integer, setting a value corresponding to a parameter for reflecting whether the transmission frame number per second is an integer as 0 and displaying.
In the above automatic adjusting method, the display system includes a switching module for enabling and disabling the steps S1-S3.
Has the advantages that: the automatic adjusting method of the clock frequency provided by the invention can automatically adjust the field frequency of the display equipment adopting the high-definition multimedia interface under the condition that the transmission frame number per second of the video is not consistent with the field frequency of the display equipment adopting the high-definition multimedia interface, and the generated video picture is smooth and fluent.
Drawings
Fig. 1 is a flowchart illustrating a method for automatically adjusting clock frequency according to an embodiment of the present invention.
Detailed Description
The invention is further illustrated with reference to the following figures and examples.
In a preferred embodiment, as shown in fig. 1, an automatic clock frequency adjusting method is proposed for a display system using a high-definition multimedia interface; the automatic adjusting method comprises the following steps:
step S1, acquiring the transmission frame number per second of the video to be played;
step S2, judging whether the transmission frame number per second is consistent with the field frequency of the display device adopting the high-definition multimedia interface;
if not, go to step S3; if yes, transmitting the video by adopting the current field frequency;
step S3, judging whether the transmission frame number per second is an integer;
if yes, adjusting the field frequency to be consistent with the transmission frame number per second and then transmitting the video; if not, the field frequency is adjusted to a set value and then the video is transmitted, wherein the set value is a value obtained by reducing an integer value which is larger than and closest to the frame number transmitted per second by a preset ratio.
In a preferred embodiment, the predetermined ratio is 0.1%, taking the number of frames transmitted per second of the played video as 23.976 as an example, the field frequency of the output of the conventional display device using the high definition multimedia interface is in a 1080p video display format, including 24Hz, 25Hz, 30Hz, 50Hz and 60Hz, and cannot be well matched with the video with the number of frames transmitted per second as 23.976, and the phenomenon of frame skipping and frame repeating occurs in video playing, and at this time, setting the field frequency of the output of the display device using the high definition multimedia interface at 24Hz × 0.100% = 23.976Hz can solve the problem well.
In a preferred embodiment, the display system has a plurality of video display formats.
In the above embodiment, preferably, the video display format may include:
720p, 1080p, 2160p, etc.
In a preferred embodiment, in step S1, a video decoding module is used to decode the video to be played to obtain the number of frames per second transmitted in the video.
In the above embodiment, preferably, the video decoding module is connected to an encoding module, and the encoding module is configured to encode the video for transmission to a display device through the high-definition multimedia interface.
In the above embodiment, the display device is preferably a liquid crystal display, but this is only a preferable case, and other display devices such as a projector, a television set, and the like should also be considered to be included in the present invention.
In a preferred embodiment, in step S3, when the number of frames transmitted per second is an integer, a value corresponding to a parameter that reflects whether the number of frames transmitted per second is an integer is set to 1 and displayed;
and when the transmission frame number per second is a non-integer, setting a value corresponding to a parameter for reflecting whether the transmission frame number per second is an integer as 0 and displaying.
In a preferred embodiment, the display system includes a switching module for enabling and disabling steps S1-S3; and when the steps S1-S3 are forbidden, the video transmission is carried out by adopting the field frequency of the conventional high-definition multimedia interface.
Specifically, the table finally formed with the preset ratio of 0.1% is as follows:
Figure DEST_PATH_IMAGE001
wherein "- - - -" indicates that the number of frames transmitted per second is identical to a field frequency of a display apparatus employing a high definition multimedia interface.
In summary, the automatic adjusting method of clock frequency provided by the present invention is applied to a display system using a high-definition multimedia interface; the automatic adjusting method comprises the following steps: step S1, acquiring the transmission frame number per second of the video to be played; step S2, judging whether the transmission frame number per second is consistent with the field frequency of the display device adopting the high-definition multimedia interface; if yes, go to step S3; if not, transmitting the video by adopting the current field frequency; step S3, judging whether the transmission frame number per second is an integer; if yes, adjusting the field frequency to be consistent with the transmission frame number per second and then transmitting the video; if not, adjusting the field frequency to a set value and then transmitting the video, wherein the set value is a value obtained by reducing a preset ratio from an integer value which is larger than and closest to the number of frames transmitted per second; the field frequency of the display equipment adopting the high-definition multimedia interface can be automatically adjusted under the condition that the transmission frame per second of the video is inconsistent with the field frequency of the display equipment adopting the high-definition multimedia interface, and the generated video picture is smooth and fluent.
While the specification concludes with claims defining exemplary embodiments of particular structures for practicing the invention, it is believed that other modifications will be made in the spirit of the invention. While the above invention sets forth presently preferred embodiments, these are not intended as limitations.
Various alterations and modifications will no doubt become apparent to those skilled in the art after having read the above description. Therefore, the appended claims should be construed to cover all such variations and modifications as fall within the true spirit and scope of the invention. Any and all equivalent ranges and contents within the scope of the claims should be considered to be within the intent and scope of the present invention.

Claims (9)

1. An automatic adjusting method of clock frequency is applied to a display system adopting a high-definition multimedia interface; the automatic adjustment method is characterized by comprising the following steps:
step S1, acquiring the transmission frame number per second of the video to be played;
step S2, judging whether the transmission frame number per second is consistent with the field frequency of the high-definition multimedia interface display equipment;
if not, go to step S3; if so, transmitting the video by adopting the current field frequency;
step S3, judging whether the number of frames per second is an integer;
if yes, adjusting the field frequency to be consistent with the transmission frame number per second and then transmitting the video; if not, the field frequency is adjusted to a set value and then the video is transmitted, wherein the set value is a value obtained by reducing a preset ratio of an integer value which is larger than and closest to the transmission frame number per second.
2. The automatic adjustment method according to claim 1, characterized in that the preset ratio is 0.1%.
3. The automatic adjustment method of claim 1, wherein the display system has a plurality of video display formats.
4. The auto-adjustment method according to claim 3, wherein the video display format comprises:
720p, 1080p and 2160 p.
5. The automatic adjusting method of claim 1, wherein in step S1, a video decoding module is used to decode the video to be played to obtain the number of frames per second transmitted video.
6. The automatic adjustment method of claim 5, wherein the video decoding module is connected to an encoding module for encoding video for transmission to a display device via the high definition multimedia interface.
7. The automatic adjustment method of claim 6, wherein the display device is a liquid crystal display.
8. The automatic adjusting method according to claim 1, wherein in step S3, when the number of frames transmitted per second is an integer, a value corresponding to a parameter that reflects whether the number of frames transmitted per second is an integer is set to 1 and displayed;
and when the transmission frame number per second is a non-integer, setting a value corresponding to a parameter for reflecting whether the transmission frame number per second is an integer as 0 and displaying.
9. The automatic adjustment method of claim 1, wherein the display system comprises a switch module for enabling and disabling the steps S1-S3.
CN201711086295.9A 2017-11-07 2017-11-07 Automatic adjusting method for clock frequency Active CN107835455B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711086295.9A CN107835455B (en) 2017-11-07 2017-11-07 Automatic adjusting method for clock frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711086295.9A CN107835455B (en) 2017-11-07 2017-11-07 Automatic adjusting method for clock frequency

Publications (2)

Publication Number Publication Date
CN107835455A CN107835455A (en) 2018-03-23
CN107835455B true CN107835455B (en) 2021-06-04

Family

ID=61654683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711086295.9A Active CN107835455B (en) 2017-11-07 2017-11-07 Automatic adjusting method for clock frequency

Country Status (1)

Country Link
CN (1) CN107835455B (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6522363B1 (en) * 1999-07-30 2003-02-18 Thomson Licensing S.A. Display frame rate adaptation
EP1592245A1 (en) * 2004-04-27 2005-11-02 Matsushita Electric Industrial Co., Ltd. Adaptive generation of synchronization signals
JP2008053763A (en) * 2004-11-16 2008-03-06 Matsushita Electric Ind Co Ltd Av data recording device and method, av data reproducing device and method, and recording medium recorded by the av data recording device or the method
CN101137032B (en) * 2006-08-31 2011-02-09 北京海尔集成电路设计有限公司 High-definition digital television SOC chip dual-mode structure
JP4181593B2 (en) * 2006-09-20 2008-11-19 シャープ株式会社 Image display apparatus and method
JP5262546B2 (en) * 2008-10-08 2013-08-14 ソニー株式会社 Video signal processing system, playback device and display device, and video signal processing method
CN103959198B (en) * 2011-11-30 2017-09-12 英特尔公司 Reduce the power of 3D live loads
CN105007443B (en) * 2015-07-08 2019-01-08 福州瑞芯微电子股份有限公司 A kind of video frequency conversion playback method and device
CN106205460B (en) * 2016-09-29 2018-11-23 京东方科技集团股份有限公司 Driving method, sequence controller and the display device of display device
CN106941563B (en) * 2017-03-10 2019-12-06 Oppo广东移动通信有限公司 control method and device for refresh rate of mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN107835455A (en) 2018-03-23

Similar Documents

Publication Publication Date Title
JP6706846B2 (en) Display device, conversion device, display method, and computer program
CN110489073B (en) Conversion method and conversion device
CN101088292B (en) Device and method for synchronizing different parts of a digital service
US9117396B2 (en) Three-dimensional image playback method and three-dimensional image playback apparatus
JP6497522B2 (en) Reproduction method and reproduction apparatus
JP2018018572A (en) Recording medium
JP2017063485A (en) Display method and display device
JP2013138348A (en) Display device
US20110181692A1 (en) Reproducing apparatus
US20130187832A1 (en) Display apparatus and method for controlling the same
US20150222890A1 (en) Dual-channel three-dimension projector
CN107835455B (en) Automatic adjusting method for clock frequency
TWI386058B (en) Video processing method and device
CN103888808A (en) Video display method, display device, auxiliary device and system
CN209881957U (en) Image display device and stereoscopic image processing circuit
US20120051442A1 (en) Video Processor Configured to Correct Field Placement Errors in a Video Signal
Callway Variable Frame Rate Technology—Change Is Good!
JP2010258909A (en) Display device, display method, program, and recording medium
CN112188181B (en) Image display device, stereoscopic image processing circuit and synchronization signal correction method thereof
KR101369390B1 (en) Image reproducing apparatus with decision function of audio and video input signal and method thereof
JP2012090006A (en) Video display device
JP6868797B2 (en) Conversion method and conversion device
KR20100027315A (en) Display apparatus and control method thereof
JP2013211914A (en) Display device, display method, program, and recording medium
JP2019213215A (en) Network server device and distribution method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant