WO2008062631A1 - Dispositif, procédé et programme d'édition de contenu - Google Patents

Dispositif, procédé et programme d'édition de contenu Download PDF

Info

Publication number
WO2008062631A1
WO2008062631A1 PCT/JP2007/070794 JP2007070794W WO2008062631A1 WO 2008062631 A1 WO2008062631 A1 WO 2008062631A1 JP 2007070794 W JP2007070794 W JP 2007070794W WO 2008062631 A1 WO2008062631 A1 WO 2008062631A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
division
content editing
divided
data
Prior art date
Application number
PCT/JP2007/070794
Other languages
English (en)
French (fr)
Inventor
Masahiro Shioi
Takayuki Mohri
Norio Itoh
Kei Okuda
Original Assignee
Sharp Kabushiki Kaisha
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 Sharp Kabushiki Kaisha filed Critical Sharp Kabushiki Kaisha
Priority to BRPI0718998-2A2A priority Critical patent/BRPI0718998A2/pt
Priority to JP2008545341A priority patent/JP4491499B2/ja
Publication of WO2008062631A1 publication Critical patent/WO2008062631A1/ja

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/84Television signal recording using optical recording
    • H04N5/85Television signal recording using optical recording on discs or drums
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
    • G11B20/0021Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
    • G11B20/0021Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier
    • G11B20/00485Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier characterised by a specific kind of data which is encrypted and recorded on and/or reproduced from the record carrier
    • G11B20/00492Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier characterised by a specific kind of data which is encrypted and recorded on and/or reproduced from the record carrier wherein content or user data is encrypted
    • G11B20/00507Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier characterised by a specific kind of data which is encrypted and recorded on and/or reproduced from the record carrier wherein content or user data is encrypted wherein consecutive physical data units of the record carrier are encrypted with separate encryption keys, e.g. the key changes on a cluster or sector basis
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/781Television signal recording using magnetic recording on disks or drums
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/804Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components
    • H04N9/8042Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components involving data reduction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/804Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components
    • H04N9/806Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components with processing of the sound signal
    • H04N9/8063Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components with processing of the sound signal using time division multiplex of the PCM audio and PCM video signals

Definitions

  • the present invention relates to a content editing apparatus, method, and program for editing content such as division and extraction with respect to content stored as a file.
  • file systems such as FAT (File Allocation Table) are used for multimedia content such as video and still images. It has become common to store them as files. Improvements in image coding technology have made it possible to compress video at high speed, and it has begun to shoot and record long-time video content and store it as a single file. There is an increasing demand to divide and extract files stored as long-time video content thus obtained, and to edit and save only the necessary content.
  • Patent Document 2 describes the next cluster boundary of GOP (Group Of Pictures) to be divided when dividing a file created in a file format that can set a variable length file header such as MPEG-2PS.
  • GOP Group Of Pictures
  • the technology describes that the data is divided by and the section from the beginning of the latter half of the file to the valid data is overwritten with padding data.
  • Patent Document 1 when a file composed of MPEG-2TS, which is a fixed-length packet, is divided, an MPEG-2TS packet boundary ahead of the position where the user requested the division. Describes a technique to divide a file at a place where the cluster boundary overlaps.
  • FIG. 5 is a block diagram showing a schematic configuration of a conventional multimedia content editing apparatus described in Patent Document 1.
  • the conventional multimedia content editing device 5 includes a division position request unit 51, a division position calculation unit 52, a file division unit 53, and a dummy packet overwrite unit 54. .
  • the division position request unit 51 interprets a position that the user wants to divide based on a user instruction (not shown) or the like, and specifies a requested division position.
  • the division position calculation unit 52 calculates a common boundary position that satisfies both the cluster boundary (represented as a sector boundary in Patent Document 1) and the MP EG-2TS packet boundary existing ahead of the requested division position.
  • the file dividing unit 53 divides the file at the calculated common boundary position.
  • the dummy packet overwriting unit 54 overwrites the area from the divided position to the requested divided position with a dummy packet.
  • the conventional multimedia content editing apparatus can divide a file in the vicinity of the divided label and position with a small processing amount.
  • Patent Document 1 Japanese Patent Application Laid-Open No. 2004-112188
  • Patent Document 2 JP 11 176083 A
  • Patent Documents 1 and 2 disclose random access. There is no description of how to process the information or playback section information if it was included. Thus, in the conventional editing method, when random access information or playback section information is included in the target file, the information cannot be processed.
  • the present invention has been made in view of the above circumstances, and edits an encrypted content file with a small amount of data and / or a processing amount and close to a desired position! It is an object to provide a content editing apparatus, a content editing method, and a program that can be used.
  • the present invention edits a file while maintaining vitality so that even when playback information such as random access information and playback section information is included in the content file, the information can be processed. It is another object to provide a content editing apparatus, a content editing method, and a program that can be used.
  • the first technical means of the present invention includes a division desired position designation means for designating a position to be divided for content stored as a file, and the designated Cluster boundary detection means for detecting a location corresponding to a cluster boundary before the desired division position, and encrypted chain block boundary detection means for detecting a location corresponding to the boundary of the encrypted block before the desired division position
  • a division position calculation unit that calculates a position for actual division from the detected cluster boundary and the detected encrypted chain block boundary
  • a file division unit that divides the file at the calculated division position
  • the second technical means further comprises reproduction information updating means for updating the reproduction information included in the file so as to be consistent with the divided file in the first technical means. It is that.
  • a third technical means is the second technical means, wherein the reproduction information is random access information and / or reproduction section information.
  • a fourth technical means is the first technical means, wherein the data correction means is a unit of data that allows decryption of the encrypted content, and the latter half file after division. The data is copied to the first half of the file after splitting.
  • a fifth technical means is the first technical means, in which the data correction means has the same data in the first half file after division and the second half file after division for the content that is not allowed to be copied.
  • the special feature is to overwrite the copy source data with invalid data so that it does not exist.
  • Sixth technical means includes division desired position designation means for designating a position to be divided with respect to content stored as a file, and a location corresponding to a cluster boundary before the designated division desired position.
  • a cluster boundary detecting means for detecting the file, a file dividing means for dividing the file as a dividing position for actually dividing the detected cluster boundary, and a reproduction information contained in the file so as to be consistent with the file after dividing.
  • a reproduction information updating means for updating to.
  • a seventh technical means is the sixth technical means, wherein the reproduction information is random access information and / or reproduction section information.
  • data is transferred from the divided latter half file to the divided first half file according to a difference between the desired division position and the actually divided division position.
  • the reproduction information updating unit updates the reproduction information so that the file and the divided file corrected by the data correction unit are consistent. It is characterized by.
  • the ninth technical means is to divide the content stored as a file into A desired division position designating step for designating, a cluster boundary detecting step for detecting a portion corresponding to a cluster boundary before the designated desired division position, and an encrypted block boundary before the desired division position.
  • An encrypted chain block boundary detecting step for detecting a portion corresponding to the above, a divided position calculating step for calculating a position to be actually divided from the detected cluster boundary and the detected encrypted chain block boundary; and
  • the file division step for dividing the file at the divided position and the difference between the desired division position and the actually divided position, the data is transferred from the latter half file after division to the first half file after division.
  • a data correction step for performing copying.
  • the tenth technical means is the ninth technical means, further comprising a reproduction information updating step for updating the reproduction information included in the file so as to be consistent with the file after division. Is.
  • An eleventh technical means according to the tenth technical means is characterized in that the playback information is random access information and / or playback section information.
  • the data correction step is a unit of data in which the encrypted content can be decrypted from the latter half file after division. It is characterized by copying data to the first half file after division.
  • the data correction step may be configured such that, for content that is not allowed to be copied, the same data is stored in the first half file after copying and the second half file after splitting.
  • the special feature is to overwrite the copy source data with invalid data so that it does not exist.
  • the fourteenth technical means includes a division desired position designating step for designating a content stored as a file as a divided! / And a position, and a cluster before the designated division desired position.
  • a cluster boundary detecting step for detecting a portion corresponding to the boundary; a file dividing step for dividing the file as a dividing position for actually dividing the detected cluster boundary; and dividing reproduction information included in the file.
  • a reproduction information update step for updating so as to be consistent with a later file.
  • a fifteenth technical means according to the fourteenth technical means is characterized in that the reproduction information is random access information and / or reproduction section information.
  • the sixteenth technical means is the fourteenth technical means according to the fourteenth technical means, wherein data is transferred from the divided second half file to the divided first half file according to the difference between the desired division position and the actually divided division position.
  • the reproduction information update step further updates the reproduction information so that the file and the divided file corrected in the data correction step are consistent with each other. It is characterized by.
  • the seventeenth technical means is a program for causing a computer to execute the content editing method in any one of the ninth to sixteenth technical means.
  • reproduction information such as random access information and reproduction section information
  • the information is processed so that the information can be processed.
  • the file can be edited.
  • FIG. 1 is a block diagram showing a schematic configuration of a multimedia content editing apparatus according to an embodiment of the present invention.
  • FIG. 2 is a conceptual diagram of an operation for dividing a file in the multimedia content editing apparatus shown in FIG.
  • FIG. 3 is a conceptual diagram showing the flow of file division processing in the multimedia content editing apparatus shown in FIG. 1.
  • FIG. 4 is a diagram illustrating a configuration example of a general information processing apparatus.
  • FIG. 5 is a block diagram showing a schematic configuration of a conventional multimedia content editing apparatus. Explanation of symbols
  • the content editing apparatus of the present invention will be described as the multimedia content editing apparatus 1 in FIG.
  • the multimedia content editing apparatus 1 in addition to the ability to use the term multimedia in order to edit content that generally includes video and audio, it also includes subtitles and data broadcasts that are included when digital broadcasts are recorded. May be.
  • an apparatus that edits content storing single media such as content containing only video data or content containing only audio data, does not matter.
  • FIG. 1 is a block diagram showing a schematic configuration example of the multimedia content editing apparatus according to the present embodiment.
  • the multimedia content editing apparatus 1 includes a division desired position designation unit 11, a cluster boundary detection unit 12, an encrypted block boundary detection unit 13, a division position calculation unit 14, a file division unit 15, and a data correction unit. 16, a random access information update unit 17 and a playback section information update unit 18 are provided.
  • the desired division position specifying unit 11 interprets a position that the user wants to divide based on a user instruction (not shown) or the like.
  • a user instruction not shown
  • an encoded video When an encoded video is included, it is usually divided immediately before the frame encoded in the intraframe encoding mode. This is because a frame coded in the interframe coding mode cannot be correctly reproduced as a video unless there is a frame in the intraframe coding mode that exists before that.
  • a frame that can display all video after that frame such as a frame encoded in the intraframe encoding mode, is called a “key frame”, and a frame that is not so is called a “non-key frame”.
  • the I frame is a key frame
  • the P frame and the B frame are non-key frames.
  • frames called IDR pictures are key frames
  • other pictures are non-key frames.
  • the cluster boundary detection unit 12 obtains a location corresponding to the cluster boundary before the desired division position.
  • the recording medium 19 includes an SD (Secure Digital) memory card and a hard disk, but is not limited thereto.
  • the cluster size differs for each recording medium 19, and even if the same type of recording medium is adopted as the recording medium 19, the cluster size may differ depending on the capacity, and the same. Even with this type of recording medium, the cluster size may differ depending on the initialized device. For this reason, it is necessary to acquire the cluster size every time the division process is performed or each time the recording medium 19 is inserted into the apparatus. Since the cluster has a fixed length, if the cluster size can be obtained, the position corresponding to the multiple can be determined as the cluster boundary.
  • the encrypted block boundary detection unit 13 detects a portion corresponding to the boundary of the encrypted block before the desired division position.
  • Encryption algorithms can be classified into block ciphers and stream ciphers, but block ciphers are used for encryption used for recording on mobile terminals in terms of processing speed.
  • This block No. is a type of encryption / decryption that uses fixed-length data called a block as a unit, and is 64 bits for DES, which is a typical encryption algorithm, and 128 bits for AES. It has become. Also, the block No. can be classified by mode, and there are representative modes (ECB (Electric Code Book) mode, CBC (Cipher BIOC Chaining; mode). ECB mode is independent for each block. The encryption / decryption mode is used to encrypt and decrypt any block, but it is not often used for content recording due to its weakness in encryption strength. On the other hand, C BC mode is the result of encrypting the previous plaintext block into the next plaintext and using the XOR operation. Since this is a mode in which the result is superimposed and the result is encrypted, it becomes a mechanism that can decrypt and decrypt any block!
  • ECB Electronic Code Book
  • CBC Cipher BIOC Chaining
  • the division position calculation unit 14 uses the encryption block obtained by the encryption block boundary detection unit 13 before the cluster break obtained by the cluster boundary detection unit 12 and the position designated by the division desired position designation unit 11. The position where the delimiter of the generalized chain block overlaps is calculated. Here, the calculated position is referred to as “actual division position”.
  • the file division unit 15 divides the file stored in the recording medium 19 at the actual division position calculated by the division position calculation unit 14 and stores the file in the recording medium 19. As shown above, the actual division position is the position of the cluster boundary! /. Therefore, when dividing a file, the cluster chain information indicating which cluster is connected next to which cluster! / Is added. Simply complete the process.
  • the data correction unit 16 copies the data so as to absorb as much as possible the difference between the desired division position specified by the desired division position specifying unit 11 and the actual division position actually divided by the file division unit 15. And move. It is very rare for the desired division position and the actual division position to be the same position, and there can be several tens of packets of data between them.
  • the head of the encrypted chain block including the desired division position is calculated.
  • This position is referred to here as the “second half valid data start position”.
  • the data from the actual division position to the second half effective data start position becomes the data of the encryption chain block unit, and if the data between these is copied, the first half file and the second half file will be correctly decoded. become able to. If you want to play back the data up to the desired division position in the first half file, you can copy another extra encryption chain block from the second half valid data start position as the data to be copied to the first half file. .
  • Content that is not permitted to be copied corresponds to digital broadcast content recorded with copyright protection with copy-once. Copy once is the content that is allowed to be copied only once. The power to record the content. This is the first copy, so the content recorded with copy once is permitted to be copied! / ,! It will be.
  • the content may be purchased with the storage medium stored, purchased via the network, or the last Nth copy of the content that can be copied up to N times. In general, the content is not permitted to be copied.
  • the case where the desired division position is encrypted! / Is processed as an encrypted file, and the desired division position is encrypted. /
  • the case as an encrypted file there is no problem.
  • it will be processed as an encrypted file, otherwise it will be encrypted! /, N! /, It may be treated as a fuinole.
  • the random access information update unit 17 updates the random access information so as to be consistent with the divided file.
  • Random access information is information that stores key frame position information and time information separately in order to perform fast-forward playback, “rewind playback,” playback from an arbitrary point, and the like.
  • This method is a general method as a file format.
  • key frame position information corresponding to playback time N seconds is listed at the end of the file.
  • the MP4 file which is the MPEG-4 standard file format, has a mechanism for storing time 1 ”and position information of all key frames.
  • the SD-Video standard also has a mechanism for storing random access information as a separate file that has a one-to-one correspondence with the actual video and audio files.
  • the position information includes the number of bytes or packets from the beginning of the file, and the time information includes the playback time from the beginning of the file! /.
  • the corresponding video / audio data is included in the latter divided file, but the latter half file is played from the desired division position. If this setting is made, this key frame information will be discarded.
  • the key frame position is used for information from the desired split position! /, And is used as information for the latter half of the split file.
  • the position information and time information cannot be used as they are.
  • the position information! / It is necessary to convert the position information to the position information from the actual divided position that is the head of the latter half of the file by subtracting the actual divided position information from the original position information.
  • the time information is displayed first in the latter half of the file by subtracting the time information (for example, the time information such as the time to be displayed first) from the original time information. It is necessary to convert the time information from the position time.
  • the playback section information update unit 18 updates the playback section information so as to be consistent with the divided file.
  • the playback section information includes the total playback time information, the playback start specification information from which position of the actual data to start playback, and the end of playback. There can be information such as specified information. This section describes the processing when a file that is encrypted and prohibited from being copied is divided.
  • the reproduction start position information uses the reproduction start position information before the division
  • the reproduction end position information uses the second half effective data start position that is the end of the first half-division file.
  • the playback start position information uses the desired division position information when playing from the desired division position, and the second half valid data start position when playing from the beginning of the latter half file. Use.
  • the playback end position information information on the playback end position before division is used. Note that this position information cannot be stored as it is in the case of a divided latter half file, and must be converted into position information from the actual divided position that is the head of the divided latter half file.
  • the total playback time is in the first half of the file. Even in the latter half of the divided file, the time of the section to be actually reproduced is calculated and set.
  • FIG. 2 shows a specific operation example of the file division processing in the multimedia content editing apparatus 1 configured as described above, and the flow of the processing is shown in FIG. 3, and will be described with reference to them.
  • Fig. 2 (A) shows the file before splitting, consisting of encryption chain blocks Bl, B2, ⁇ , B6.
  • step S1 the divided labels and positions are determined.
  • the divided! /, Positions are the positions surrounded by the diagonal lines in Fig. 2 (A). This position is set as a desired division position.
  • step S2 an encrypted chain block corresponding to the position selected in step S1 is calculated. In Figure 2 (A), this is the block B5.
  • step S 3 a position where the cluster boundary and the boundary of the encrypted chain block coincide is found in front of the encrypted chain block, and that position is set as the actual division position. Note that a cluster boundary before the desired division position may be obtained before this processing.
  • the corresponding position is between the encryption chain blocks B2 and B3.
  • step S4 it is determined whether there is reproducible data in the portion that becomes the first half file after division. If it is determined that there is no data, the process proceeds to step S6, indicating that it cannot be divided at that position, prompting the user to divide at another position, or giving up the division process. Or show. If it is determined in step S4 that there is data, the process proceeds to step S5, and division is performed at the actual division position. The result is shown in Fig. 2 (B). The upper half of Fig. 2 (B) is the first half file after splitting, and the lower half is the second half file after splitting.
  • step S7 it is determined whether or not the content is encoded. If the content is encoded, the process proceeds to step S8, where the data from the actual division position to the encryption chain block including the key frame at the position to be divided is copied from the latter half file to the first half file. Move on to step S10. Blocks B3 and B4 in Fig. 2 (C) are the corresponding blocks. On the other hand, if the content is not encrypted in step S7, the process proceeds to step S9, where the data from the actual division position to the key frame at the position to be divided is copied from the second half file to the first half file. Move on to step S10.
  • step S10 it is determined whether or not the content is permitted to be copied. Duplication allowed If the content has not been received, the process proceeds to step S11, and the data copied in step S8 or step S9 is overwritten with unencrypted invalid data, and the process proceeds to step S12. To do. This is equivalent to blocks B3 and B4 of the latter half file in Fig. 2 (C) in the case of content that has been converted to a blank, and this block is overwritten with invalid data to be B3a and B4a. For content that is not allowed to be copied, the same data must not exist even in a part of the data. By overwriting such invalid data, it is possible to divide at a position closer to the desired division without violating the rule. Will be. If it is determined in step S10 that the content is permitted to be copied, the process proceeds to step S12. This is because if the content is permitted to be copied, blocks B3 and B4 may exist simultaneously in the first half file and the second half file.
  • step S12 the random access information is updated so as to be consistent with the divided file
  • step S13 the reproduction section information is updated so as to be consistent with the divided file.
  • processing is also performed on digital content files that include random access information and playback section information and are encrypted or not permitted to be copied. It can be divided by a small amount of method, and if it can be divided very close to the place where the division is desired, and it can be divided at a place, the effect is achieved.
  • the power of explaining the preferred embodiment of the present invention is the content editing apparatus according to the present invention, in the multimedia content editing apparatus 1 described with reference to FIGS.
  • a configuration without the playback section information update unit 18 can also be realized. With such a configuration, it is possible to edit (including division) a content file that has been encoded at a position close to the desired position with a small amount of processing.
  • the content editing apparatus is realized even in the multimedia content editing apparatus 1 described with reference to FIGS. 1 to 3 even without the encryption block boundary detection unit 13 and the data correction unit 16. it can.
  • the division position calculation unit 14 simply calculates the cluster boundary detected by the cluster boundary detection unit 12 as it is as an actual division position.
  • playback information such as random access information and playback section information
  • the data correction unit 16 may be provided.
  • the random access information update unit 17 and the playback section information update unit 18 are divided by the data correction unit 16 after the division. Random access information and playback section information may be updated so that the file and the file before division are consistent.
  • FIG. 4 is a diagram showing a configuration example of a general information processing apparatus applicable as a content editing apparatus according to the present invention.
  • this content editing program is a program for causing a computer to execute the processing procedure (content editing method) described in FIG.
  • Files handled by the PC 4 are read from a recording medium such as a hard disk (HDD) 44 or a portable recording medium 49, temporarily stored in the RAM 42 at the time of processing, and then recorded as an edited file. It is stored in the target recording medium (HDD44 or recording medium 49).
  • the portable recording medium 49 can read and write data by driving the recording medium driving device 48 under the control of the CPU 41.
  • the communication device 47 is an interface for exchanging data with other devices via a communication line, and can receive digital broadcasts just by enabling file download via a network such as the Internet. It is good to have such a configuration. With such a configuration, it is possible to specify the desired division position based on a user operation while receiving and recording a digital broadcast in real time. It is also possible to execute the division processing related to
  • the progress and result of the processing are presented to the user through the display device 46, and if necessary, the user can use the input device 45 such as a keyboard and mouse (pointing device) to set the parameters (division required) for the processing. If you specify the specified position, etc.).
  • This content editing program may be provided with a darling user interface for the display device 46 that is easy for the user to use.
  • ROM 43, input device 45, display device 46, and communication device 47 are connected by a bus or the like.
  • the present invention can take a form as a content editing method of the processing procedure as described in FIG. Furthermore, the present invention can take the form of a content editing program as described in FIG.
  • the content editing program according to the present invention can be distributed by being stored in a portable recording medium or distributed via a network. Then, install the recording medium like PC4 in Fig. 4 and read the content editing program with it installed, or store the content editing program in the HDD 44, as explained in Fig. 4, as necessary.
  • the content editing function according to the present invention can be executed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Description

明 細 書
コンテンツ編集装置、方法、及びプログラム
技術分野
[0001] 本発明は、ファイルとして格納されたコンテンツに対して、分割や抜き出しなどの編 集を行うコンテンツ編集装置、方法、及びプログラムに関するものである。
背景技術
[0002] デジタルスチールカメラや DVD (Digital Versatile Disc)などのデジタル機器 の普及やデジタル放送の開始にともない、映像や静止画などのマルチメディアコンテ ンッを FAT (File Allocation Table)等のファイルシステムを利用してファイルとし て格納することが一般的になってきた。また画像符号化技術の向上により、映像を高 圧縮することが可能となり、長時間の映像コンテンツを撮影したり録画したりして、 1つ のファイルとして格納することも行われ始めている。こうして得られた長時間の映像コ ンテンッとして格納したファイルに対して、分割や抜き出しを行い、必要な区間のみ のコンテンツに編集して保存することへの要求も高まっている。
[0003] ただし、この FAT等のファイルシステムを利用して構成されたファイルを任意の地 点で分割することは非常に重い処理である。この処理が非常に重い理由としては、特 許文献 1の従来技術に記載されているように、 FAT等のファイルシステムの仕様とし て、次に挙げる 3つの規定がなされて!/、るためである。
[0004] (1)記録書き込みを開始するデータの位置は必ずクラスタ(特許文献 1中ではセク タとの表現)の先頭から開始しなければならな!/、。
(2)データファイルの終端が存在するクラスタ以外でクラスタの途中でデータが途切 れてはならない。
(3)異なるデータファイルが重複するクラスタ領域を有して!/、ては!/、けな!/、。
[0005] すなわち、データはクラスタの先頭から開始しなければならないため、ファイルをクラ スタの途中のデータで分割すると、分割後半の開始位置を別クラスタの先頭にコピー しなければならない。そして、ファイル終端以外の全てのクラスタで先頭から最後まで データが埋められている必要があるため、結局、分割後半のデータを全部コピーする 必要が生じる事となり、処理が非常に重くなる。そのため、携帯電話などの組み込み 機器では、任意の地点で分割するのではなぐクラスタの境界で分割する手法がよく 導入されている。
[0006] 特許文献 2には、 MPEG— 2PSなどの可変長のファイルヘッダを設定できるフアイ ルフォーマットで作成されたファイルを分割する際に、分割する GOP (Group Of P ictures)の次のクラスタ境界で分割し、分割後半ファイルの先頭から有効なデータま での区間をパディングデータで上書きするとの技術が記載されている。
[0007] また、上述の特許文献 1には、固定長パケットである MPEG— 2TSで構成されたフ アイルを分割する際に、ユーザが分割を要求した位置より前方で、 MPEG— 2TSパ ケット境界とクラスタ境界とが重なった場所でファイルを分割するとの技術が記載され ている。
[0008] 図 5は、特許文献 1に記載された従来のマルチメディアコンテンツ編集装置の概略 構成を示すブロック図である。同図に示すように、従来のマルチメディアコンテンツ編 集装置 5は、分割位置要求部 51、分割位置算出部 52、ファイル分割部 53、及びダミ 一パケット上書き部 54を備えた構成となっている。
[0009] 分割位置要求部 51は、図示しないユーザの指示などから、ユーザが分割したい位 置を解釈し、要求する分割位置を特定する。分割位置算出部 52は、要求された分割 位置より前方に存在するクラスタ境界(特許文献 1中ではセクタ境界との表現)と MP EG— 2TSパケット境界を共に満たす共通境界位置を算出する。ファイル分割部 53 は、算出した共通境界位置でファイルの分割を行う。ダミーパケット上書き部 54は、 分割した位置から要求された分割位置までの間をダミーパケットで上書きする。
[0010] 以上のような構成により、従来のマルチメディアコンテンツ編集装置は、小さい処理 量で、分割したレ、位置の近傍でファイルを分割することを可能として!/、る。
特許文献 1 :特開 2004— 112188号公報
特許文献 2:特開平 11 176083号公報
発明の開示
発明が解決しょうとする課題
[0011] しかしながら、特許文献 1 , 2に記載の技術をはじめとする従来の編集方式では、次 の 2つの問題がある。
[0012] (I)従来の編集方式では、暗号化されたデジタルコンテンツのファイルを分割すると の考慮がなされていないため、デジタルコンテンツのファイルを分割する際には、い つたん喑号復号してから分割し、再度暗号化してファイル化する必要がある。
[0013] (Π)特許文献 1 , 2に記載の技術は、ランダムアクセス情報や再生区間情報が含ま れていないファイルを対象とした技術であるため、特許文献 1 , 2にはランダムァクセ ス情報や再生区間情報が含まれていた場合にその情報をどのように処理すればよい のかとの記載が全くない。このように、従来の編集方式では、対象となるファイルにラ ンダムアクセス情報や再生区間情報が含まれていた場合にその情報を処理すること ができない。
[0014] 本発明は、上述のごとき実情に鑑みてなされたものであり、暗号化されたコンテンツ のファイルを、少な!/、処理量でかつ希望の位置に近!/、位置で編集することが可能な コンテンツ編集装置、コンテンツ編集方法、及びプログラムを提供すること、をその目 的とする。
[0015] また、本発明は、ランダムアクセス情報や再生区間情報等の再生情報がコンテンツ のファイルに含まれていた場合にもそれらの情報を処理可能なように生力もたまま、 ファイルを編集することが可能なコンテンツ編集装置、コンテンツ編集方法、及びプロ グラムを提供すること、を他の目的とする。
課題を解決するための手段
[0016] 上記の課題を解決するために、本発明の第 1の技術手段は、ファイルとして格納さ れたコンテンツに対して、分割したい位置を指定する分割希望位置指定手段と、該 指定された分割希望位置より前で、クラスタ境界に相当する箇所を検出するクラスタ 境界検出手段と、前記分割希望位置より前で、暗号化ブロックの境界に相当する箇 所を検出する暗号化チェーンブロック境界検出手段と、前記検出したクラスタ境界と 、前記検出した暗号化チェーンブロック境界とから実際に分割する位置を算出する 分割位置算出手段と、該算出された分割位置で前記ファイルの分割を行うファイル 分割手段と、前記分割希望位置と前記実際に分割した分割位置との差に応じて、分 割後の後半ファイルから分割後の前半ファイルにデータのコピーを行うデータ補正手 段と、を備免たことを特 ί毁としたあのである。
[0017] 第 2の技術手段は、第 1の技術手段において、前記ファイルに含まれる再生情報を 分割後のファイルと整合がとれるように更新する再生情報更新手段をさらに備えたこ とを特 ί毁としたあのである。
[0018] 第 3の技術手段は、第 2の技術手段において、前記再生情報は、ランダムアクセス 情報及び/又は再生区間情報であることを特徴としたものである。
[0019] 第 4の技術手段は、第 1の技術手段において、前記データ補正手段は、暗号化さ れていたコンテンツについては、喑号復号が可能となるデータの単位で、分割後の 後半ファイルから分割後の前半ファイルにデータのコピーを行うことを特徴としたもの である。
[0020] 第 5の技術手段は、第 1の技術手段において、前記データ補正手段は、複製が許 されないコンテンツについては、コピー後に分割後の前半ファイルと分割後の後半フ アイルとに同じデータが存在しないように、コピー元のデータを無効なデータで上書 さすることを特 ί毁としたあのである。
[0021] 第 6の技術手段は、ファイルとして格納されたコンテンツに対して、分割したい位置 を指定する分割希望位置指定手段と、該指定された分割希望位置より前で、クラスタ 境界に相当する箇所を検出するクラスタ境界検出手段と、該検出したクラスタ境界を 実際に分割する分割位置として前記ファイルの分割を行うファイル分割手段と、前記 ファイルに含まれる再生情報を分割後のファイルと整合がとれるように更新する再生 情報更新手段と、を備えたことを特徴としたものである。
[0022] 第 7の技術手段は、第 6の技術手段において、前記再生情報は、ランダムアクセス 情報及び/又は再生区間情報であることを特徴としたものである。
[0023] 第 8の技術手段は、第 6の技術手段において、前記分割希望位置と前記実際に分 割した分割位置との差に応じて、分割後の後半ファイルから分割後の前半ファイルに データのコピーを行うデータ補正手段をさらに備え、前記再生情報更新手段は、前 記ファイルと前記データ補正手段で補正された分割後のファイルとの整合性がとれる ように、前記再生情報を更新することを特徴としたものである。
[0024] 第 9の技術手段は、ファイルとして格納されたコンテンツに対して、分割したレ、位置 を指定する分割希望位置指定ステップと、該指定された分割希望位置より前で、クラ スタ境界に相当する箇所を検出するクラスタ境界検出ステップと、前記分割希望位置 より前で、暗号化ブロックの境界に相当する箇所を検出する暗号化チェーンブロック 境界検出ステップと、前記検出したクラスタ境界と、前記検出した暗号化チェーンブ ロック境界とから実際に分割する位置を算出する分割位置算出ステップと、該算出さ れた分割位置で前記ファイルの分割を行うファイル分割ステップと、前記分割希望位 置と前記実際に分割した分割位置との差に応じて、分割後の後半ファイルから分割 後の前半ファイルにデータのコピーを行うデータ補正ステップと、を含むことを特徴と したものである。
[0025] 第 10の技術手段は、第 9の技術手段において、前記ファイルに含まれる再生情報 を分割後のファイルと整合がとれるように更新する再生情報更新ステップをさらに含 むことを特徴としたものである。
[0026] 第 11の技術手段は、第 10の技術手段において、前記再生情報は、ランダムァクセ ス情報及び/又は再生区間情報であることを特徴としたものである。
[0027] 第 12の技術手段は、第 9の技術手段において、前記データ補正ステップは、暗号 化されていたコンテンツについては、喑号復号が可能となるデータの単位で、分割後 の後半ファイルから分割後の前半ファイルにデータのコピーを行うことを特徴としたも のである。
[0028] 第 13の技術手段は、第 9の技術手段において、前記データ補正ステップは、複製 が許されないコンテンツについては、コピー後に分割後の前半ファイルと分割後の後 半ファイルとに同じデータが存在しないように、コピー元のデータを無効なデータで 上書さすることを特 ί毁としたあのである。
[0029] 第 14の技術手段は、ファイルとして格納されたコンテンツに対して、分割した!/、位 置を指定する分割希望位置指定ステップと、該指定された分割希望位置より前で、ク ラスタ境界に相当する箇所を検出するクラスタ境界検出ステップと、該検出したクラス タ境界を実際に分割する分割位置として前記ファイルの分割を行うファイル分割ステ ップと、前記ファイルに含まれる再生情報を分割後のファイルと整合がとれるように更 新する再生情報更新ステップと、を含むことを特徴としたものである。 [0030] 第 15の技術手段は、第 14の技術手段において、前記再生情報は、ランダムァクセ ス情報及び/又は再生区間情報であることを特徴としたものである。
[0031] 第 16の技術手段は、第 14の技術手段において、前記分割希望位置と前記実際に 分割した分割位置との差に応じて、分割後の後半ファイルから分割後の前半ファイル にデータのコピーを行うデータ補正ステップをさらに含み、前記再生情報更新ステツ プは、前記ファイルと前記データ補正ステップで補正された分割後のファイルとの整 合性がとれるように、前記再生情報を更新することを特徴としたものである。
[0032] 第 17の技術手段は、第 9乃至第 16のいずれかの技術手段におけるコンテンツ編 集方法をコンピュータに実行させるためのプログラムである。
発明の効果
[0033] 本発明によれば、喑号化されたコンテンツのファイルを、少な!/、処理量でかつ希望 の位置に近!/、位置で編集することが可能となる。
[0034] また、本発明によれば、ランダムアクセス情報や再生区間情報等の再生情報がコン テンッのファイルに含まれていた場合にもそれらの情報を処理可能なように生力、した まま、ファイルを編集することが可能となる。
図面の簡単な説明
[0035] [図 1]本発明の一実施形態に係るマルチメディアコンテンツ編集装置の概略構成を 示すブロック図である。
[図 2]図 1に示すマルチメディアコンテンツ編集装置でファイル分割を行う動作の概念 図である。
[図 3]図 1に示すマルチメディアコンテンツ編集装置でファイル分割の処理の流れの 概念図である。
[図 4]一般的な情報処理装置の構成例を示す図である。
[図 5]従来のマルチメディアコンテンツ編集装置の概略構成を示すブロック図である。 符号の説明
[0036] 1 · · ·マルチメディアコンテンツ編集装置、 4 'PC、 11 · · ·分割希望位置指定部、 12· · · クラスタ境界検出部、 13…暗号化ブロック境界検出部、 14· · ·分割位置算出部、 15 …ファイル分割部、 16· · ·データ補正部、 17· · ·ランダムアクセス情報更新部、 18· · '再 生区間情報更新部、 19, 49…記録媒体、 41 - - -CPU, 42· · -RAM, 43- - -ROM, 44 •••HDD, 45· · ·入力装置、 46· · ·表示装置、 47· · ·通信装置、 48· · ·記録媒体駆動装 置。
発明を実施するための最良の形態
[0037] 本発明の一実施形態について図 1〜図 3に基づいて説明すると以下の通りである。
本実施形態では、本発明のコンテンツ編集装置を図 1のマルチメディアコンテンツ編 集装置 1として説明する。本実施形態では、一般的に映像と音声とが含まれたコンテ ンッを編集するためにマルチメディアという言葉を用いる力 その他に、デジタル放送 を録画した場合に含まれる字幕やデータ放送などを含んでいても良い。また、例えば 映像データのみのコンテンツとか音声データのみのコンテンツなどのシングルメディ ァを格納したコンテンツを編集するような装置であっても力、まわない。
[0038] 図 1は、本実施形態に係るマルチメディアコンテンツ編集装置の概略構成例を示す ブロック図である。同図に示すように、マルチメディアコンテンツ編集装置 1は、分割 希望位置指定部 11、クラスタ境界検出部 12、暗号化ブロック境界検出部 13、分割 位置算出部 14、ファイル分割部 15、データ補正部 16、ランダムアクセス情報更新部 17、及び再生区間情報更新部 18を備えた構成となっている。
[0039] 分割希望位置指定部 11は、図示しないユーザの指示などから、ユーザが分割した い位置を解釈する。符号化された映像を含んだ場合、フレーム内符号化モードで符 号化したフレームの直前で分割することが通常である。これは、フレーム間符号化モ ードで符号化したフレームは、それより前に存在するフレーム内符号化モードのフレ ームがないと映像としては正しく再生されないためである。ここでは、フレーム内符号 化モードで符号化したフレームのような、そのフレーム以降の映像がすべて表示可能 となるフレームを「キーフレーム」と呼び、そうでないフレームを「非キーフレーム」と呼 。
[0040] DVD等に用いられる MPEG— 2 Videoの場合には、 Iフレームがキーフレームと なり、 Pフレームと Bフレームが非キーフレームとなる。また、地上波デジタル放送ワン セグで用いられる映像符号化方式である H. 264の場合には、 IDRピクチャと呼ばれ るフレームがキーフレームとなり、それ以外のピクチャが非キーフレームとなる。ユー ザが分割したレ、キーフレームを指定する方法としては、コマ送りやコマ戻し再生を行 つて、分割を希望するキーフレームを選択したり、分割を希望した位置の近傍のキー フレームを数枚表示して、その中から選択したり、再生中に所定のボタンを押した位 置で最も近傍の(もしくは次の)キーフレームとしたりする方法のうち、どれであっても よいし、複数の手段を備えても良い。こうして決定したキーフレームの位置をここでは 、「分割希望位置」と呼ぶ。
[0041] クラスタ境界検出部 12は、分割希望位置より前で、クラスタ境界に相当する箇所を 求める。また、記録媒体 19としては、 SD (Secure Digital)メモリカードやハードディ スク等があるが、これらに限定されるものではない。
[0042] 一般的にクラスタサイズは、記録媒体 19毎に異なり、記録媒体 19として採用するも のが同じ種類の記録媒体であっても、容量の違いによってクラスタサイズが異なる場 合もあり、同一の記録媒体であっても初期化を行った機器によってクラスタサイズが 異なる可能性がある。そのため、分割の処理を行うたび、もしくは記録媒体 19が装置 に揷入されるたびにクラスタサイズを取得する必要がある。クラスタは固定長であるの で、クラスタサイズが取得できれば、その倍数に相当する位置がクラスタ境界と判定 すればよい。
[0043] 暗号化ブロック境界検出部 13は、分割希望位置より前で、暗号化ブロックの境界に 相当する箇所を検出する。暗号化アルゴリズムは、ブロック暗号とストリーム暗号とに 分類できるが、携帯端末に記録する際に用いられる暗号化は、処理速度の面からブ ロック暗号が用いられる。
[0044] このブロック喑号とは、ブロックと呼ばれる固定長のデータを単位として暗号化-復 号を行う喑号であり、代表的な暗号化アルゴリズムである DESでは 64ビット、 AESで は 128ビットとなっている。またブロック喑号にはモードで分類でき、代表的なモードと して (ま、 ECB (Electric Code Book)モード、 CBC (Cipher BIOC Chaining; モードが存在する。 ECBモードとは、ブロック毎に独立して暗号化.復号を行うモード であり、どのブロックでも暗号化ゃ復号が行えるようになつている。ただし、暗号化強 度に弱い欠点があるので、コンテンツの録画にはあまり用いられない。これに対して C BCモードとは、前の平文ブロックを暗号化した結果を次の平文に、 XOR演算によつ て重ね合わせ、その結果に対して暗号化処理を行うモードであるので、任意のブロッ クの暗号化ゃ復号が行えなレ、仕組みとなって!/、る。
[0045] このように、 CBCモードがコンテンツの録画によく利用される力 全てのブロックが前 の平文ブロックを利用するようになって!/、ると、ランダムアクセス再生が行!/、難!/、ため 、一定間隔や意味のある区切り毎に、前の平文ブロックを利用しないようにして、ラン ダムアクセス再生が行!/、易いような仕組みを導入する。この前の平文ブロックを利用 しないようにすることを「暗号化チェーンをクリアする」と表現し、暗号化チェーンをタリ ァしてから次にクリアを行うまでのデータを、ここでは暗号化チェーンブロックと呼ぶ。
[0046] 分割位置算出部 14は、クラスタ境界検出部 12で求めたクラスタの区切りと、分割希 望位置指定部 11で指定された位置より前で、暗号化ブロック境界検出部 13で求め た暗号化チェーンブロックの区切りとが重なる位置を算出する。この算出した位置を ここでは、「実分割位置」と呼ぶ。
[0047] ファイル分割部 15は、記録媒体 19に格納されたファイルに対して、分割位置算出 部 14で算出した実分割位置でファイルを分割し、記録媒体 19に格納する。実分割 位置は上述の通りクラスタ境界の位置になって!/、るので、ファイルを分割する際には 、どのクラスタの次にどのクラスタがつながって!/、るのかとのクラスタチェーン情報を加 ェするだけで処理が完了する。
[0048] データ補正部 16は、分割希望位置指定部 11で指定された分割希望位置と、フアイ ル分割部 15で実際に分割した実分割位置との差を極力吸収するようにデータのコピ 一や移動などを行う。分割希望位置と実分割位置とが同一の位置になることは非常 にまれで、両者の間には、数十パケットのデータが存在し得る。
[0049] 暗号化されていないコンテンツの場合であれば、後半ファイルの先頭である実分割 位置から分割希望位置までのデータを、分割前半ファイルの後方にコピーし、分割 後半ファイルの先頭の実分割位置から分割希望位置までのデータを無効データで 上書きすることにより、分割前半ファイルが分割希望位置までのデータとなり、分割後 半ファイルが分割希望位置からのファイルとなる。なお、処理を簡略化するために、 無効データで上書きを行わずに済ませても良い。その場合、分割後半ファイルを再 生すると分割希望位置よりちょっと前から再生される可能性がある程度である。 [0050] なお、喑号化されたコンテンツの場合は、任意の単位でのコピーは行えない。それ は、暗号化チェーンブロック単位の途中からのデータが存在すると、そのデータは喑 号復号ができなくなってしまうためであり、暗号化チェーンブロック単位でデータのコ ピーを行う必要がある。
[0051] そこで、分割希望位置が含まれる暗号化チェーンブロックの先頭を算出する。その 位置をここでは「後半有効データ開始位置」と呼ぶ。すると、実分割位置から後半有 効データ開始位置までのデータは、暗号化チェーンブロック単位のデータとなり、こ の間のデータをコピーすれば、分割前半ファイルも分割後半ファイルも正しく喑号復 号ができるようになる。なお、分割前半ファイルで分割希望位置までのデータを再生 させたい場合には、分割前半ファイルにコピーするデータとして後半有効データ開始 位置まででなぐ暗号化チェーンブロックをもう 1つ余分にコピーすればよい。
[0052] また、暗号化されて!/、るか否かで処理を変える以外に、複製が許可されて!/、るか否 かでも処理を変える必要がある。複製が許可されていないコンテンツとしては、デジタ ル放送のコンテンツでコピーワンスとの著作権保護が設定されているコンテンツを録 画した場合が相当する。コピーワンスとは、 1回のみ複製が許可されたコンテンツであ る力 そのコンテンツを録画すること力 1回目のコピーとなるため、コピーワンスを録 画したコンテンツは複製が許可されて!/、な!/、こととなる。その他にもコンテンツが格納 された状態で記録媒体毎購入したり、ネットワーク経由でコンテンツを購入したり、 N 回まで複製可能となっているコンテンツの最後の N回目の複製を行ったコンテンツで あったりした場合が、一般的には複製が許可されていないコンテンツとなる。
[0053] この複製が許可されて!/、な!/、コンテンツである場合、あるデータが 2箇所に存在す ることが許されていないコンテンツとなる。この場合は、暗号化されていないコンテン ッにお!/、ては、分割後半ファイルの先頭の実分割位置から分割希望位置までのデー タを無効データで上書きする処理は必須となり、暗号化されたコンテンツにおいては 、暗号化チェーンブロックをもう 1つ余分にコピーする処理は禁止となる。
[0054] なお、これまでは、喑号化されたファイルと暗号化されていないファイルの 2種類で 示したが、実際のファイルでは、暗号化された部分と暗号化されていない部分とが混 在し得る。例えば、デジタル放送のコンテンツを録画した場合、ある番組は無料放送 のためコピーフリーで、それに続く番組がペイ 'パー'ビューなどの有料放送のため著 作権が存在した場合に、それを続けて録画した場合に、前半の無料放送部分を暗号 化せずに録画して、後半の有料放送部分を暗号化して録画し、それらを 1つのフアイ ノレとして格糸内するようなことカある。
[0055] 暗号化された部分と暗号化されて!/、な!/、部分とが混在する場合は、この場合以外 にも、デジタル放送を暗号化して録画したファイルや、ネットワークや映像販売端末 経由で入手した暗号化ファイルに、自分で撮影した著作権の存在しないファイルとを 結合して 1つのファイルにした場合なども、 1つのファイルに暗号化された部分と暗号 化されて!/、な!/、部分とが混在する場合としてありうる。
[0056] このような場合にお!/、ては、分割希望位置が暗号化されて!/、る場合を暗号化された ファイルとして処理し、分割希望位置が暗号化されてレ、な!/、場合を暗号化されてレ、な いファイルとして処理することで、問題は発生しない。なお、処理を簡略化するために 、ファイルに 1箇所でも暗号化された部分があったら、暗号化されたファイルとして処 理を行い、そうでなかったら暗号化されて!/、な!/、フアイノレとして処理することとしてもよ い。
[0057] ランダムアクセス情報更新部 17は、ランダムアクセス情報を分割後のファイルと整 合がとれるように更新する。ランダムアクセス情報とは、早送り再生'巻き戻し再生'任 意の地点からの再生などを行うために、キーフレームの位置情報 ·時間情報を別途 格納しておく情報の事をいう。
[0058] この手法は、ファイルフォーマットとしては一般的な手法であり、 ASF (Advanced Systems Format)ファイルでは、ファイルの末尾に、再生時刻 N秒目に相当する キーフレームの位置情報が列挙されている。また MPEG— 4規格のファイルフォーマ ットである MP4ファイルには、全キーフレームの時亥 1」·位置の情報を格納しておく仕 組みがある。また SD— Video規格では、実際の映像音声を格納下ファイルと 1対 1に 対応する別ファイルとしてランダムアクセス情報を格納する仕組みがある。 V、ずれも位 置情報としては、ファイル先頭からのバイト数もしくはパケット数であり、時間情報とし ては、ファイル先頭からの再生時間が含まれて!/、る。
[0059] ここでは、暗号化され複製が禁止されているファイルを分割した場合の処理を記載 する。ファイルを分割して、分割前半ファイルと分割後半ファイルとが生成された場合 、キーフレームの位置情報 ·時間情報は、分割前半ファイルにおいては、分割前の情 報と整合がとれている。そこで、分割前のファイルのランダムアクセス情報のうち、キ 一フレームの位置が後半有効データ開始位置までの情報につ!/、ては、そのまま分割 前半ファイルのキーフレーム情報として格納する。
[0060] キーフレームの位置が後半有効データ開始位置から分割希望位置までの情報に ついては、対応する映像音声データは分割後半ファイルに含まれているが、分割後 半ファイルを分割希望位置から再生するように設定する場合は、このキーフレーム情 報は捨てることとなる。キーフレームの位置が分割希望位置からの情報につ!/、ては、 分割後半ファイルの情報として利用するが、位置情報や時間情報がそのままでは利 用できなレ、。位置情報につ!/、ては、元の位置情報から実分割位置情報を引くなどし て分割後半ファイルの先頭となる実分割位置からの位置情報に変換する必要がある 。また、時間情報についても同様に、元の時間情報から分割後半ファイルの先頭時 間の時間情報 (例えば最初に表示する時間などの時間情報)を引くなどして分割後 半ファイルで最初に表示する位置の時間からの時間情報に変換する必要がある。
[0061] 再生区間情報更新部 18は、再生区間情報を分割後のファイルと整合がとれるよう に更新する。再生区間情報としては、総再生時間の情報や、実際のデータのうち、ど の位置から再生を開始するの力、との再生開始指定情報や、どこまでで再生を終了す るのかとの再生終了指定情報などの情報が有り得る。ここでは、暗号化され複製が禁 止されているファイルを分割した場合の処理を記載する。
[0062] 分割前半ファイルにおいては、再生開始位置情報は、分割前の再生開始位置情 報を利用し、再生終了位置情報は、分割前半ファイルの終端となる後半有効データ 開始位置を利用する。分割後半ファイルにおいては、再生開始位置情報は、分割希 望位置から再生する場合には、分割希望位置の情報を利用し、分割後半ファイルの 先頭から再生する場合には、後半有効データ開始位置を利用する。再生終了位置 情報は、分割前の再生終了位置の情報を利用する。なお、これら位置情報は、分割 後半ファイルの場合はそのまま格納できず、分割後半ファイルの先頭となる実分割位 置からの位置情報に変換する必要がある。総再生時間は、分割前半ファイルにおい ても、分割後半ファイルにおいても実際に再生する区間の時間を算出して設定する。
[0063] 上述のごとき構成のマルチメディアコンテンツ編集装置 1におけるファイル分割処理 について、その具体的な動作例を図 2に示し、その処理の流れを図 3に示し、それら を参照しながら説明する。図 2 (A)は、暗号化チェーンブロック Bl , B2, · · · , B6で 構成されてレ、る分割前のファイルである。
[0064] まず、ステップ S1にて、分割したレ、位置を決定する。分割した!/、位置は図 2 (A)の 斜線で囲んだ位置であるとする。この位置を分割希望位置と設定する。次にステップ S2にて、ステップ S1で選択した位置に対応する暗号化チェーンブロックを算出する 。図 2 (A)では、そこが、 B5のブロックとなる。
[0065] 次にステップ S3にて、その暗号化チェーンブロックより前方でクラスタ境界と暗号化 チェーンブロックの境界とがー致する位置を探し、その位置を実分割位置と設定する 。なお、この処理の前に分割希望位置より前のクラスタ境界を求めておけばよい。図 2 (A)において、該当する位置は、暗号化チェーンブロック B2と B3との間である。
[0066] 次にステップ S4にて、分割後に前半ファイルとなる部分に再生可能なデータがある か否かを判定する。データがないと判定した場合には、ステップ S6に移行し、その位 置では分割できない旨を表示し、ユーザに別の位置で分割することを促したり、分割 処理を断念せざるを得ないことを示したりする。ステップ S4にて、データがあると判定 された場合には、ステップ S5に移行し、実分割位置で分割を行う。その結果が図 2 ( B)である。図 2 (B)の上側が分割後の前半ファイルになり、下側が分割後の後半ファ ィルとなる。
[0067] 次にステップ S7にて、喑号化されたコンテンツか否かを判定する。喑号化されたコ ンテンッであった場合は、ステップ S8に移行し、実分割位置から分割したい位置の キーフレームを含む暗号化チェーンブロックまでのデータを後半ファイルから前半フ アイルにコピーを行い、ステップ S10に移行する。図 2 (C)におけるブロック B3と B4が 該当ブロックとなる。一方、ステップ S 7にて、暗号化されていないコンテンツであった 場合は、ステップ S9に移行し、実分割位置から分割したい位置のキーフレームまで のデータを後半ファイルから前半ファイルにコピーを行い、ステップ S 10に移行する。
[0068] ステップ S10では、複製が許可されたコンテンツか否かを判定する。複製が許可さ れていないコンテンツであった場合は、ステップ S 11に移行し、ステップ S8もしくはス テツプ S9にてコピーしたデータのコピー元のデータを非暗号化の無効データで上書 きし、ステップ S12に移行する。これは、喑号化されたコンテンツの場合、図 2 (C)に おける後半ファイルのブロック B3と B4に相当し、このブロックを無効データで上書き し、 B3aと B4aとしている。複製が許可されていないコンテンツでは、データの一部分 でも同じデータが存在してはならないため、このような無効データの上書きを行うこと で、そのルールに違反しないでより分割希望に近い位置にて分割することとなる。ま た、ステップ S10にて、複製が許可されたコンテンツと判定された場合には、ステップ S 12に移行する。これは複製が許可されたコンテンツであるなら、分割前半ファイルと 分割後半ファイルとにブロック B3と B4が同時に存在してもよいためである。
[0069] ステップ S 12では、ランダムアクセス情報を分割後のファイルと整合がとれるように 更新し、次にステップ S13にて再生区間情報を分割後のファイルと整合がとれるよう に更新する。
[0070] 本実施形態によれば、以上のように、ランダムアクセス情報や再生区間情報が含ま れていて、さらに暗号化されていたり、複製が許されていないデジタルコンテンツのフ アイルについても、処理量の小さい方法で分割でき、また分割を所望する場所に極 カ近レ、箇所で分割できるとレ、う効果を奏する。
[0071] 以上、本発明について好ましい実施形態を説明した力 本発明に係るコンテンツ編 集装置は、図 1〜図 3で説明したマルチメディアコンテンツ編集装置 1において、ラン ダムアクセス情報更新部 17、及び再生区間情報更新部 18を具備しない構成でも実 現できる。このような構成では、喑号化されたコンテンツのファイルを、少ない処理量 でかつ希望の位置に近!/、位置で編集(分割を含む)すること力 S可能となる。
[0072] 一方、本発明に係るコンテンツ編集装置は、図 1〜図 3で説明したマルチメディアコ ンテンッ編集装置 1において、暗号化ブロック境界検出部 13やデータ補正部 16を具 備しない構成でも実現できる。ただし、この構成では、分割位置算出部 14はクラスタ 境界検出部 12で検出したクラスタ境界をそのまま実分割位置として算出するだけで ある。このような構成では、ランダムアクセス情報や再生区間情報等の再生情報がマ ルチメディアコンテンツのファイルに含まれていた場合にもそれらの情報を処理可能 なように生力もたまま、ファイルを編集(分割を含む)することが可能となる。また、この ような構成において、データ補正部 16を具備させてもよぐこの場合、ランダムァクセ ス情報更新部 17や再生区間情報更新部 18は、データ補正部 16で補正された分割 後のファイルと分割前のファイルとの整合性がとれるように、ランダムアクセス情報や 再生区間情報を更新すればよい。
[0073] 以上、本発明に係るコンテンツ編集装置について説明した力 このコンテンツ編集 装置は、各部をハードウェア構成してもよいし、 PC等の一般的なコンピュータ(情報 処理装置)にコンテンツ編集プログラムとして組み込むことで構成することもできる。図 4は、本発明に係るコンテンツ編集装置として適用可能な一般的な情報処理装置の 構成例を示す図である。
[0074] 図 4で例示する PC4においては、本発明に力、かるコンテンツ編集装置としてコンビ ユータを機能させるためのコンテンツ編集プログラム力 ROM43又は HDD44に蓄 積されているものとする。このコンテンツ編集プログラムは、図 3で説明したような処理 手順(コンテンツ編集方法)をコンピュータに実行させるプログラムであるとも言える。
PC4では、このようなコンテンツ編集プログラムを CPU41が RAM42上に適宜読み 出すことによって実行される。
[0075] PC4で取り扱われるファイルは、ハードディスク(HDD) 44や可搬の記録媒体 49等 の記録媒体から読み出され、その処理時に一時的に RAM42に蓄積され、その後、 編集後のファイルとして記録対象となる記録媒体 (HDD44や記録媒体 49)に格納さ れる。なお、可搬の記録媒体 49は、 CPU41からの制御によって記録媒体駆動装置 48を駆動させることでデータの読み書きが可能となる。
[0076] その他、通信装置 47から編集対象のファイルを取得した場合にも、 RAM42 (及び HDD44)を適宜利用しながら、編集後のファイルが記録対象となる記録媒体 (HDD 44や記録媒体 49)に格納される。ここで、通信装置 47は、通信回線によって他の装 置とデータの遣り取りを行うためのインターフェースで、インターネット等のネットワーク 経由でのファイルのダウンロードを可能とするだけでなぐデジタル放送の受信も可 能なよう構成しておくとよい。このような構成により、リアルタイムにデジタル放送を受 信して録画しながら、分割希望位置をユーザ操作に基づき指定することで、本発明 に係る分割処理を実行することもできる。
[0077] また、処理の途中経過や結果は、表示装置 46を通してユーザに提示され、必要な 場合には、キーボード,マウス(ポインティングデバイス)等の入力装置 45からユーザ が処理に必要なパラメータ(分割指定位置など)を入力指定すればょレ、。このコンテ ンッ編集プログラムは、ユーザが使用する際に容易となるような表示装置 46用のダラ フィカルユーザインターフェースを備えるようにするとよい。なお、 CPU41 , RAM42
, ROM43,入力装置 45,表示装置 46,通信装置 47は、バスなどによって接続され てなる。
[0078] また、本発明は、図 3で説明したような処理手順のコンテンツ編集方法としての形態 もとりうる。さらに、本発明は、図 4で説明したようなコンテンツ編集プログラムとしての 形態もとりうる。本発明によるコンテンツ編集プログラムは、可搬の記録媒体に格納し たり、ネットワーク経由で配信したりすることで、流通させること力 Sできる。そして、図 4 の PC4のようにその記録媒体を装着して、装着したままコンテンツ編集プログラムを 読み出すか、もしくは HDD44にコンテンツ編集プログラムを記憶させておき、図 4で 説明したように、必要に応じて読み出すことにより、本発明にかかるコンテンツ編集の 機能を実行することができる。

Claims

請求の範囲
[1] ファイルとして格納されたコンテンツに対して、分割したい位置を指定する分割希望 位置指定手段と、
該指定された分割希望位置より前で、クラスタ境界に相当する箇所を検出するクラ スタ境界検出手段と、
前記分割希望位置より前で、暗号化ブロックの境界に相当する箇所を検出する喑 号化チェーンブロック境界検出手段と、
前記検出したクラスタ境界と、前記検出した暗号化チェーンブロック境界とから実際 に分割する位置を算出する分割位置算出手段と、
該算出された分割位置で前記ファイルの分割を行うファイル分割手段と、 前記分割希望位置と前記実際に分割した分割位置との差に応じて、分割後の後半 ファイルから分割後の前半ファイルにデータのコピーを行うデータ補正手段と、 を備えたことを特徴とするコンテンツ編集装置。
[2] 請求項 1に記載のコンテンツ編集装置にお!/、て、
前記ファイルに含まれる再生情報を分割後のファイルと整合がとれるように更新す る再生情報更新手段をさらに備えたことを特徴とするコンテンツ編集装置。
[3] 請求項 2に記載のコンテンツ編集装置において、
前記再生情報は、ランダムアクセス情報及び/又は再生区間情報であることを特 徴とするコンテンツ編集装置。
[4] 請求項 1に記載のコンテンツ編集装置にお!/、て、
前記データ補正手段は、暗号化されていたコンテンツについては、喑号復号が可 能となるデータの単位で、分割後の後半ファイルから分割後の前半ファイルにデータ のコピーを行うことを特徴とするコンテンツ編集装置。
[5] 請求項 1に記載のコンテンツ編集装置にお!/、て、
前記データ補正手段は、複製が許されないコンテンツについては、コピー後に分割 後の前半ファイルと分割後の後半ファイルとに同じデータが存在しないように、コピー 元のデータを無効なデータで上書きすることを特徴とするコンテンツ編集装置。
[6] ファイルとして格納されたコンテンツに対して、分割したい位置を指定する分割希望 位置指定手段と、
該指定された分割希望位置より前で、クラスタ境界に相当する箇所を検出するクラ スタ境界検出手段と、
該検出したクラスタ境界を実際に分割する分割位置として前記ファイルの分割を行 うファイル分割手段と、
前記ファイルに含まれる再生情報を分割後のファイルと整合がとれるように更新す る再生情報更新手段と、
を備えたことを特徴とするコンテンツ編集装置。
[7] 請求項 6に記載のコンテンツ編集装置において、
前記再生情報は、ランダムアクセス情報及び/又は再生区間情報であることを特 徴とするコンテンツ編集装置。
[8] 請求項 6に記載のコンテンツ編集装置において、
前記分割希望位置と前記実際に分割した分割位置との差に応じて、分割後の後半 ファイルから分割後の前半ファイルにデータのコピーを行うデータ補正手段をさらに 備え、
前記再生情報更新手段は、前記ファイルと前記データ補正手段で補正された分割 後のファイルとの整合性がとれるように、前記再生情報を更新することを特徴とするコ ンテンッ編集装置。
[9] ファイルとして格納されたコンテンツに対して、分割したい位置を指定する分割希望 位置指定ステップと、
該指定された分割希望位置より前で、クラスタ境界に相当する箇所を検出するクラ スタ境界検出ステップと、
前記分割希望位置より前で、暗号化ブロックの境界に相当する箇所を検出する喑 号化チェーンブロック境界検出ステップと、
前記検出したクラスタ境界と、前記検出した暗号化チェーンブロック境界とから実際 に分割する位置を算出する分割位置算出ステップと、
該算出された分割位置で前記ファイルの分割を行うファイル分割ステップと、 前記分割希望位置と前記実際に分割した分割位置との差に応じて、分割後の後半 ファイルから分割後の前半ファイルにデータのコピーを行うデータ補正ステップと、 を含むことを特徴とするコンテンツ編集方法。
[10] 請求項 9に記載のコンテンツ編集方法において、
前記ファイルに含まれる再生情報を分割後のファイルと整合がとれるように更新す る再生情報更新ステップをさらに含むことを特徴とするコンテンツ編集方法。
[11] 請求項 10に記載のコンテンツ編集方法において、
前記再生情報は、ランダムアクセス情報及び/又は再生区間情報であることを特 徴とするコンテンツ編集方法。
[12] 請求項 9に記載のコンテンツ編集方法において、
前記データ補正ステップは、暗号化されていたコンテンツについては、喑号復号が 可能となるデータの単位で、分割後の後半ファイルから分割後の前半ファイルにデ ータのコピーを行うことを特徴とするコンテンツ編集方法。
[13] 請求項 9に記載のコンテンツ編集方法において、
前記データ補正ステップは、複製が許されないコンテンツについては、コピー後に 分割後の前半ファイルと分割後の後半ファイルとに同じデータが存在しないように、コ ピー元のデータを無効なデータで上書きすることを特徴とするコンテンツ編集方法。
[14] ファイルとして格納されたコンテンツに対して、分割したい位置を指定する分割希望 位置指定ステップと、
該指定された分割希望位置より前で、クラスタ境界に相当する箇所を検出するクラ スタ境界検出ステップと、
該検出したクラスタ境界を実際に分割する分割位置として前記ファイルの分割を行 うファイル分割ステップと、
前記ファイルに含まれる再生情報を分割後のファイルと整合がとれるように更新す る再生情報更新ステップと、
を含むことを特徴とするコンテンツ編集方法。
[15] 請求項 14に記載のコンテンツ編集方法において、
前記再生情報は、ランダムアクセス情報及び/又は再生区間情報であることを特 徴とするコンテンツ編集方法。
[16] 請求項 14に記載のコンテンツ編集方法において、
前記分割希望位置と前記実際に分割した分割位置との差に応じて、分割後の後半 ファイルから分割後の前半ファイルにデータのコピーを行うデータ補正ステップをさら に含み、
前記再生情報更新ステップは、前記ファイルと前記データ補正ステップで補正され た分割後のファイルとの整合性がとれるように、前記再生情報を更新することを特徴 とするコンテンツ編集方法。
[17] 請求項 9乃至 16のいずれか 1に記載のコンテンツ編集方法をコンピュータに実行さ せるためのプログラム。
PCT/JP2007/070794 2006-11-21 2007-10-25 Dispositif, procédé et programme d'édition de contenu WO2008062631A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
BRPI0718998-2A2A BRPI0718998A2 (pt) 2006-11-21 2007-10-25 Aparelho, método e programa de edição de conteúdo.
JP2008545341A JP4491499B2 (ja) 2006-11-21 2007-10-25 コンテンツ編集装置、方法、及びプログラム

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006313697 2006-11-21
JP2006-313697 2006-11-21

Publications (1)

Publication Number Publication Date
WO2008062631A1 true WO2008062631A1 (fr) 2008-05-29

Family

ID=39429570

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2007/070794 WO2008062631A1 (fr) 2006-11-21 2007-10-25 Dispositif, procédé et programme d'édition de contenu

Country Status (3)

Country Link
JP (1) JP4491499B2 (ja)
BR (1) BRPI0718998A2 (ja)
WO (1) WO2008062631A1 (ja)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000331420A (ja) * 1999-03-15 2000-11-30 Sony Corp データ処理装置、記憶装置、データ処理システムおよびその方法
JP2005215894A (ja) * 2004-01-28 2005-08-11 Canon Inc データ処理装置、データ処理方法及びデータ処理プログラム

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000331420A (ja) * 1999-03-15 2000-11-30 Sony Corp データ処理装置、記憶装置、データ処理システムおよびその方法
JP2005215894A (ja) * 2004-01-28 2005-08-11 Canon Inc データ処理装置、データ処理方法及びデータ処理プログラム

Also Published As

Publication number Publication date
JPWO2008062631A1 (ja) 2010-03-04
JP4491499B2 (ja) 2010-06-30
BRPI0718998A2 (pt) 2014-02-18

Similar Documents

Publication Publication Date Title
US10771248B2 (en) Content individualization
US20070140307A1 (en) High Definition Media Storage Structure and Playback Mechanism
EP1520409B1 (en) Trick play for audio/video/data streams with conditional access
US8930718B2 (en) Apparatus for and a method of providing content data
JP4629791B2 (ja) デジタルコンテンツ受信装置、デジタルコンテンツ受信方法、およびデジタルコンテンツ送受信方法
JP4460470B2 (ja) 情報処理装置、およびデータ移動方法
US8243926B2 (en) Transport stream encryption device and its editing device and method for use therein
JP2008305465A (ja) コピー制御方法
JP4886831B2 (ja) コンテンツ記録装置、再生装置、編集装置およびその方法
US20060077812A1 (en) Player/recorder, contents playing back method and contents recording method
US20070073620A1 (en) Method and apparatus for decrypting an encrypted supplementary data set
JP4431598B2 (ja) デジタルコンテンツの受信装置、受信方法、及び送受信方法
JP2008005323A (ja) 暗号化コンテンツ作成装置、その方法およびそのプログラム、ならびに、コンテンツ復号化装置、その方法およびそのプログラム
JP4491499B2 (ja) コンテンツ編集装置、方法、及びプログラム
JP4629789B2 (ja) デジタルコンテンツ受信装置、デジタルコンテンツ受信方法、およびデジタルコンテンツ送受信方法
JP5395866B2 (ja) 記録再生システム、記録装置及び再生装置
JP4629790B2 (ja) デジタルコンテンツ受信装置、デジタルコンテンツ受信方法、およびデジタルコンテンツ送受信方法
JP5522644B2 (ja) デジタルコンテンツ送受信システム、および、デジタルコンテンツ送受信方法
JP5236113B2 (ja) デジタルコンテンツ送受信システム、および、デジタルコンテンツ送受信方法
JP5236112B2 (ja) デジタルコンテンツ送受信システム、および、デジタルコンテンツ送受信方法
JP5114600B2 (ja) デジタルコンテンツ受信装置、および、デジタルコンテンツ受信方法
JP5063827B2 (ja) デジタルコンテンツ受信装置、および、デジタルコンテンツ受信方法
JP2010123240A (ja) コピー制御方法
EP1794752A1 (en) Method of generating verification data
JP2011054274A (ja) コピー制御方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07830528

Country of ref document: EP

Kind code of ref document: A1

DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
WWE Wipo information: entry into national phase

Ref document number: 2008545341

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07830528

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: PI0718998

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20090520

DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)