This invention relates to a method of transmitting video files via a network, particularly to one capable of eliminating the wasting of network resources while downloading video files via a network and allowing the video file to be played in a skipping manner until a viewer stops the skipping operation.
A conventional method of transmitting video files via a network is shown in
In view of the shortcomings of the prior art, the inventor of this invention made improvements and invented a method that is completely different from the prior art, which allows the viewer to directly play the video file in a skipping manner when he no longer wishes to view the current video, or intends to search for certain content within the video file that he is interested in, until the viewer stops the skipping operation, thereby eliminating the problem of wasting network resources while downloading video files via a network.
It is a primary objective of this invention to provide a video file that is capable of eliminating the problem of wasting network resources while downloading video files via a network.
It is another objective of this invention to provide a method of downloading video files without squandering network resources, which allows a viewer to operate an electronic device and to directly play the video file in a skipping manner when he no longer wishes to view the current video, or intends to search for certain content within the video file that he is interested in, until the viewer stops the skipping operation, while viewing a video file by means of the electronic device.
To achieve the above objectives of this invention, this invention provides a method of transmitting video files, wherein an electronic device performs the steps of: (a) receiving a first video segment from time T0 to time T0+ΔT within a video file transmitted via a network from a video server; (b) receiving plural nth video segments from time Tn to time Tn+ΔTT within the video file transmitted via the network from the video server, wherein n=1, 2, 3 . . . N, and N is the number of video skipping points, ΔT and ΔTT are predetermined playback length, and time T0<time T1<time T2<time T3< . . . <time Tn; (c) playing the first video segment; (d) detecting whether a skip playback command has been received while the electronic device playing the first video segment, if affirmative, the electronic device skips to play the nth video segment, and subjecting the time T0 of the video server to be time Tn, if negative, the electronic device continues playing the first video segment until the time T0+ΔT, and subjecting the time T0 of the video server to be time T0+ΔT, in which the skip playback command serves to instruct the electronic device to play the nth video segment; and (e) repeating steps (a) to (d) until the end of the video file.
The structure and the technical means adopted by the present invention to achieve the above and other objects can be best understood by referring to the following detailed description of the preferred embodiments and the accompanying drawings, wherein:
The electronic device 30 then continues with the steps of: (65) playing the first video segment 40a; (67) detecting whether a skip playback command has been received while the electronic device 30 playing the first video segment 40a, if affirmative, the electronic device 30 skips to play the nth video segment 40b, and subjecting the time T0 of the video server 20 to be time Tn upon the view has determined the skipping point, if negative, the electronic device 30 continues playing the first video segment 40a until the time T0+ΔT, and subjecting the time T0 of the video server to be time T0+ΔT, in which the skip playback command serves to instruct the electronic device 30 to play the nth video segment 40b. In steps (65) and (67) the viewer views the first video segment 40a played by the electronic device 30. If the viewer no longer wishes to view the first video segment 40a, the viewer will operate the electronic 30 and instruct a skip playback command, such as by pressing a button of the electronic device 30 to instruct the skip playback command. The electronic device 30 is able to comprehend which of the video skipping points 40c that the viewer intends to skip to, based on the number of the viewer pressing the button. Then, the electronic device 30 would play the nth video segment 40b based on the video skipping point 40c as finally selected by the user. Every time the viewer presses the button, the viewer is able to view the nth video segment 40b at the video skipping point 40c. After the view has selected a skipping point, the electronic device 30 would subject the time T0 of the video server 20 to be time Tn. With reference to
The electronic device 30 then continues with the step of: (69) repeating steps (61) to (67) until the end of the video file 40.
Using the segment size of the video file 40 as a coordinate as an example to explain the playback time of this invention, the Time T0 is a time representing the file size of the video file 40 to be played, and the subsequent Time T1, Time T2, Time T3, . . . , Time Tn can all be the next playback time that the view intends to skip to, and each represents the various segment sizes of the video file. This invention allows the user to operate, preview and change the content of the video segments to be played based on the file size of the video file 40, to determine whether the playback time is in fact desired.
Using the playback time of the video file 40 as a coordinate as an example to explain the playback time of this invention, the time T0 is a time representing the playback time of the video file 40 to be played, and the subsequent time T1, time T2, time T3 . . . time Tn can all be the next playback time that the view intends to skip to, and each represents the various playback time of the video file 40. This invention allows the user to operate, preview and change the content of the video segments to be played based on the playback time of the video file 40, to determine whether the playback time is in fact desired.
According to this invention, the size of the predetermined parameters of playback length, including ΔT and ΔTT, may be determined by the size of the buffer of the electronic device 30 for establishing an appropriate playback length. By using the parameter ΔTT, this invention allows the user to immediately view the video segment of the playback length between the time Tn and time Tn+ΔTT upon skipping. By using the parameter ΔT, the first video segment 40a is only downloaded and played for a playback length of ΔT playback length, thereby eliminating the problem of squandering the network resources.
The video files 40 implemented in this invention may cover any video formats that may be processed and played by bit stream technology, or any other formats that may be played after being downloaded via a network.
Further, the method of this invention may be implemented in media players, to allow an electronic device 30 equipped with a media player to perform this invention, so as to demonstrate the features and effects of this invention.
The present invention has been described with a preferred embodiment thereof and it is understood that the scope and the spirit of the invention as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
092120206 | Jul 2003 | TW | national |