发明名称 Video-previewing methods and systems for providing preview of a video and machine-readable storage mediums thereof
摘要 Video previewing methods for electronic devices with a touch-sensitive display unit for providing preview of a video to be played are provided. First, a resolution of the touch-sensitive display unit of the electronic device is detected. Thereafter, a preview screen is generated on the touch-sensitive display unit according to the resolution of the touch-sensitive display unit, wherein the preview screen includes M level frame bars and each of the M level frame bars displays N video frames, and N for each of the M level frame bars is determined based on the resolution of the touch-sensitive display unit, where M≧1 and N≧1.
申请公布号 US9270928(B2) 申请公布日期 2016.02.23
申请号 US201313940084 申请日期 2013.07.11
申请人 Wistron Corp. 发明人 Lin Zhao-Yuan
分类号 H04N5/92;H04N5/91;G06F17/30;G11B27/00;H04N5/00 主分类号 H04N5/92
代理机构 代理人
主权项 1. A video-previewing method for providing preview of a video to be played for an electronic device with a touch-sensitive display unit, the method comprising: detecting a resolution of the touch-sensitive display unit of the electronic device; and generating a preview screen corresponding to the video on the touch-sensitive display unit according to the resolution of the touch-sensitive display unit, wherein the preview screen includes M level frame bars and each of the M level frame bars displays N video frames, wherein a frame number N is a value representing a number of video frames for each of the M level frame bars determined based on the resolution of the touch-sensitive display unit and a level number M is a value representing a number of levels determined according to a video length of the video, where M>1 and N≧1, wherein the video length is a total time length of the video to be played, wherein the method further comprises: providing first, second and third parameters;determining a maximum value of the N according to the resolution of the touch-sensitive display unit and the first parameter; anddetermining the value of the level number M according to the video length of the video, the second parameter and the third parameter,wherein the first parameter represents an expected resolution, the second parameter represents a minimum expected gap between each two of the N video frames and the third parameter represents a maximum expected gap between each two of the N video frames; wherein the step of determining the value of the level number M according to the video length of the video, the second parameter and the third parameters further comprises: obtaining a first count value according to the video length of the video and the second parameter and determining whether the first count value has exceeded the maximum value of the frame number N;when the first count value has exceeded the maximum value of the frame number N, obtaining a second count value according to the video length of the video and the third parameter and determining whether the second count value has exceeded the maximum value of the frame number N; andwhen the second count value has exceeded the maximum value of the frame number N, determining the value of the level number M is set to be at least 2 and setting the value of the frame number N for a first level frame bar among the M level frame bars to the maximum value of the frame number N; and wherein the method further comprises: dividing the video into the N video frames based on the video length of the video; andobtaining a third count value according to a frame length of each of the N frames and the second parameter and determining whether the third count value has exceeded the maximum value of the frame number N;when the third count value has not exceeded the maximum value of the frame number N, determining the value of the level number M is set to be 2 and setting the value of the frame number N for a second level frame bar among the M level frame bars to the third count value;when the third count value has exceeded the maximum value of the frame number N, obtaining a fourth count value according to the video length of the video and the third parameter and determining whether the fourth count value has exceeded the maximum value of the frame number N; andwhen the fourth count value has not exceeded the maximum value of the frame number N, determining the value of the level number M is set to be 2 and setting the value of the frame number N for the second level frame bar among the M level frame bars N to the fourth count value.
地址 New Taipei TW