1. Field of the Invention
This invention is related to an apparatus and a method for transforming the format of a file. More specifically, this invention relates to an apparatus and a method for transforming the format of a multimedia file.
2. Description of the Prior Art
In the present day, multimedia storage systems and multimedia displaying systems have not been integrated together in most families. When a user wants to transmit a multimedia file stored in the disk of a computer to a TV and to display the multimedia file on the TV, two methods can be used. The first method is first burning the multimedia file on an optical storage medium, and then reads the multimedia file by a display system capable of accessing the multimedia file stored in the optical storage medium. This method not only wastes hardware resources but also is inconvenient for users. The second method previously sets a network between the disk drives of a computer and a TV display system. In the second method, users can access multimedia files from the disk drives through the network at the side of TV display system. However, there are a variety of formats of multimedia files. The applications for opening multimedia files in different formats are also different. A multimedia file to be played back might be a video file in .mpeg, .wmv, .asf, or .avi format, an audio file in .wav, .cda, .wma, .mid, or .mp3 format, or even a picture in .jpeg, .gif, .bmp, .tiff, or .png format. In this way, users must install lots of applications, for instance, software for processing video files, audio files, and pictures, in the TV display system. The advantage of the second method is that lots of applications must be installed. Different user interfaces of the applications also torment most users.
This invention provides an apparatus and a method for transforming the format of a file. The apparatus and method according to this invention first transforms the multimedia files into files conforming to the DVD format at the side of storage systems, and then transmits the transformed file to a display system through wired or wireless networks. Since a file conforming to the DVD format has a clear and convenient displaying menu, it is much easier for users to watch and control the transformed file displayed at display systems; thus, aforementioned problems can be solved.
The main purpose of this invention is providing an apparatus and a method for transforming the format of a multimedia file.
The transforming apparatus according to one preferred embodiment of this invention includes a transforming module, a combining module, and a transmitting module. The transforming module transforms an input file into an output file in a VOB (video object) format. The combining module generates an information file corresponding to the output file and combines the output file with the information file to generate a combined file. The transmitting module is used for transmitting the combined file.
Besides a transforming module, a combining module, and a transmitting module, the other preferred embodiment of this invention further includes a receiving module and a playing back module. The receiving module is used for receiving the combined file and the playing back module is used for playing back the combined file.
The advantage and spirit of the invention may be understood by the following recitations together with the appended drawings.
FIG. 1 shows the flowchart of the processing method according to the third preferred embodiment of this invention.
FIG. 2 shows the block diagram of the processing system according to the fourth preferred embodiment of this invention.
The main purpose of this invention is providing an apparatus and a method for transforming the format of a multimedia file. Before transmitting and displaying multimedia files, the apparatus and method according to this invention first transforms the multimedia files into files conforming to DVD format at the side of storage systems.
A file in a DVD format includes three kinds of sub-files: .VOB, .IFO, and .BUP. All the images, audios, and subtitles are stored in the .VOB sub-file. The .IFO sub-file is used for storing a variety of information about the .VOB sub-file, for example, which subtitles, languages, and angles are included in the .VOB sub-file, and the positions of each kind of data in the .VOB sub-file. The .BUP sub-file is the backup of the .IFO sub-file.
The transforming apparatus according to the first preferred embodiment of this invention includes a transforming module, a combining module, and a transmitting module. The transforming module transforms an input file into an output file in a VOB format. The combining module generates an information file corresponding to the output file and combines the output file with the information file to generate a combined file. The transmitting module is used for transmitting the combined file. The output file may include a plurality of sections and the information file can be relative to the positions and relations of each section in the output file. That is to say, the information file can include index information of the output file such that users can find each section rapidly. Actually, the information file generated by the combining module includes the .IFO file and the .BUP file corresponding to the output file in the VOB format. When the combined file is played back, the information file is used for providing the displaying menu of the multimedia file.
In actual applications, the input file can be any kind of multimedia file, for instance, a video file in .mpeg, .wmv, .asf, or .avi format, an audio file in .wav, .cda, .wma, .mid, or .mp3 format, or even a picture in .jpeg, .gif, .bmp, .tiff, or .png format.
Besides a transforming module, a combining module, and a transmitting module, the other preferred embodiment of this invention further includes a receiving module and a playing back module. The receiving module is used for receiving the combined file and the playing back module is used for playing back the combined file.
Please refer to FIG. 1. FIG. 1 shows the flowchart of the processing method according to the third preferred embodiment of this invention. In step S 11 , an input file is transformed into an output file in the VOB format. Step S 12 is generating an information file corresponding to the output file. Step S 13 is combining the output file with the information file to generate a combined file. Step S 14 is transmitting the combined file. Step S 15 is receiving the combined file and step S 16 is playing back the combined file.
In actual applications, if the input file includes video sections and audio sections, the outputted .VOB file can be generated by synthesizing the video sections and the audio sections. If the input file is an audio file, the outputted .VOB file can be generated by matching up the audio file with at least one pre-provided images. If the input file includes a plurality of pictures, the outputted .VOB file can be generated by matching up the pictures with a presentation script which provides displaying time and displaying intervals for the pictures.
Please refer to FIG. 2. FIG. 2 shows the block diagram of the processing system according to the fourth preferred embodiment of this invention. The processing system 20 includes an encoding apparatus 21 and a decoding apparatus 22 .
The encoding apparatus 21 includes a checking module 21 A, a transforming module 21 B, a combining module 21 C, and a transmitting module 21 D. The checking module is used for checking whether the input file 30 is in a VOB format. The transforming module 21 B is operated by the checking module 21 A. If the checking result of the checking module 21 A is NO, the transforming module 21 B transforms the input file 30 into an output file in the VOB format. The combining module 21 C generates an information file corresponding to the output file and combines the output file with the information file to generate a combined file 40 . The transmitting module 21 D is used for transmitting the combined file.
The decoding apparatus 22 includes a receiving module 22 A and a display system 22 B. The receiving module 22 A is used for receiving the combined file 40 transmitted by the transmitting module 21 D. The display system 22 B is capable of decoding and playing back the combined file 40 .
The apparatus and method according to this invention first transforms the multimedia files into files conforming to the DVD format at the side of storage systems, and then transmits the transformed file to a display system through wired or wireless networks. Since a file conforming to the DVD format has a clear and convenient displaying menu, it is much easier for users to watch and control the transformed file displayed at display systems; thus, problems in prior arts can be solved.
With the example and explanations above, the features and spirits of the invention will be hopefully well described. Those skilled in the art will readily observe that numerous modifications and alterations of the device may be made while retaining the teaching of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.