Hereinafter, embodiments of the present invention will be described with reference to the attached drawings.
In
The image-pickup unit 101 performs photoelectric conversion for data on an optical image of a subject so that the optical-image data is converted into a video signal, and externally transmits the video signal. The first encoding unit 102 encodes the transmitted video signal under the first encoding system and generates the first code string (encoded data). The decoding unit 103 decodes the first code string read from the recording medium 108 via the recording-and-reproducing unit 107.
The display unit 104 displays an image relating to the video signal externally transmitted from the image-pickup unit 101 and the video signal that is read from the recording medium 108 and that is decoded by the decoding unit 103, and displays an operation image including a menu image or the like. The operation unit 105 allows a user to specify an operation performed in the image-pickup apparatus, for example. The controlling unit 106 controls each of functional units provided in the image-pickup apparatus according to an operation or the like performed for the operation unit 105.
The recording-and-reproducing unit 107 records a code string onto the removable recording medium 108, the code string being obtained by encoding a video signal, and/or reproduces the recorded code string from the recording medium 108. Further, the recording-and-reproducing unit 107 can record and reproduce sound data and/or predetermined information onto and/or from the recording medium 108. The removable recording medium 108 is a writable recording medium. For example, according to the above-described embodiment, a disk (digital-versatile-disk (DVD) medium) including a DVD-recordable (R), which is a write-once DVD, a DVD-rewritable (RW), which is a rewritable DVD, and so forth is used, as the removable recording medium 108. However, other mediums may be used, without being limited to the above-described embodiment.
The second encoding unit 109 encodes a video signal transmitted thereto under the second encoding system and generates the second code string (encoded data).
Here, the first encoding system allows for obtaining a high-quality video signal by using a code amount smaller than that used for the second encoding system. The second encoding system is a general-purpose encoding system used by known reproducing devices supporting the second encoding system, the known reproducing devices being widely available.
According to the above-described embodiment, the H.264 (Motion Picture Experts Group (MPEG) 4 Advanced Video Coding (AVC)) system is used, as the first encoding system, for example, and MPEG-2 Systems are used, as the second encoding system. However, other systems may be used without being limited to the above-described embodiment.
The image-pickup apparatus according to the above-described embodiment operates when the user operates the operation unit 105 while looking at the display unit 104 and the controlling unit 106 controls each of blocks provided in the image-pickup apparatus in response to the above-described operations.
Namely, when a photographing operation is performed for the operation unit 105 so that photographing operations are started, the image-pickup unit 101 converts data on an optical image of the subject into a video signal and externally transmits the video signal, and the first encoding unit 102 encodes the video signal externally transmitted from the image-pickup unit 101 under the first encoding system. Subsequently, the first code string is obtained, where the first code string is obtained by encoding the video signal obtained through the photographing under the first encoding system.
The first code string obtained through the encoding performed by the first encoding unit 102 is converted into data generated in the form corresponding to the first record format by the controlling unit 106. Then, the recording-and-reproducing unit 107 records the data onto the recording medium 108.
The above-described photographing procedures are performed repeatedly so that data items relating to video signals obtained through the photographing (the first code string) are recorded onto the recording medium 108 in sequence.
Here, file-data items (data strings) recorded in the first record format are stored in the recording medium 108 in a form shown in
That is to say, according to the above-described embodiment, a series of code strings is stored, as a single file, where the code strings correspond to the photographing procedures, namely, from when the photographing is started to when the photographing is stopped. Then, the first code strings are recorded one after another in the stream directory (STREAM) 205 provided under the directory (FORMAT_1) 202 indicating the first record format, as the stream files 206, where the first code string is generated every time the photographing is performed.
Further, according to the above-described embodiment, every time the first code string is recorded, a clip-information file relating to the first code string is generated and recorded onto the recording medium 108. The clip-information file includes time-map information or the like showing the correspondence of a time elapsed from the head of the first code string corresponding to the clip-information file and the position of the clip-information file recorded onto the recording medium 108. The controlling unit 106 generates the clip-information file in synchronization with operations performed to record the first code string.
Then, the recording-and-reproducing unit 107 records the clip-information files 204 corresponding to the stream files 206 one after another in the clip directory (CLIP) 203 provided under the directory (FORMAT_1) 202 in the above-described manner.
Further, according to the above-described embodiment, a video signal obtained through photographing is encoded under the second encoding system provided in addition to the first encoding system so that the second code string is generated. The second code string can be recorded onto the recording medium 108 in the second record format. Further, according to the above-described embodiment, the second encoding system is determined to be MPEG-2 Systems, as described above, and the second record format is determined to be a DVD-video format.
After selecting the second encoding system by operating the operation unit 105, the user issues an instruction to start photographing. Subsequently, a video signal obtained by the image-pickup unit 101 is encoded by the second encoding unit 109, so that the video signal obtained through the photographing is encoded under the second encoding system and the second code string is obtained. The second code string obtained through the encoding performed by the second encoding unit 109 is converted into data generated in the form corresponding to the second record format by the controlling unit 106. After that, the recording-and-reproducing unit 107 records the data onto the recording medium 108 in the second record format.
In the above-described embodiment, when the recording medium 108 recording no data is inserted, the user selects either the first encoding system or the second encoding system, so as to encode and record a video signal under the selected encoding system. Then, the user initializes the recording medium 108 recording no data under the selected encoding system and in the record format corresponding to the selected encoding system.
After the encoding system is set, a video signal is encoded under the selected encoding system and recorded onto the recording medium 108 recording no data.
After the video signal is recorded onto the recording medium 108 in the above-described manner, the user can issue an instruction to perform finalization processing (finish processing) by operating the operation unit 105.
The finalization processing is performed to record predetermined data specified in a record format, such as management information, onto a disk, and record invalid data onto free space of a recording medium in the record format. Further, the finalization processing allows for adding an operation-menu image used to reproduce the data by using a player.
By performing the above-described finalization processing, it becomes possible to pull a DVD out of the image-pickup apparatus and reproduce data recorded onto the DVD.
Thus, the video signal is encoded under the first encoding system and the recording medium recording the encoded video signal in the first record format is finalized. As a result, it becomes possible to reproduce video data by using a player that can reproduce data recorded in the first record format.
However, it is difficult to reproduce recorded video data by using a player that does not support the first record format.
That is to say, when a recording medium recording a video signal in the first record format is inserted into a known player which is widely available at present, such as a DVD player, and an attempt to reproduce the video signal is made, it is difficult to identify the record format and/or the encoding system.
In that case, it is highly possible that the user erroneously determines that the recording medium is broken and/or no data is recorded onto the recording medium.
Further, if details on file arrangement performed according to the first record format are different from those on file arrangement performed according to the second record format used for the known player and/or the first encoding system is different from the second encoding system, there is no compatibility between the first record format and the second record format.
Therefore, according to the above-described embodiment, the finalization processing is performed for a recording medium on which data is recorded in the first record format, as below. Subsequently, it becomes possible to identify details on video data recorded on a disk by using the known player.
Next, at step S402, the recording-and-reproducing unit 107 reads the stream files 206 recorded in the first record format from the recording medium 108 under the control of the controlling unit 106. Then, the decoding unit 103 decodes part of the stream files 206 (the first code strings) read by the recording-and-reproducing unit 107. For example, the decoding unit 103 decodes data on the first image of each of clips and generates data on a still image representing the clip.
Then, message information informing the user that a video signal is originally recorded onto the recording medium 108 in the first record format is provided. Then, the decoded representative-still-image data and the message information are merged into data on a message image used for the second record format.
Then, at step S403, the second encoding unit 109 re-encodes the message-image data generated, at step S402, in the second encoding system under the control of the controlling unit 106. Here, when the MPEG-2 Systems are used, as the second encoding system, as described above, the message-image data is converted into data on video played over a predetermined time period, and the video data is encoded under MPEG-2 Systems. Further, the clip-information file corresponding to the message-image data is also generated.
Then, at step S404, the controlling unit 106 records the second code string obtained through the encoding processing performed, at step S403, onto the recording medium 108 in the second record format by using the recording-and-reproducing unit 107. At that time, each of files (data strings) recorded in the second record format is recorded onto the recording medium 108 in the same form as the storage form shown in
Namely, a directory (FORMAT_2) 207 indicating the second record format is provided under the root directory 201, as shown in
Finally, at step S405, the controlling unit 106 performs the finalization processing corresponding to the second record format so that the entire finalization processing is finished.
Here, as described above, the tree structure including the directory 207 and the files 208 and 209 is the same as the tree structure used in the known player, the tree structure including the directory 302 and the files 303 and 304 that are shown in
As shown in
When the representative image 502 and the message video 503 are displayed, as shown in
Therefore, it becomes possible to make the user understand details on data recorded onto the recording medium 108, which makes it possible for the user to stop abandoning and/or initializing the recording medium 108 by mistake.
Thus, according to the first embodiment, video signals are recorded onto the recording medium 108 under the first encoding system and in the first record format. Then, during the finalization processing, part of the recorded video signals is recorded onto the recording medium 108 under the second encoding system and in the second record format, where the second encoding system and the second record format are used by the known players.
Accordingly, it becomes possible to record data reproduced with high quality over a long time period under the first encoding system and in the first record format. It becomes also possible to reproduce and display the data recorded onto the recording medium 108 by using the known player so that details on the recorded data can be identified.
Subsequently, it becomes possible for the user to understand details on data recorded onto the recording medium 108 and prevent the recording medium 108 from being abandoned and/or initialized by mistake.
Further, data on a still image representing clip information recorded in the first record format is re-encoded, at step S403 shown in
Further, if the capacity of the recording medium 108 is not adequate, data on a single still image only, the still-image data representing the recording medium 108, may be re-encoded.
On the other hand, only the message video can be generated and encoded without using an image obtained through the re-encoding processing. Although the message video alone is displayed, it becomes possible to prevent a fatal problem such as abandonment and/or initialization of the recording medium 108 from happening.
Next, a second embodiment of the present invention will be described.
The video-recording-and-reproducing apparatus shown in
The video-recording-and-reproducing apparatus of the above-described embodiment is operated when the user operates the operation unit 105 and the controlling unit 106 controls each of the blocks provided in the video-recording-and-reproducing apparatus in response to the operation.
That is to say, when the operation unit 105 issues an instruction to start recording, the input unit 601 receives a video signal transmitted from an external device such as a tuner (not shown) via the input terminal 600. The video signal transmitted to the input unit 601 is encoded by the first encoding unit 105 under the first encoding system so that the first code string is generated. The first code string is converted into data generated in the form corresponding to the first record format, and the recording-and-reproducing unit 107 records the data onto the recording medium 108. The above-described operations are performed repeatedly so that video-data items are recorded one after another onto the recording medium 108.
In the second embodiment, the finalization processing is performed for a recording medium on which a video signal is recorded in the first record format. At that time, the finalization processing is performed, as shown in
Namely, the finalization processing is performed for the recording medium 108 so that the message-image data is recorded by using the same tree structure as the tree structure used by the known player, the tree structure including the directory 302, and the files 303 and 304.
Subsequently, the recording medium 108 subjected to the finalization processing can be correctly identified and data recorded onto the recording medium 108 can be reproduced by using the known player.
Namely, it becomes possible to record data played with high quality over a long time period under the first encoding system and in the first record format. It becomes also possible to reproduce and display the recorded data by using the known player so that details on the recorded data can be identified.
Therefore, it becomes possible for the user to understand details on data recorded onto the recording medium 108, which makes it possible for the user to stop abandoning and/or initializing the recording medium 108 by mistake.
For making various types of devices operate, so as to achieve the functions of the above-described embodiments, program code (software) provided to achieve the above-described functions is supplied to a computer (a central processing unit (CPU) and/or a microprocessing unit (MPU)) provided in an apparatus and/or a system connected to the various devices. According to another embodiment of the present invention, the various types of devices are made to operate according to the program code stored in the computer of the system and/or the apparatus.
In that case, the program code itself achieves the functions of the above-described embodiments. Further, a section and/or a unit may be used to supply the program code to the computer, for example, a recording medium storing the program code. The recording medium storing the program code may be a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a compact disk (CD)-read-only memory (ROM), a magnetic tape, a nonvolatile memory card, a ROM, and so forth.
Further, according to another embodiment of the present invention, the supplied program code achieves the functions of the above-described embodiments in association with an operating system and/or a different application software program or the like running on the computer.
Further, according to another embodiment of the present invention, the supplied program code is stored in a memory of a function extension board and/or a function extension unit relating to the computer, and a CPU or the like provided in the function extension board or the like performs part of or the entire processing which is actually performed according to instructions of the program code.
For example, the signal-processing device according to the first and second embodiments includes a computer function 700 shown in
The computer function 700 includes a CPU 701, a read-only memory (ROM) 702, and a random-access memory (RAM) 703, as shown in
The CPU 701 controls the functional sections connected to the system bus 704 by executing a software program stored in the ROM 702 and/or the HD 711, and/or a software program supplied from the STD 712. Namely, the CPU 701 performs control, so as to achieve the operations described in the first and second embodiments by reading a processing program provided to perform the above-described operations from the ROM 702, the HD 711, or the STD 712 and executing the read processing program. The RAM 703 functions, as a main memory and/or a work area or the like of the CPU 701.
The CONSC 705 controls an instruction input transmitted from the CONS 709. The DISPC 706 controls display processing performed by the DISP 710. The DCONT 707 controls accesses made to the above-described HD 711 and STD 712 storing a boot program, various types of application programs, user-file data, a network-management program, the above-described processing programs described in the first and second embodiments, and so forth. Data is bidirectionally transmitted between the NIC 708 and other devices provided on a network 713.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all modifications, equivalent structures and functions.
This application claims the benefit of Japanese Application No. 2006-279160 filed on Oct. 12, 2006, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2006-279160 | Oct 2006 | JP | national |