JP2007306246A - Recording apparatus - Google Patents

Recording apparatus Download PDF

Info

Publication number
JP2007306246A
JP2007306246A JP2006131809A JP2006131809A JP2007306246A JP 2007306246 A JP2007306246 A JP 2007306246A JP 2006131809 A JP2006131809 A JP 2006131809A JP 2006131809 A JP2006131809 A JP 2006131809A JP 2007306246 A JP2007306246 A JP 2007306246A
Authority
JP
Japan
Prior art keywords
encoding
recording
encoding method
data
recording apparatus
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
JP2006131809A
Other languages
Japanese (ja)
Inventor
Koichi Gunji
康一 郡司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2006131809A priority Critical patent/JP2007306246A/en
Publication of JP2007306246A publication Critical patent/JP2007306246A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enable a recording apparatus which can select an encoding system used to encode recording data out of a plurality of systems to easily change the encoding system during recording. <P>SOLUTION: For example, when a setting screen for encoding systems is called during recording of image data, the setting screen for selecting one of the plurality of encoding systems is displayed. When an encoding system different from an encoding system currently in use is selected, the encoding system is switched from a next recording frame. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、記録装置およびその制御方法に関し、特に、記録データの符号化に利用する符号化方式を複数の方式から選択可能な記録装置に関する。   The present invention relates to a recording apparatus and a control method therefor, and more particularly to a recording apparatus that can select an encoding method used for encoding recording data from a plurality of methods.

従来、動画像を撮影し、撮影した動画像を符号化してDVDなどのディスクメディアに記録するビデオカメラが知られている。この種のビデオカメラでは、通常、記録画質をユーザが設定できるようになっており、良い画質が設定されるほど、単位時間当たりの符号化データ量が増加する。   Conventionally, a video camera that captures a moving image, encodes the captured moving image, and records the encoded moving image on a disk medium such as a DVD is known. In this type of video camera, the user can usually set the recording image quality, and as the better image quality is set, the amount of encoded data per unit time increases.

また、この様なビデオカメラにおいて、記録中にユーザが記録画像を確認しながら、ビットレートなどの画質を変更可能とする構成も提案されている(例えば、特許文献1参照)。   In addition, in such a video camera, a configuration has been proposed in which the user can change the image quality such as the bit rate while checking the recorded image during recording (see, for example, Patent Document 1).

また、例えばDVDビデオフォーマットでは、動画像データをMPEG方式で符号化して記録するが、近年、各種の動画符号化方式が提案されている。そのため、MPEG以外の動画符号化方式を使って動画像データを符号化し、記録することも考えられている。   Further, for example, in the DVD video format, moving image data is encoded and recorded by the MPEG method, but in recent years, various moving image encoding methods have been proposed. Therefore, it is also considered that moving image data is encoded and recorded using a moving image encoding method other than MPEG.

特開2001−326908号公報JP 2001-326908 A

前述のように、従来の装置においては、記録中に記録データのビットレートを変更することは考えられているものの、あくまで同一符号化方式のパラメータを変更するにとどまっている。   As described above, in the conventional apparatus, although it is considered to change the bit rate of the recording data during recording, the parameter of the same encoding method is only changed.

即ち、記録開始後に符号化方式を変更することは考慮されていない。そのため、符号化方式を変更したい場合には、一旦記録を停止した後、メニュー画面等を操作して符号化方式を変更してから、改めて記録を開始する必要があった。   That is, changing the encoding method after the start of recording is not considered. For this reason, when it is desired to change the encoding method, it is necessary to once stop recording, then change the encoding method by operating the menu screen or the like, and then start recording again.

本発明はこのような従来技術の問題点に鑑みなされたものであり、記録データの符号化に利用する符号化方式を複数の方式から選択可能な記録装置において、記録中に容易に符号化方式を変更可能とすることを目的とする。   The present invention has been made in view of such problems of the prior art, and in a recording apparatus capable of selecting a plurality of encoding methods to be used for encoding recording data, the encoding method can be easily performed during recording. Is intended to be changeable.

上述の目的は、入力データに対して複数の符号化方式のいずれか1つを適用して符号化し、符号化データとして出力する符号化手段と、予め定められた量の符号化データと、当符号化データの符号化に用いられた符号化方式を表す情報を含む記録フレームを生成する生成手段と、記録フレームを記録媒体に記録する記録手段と、記録手段による記録中に、符号化方式の変更指示を受け付け、変更後の符号化方式を符号化手段に通知する受け付け手段を有し、符号化手段が、新規記録フレームに含められる入力データから、通知された変更後の符号化方式を用いて符号化を行なうことを特徴とする本発明の記録装置によって達成される。   The above-described object is to encode input data by applying any one of a plurality of encoding methods and output as encoded data, a predetermined amount of encoded data, A generating unit for generating a recording frame including information representing an encoding method used for encoding the encoded data, a recording unit for recording the recording frame on a recording medium, and an encoding method during recording by the recording unit. It has an accepting unit that accepts a change instruction and notifies the encoding unit after the change to the encoding unit, and the encoding unit uses the notified changed encoding method from the input data included in the new recording frame. This is achieved by the recording apparatus of the present invention characterized in that encoding is performed.

このような構成により、本発明によれば、記録データの符号化に利用する符号化方式を複数の方式から選択可能な記録装置において、記録中に容易に符号化方式を変更可能とすることができる。   With such a configuration, according to the present invention, it is possible to easily change the encoding method during recording in a recording apparatus that can select a plurality of encoding methods to be used for encoding the recording data. it can.

以下、図面を参照しながら本発明の好適な実施の形態を説明する。
図1は、本実施形態に係る記録装置の一例としてのビデオカメラの構成例を示すブロック図である。本実施形態のビデオカメラは、動画像を撮影中に、画像符号化方式や音声符号化方式の変更が可能である。
Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating a configuration example of a video camera as an example of a recording apparatus according to the present embodiment. The video camera of this embodiment can change the image encoding method and the audio encoding method while capturing a moving image.

図1において、ビデオカメラ100は、例えば図示しない撮像部に接続される動画像入力部5と、マイク等に接続される音声入力部6を有する。なお、撮像部には、レンズや撮像素子、焦点や絞りの制御機構などが含まれ、撮像した被写体像を表すアナログ画像信号を出力する。なお、動画像や音声は、外部機器から入力されても良い。   In FIG. 1, a video camera 100 includes, for example, a moving image input unit 5 connected to an imaging unit (not shown), and an audio input unit 6 connected to a microphone or the like. The imaging unit includes a lens, an imaging device, a focus and diaphragm control mechanism, and the like, and outputs an analog image signal representing the captured subject image. Note that moving images and audio may be input from an external device.

A/D変換器7,8は、それぞれ所定のサンプリングレート及びサンプリングビット数により、動画像及び音声をディジタルデータ化して出力する。信号処理プロセッサ(DSP)9は、画像用符号化器11と音声用符号化器12を内蔵している。また、画像用符号化器11と、音声用符号化器12は、複数の符号化方式に対応している。   The A / D converters 7 and 8 convert the moving image and sound into digital data and output them at a predetermined sampling rate and sampling bit number, respectively. A signal processor (DSP) 9 includes an image encoder 11 and an audio encoder 12. The image encoder 11 and the audio encoder 12 correspond to a plurality of encoding methods.

CPU1は、図示しないROM等に記憶された制御プログラムを実行して、ビデオカメラ100全体の動作を制御する。図1では、CPU1がソフトウェアを実行して実現する機能のうち、本実施形態に関連する機能について、CPU1が内蔵する機能ブロックとして示している。符号化方式選択部2、記録可能時間算出部3及びファイル分割指示部4がそれに当る。   The CPU 1 controls the operation of the entire video camera 100 by executing a control program stored in a ROM (not shown) or the like. In FIG. 1, among functions realized by the CPU 1 executing software, functions related to the present embodiment are shown as functional blocks built in the CPU 1. The encoding method selection unit 2, the recordable time calculation unit 3, and the file division instruction unit 4 correspond to this.

操作部13は、一般には複数のボタンやダイヤルを含み、ユーザがビデオカメラ100に各種指示を与えるために利用する。表示部28は、例えば液晶ディスプレイ(LCD)であり、ビューファインダや再生モニタとして用いられる他、メニュー画面等のGUI表示にも用いられる。   The operation unit 13 generally includes a plurality of buttons and dials, and is used by the user to give various instructions to the video camera 100. The display unit 28 is, for example, a liquid crystal display (LCD), and is used not only as a viewfinder or a reproduction monitor but also as a GUI display such as a menu screen.

電源・電池15は、2次電池やACアダプタ等、一般的な電源であり、ビデオカメラ100の駆動電源である。電池残量検出器14は、電源の種別及び電池残量を検出し、CPU1に通知する。記録可能容量検出器16は、記録媒体25の残り容量を検出し、CPU1に通知する。   The power source / battery 15 is a general power source such as a secondary battery or an AC adapter, and is a driving power source for the video camera 100. The remaining battery level detector 14 detects the type of power source and the remaining battery level and notifies the CPU 1 of the detected type. The recordable capacity detector 16 detects the remaining capacity of the recording medium 25 and notifies the CPU 1 of it.

メモリ10は、CPU1やDSP9のワークメモリとして用いられるRAMであり、不揮発性の領域を有していても良い。信号処理ECC回路18は、符号化データにエラー訂正用の符号を追加したり、エラー訂正処理を行なったりする。変復調器19及びAD/DA変換器20は、記録再生時に必要な変復調や、データ型式の変換を行なう。AD/DA変換器17は、記録可能容量検出器16の処理に必要なデータ形式の変換を行なう。   The memory 10 is a RAM used as a work memory for the CPU 1 and the DSP 9 and may have a nonvolatile area. The signal processing ECC circuit 18 adds a code for error correction to the encoded data or performs error correction processing. The modem 19 and the AD / DA converter 20 perform modulation / demodulation and data type conversion necessary for recording and reproduction. The AD / DA converter 17 converts the data format necessary for the processing of the recordable capacity detector 16.

ヘッド21、サーボ・ヘッド制御回路22、モータ制御部23及びスピンドルモータ24は、記録再生機構を構成し、CPU1の制御に従って、例えばDVD等の記録再生可能な光学記録媒体の読み書きを行なう。   The head 21, the servo / head control circuit 22, the motor control unit 23, and the spindle motor 24 constitute a recording / reproducing mechanism, and read / write an optical recording medium such as a DVD that can be recorded / reproduced according to the control of the CPU 1.

次に、図2に示すフローチャートを用い、本実施形態のビデオカメラにおける撮影・記録処理動作について説明する。
なお、ここでは詳細について説明しないが、撮影待機状態においては、通常、撮像部から入力される撮影画像データを、逐次、表示部28に表示することにより、表示部28をビューファインダとして機能させる等の処理が行なわれている。
Next, shooting and recording processing operations in the video camera of the present embodiment will be described using the flowchart shown in FIG.
Although details will not be described here, in the shooting standby state, usually, the captured image data input from the imaging unit is displayed on the display unit 28 in order to cause the display unit 28 to function as a viewfinder. Is being processed.

ユーザが操作部13に含まれる録画開始ボタンを押下する等により、記録の開始を指示すると、CPU1がそれを検出して(ステップS101)、撮影・記録動作を開始する(ステップS103)。アナログ信号型式の動画像や音声は、図示しない撮像部やマイク等から、動画像入力部5と、音声入力部6を通じて入力される。   When the user gives an instruction to start recording by pressing a recording start button included in the operation unit 13 or the like, the CPU 1 detects it (step S101) and starts photographing and recording operations (step S103). An analog signal type moving image or sound is input through a moving image input unit 5 and a sound input unit 6 from an imaging unit or a microphone (not shown).

入力動画像は、A/D変換器7によりデジタルデータに変換された後、DSP9に入力される。DSP9の画像用符号化器11は、その時点で設定されている動画像符号化方式に対応した符号化器(Encoder 1, 2,...,nのいずれか)と、画質設定などに応じた符号化パラメータとを用いて動画像データを符号化する。そして、符号化器11は、符号化結果である符号化動画像データを、メモリ10に順次書き込む。   The input moving image is converted into digital data by the A / D converter 7 and then input to the DSP 9. The image encoder 11 of the DSP 9 corresponds to an encoder (any one of Encoder 1, 2,..., N) corresponding to the moving image encoding method set at that time, and according to the image quality setting. The moving image data is encoded using the encoded parameters. Then, the encoder 11 sequentially writes the encoded moving image data, which is the encoding result, in the memory 10.

入力音声も同様に、A/D変換器8によりデジタルデータに変換された後、DSP9に入力される。DSP9の音声用符号化器12は、その時点で設定されている音声符号化方式に対応した符号化器(Encoder 1, 2,...,nのいずれか)と、音質設定などに応じた符号化パラメータとを用いて音声データを符号化する。そして、符号化器12は、符号化結果である符号化音声データを、メモリ10に順次書き込む。   Similarly, the input voice is converted into digital data by the A / D converter 8 and then input to the DSP 9. The speech encoder 12 of the DSP 9 corresponds to the encoder (any one of Encoder 1, 2,..., N) corresponding to the speech encoding method set at that time, and the sound quality setting etc. The audio data is encoded using the encoding parameters. Then, the encoder 12 sequentially writes the encoded audio data as the encoding result in the memory 10.

撮影中、操作部13を通じて符号化方式の設定画面の呼び出し指示がなされたか否かをチェックし(ステップS105)、指示が無ければ、記録開始時における設定に従って動画像および音声の符号化動作を続行する(ステップS103)。   During shooting, it is checked whether or not an instruction for calling the encoding method setting screen has been issued through the operation unit 13 (step S105). If there is no instruction, the encoding operation of moving images and sounds is continued according to the setting at the start of recording. (Step S103).

メモリ10に格納された符号化動画像データや符号化音声データは、信号処理ECC回路18に読み出される。信号処理ECC回路18は、読み出したデータに対し、管理情報などのヘッダを付加し、さらに記録媒体のフォーマットに則したエラー訂正用パリティ(リードソロモン符号、BCH符号など)を付加した符号に変換する。   The encoded moving image data and encoded audio data stored in the memory 10 are read out to the signal processing ECC circuit 18. The signal processing ECC circuit 18 adds a header such as management information to the read data, and converts the read data into a code added with error correction parity (Reed-Solomon code, BCH code, etc.) according to the format of the recording medium. .

信号処理ECC回路18で変換された画像並びに音声データは、変復調器19において、記録媒体のフォーマットに則した変調方式で変調される。変調されたデータはAD/DA変換器20でD/A変換され、記録媒体25に記録可能な型式になる。   The image and audio data converted by the signal processing ECC circuit 18 are modulated by a modulator / demodulator 19 according to a modulation method in accordance with the format of the recording medium. The modulated data is D / A converted by the AD / DA converter 20 and becomes a type that can be recorded on the recording medium 25.

記録媒体25へのデータの記録は、CPU1からの指令を受けた記録再生機構が行なう。具体的には、CPU1からサーボ・ヘッド制御回路22、サーボ・ヘッド制御回路22からモータ制御回路23とヘッド21という経路で指令が伝達される。そして、スピンドルモータ24と、ヘッド21が所定の記録動作を行い、D/A変換器20が出力する記録データが記録媒体25に記録される。   Recording of data onto the recording medium 25 is performed by a recording / reproducing mechanism that receives a command from the CPU 1. Specifically, the command is transmitted from the CPU 1 through the servo head control circuit 22 and from the servo head control circuit 22 through the motor control circuit 23 and the head 21. The spindle motor 24 and the head 21 perform a predetermined recording operation, and the recording data output from the D / A converter 20 is recorded on the recording medium 25.

一方、電池残量検出器14は、一定時間毎に電源・電池15からの出力電圧を監視し、電源・電池の電力容量を算出して、電力容量値をデジタルデータとしてCPU1に通知する。   On the other hand, the battery remaining amount detector 14 monitors the output voltage from the power source / battery 15 at regular intervals, calculates the power capacity of the power source / battery, and notifies the CPU 1 of the power capacity value as digital data.

記録可能容量検出器16は、記録媒体25のアドレス情報をヘッド21により記録媒体25から読み出し、AD/DA変換器17でA/D変換後のデータからアドレスを検出する。そして、記録媒体25の記録可能容量を算出し、記録可能容量値をデジタルデータとしてCPU1に通知する。アドレス検出は、もともと記録媒体25へのデータ記録時に常時行っている処理であり、本実施形態では、この処理を利用して記録可能容量値を求めている。   The recordable capacity detector 16 reads the address information of the recording medium 25 from the recording medium 25 by the head 21, and detects the address from the data after A / D conversion by the AD / DA converter 17. Then, the recordable capacity of the recording medium 25 is calculated, and the recordable capacity value is notified to the CPU 1 as digital data. The address detection is originally a process that is always performed when data is recorded on the recording medium 25. In this embodiment, the recordable capacity value is obtained using this process.

ユーザが撮影中に動画像の符号化方式の変更を行いたい場合には、操作部13を用いて例えば表示部28にメニュー画面を呼び出し、周知の方法で符号化方式の設定画面を表示させる。CPU1は、符号化方式の設定画面呼び出されたことを検出すると(ステップS105)、符号化方式毎の記録可能時間の算出を行なう。   When the user wants to change the encoding method of the moving image during shooting, the menu screen is displayed on the display unit 28 using the operation unit 13, for example, and the encoding method setting screen is displayed by a known method. When the CPU 1 detects that the encoding method setting screen has been called (step S105), the CPU 1 calculates a recordable time for each encoding method.

符号化方式の設定画面の呼び出しが検出されなければ、記録終了指示の有無を確認し(ステップS106)、終了指示があれば記録処理を終了する。また、終了指示がなければ記録処理を継続する。   If the calling of the encoding system setting screen is not detected, the presence / absence of the recording end instruction is confirmed (step S106), and if the end instruction is received, the recording process is ended. If there is no end instruction, the recording process is continued.

ステップS107で、CPU1は、電池残量検出器14から受信した電力容量値と、記録可能容量検出器16から受信した記録可能容量値と、予めメモリ10の不揮発性領域等に記憶している符号化方式ごとの発生データ量(ビットレート)や電力消費に関する情報とから、符号化方式ごとの記録可能時間を算出する。   In step S <b> 107, the CPU 1 stores the power capacity value received from the remaining battery level detector 14, the recordable capacity value received from the recordable capacity detector 16, and a code stored in advance in a nonvolatile area of the memory 10. The recordable time for each encoding method is calculated from the amount of generated data (bit rate) for each encoding method and information related to power consumption.

算出方法はどのようなものであっても良いが、例えば、符号化方式毎のデフォルトのビットレートと記録可能容量から求まる時間と、電力容量値と符号化方式毎の消費電力密度から求まる時間とを比較し、短い方を記録可能時間とすることが可能である。   Any calculation method may be used. For example, the time obtained from the default bit rate and the recordable capacity for each encoding method, the time obtained from the power capacity value and the power consumption density for each encoding method, The shorter one can be set as the recordable time.

なお、商用電源で駆動されている場合には、記録可能容量とビットレートから記録可能時間を算出することができる。また、本実施形態では、動画符号化方式の設定画面が呼び出された場合にのみステップS107を実行し、音声符号化方式の設定画面が呼び出された場合にはステップS107をスキップする。   In the case of being driven by a commercial power supply, the recordable time can be calculated from the recordable capacity and the bit rate. Also, in the present embodiment, step S107 is executed only when the moving picture encoding scheme setting screen is called, and when the voice encoding scheme setting screen is called, step S107 is skipped.

代表的な符号化方式は、動画像であればMPEG2方式やH.264方式など、音声であれば、MP3方式、AAC方式などが知られている。符号化方式はそれぞれ演算の複雑さ等が異なり、DSP9で使用する画像用符号化器11、音声用符号化器12毎が消費する電力も符号化方式に応じて変化する。そのため、本実施形態のビデオカメラの様に、複数種の符号化方式に対応した装置では、符号化方式ごとに記録可能時間を算出し、ユーザに知らせることが好ましい。   Typical encoding methods are MPEG2 and H.264 for moving images. For audio such as H.264, MP3 and AAC are known. The encoding schemes are different in the complexity of calculation, and the power consumed by each of the image encoder 11 and the audio encoder 12 used in the DSP 9 varies depending on the encoding scheme. For this reason, in a device that supports a plurality of types of encoding methods, such as the video camera of this embodiment, it is preferable to calculate the recordable time for each encoding method and notify the user.

記録可能時間は一定時間ごとに算出可能であり、また、本実施形態のように、符号化方式の設定画面が呼び出された時点でも算出することができる。そして、算出する度に、表示部28に表示して、ユーザに報知することができる。   The recordable time can be calculated at regular time intervals, and can be calculated even when the encoding method setting screen is called as in the present embodiment. And whenever it calculates, it can display on the display part 28 and can alert | report to a user.

また、記録中、電池容量や記録可能時間が所定値未満となった場合、表示部28に「記録可能時間は残り○分です」などの警告メッセージ表示を行なったり、図示しないスピーカを通じて音声により報知したりすることも可能である。この際、記録媒体の記録可能容量が残り少ないのか、あるいは電池の容量が残り少ないのかという情報も合わせて表示することが好ましい。   During recording, when the battery capacity or recordable time becomes less than the predetermined value, a warning message such as “Recordable time is remaining ○ minutes” is displayed on the display unit 28, or a sound is notified through a speaker (not shown). It is also possible to do. At this time, it is also preferable to display information indicating whether the recordable capacity of the recording medium is low or whether the battery capacity is low.

次に、CPU1は、符号化方式の設定画面表示を行なう(ステップS109)。図3は、動画像符号化方式の設定画面例を示す。本実施形態では、図3に示すように、表示部28に記録中の動画像を表示しながら、画面右下隅に、符号化方式選択メニューを表示する。   Next, the CPU 1 displays an encoding scheme setting screen (step S109). FIG. 3 shows an example of a setting screen for the moving image encoding method. In the present embodiment, as shown in FIG. 3, an encoding method selection menu is displayed in the lower right corner of the screen while displaying the moving image being recorded on the display unit 28.

符号化方式選択メニューは、選択可能な個々の符号化方式の名称と、ステップS107で算出した記録可能時間とを対応づけて、かつ操作部13から選択可能なメニュー項目として表示する。
また、図3の例では、画面左下隅に、現在使用中の動画・音声符号化方式や記録可能時間、電池残量などを別途表示している。
The encoding method selection menu associates the names of selectable individual encoding methods with the recordable time calculated in step S107 and displays them as menu items that can be selected from the operation unit 13.
In the example of FIG. 3, the moving image / audio encoding method currently used, the recordable time, the remaining battery level, and the like are separately displayed in the lower left corner of the screen.

また、ステップS105において、音声符号化方式の設定画面が呼び出された場合には、直ちにステップS109へ進み、図4に示すように、表示部28に記録中の動画像を表示しながら、画面右下隅に、符号化方式選択メニューを表示する。
符号化方式選択メニューは、選択可能な個々の符号化方式の名称を、操作部13から選択可能なメニュー項目として表示する。
さらに、図3と同様、画面左下隅に、現在使用中の動画・音声符号化方式や記録可能時間、電池残量などを別途表示する。
Further, when the voice encoding method setting screen is called in step S105, the process immediately proceeds to step S109, and while the moving image being recorded is displayed on the display unit 28 as shown in FIG. The encoding method selection menu is displayed in the lower corner.
The encoding method selection menu displays the names of individual selectable encoding methods as menu items that can be selected from the operation unit 13.
Further, as in FIG. 3, the moving image / audio encoding method currently used, the recordable time, the remaining battery level, and the like are separately displayed in the lower left corner of the screen.

ユーザは、図3や図4に示した設定画面を見ながら、操作部13に含まれるキーやボタンを用い、図3や図4に示す画面から希望の符号化方式に対応した項目を選択し、決定する。この決定指示が、符号化方式の変更指示としてCPU1に検出される(ステップS111)。   While viewing the setting screen shown in FIGS. 3 and 4, the user uses the keys and buttons included in the operation unit 13 to select items corresponding to the desired encoding method from the screens shown in FIGS. 3 and 4. ,decide. This determination instruction is detected by the CPU 1 as an encoding system change instruction (step S111).

符号化方式の変更指示が操作部13から入力されると、CPU1は、選択された項目に対応する符号化方式への変更をDSP9に送信する。また、ファイル分割指示部3により、ファイルの分割指示をDSP9、メモリ10、信号処理ECC回路18に送信する。   When an instruction to change the encoding method is input from the operation unit 13, the CPU 1 transmits a change to the encoding method corresponding to the selected item to the DSP 9. Further, the file division instruction unit 3 transmits a file division instruction to the DSP 9, the memory 10, and the signal processing ECC circuit 18.

DSP9では、CPU1から符号化変更指示信号を受信した場合、記録中のファイルクローズが可能な状態になるまでは、変更指示前の符号化方式を継続して用いる。具体的には、信号処理ECC回路18、変復調器19により生成する、記録媒体25に記録するデータの記録フレーム(記録セクタ、記録データ単位)が終了するまでは、符号化方式を変更しない(ステップS115)。そして、現行の符号化方式による符号化データのみによる記録フレームが生成できた時点で、ファイルをクローズし、符号化方式を指示された方式に変更する(ステップS117)。そして、変更後の符号化方式で生成された符号化データは、新しいファイルとして記録を開始する。   In the DSP 9, when the encoding change instruction signal is received from the CPU 1, the encoding method before the change instruction is continuously used until the file being recorded can be closed. Specifically, the encoding method is not changed until the recording frame (recording sector, recording data unit) of data to be recorded on the recording medium 25 generated by the signal processing ECC circuit 18 and the modem 19 is completed (step S115). Then, when a recording frame using only encoded data according to the current encoding method can be generated, the file is closed and the encoding method is changed to the instructed method (step S117). Then, the encoded data generated by the changed encoding method starts recording as a new file.

信号処理ECC回路18へは、図5に示す通り、メモリ10からは符号化動画像データ及び符号化音声データが供給され、CPU1からは、符号化方式の変更指示信号に加え、符号化方式識別情報などの記録データの符号化方式を指定する管理情報や、ファイル分割を指定する管理情報が入力される。そして、符号化動画像データと符号化音声データと管理情報データから、記録フレームを生成する。   As shown in FIG. 5, the encoded moving image data and the encoded audio data are supplied from the memory 10 to the signal processing ECC circuit 18, and the encoding scheme identification is added from the CPU 1 in addition to the encoding scheme change instruction signal. Management information for specifying an encoding method of recording data such as information and management information for specifying file division are input. Then, a recording frame is generated from the encoded moving image data, the encoded audio data, and the management information data.

生成した記録フレームは、CPU1の指示に従って、サーボ・ヘッド制御部22及びモータ制御部23が、ヘッド21、スピンドルモータ24を制御することにより、記録媒体25に記録する。   The generated recording frame is recorded on the recording medium 25 by the servo head control unit 22 and the motor control unit 23 controlling the head 21 and the spindle motor 24 in accordance with an instruction from the CPU 1.

上述のように、本実施形態では、記録フレームの作成中に符号化方式の変更指示があった場合、その記録フレームが終了するまでは符号化方式を変更しない。さらに、その記録フレームが終了しても、現在の符号化方式に応じた符号化単位を構成する最後のフレームまで符号化を行うことも可能である。この場合、この最後の符号化単位のデータの符号化処理、及び記録が終了すると、その時点で一旦ファイルをクローズする。例えば、変更前の符号化方式がMPEG2方式であった場合、GOPと呼ばれる単位に符号化を行うので、ここでは、符号化方式変更指示があった時点で符号化中のGOPの最後のフレームまでは、変更前の符号化方式を適用した符号化を行なう。そして、その後は、引き続いて変更後の符号化方式によるデータの符号化、記録処理を始める(ステップS117)。このとき、変更後の符号化方式が適用された符号化データは、新たなファイルとして記録する。その後は、ステップS103に戻り、記録を継続する。   As described above, in this embodiment, when there is an instruction to change the encoding method during creation of a recording frame, the encoding method is not changed until the end of the recording frame. Furthermore, even if the recording frame ends, it is possible to perform encoding up to the last frame constituting the encoding unit corresponding to the current encoding method. In this case, when the encoding process and recording of the data of the last encoding unit are completed, the file is temporarily closed at that time. For example, when the encoding method before the change is the MPEG2 method, the encoding is performed in a unit called GOP, so here, up to the last frame of the GOP being encoded when the encoding method change instruction is given. Performs encoding using the encoding method before the change. After that, the data encoding and recording process by the changed encoding method is started (step S117). At this time, the encoded data to which the changed encoding method is applied is recorded as a new file. Thereafter, the process returns to step S103 to continue recording.

なお、符号化方式を指定する管理情報を記録フレームに含ませて記録媒体に記録するだけでなく、記録媒体の管理情報記録領域にも、記録フレームと記録符号化方式の対応を示す情報(対応テーブル等)を記録することも可能である。このように、記録媒体の複数箇所に管理情報を記録することで、再生時の信頼性を向上させることができる。また、符号化方式変更後の符号化方式を、変更前のファイルの管理情報に格納することで、これら二つのファイルを連続して再生する場合に、対応する復号回路をスムースに切り替えることができる。   In addition to recording management information for specifying the encoding method in the recording frame and recording it on the recording medium, information indicating the correspondence between the recording frame and the recording encoding method is also recorded in the management information recording area of the recording medium. It is also possible to record a table or the like. Thus, by recording the management information at a plurality of locations on the recording medium, it is possible to improve the reliability during reproduction. In addition, by storing the encoding method after the change of the encoding method in the management information of the file before the change, when these two files are reproduced continuously, the corresponding decoding circuit can be switched smoothly. .

ステップS111において、符号化方式の変更指示が操作部13から入力されない場合は、所定時間経過するまでは指示を待ちながら記録処理を継続し、所定時間経過しても変更指示がなければ(ステップS113,N)、設定画面を消去し(ステップS114)、記録処理を継続する。なお、設定画面においてキャンセル指示があった場合にも、所定時間指示がない場合と同様に設定画面を消去して記録処理を継続する。   If an instruction to change the encoding method is not input from the operation unit 13 in step S111, the recording process continues while waiting for the instruction until a predetermined time elapses, and there is no change instruction even if the predetermined time elapses (step S113). , N), the setting screen is deleted (step S114), and the recording process is continued. Even when there is a cancel instruction on the setting screen, the setting screen is deleted and the recording process is continued as in the case where there is no instruction for a predetermined time.

なお、記録媒体25に記録された動画像データを再生する場合は、管理情報を読み出して符号化方式などの情報を取得し、この情報に基づいて動画像データ、音声データの復号化を行なう。従って、再生途中で符号化方式の変更があった場合でも、正しく復号化することが可能である。   Note that when reproducing moving image data recorded on the recording medium 25, management information is read to acquire information such as an encoding method, and the moving image data and audio data are decoded based on this information. Therefore, even when the encoding method is changed during reproduction, it is possible to correctly decode.

以上説明したように、本実施形態によれば、記録を行いながら、符号化方式を容易に変更することが可能になる。また、この際、選択可能な符号化方式と対応付けて記録可能な時間を提示することにより、ユーザは、記録時間を考慮した符号化方式を行なうことも容易である。そして、符号化方式変更前に記録されたデータと変更後に記録されたデータは別のファイルとして管理しているので、一部の符号化方式にのみ対応した装置であっても、これを再生することが可能となる。   As described above, according to the present embodiment, it is possible to easily change the encoding method while recording. At this time, by presenting the recordable time in association with the selectable encoding method, the user can easily perform the encoding method in consideration of the recording time. Since the data recorded before the encoding method change and the data recorded after the change are managed as separate files, even a device that supports only a part of the encoding method reproduces this It becomes possible.

また、符号化方式に関する情報をファイルに格納して記録することにより、再生する場合にも復号化方式をあらかじめ認識可能であり、途中で符号化方式が変更された動画像であっても、符号化方式の切り替わり時点があってもスムースな復号化、再生が可能である。   In addition, by storing information about the encoding method in a file and recording it, the decoding method can be recognized in advance even when playing back, and even a moving image whose encoding method has been changed in the middle can be encoded. Smooth decoding and playback are possible even when there is a switching point of the conversion method.

なお、本実施形態では、説明及び理解を容易にするため、符号化方式の変更についてのみ説明した。しかし、符号化方式を選択した後で、その符号化方式における画質設定画面を表示し、画質設定も合わせてユーザ設定可能とすることも可能である。この場合、符号化方式の切替指示に加え、画質設定についてもCPU1からDSP9、信号処理ECC回路18等に通知される。   In the present embodiment, only the change of the encoding method has been described for ease of explanation and understanding. However, after selecting an encoding method, an image quality setting screen for the encoding method can be displayed, and the image quality setting can also be set by the user. In this case, in addition to the instruction to switch the encoding method, the CPU 1 is notified of the image quality setting to the DSP 9, the signal processing ECC circuit 18, and the like.

本発明の実施形態に係る実施形態に係る記録装置の一例としてのビデオカメラの構成例を示すブロック図である。It is a block diagram which shows the structural example of the video camera as an example of the recording device which concerns on embodiment which concerns on embodiment of this invention. 実施形態に係るビデオカメラにおける撮影・記録処理動作について説明するためのフローチャートである。It is a flowchart for demonstrating the imaging | photography / recording processing operation in the video camera which concerns on embodiment. 実施形態に係るビデオカメラにおける、動画像符号化方式の設定画面例を示す図である。It is a figure which shows the example of a setting screen of a moving image encoding system in the video camera which concerns on embodiment. 実施形態に係るビデオカメラにおける、音声符号化方式の設定画面例を示す図である。It is a figure which shows the example of a setting screen of the audio | voice encoding system in the video camera which concerns on embodiment. 実施形態に係るビデオカメラにおける、信号処理ECC回路の動作と、データの流れを模式的に示す図である。It is a figure which shows typically the operation | movement of a signal processing ECC circuit and the flow of data in the video camera which concerns on embodiment.

Claims (6)

入力データに対して複数の符号化方式のいずれか1つを適用して符号化し、符号化データとして出力する符号化手段と、
予め定められた量の前記符号化データと、当該符号化データの符号化に用いられた符号化方式を表す情報を含む記録フレームを生成する生成手段と、
前記記録フレームを記録媒体に記録する記録手段と、
前記記録手段による記録中に、前記符号化方式の変更指示を受け付け、変更後の符号化方式を前記符号化手段に通知する受け付け手段を有し、
前記符号化手段が、新規記録フレームに含められる入力データから、前記通知された変更後の符号化方式を用いて符号化を行なうことを特徴とする記録装置。
Encoding means for applying any one of a plurality of encoding methods to input data, and outputting the encoded data as encoded data;
Generating means for generating a recording frame including a predetermined amount of the encoded data and information indicating an encoding method used for encoding the encoded data;
Recording means for recording the recording frame on a recording medium;
During the recording by the recording means, it has an accepting means for accepting an instruction to change the encoding method and notifying the encoding means of the changed encoding method,
The recording apparatus, wherein the encoding means performs encoding using the notified changed encoding method from input data included in a new recording frame.
前記記録媒体の記録可能容量を検出する第1の検出手段と、
前記複数の符号化方式の各々について予め記憶した発生データ量に関する情報を記憶する記憶手段と、
前記記録可能容量と、前記発生データ量に関する情報とから、前記複数の符号化方式の各々に対する記録可能時間を算出する算出手段と、
前記算出手段で算出した記録可能時間を、符号化方式に対応付けて表示する表示手段とを更に有することを特徴とする請求項1記載の記録装置。
First detecting means for detecting a recordable capacity of the recording medium;
Storage means for storing information relating to the amount of generated data stored in advance for each of the plurality of encoding methods;
Calculating means for calculating a recordable time for each of the plurality of encoding methods from the recordable capacity and the information on the generated data amount;
The recording apparatus according to claim 1, further comprising display means for displaying the recordable time calculated by the calculation means in association with an encoding method.
さらに、電源の電力容量を検出する第2の検出手段を有し、
前記記憶手段が、前記複数の符号化方式の各々についての消費電力密度に関する情報を記憶するとともに、
前記算出手段が、前記電力容量値と前記消費電力密度をさらに用いて、前記記録可能時間を算出することを特徴とする請求項2記載の記録装置。
Furthermore, it has a 2nd detection means to detect the power capacity of a power supply,
The storage means stores information related to power consumption density for each of the plurality of encoding methods,
The recording apparatus according to claim 2, wherein the calculation unit calculates the recordable time by further using the power capacity value and the power consumption density.
前記複数の符号化方式が、少なくとも画像データに対する複数の符号化方式を含むことを特徴とする請求項1乃至請求項3のいずれか1項に記載の記録装置。   The recording apparatus according to claim 1, wherein the plurality of encoding methods include at least a plurality of encoding methods for image data. 前記符号化手段が、前記変更指示を受け付けた時点で適用中の符号化方式の符号化単位を構成する最後の記録フレームが生成されるまでは前記適用中の符号化方式を用いて符号化を行い、その後、前記通知された変更後の符号化方式を用いて符号化を行なうことを特徴とする請求項1乃至請求項4のいずれか1項に記載の記録装置。   Encoding is performed using the applied encoding method until the last recording frame constituting the encoding unit of the applied encoding method at the time when the encoding means receives the change instruction. 5. The recording apparatus according to claim 1, wherein encoding is performed using the notified changed encoding method. 5. 前記記録手段が、前記変更後の符号化方式が変更された記録フレームを、新しいファイルとして記録することを特徴とする請求項1乃至請求項5のいずれか1項に記載の記録装置。   6. The recording apparatus according to claim 1, wherein the recording unit records a recording frame in which the encoding method after the change is changed as a new file.
JP2006131809A 2006-05-10 2006-05-10 Recording apparatus Withdrawn JP2007306246A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006131809A JP2007306246A (en) 2006-05-10 2006-05-10 Recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006131809A JP2007306246A (en) 2006-05-10 2006-05-10 Recording apparatus

Publications (1)

Publication Number Publication Date
JP2007306246A true JP2007306246A (en) 2007-11-22

Family

ID=38839822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006131809A Withdrawn JP2007306246A (en) 2006-05-10 2006-05-10 Recording apparatus

Country Status (1)

Country Link
JP (1) JP2007306246A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010028402A (en) * 2008-07-18 2010-02-04 Hitachi Ltd Video signal encoder and video signal recorder
JP2010087711A (en) * 2008-09-30 2010-04-15 Sanyo Electric Co Ltd Image processor
JP2018148465A (en) * 2017-03-07 2018-09-20 株式会社リコー Information processing device, method for controlling information processing device, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010028402A (en) * 2008-07-18 2010-02-04 Hitachi Ltd Video signal encoder and video signal recorder
JP2010087711A (en) * 2008-09-30 2010-04-15 Sanyo Electric Co Ltd Image processor
JP2018148465A (en) * 2017-03-07 2018-09-20 株式会社リコー Information processing device, method for controlling information processing device, and program

Similar Documents

Publication Publication Date Title
US20100260472A1 (en) Video recording and reproducing apparatus and control method thereof
JP2009225361A (en) Recording device and recording method, and editing device and editing method
JP4297080B2 (en) Playback apparatus and control method
JP2007306246A (en) Recording apparatus
JP3997323B2 (en) Dubbing equipment
JP2005094391A (en) Device, method and program for editing and recording data, and recording medium having data editing and recording program recorded thereon
WO2002045087A1 (en) Data recording device
JP5414374B2 (en) Imaging recording apparatus and control method thereof
JP2006311414A (en) Video recording apparatus and video recording method
JP4419999B2 (en) Recording / reproducing system, recording / reproducing apparatus, and control method for recording / reproducing apparatus
JP2013046125A (en) Imaging apparatus
JP5268608B2 (en) Imaging playback device
JP2010252207A (en) Imaging apparatus
JP2008160564A (en) Camera device and chapter data generating method therein
JP2008097727A (en) Animation-reproducing device
JP2007243412A (en) Imaging apparatus and image reproducing apparatus
US20080089670A1 (en) Recording apparatus
JP4347007B2 (en) Information processing apparatus and program
JP2007081466A (en) Image processing apparatus and method
JP2007049303A (en) Imaging apparatus
JP2008310910A (en) Recording and reproducing apparatus and its controlling method
JP4893757B2 (en) Recording / reproducing apparatus, transmitting apparatus, and transmitting method
JP4407071B2 (en) Digital camera device
JP5621645B2 (en) Video storage device and video storage control method
JP2008053840A (en) Video camera, recording device, recording and reproducing device, recording method, and recording and reproducing method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090804