JP5637012B2 - Video processing apparatus, dubbing system, and video processing method - Google Patents
Video processing apparatus, dubbing system, and video processing method Download PDFInfo
- Publication number
- JP5637012B2 JP5637012B2 JP2011044264A JP2011044264A JP5637012B2 JP 5637012 B2 JP5637012 B2 JP 5637012B2 JP 2011044264 A JP2011044264 A JP 2011044264A JP 2011044264 A JP2011044264 A JP 2011044264A JP 5637012 B2 JP5637012 B2 JP 5637012B2
- Authority
- JP
- Japan
- Prior art keywords
- unit
- processing
- stream
- decoding
- encoding
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Description
本発明は、映像データを加工する映像処理装置、ダビングシステムおよび映像処理方法に関する。 The present invention relates to a video processing apparatus, a dubbing system, and a video processing method for processing video data.
運動会、楽器や踊りの発表会、または誕生日会等のイベントにおいて、撮像装置(ビデオカメラ)を用いて動画を製作することがある。このとき撮像した動画にタイトル画像を重畳したり、タイトル画面を挿入したり、または文字や図形等のオブジェクト画像を重畳して装飾を施したりする等、映像を加工して、DVD等の記録媒体にダビングしたいという要望がある。そこで、一般的には動画をパーソナルコンピュータ(PC)に一旦取り込み、映像加工専用のソフト等を利用して映像を加工した後に記録媒体に記憶させる手段が採られている。 In an event such as an athletic meet, a musical instrument or dance presentation, or a birthday party, a moving image may be produced using an imaging device (video camera). Recording media such as DVDs by processing the video, such as superimposing a title image on the captured video, inserting a title screen, or superimposing an object image such as a character or a figure. There is a demand for dubbing. Therefore, generally, a means is adopted in which a moving image is once taken into a personal computer (PC), and the video is processed using a video processing dedicated software or the like and then stored in a recording medium.
しかし、タイトル画像を重畳する等の加工を試みた場合、映像を加工するためだけに、わざわざ撮像装置からPCに動画データを転送し、PC上で各種ソフトウェアを使用して編集およびダビングしなければならず、ユーザに煩雑な作業を強いることとなっていた。そこで、PCを使用せずに、管理情報に基づいて、シーンとシーンの間に自動的にタイトル表示データを挿入する技術が開示されている(例えば、特許文献1)。 However, when processing such as superimposing a title image is attempted, moving image data is purposely transferred from the imaging device to the PC, and edited and dubbed using various software on the PC only for processing the video. In other words, the user is forced to perform complicated work. Therefore, a technique for automatically inserting title display data between scenes based on management information without using a PC is disclosed (for example, Patent Document 1).
しかし、特許文献1の技術のタイトル表示データは、映像データの管理情報に基づいて生成される、日時、シーン種別、撮像場所に基づいたデータに限定されるため、決まり切ったタイトルしか表示させることができず、ユーザが所望するタイトルを必ずしも表示させることはできない。 However, since the title display data of the technique of Patent Document 1 is limited to data based on the date / time, scene type, and imaging location, which is generated based on the management information of the video data, only regular titles are displayed. The title desired by the user cannot always be displayed.
そこで、本発明は、PC等の別途の装置を用いずとも、ユーザに煩雑な操作を強いることなく、映像データを、ユーザの所望するタイミングで所望する内容に、容易に加工することが可能な映像処理装置、ダビングシステムおよび映像処理方法を提供することを目的としている。 Therefore, the present invention can easily process video data into desired contents at a timing desired by the user without forcing the user to perform complicated operations without using a separate device such as a PC. An object is to provide a video processing apparatus, a dubbing system, and a video processing method.
上記課題を解決するために、本発明の映像処理装置(110)は、第1ストリームを取得するストリーム取得部と、予め定められたタイミングで、前記第1ストリームを加工する加工時点をマーキングして、前記加工時点を示すマーキング情報を生成するマーキング部(252)と、前記第1ストリームに関連付けて前記マーキング情報を保持するストリーム保持部(216)と、前記第1ストリームを復号して映像データを生成する復号処理を遂行する復号部(220)と、前記復号部が前記復号処理を遂行する際に、前記マーキング情報を参照して、前記加工時点を検知する加工時点検知部(254)と、前記加工時点検知部が加工時点を検知すると、前記加工時点において復号された映像データを加工する加工処理を遂行する映像加工部(236)と、前記復号された映像データおよび前記加工処理が施された映像データを順次符号化して第2ストリームを生成する符号化処理を遂行する符号化部(226)と、前記加工時点検知部が加工時点を検知すると、前記映像加工部による前記加工処理が完了するまで前記符号化部による前記符号化処理を開始しないように制御する復号符号化制御部(256)と、前記第2ストリームを外部に出力する外部出力部(230)とを備え、前記復号部による復号処理と前記符号化部による符号化処理とは交互に遂行され、前記映像加工部は、前記加工時点検知部が加工時点を検知すると、前記復号処理の完了を待たずに、前記復号された映像データの加工を開始することを特徴とする。 In order to solve the above problems, the video processing device (110) of the present invention marks a stream acquisition unit that acquires a first stream and a processing time point at which the first stream is processed at a predetermined timing. A marking unit (252) for generating marking information indicating the processing time, a stream holding unit (216) for holding the marking information in association with the first stream, and decoding the first stream to obtain video data A decoding unit (220) that performs a decoding process to be generated; a processing time point detection unit (254) that detects the processing time point with reference to the marking information when the decoding unit performs the decoding process; When the processing time detection unit detects the processing time, the video processing performs processing for processing the video data decoded at the processing time (236), an encoding unit (226) for performing an encoding process for sequentially encoding the decoded video data and the processed video data to generate a second stream, and the processing time point detection When the processing unit detects a processing time point, a decoding encoding control unit (256) that controls the encoding unit to not start the encoding process until the processing process by the video processing unit is completed, and the second stream And an external output unit (230) for outputting to the outside, the decoding process by the decoding unit and the encoding process by the encoding unit are alternately performed, and the video processing unit is processed by the processing time point detection unit Upon detection of the time, without waiting for the completion of the decoding process, it characterized that you initiate processing of the decoded video data.
前記映像加工部は、ユーザ入力に応じて作成された新規の映像データを、復号された映像データに重畳する加工処理を遂行してもよい。 The video processing unit may perform a processing process of superimposing new video data created in response to a user input on the decoded video data.
前記マーキング部は、所定の時間、所定の撮像シーン、またはユーザの入力に基づいて前記マーキング情報を生成してもよい。 The marking unit may generate the marking information based on a predetermined time, a predetermined imaging scene, or a user input.
前記ストリーム取得部は撮像部(212)を備え、前記撮像部は被写体を撮像した撮像データを取得し、前記ストリーム取得部は前記撮像データに基づき前記第1ストリームを取得してもよい。 The stream acquisition unit may include an imaging unit (212), the imaging unit may acquire imaging data obtained by imaging a subject, and the stream acquisition unit may acquire the first stream based on the imaging data.
上記課題を解決するために、本発明のダビングシステム(100)は、ストリームを加工する映像処理装置と、前記映像処理装置に接続され、加工されたストリームを任意の記録媒体に書き込む記録装置(120)とを備えるダビングシステムであって、前記映像処理装置は、第1ストリームを取得するストリーム取得部と、予め定められたタイミングで、前記第1ストリームを加工する加工時点をマーキングしてマーキング情報を生成するマーキング部と、前記第1ストリームに関連付けて前記マーキング情報を保持するストリーム保持部と、前記第1ストリームを復号して映像データを生成する復号処理を遂行する復号部と、前記復号部が前記復号処理を遂行する際に、前記マーキング情報を参照して、前記加工時点を検知する加工時点検知部と、前記加工時点検知部が加工時点を検知すると、前記加工時点において復号された映像データを加工する加工処理を遂行する映像加工部と、前記復号された映像データおよび前記加工処理が施された映像データを順次符号化して第2ストリームを生成する符号化処理を遂行する符号化部と、前記加工時点検知部が加工時点を検知すると、前記映像加工部による前記加工処理が完了するまで前記符号化部による前記符号化処理を開始しないように制御する復号符号化制御部と、前記第2ストリームを前記記録装置に出力する外部出力部と、を備え、前記記録装置は、出力された前記第2ストリームを記録媒体に書き込むストリーム書込部(314)を備え、前記復号部による復号処理と前記符号化部による符号化処理とは交互に遂行され、前記映像加工部は、前記加工時点検知部が加工時点を検知すると、前記復号処理の完了を待たずに、前記復号された映像データの加工を開始することを特徴とする。 In order to solve the above problems, a dubbing system (100) of the present invention includes a video processing device that processes a stream, and a recording device (120) that is connected to the video processing device and writes the processed stream to an arbitrary recording medium. ), The video processing apparatus marking the marking information by marking a stream acquisition unit that acquires the first stream and a processing time point at which the first stream is processed at a predetermined timing. A marking unit to be generated, a stream holding unit that holds the marking information in association with the first stream, a decoding unit that performs decoding processing to generate video data by decoding the first stream, and the decoding unit, A processing time point for detecting the processing time point with reference to the marking information when performing the decoding process When the intelligent unit and the processing time detection unit detect the processing time, a video processing unit that performs processing for processing the video data decoded at the processing time, the decoded video data, and the processing are performed. An encoding unit that sequentially encodes the video data that is generated to generate a second stream, and when the processing time detection unit detects the processing time, until the processing by the video processing unit is completed A decoding / encoding control unit that controls the encoding unit not to start the encoding process; and an external output unit that outputs the second stream to the recording device. of performing the second stream comprises a stream writing unit (314) to be written to the recording medium, alternatively the encoding process and the decoding process by the decoding unit by the encoding unit , The image processing unit, the processing time detection unit when detecting the machining time, without waiting for completion of the decoding process, characterized that you initiate processing of the decoded video data.
上記課題を解決するために、本発明の映像処理方法は、第1ストリームを取得し、予め定められたタイミングで、前記第1ストリームを加工する加工時点をマーキングしてマーキング情報を生成し、前記第1ストリームに関連付けて前記マーキング情報を保持しておき、前記第1ストリームを復号して映像データを生成する復号処理を遂行し、前記復号処理を遂行する際に、前記マーキング情報を参照して、前記加工時点を検知すると、前記加工時点において復号された映像データを加工する加工処理を遂行し、前記復号された映像データおよび前記加工処理が施された映像データを順次符号化して第2ストリームを生成する符号化処理を遂行し、前記復号処理と前記符号化処理とは交互に遂行され、前記マーキング情報を参照して、前記加工時点を検知すると、前記復号処理の完了を待たずに、前記復号された映像データの加工を開始し、前記加工処理が完了するまで前記符号化処理を開始しないように制御し、前記第2ストリームを外部に出力することを特徴とする。
In order to solve the above-described problem, the video processing method of the present invention acquires a first stream, marks a processing time point at which the first stream is processed at a predetermined timing, generates marking information, and The marking information is stored in association with the first stream, the decoding process for generating the video data by decoding the first stream is performed, and the marking information is referred to when performing the decoding process. When the processing time point is detected, a processing process for processing the video data decoded at the processing time point is performed, and the decoded video data and the video data subjected to the processing process are sequentially encoded to generate a second stream. It performs a coding process for generating, and the decoding process and the encoding process is performed alternately, by referring to the marking information, the pressurized Upon detection of the time, without waiting for the completion of the decoding processing, it starts the processing of the decoded video data, and controls so as not to start the encoding process to said processing is completed, the second stream Is output to the outside.
本発明によれば、PC等の別途の装置を用いずとも、ユーザに煩雑な操作を強いることなく、映像データを、ユーザの所望するタイミングで所望する内容に、容易に加工することが可能となる。 According to the present invention, it is possible to easily process video data into desired contents at a timing desired by the user without forcing the user to perform complicated operations without using a separate device such as a PC. Become.
以下に添付図面を参照しながら、本発明の好適な実施形態について詳細に説明する。かかる実施形態に示す寸法、材料、その他具体的な数値などは、発明の理解を容易とするための例示にすぎず、特に断る場合を除き、本発明を限定するものではない。なお、本明細書及び図面において、実質的に同一の機能、構成を有する要素については、同一の符号を付することにより重複説明を省略し、また本発明に直接関係のない要素は図示を省略する。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. The dimensions, materials, and other specific numerical values shown in the embodiment are merely examples for facilitating understanding of the invention, and do not limit the present invention unless otherwise specified. In the present specification and drawings, elements having substantially the same function and configuration are denoted by the same reference numerals, and redundant description is omitted, and elements not directly related to the present invention are not illustrated. To do.
(ダビングシステム100)
図1は、ダビングシステム100の概略的な関係を説明するための説明図である。図1に示すように、ダビングシステム100は、映像処理装置110と、記録装置120とを含んで構成される。
(Dubbing system 100)
FIG. 1 is an explanatory diagram for explaining a schematic relationship of the
映像処理装置110は、デジタルビデオカメラ、携帯電話、PHS(Personal Handy-phone System)等の電子機器で構成される。例えば、映像処理装置110としてのデジタルビデオカメラは、被写体の撮像機能を有し、撮像により第1ストリームを生成および保持し、外部に出力する際に、その第1ストリームを加工して第2ストリームを生成する。ここでは、映像処理装置110としてデジタルビデオカメラを例に挙げて説明する。
The
記録装置120は、USB(Universal Serial Bus)ケーブル、HDMI(High-Definition Multimedia Interface)ケーブル、LAN(Local Area Network)ケーブル等の接続ケーブル102を介して、映像処理装置110に接続され、映像処理装置110が出力した第2ストリームをDVDやBD(Blu-ray Disc)、フラッシュメモリ等の記録媒体130に書き込む。なお、ここでは、映像処理装置110と記録装置120とが有線(接続ケーブル102)で接続されているが、無線LANや、近距離無線通信(NFC)、赤外線通信等の無線で接続されてもよい。
The
以下、取得した第1ストリームを加工して第2ストリームを生成する映像処理装置110および映像処理装置110が生成した第2ストリームを記録媒体130に書き込む記録装置120の具体的な構成について説明する。
Hereinafter, a specific configuration of the
(映像処理装置110)
図2は、映像処理装置110の概略的な構成を示した機能ブロック図である。図2に示すように、映像処理装置110は、操作部210と、撮像部212と、符号化部214と、ストリーム保持部216と、ストリーム抽出部218と、復号部220と、復号バッファ222と、符号化バッファ224と、符号化部226と、ストリームバッファ228と、外部出力部230と、装置メモリ232と、表示部234と、映像加工部236と、中央制御部240とを含んで構成される。図2に示すように、中央制御部240は、システム内部バス202を通じて、操作部210、撮像部212、符号化部214、ストリーム保持部216、ストリーム抽出部218、復号部220、復号バッファ222、符号化バッファ224、符号化部226、ストリームバッファ228、外部出力部230、装置メモリ232、表示部234、映像加工部236を制御する。図2中、データの流れを実線の矢印で示し、制御の流れを破線の矢印で示す。
(Video processing device 110)
FIG. 2 is a functional block diagram illustrating a schematic configuration of the
本実施形態において映像処理装置110には、加工対象となる第1ストリームを取得して第1ストリームを加工する加工時点をマーキングする「マーキング情報生成モード」と、取得した第1ストリームを加工した第2ストリームを外部の装置、例えば、記録装置120に出力する「ダビングモード」との2つのモードがある。ユーザは、操作部210等の操作入力によりどちらかのモードを選択することで、これらの2つのモードを切り換えることができる。
In this embodiment, the
操作部210は、レリーズスイッチを含む操作キー、十字キー、ジョイスティック、後述する表示部234の表示画面に配されたタッチパネル等で構成され、マーキング情報生成モードとダビングモードとの切り換え、ダビングモードにおける映像データの加工等のユーザによる操作入力を受け付ける。
The
撮像部212は、図示しない焦点調整に用いられるフォーカスレンズ、露光調整に用いられる絞り(アイリス)、撮像対象の拡大および縮小に用いられるズームレンズ、各レンズを通じて入射した光を光電変換し映像データに変換する撮像素子、フォーカスレンズ、絞り、ズームレンズ、および、撮像素子を駆動させる駆動回路等を含んで構成され、マーキング情報生成モードにおいて、後述する撮像制御部250の制御に応じ、これらを制御し、撮像データ(映像データ)を生成する。
The
符号化部214は、マーキング情報生成モードにおいて、撮像部212が生成した映像データを順次符号化して、第1ストリームを生成する符号化処理を遂行する。
In the marking information generation mode, the
なお、ここでは、撮像部212および符号化部214がストリーム取得部として機能するが、ストリーム取得部は、DVDやBD、フラッシュメモリ等の外部記録媒体から第1ストリームを取得してもよい。
Here, the
ストリーム保持部216は、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable PROM)、不揮発性RAM、フラッシュメモリ、HDD(Hard Disk Drive)等の記憶媒体で構成され、マーキング情報生成モードにおいて、第1ストリームや、後述するマーキング部252による制御指令に応じ、第1ストリームに関連付けて、第1ストリームを加工する加工時点を示すマーキング情報を保持する。
The
ストリーム抽出部218は、ダビングモードにおいて、ストリーム保持部216から、加工対象となる第1ストリームを抽出する。
The
復号部220は、ダビングモードにおいて、ストリーム抽出部218が抽出した第1ストリームを復号して映像データを生成する復号処理を遂行する。復号バッファ222は、SRAMやDRAM等の記憶媒体で構成され、ダビングモードにおいて、復号部220が復号した映像データを一時的に保持する。符号化バッファ224は、SRAMやDRAM等の記憶媒体で構成され、ダビングモードにおいて、復号部220が復号した映像データや、後述する映像加工部236が加工した映像データ(以下、単に「加工データ」と称する)を一時的に保持する。
In the dubbing mode, the
符号化部226は、ダビングモードにおいて、符号化バッファ224に保持された映像データや加工データを順次符号化して第2ストリームを生成する符号化処理を遂行する。ストリームバッファ228は、SRAMやDRAM等の記憶媒体で構成され、ダビングモードにおいて、符号化部226が生成した第2ストリームを一時的に保持する。
In the dubbing mode, the
外部出力部230は、ダビングモードにおいて、ストリームバッファ228が保持した第2ストリームを外部の装置、例えば記録装置120に出力する。
The
装置メモリ232は、EMROM、不揮発性RAM、フラッシュメモリ、HDD等の記憶媒体で構成され、映像加工部236による加工処理の際に利用されるGUI(Graphical User Interface)用の映像データ(以下、単にGUI映像データと称する)や、同じく加工処理にて使用されるテンプレートデータ等を保持する。
The
表示部234は、液晶ディスプレイ、有機EL(Electro Luminescence)ディスプレイ等で構成され、後述する表示制御部258の制御指令に応じて、様々な映像データを表示する。表示部234は、マーキング情報生成モードにおいて、撮像中の映像を表示したり、ダビングモードにおいて、復号部220が復号した映像データに基づく映像や、映像加工部236による加工処理を案内するためのGUI用の映像(以下、単にGUI映像と称する)や、加工データに基づく映像を表示したりする。
The
映像加工部236は、ダビングモードにおいて、後述する加工時点検知部254が送信する、加工時点を検知したことを示す検知信号を受信すると、加工時点において復号された映像データを、復号バッファ222から抽出して、抽出した映像データを加工する加工処理を遂行する。映像加工部236は、例えば、ユーザ入力に応じて作成された新規の映像データを、復号された映像データに重畳したり、復号された映像データに対して色補正を行ったり、復号された映像データにおけるエッジ部分をシャープにしたりする。そして映像加工部236は、加工処理を施した映像データ(加工データ)を符号化バッファ224や表示部234に出力する。したがって、符号化バッファ224において、加工時点の映像データは、映像加工部236によって加工された加工データに置換されることになる。そして映像加工部236は、加工処理を完了すると、加工処理が完了したことを示す完了信号を後述する復号符号化制御部256に送信する。
In the dubbing mode, the
中央制御部240は、中央処理装置(CPU)、中央制御部240を動作するためのプログラム等を格納したROM、一時的なデータ保存およびワークエリアとして利用されるRAM等を含む半導体集積回路で構成され、装置メモリ232や他の電子回路と協働して映像処理装置110全体を管理および制御する。また、中央制御部240は、撮像制御部250、マーキング部252、加工時点検知部254、復号符号化制御部256、表示制御部258としても機能する。
The
撮像制御部250は、マーキング情報生成モードにおいて、ユーザの操作部210への操作入力に応じ、撮像部212を制御する。例えば、撮像制御部250は、適切な映像データが得られるように、撮像部212を構成するズームレンズ、フォーカスレンズ、絞りおよび撮像素子を駆動回路に駆動させる。また、撮像制御部250は、ズーム機能(倍率変更機能)を遂行させる場合、ズームレンズおよびフォーカスレンズを移動させる。
The
マーキング部252は、マーキング情報生成モードにおいて、予め定められたタイミングで、加工時点をマーキングしてマーキング情報を生成し、生成したマーキング情報を第1ストリームに関連付けてストリーム保持部216に保持させる。図3は、マーキング部252の処理を説明するための説明図である。図3(a)に示すように、マーキング部252は、例えば、ユーザによる操作部210への操作入力に応じたタイミングで、マーキング(図3中、Mで示す)したり、図3(b)に示すように、所定の時間間隔(図3中、tで示す)でマーキングしたり、図3(c)に示すように、所定の撮影シーンごと(例えば、撮影シーンの先頭のタイミング)にマーキングしたりする。
In the marking information generation mode, the marking unit 252 marks the processing time point to generate marking information at a predetermined timing, and causes the
ここでは、マーキング部252は、ユーザによる操作部210への操作入力に応じてマーキングする場合を例に挙げて説明する。操作入力に応じてマーキングする構成では、ユーザは、撮像しながらマーキングすることができるので、映像の加工を所望する時点を容易に設定することが可能となる。
Here, the case where the marking unit 252 performs marking according to an operation input to the
加工時点検知部254は、ダビングモードにおいて、復号部220による復号処理を監視しており、ストリーム保持部216に保持されたマーキング情報を参照して、第1ストリームにおける加工時点を検知すると、加工時点を検知したことを示す検知信号を、映像加工部236、復号符号化制御部256、表示制御部258に送信する。
The processing time point detection unit 254 monitors the decoding process by the
復号符号化制御部256は、マーキング情報生成モードにおいて、符号化部214を制御して符号化処理を遂行させたり、ダビングモードにおいて、復号部220を制御して復号処理を遂行させたり、符号化部226を制御して符号化処理を遂行させたりする。例えば、復号符号化制御部256は、符号化部226を制御して、加工時点検知部254から送信される検知信号を受信すると、映像加工部236による加工処理が完了するまで符号化処理を開始しないように制御し、映像加工部236が送信する完了信号を受信すると符号化処理を再開する。復号符号化制御部256による復号処理および符号化処理については、後に詳述する。
The decoding / encoding control unit 256 controls the
表示制御部258は、マーキング情報生成モードにおいて、撮像中の映像を表示部234に表示させる。また、表示制御部258は、ダビングモードにおいて、加工時点検知部254から送信された検知信号を受信すると、復号部220が復号した映像データに基づく映像や、GUI映像や、加工データに基づく映像を表示部234に表示させたりする。
The
(記録装置120)
図4は、記録装置120の概略的な構成を示した機能ブロック図である。図4に示すように、記録装置120は、中央制御部310と、ストリーム取得部312と、ストリーム書込部314とを含んで構成される。
(Recording device 120)
FIG. 4 is a functional block diagram illustrating a schematic configuration of the
中央制御部310は、中央処理装置(CPU)、中央制御部310を動作するためのプログラム等を格納したROM、一時的なデータ保存およびワークエリアとして利用されるRAM等を含む半導体集積回路で構成され、不図示のメモリや他の電子回路と協働して記録装置120全体を管理および制御する。
The
ストリーム取得部312は、接続ケーブル102を通じて映像処理装置110から第2ストリームを取得する。ストリーム書込部314は、第2ストリームを記録媒体130に書き込む。
The
(映像処理方法)
図5、図6は、ダビングシステム100による映像処理方法の処理の流れを説明するためのフローチャートであり、図5は、マーキング情報生成モードでの処理を説明するためのフローチャートを、図6は、ダビングモードでの処理を説明するためのフローチャートを示す。また、図7は、ダビングモードにおける復号処理、符号化処理および加工処理の全体的な流れを説明するためのタイミングチャートを示す図である。
(Video processing method)
5 and 6 are flowcharts for explaining the processing flow of the video processing method by the
(マーキング情報生成モード)
図5に示すように、ユーザによる操作部210への操作入力に応じて、マーキング情報生成モードが選択されると(S400におけるYES)、撮像部212は、第1ストリームの生成を開始し、符号化部214が符号化した後、第1ストリームをストリーム保持部216に順次保持させる(S402)。
(Marking information generation mode)
As illustrated in FIG. 5, when the marking information generation mode is selected according to the operation input to the
第1ストリームの生成中に、操作部210が、ユーザによる加工時点のマーキングを所望する旨の操作入力を受け付けると(S404におけるYES)、マーキング部252は加工時点をマーキングしてマーキング情報を生成し、第1ストリームに関連付けて第1ストリームと共にストリーム保持部216に保持させる(S406)。なお、ユーザによるマーキング情報の生成を所望する旨の操作入力がない場合(S404におけるNO)、マーキング部252は、マーキング情報を生成しない。
When the
そして、中央制御部240は、ユーザによる第1ストリームの取得を停止する旨の操作入力があったか否かを判定し(S408)、停止する旨の操作入力があると(S408におけるYES)、マーキング情報生成モードを終了する。
Then, the
(ダビングモード)
図6に示すように、ユーザによる操作部210への操作入力に応じて、ダビングモードが選択されると(S430におけるYES)、ストリーム抽出部218は、ストリーム保持部216に保持された第1ストリームを順次抽出し、復号符号化制御部256は、復号部220を制御して、第1ストリームの復号処理を開始し、復号した映像データを順次復号バッファ222に出力する(S432)。また、加工時点検知部254は、復号部220による復号処理の監視を開始し、加工時点の検知に備える。
(Dubbing mode)
As illustrated in FIG. 6, when the dubbing mode is selected in response to an operation input to the
なお、図7(a)、(b)に示すように、復号符号化制御部256は、復号処理によって、復号バッファ222および符号化バッファ224にある程度映像データが蓄積された後に、符号化処理を遂行する、すなわち、復号処理と符号化処理とが交互に遂行されるように(復号処理が終わってから符号化処理が遂行されるように)、復号部220および符号化部226を制御する。復号符号化制御部256は、復号部220による復号処理が完了してから所定の切り換え時間経過後に符号化部226による符号化処理を開始し、符号化部226による符号化処理が完了してから所定の切り換え時間(図7中「切り換え」で示す)経過後に復号部220による復号処理を開始する。
As shown in FIGS. 7A and 7B, the decoding / encoding control unit 256 performs the encoding process after video data is accumulated to some extent in the
このように、復号符号化制御部256が復号処理と符号化処理とを交互に遂行させることにより、復号バッファ222および符号化バッファ224の容量を小さくすることができる。
As described above, the decoding / encoding control unit 256 alternately performs the decoding process and the encoding process, whereby the capacity of the
なお、復号バッファ222および符号化バッファ224が1ストリーム分の映像データを保持できる程度に容量が大きい場合、復号符号化制御部256は、復号部220に第1ストリームをすべて復号させ、続いて符号化部226に第1ストリームを符号化させてもよい。
When the capacity is large enough for the
図6に戻って説明すると、加工時点検知部254が、ストリーム保持部216に保持されたマーキング情報を参照して加工時点を検知すると(S434におけるYES)、加工時点検知部254は検知信号を、映像加工部236、復号符号化制御部256、表示制御部258に送信し、映像加工部236、復号符号化制御部256、表示制御部258は、映像加工処理S436を遂行する。
Returning to FIG. 6, when the processing time detection unit 254 detects the processing time with reference to the marking information held in the stream holding unit 216 (YES in S434), the processing time detection unit 254 outputs a detection signal, The
(映像加工処理S436)
まず、復号符号化制御部256は、検知信号を受信すると、現在遂行している復号処理の後に遂行される符号化処理の開始を一時停止しておく(図7参照)。次に、映像加工部236は、表示制御部258による表示部234の制御と協働して、加工時点において復号された映像データの加工処理を開始する。
(Image processing S436)
First, when receiving the detection signal, the decoding / encoding control unit 256 temporarily stops the start of the encoding process performed after the currently performed decoding process (see FIG. 7). Next, in cooperation with the control of the
図8および図9は、映像加工部236および表示制御部258による具体的な処理を説明するための説明図である。表示制御部258は、検知信号を受信すると、図8(a)に示すように、加工時点において復号された映像データ510に、ユーザに映像の加工を促すことを示すGUI映像データ512を重畳して表示部234に表示させる。
8 and 9 are explanatory diagrams for explaining specific processing by the
そして、ユーザが操作部210を通じて、表示部234に表示されたYESボタン512aを選択決定すると、図8(b)に示すように、表示制御部258は、映像の加工の種類を示すGUI映像データ514を表示部234に表示させる。ここで、例えば、ユーザが操作部210を通じて、映像処理装置110で予め準備されているテンプレートを利用することを示すボタン514aを選択決定すると、図8(c)に示すように、表示制御部258は、テンプレートの一覧を示すGUI映像データ516を表示部234に表示させる。
When the user selects and determines the
なお、ユーザは、GUI映像データ516における左ボタン516aや右ボタン516bを選択することで、表示部234に表示させるテンプレートのサムネイル516cを変更することができる。そして、ユーザが操作部210を通じて、選択ボタン516dを選択決定すると、図9(a)に示すように、映像加工部236は、復号された映像データ510を復号バッファ222から抽出して、テンプレートを重畳し、加工データ520を生成する。
The user can change the
このように、装置メモリ232が予め複数種類のテンプレートデータを保持しておくことで、映像加工部236は、ユーザに複数種類のテンプレートのうちいずれかを選択させて、選択させたテンプレートを重畳して加工データ520を生成できるので、ユーザに容易に加工処理を遂行させることが可能となる。
As described above, since the
また、例えばユーザが、図8(b)に示すGUI映像データ514を視認して、操作部210を通じて、表示部234に表示された、手書きを利用することを示すボタン514bを選択決定すると、例えば、表示部234に重畳されたタッチパネルが起動し、ユーザは、このタッチパネルを操作することで、図9(b)に示すような新規の映像データ522を生成することができる。そして、この新規の映像データ522の生成が完了すると、図9(c)に示すように、映像加工部236は、復号された映像データ510を復号バッファ222から抽出し、ユーザが生成した新規の映像データ522を重畳して、加工データ524を生成する。
For example, when the user visually recognizes the
このように、映像加工部236は、ユーザ入力に応じて作成された新規の映像データ522を、復号された映像データ510に重畳するため、ユーザが所望する加工処理を施すことが可能となる。
In this manner, the
そして、ユーザが操作部210を通じて加工処理を完了するための操作入力を行うと、映像加工部236は、完了信号を復号符号化制御部256に送信する。
When the user performs an operation input for completing the processing through the
なお、上述したように、本実施形態において、映像加工部236は、復号符号化制御部256による復号処理が完了してから加工処理を開始しているが(図7(a)参照)、復号符号化制御部256による復号処理の完了を待たずに(完了する前から)、加工処理を開始してもよい(図7(b)参照)。このように、映像加工部236が、復号処理が完了する前から加工処理を開始することで、復号処理が完了してから加工処理を開始する場合と比較して、ダビングの総時間を短縮することが可能となる。
As described above, in the present embodiment, the
図6に戻って、映像処理方法についての説明を続けると、加工時点判定ステップS434において、加工時点検知部254が加工時点を検知しない場合(S434におけるNO)、復号ステップS432で復号バッファ222に保持された映像データを符号化バッファ224に出力する(S438)。また、加工時点検知部254が加工時点を検知した場合に、加工ステップS436が完了すると、映像加工部236は、加工データ520を符号化バッファ224に出力する(S438)。
Returning to FIG. 6, the description of the video processing method will be continued. In the processing time determination step S434, when the processing time detection unit 254 does not detect the processing time (NO in S434), it is held in the
そして、符号化バッファ224が予め定められた処理の容量に達すると、復号符号化制御部256は、復号部220に復号処理を停止させ(S440におけるYES)、符号化部226に符号化処理を開始(再開)させて第2ストリームを生成させ、ストリームバッファ228に保持させる(S442)。
When the
符号化バッファ224に保持された映像データおよび加工データの符号化処理が完了すると(S444におけるYES)、中央制御部240は、ストリーム保持部216に保持された第1ストリームの復号および符号化がすべて終了したか否かを判定し(S446)、すべて終了していれば(S446におけるYES)、外部出力部230は、ストリームバッファ228に保持された第2ストリームを記録装置120に出力する(S448)。
When the encoding process of the video data and the processed data held in the
以上説明したように、本実施形態にかかる映像処理装置110および映像処理方法では、映像処理装置110自体に設けられた映像加工部236が映像データを加工するため、PC等の別途の装置を用いずとも、ユーザに煩雑な操作を強いることなく、映像データを容易に加工することが可能となる。また、映像加工部236は、操作部210を通じたユーザによる操作入力に応じて、映像データを加工することができるため、ユーザが所望する加工処理を映像データに施すことが可能となる。さらに、マーキング部252は、操作部210を通じたユーザによる操作入力に応じて、マーキング情報を生成するため、ユーザが所望する映像データに加工処理を施すことが可能となる。
As described above, in the
以上、添付図面を参照しながら本発明の好適な実施形態について説明したが、本発明はかかる実施形態に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。 As mentioned above, although preferred embodiment of this invention was described referring an accompanying drawing, it cannot be overemphasized that this invention is not limited to this embodiment. It will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the claims, and these are naturally within the technical scope of the present invention. Is done.
例えば、上述した実施形態では、符号化部214が、撮像部212が生成した映像データを符号化し、符号化部226が、復号された映像データや加工データを符号化しているが、符号化部214と符号化部226を1つに纏めることもできる。
For example, in the above-described embodiment, the
また、撮像部212および符号化部214がストリーム取得部として機能し、撮像部212および符号化部214による第1ストリームの生成(撮像)と並行して、マーキング部252がユーザによる操作入力に応じてマーキングする場合を例に挙げて説明したが、例えば、撮像部212を有さない構成において、ストリーム取得部が外部記録媒体から第1ストリームを取得する場合、一旦復号部220が第1ストリームを復号して、表示部234に表示させてもよい。こうすることで、ユーザは第1ストリームに基づく映像を視認しながらマーキングすることができる。
In addition, the
さらに、上述した実施形態では、記録装置120が記録媒体130へのストリーム書き込み機能を備える構成について説明したが、映像処理装置110がストリーム書き込み機能を備えることもできる。
Furthermore, in the above-described embodiment, the configuration in which the
なお、本明細書の映像処理方法の各工程は、必ずしもフローチャートとして記載された順序に沿って時系列に処理する必要はなく、並列的あるいはサブルーチンによる処理を含んでもよい。 Note that each step of the video processing method of the present specification does not necessarily have to be processed in time series in the order described in the flowchart, and may include processing in parallel or a subroutine.
本発明は、映像データを加工する映像処理装置、ダビングシステムおよび映像処理方法に利用することができる。 The present invention can be used in a video processing apparatus, a dubbing system, and a video processing method for processing video data.
100 …ダビングシステム
110 …映像処理装置
120 …記録装置
130 …記録媒体
212 …撮像部(ストリーム取得部)
214 …符号化部(ストリーム取得部)
216 …ストリーム保持部
220 …復号部
226 …符号化部
230 …外部出力部
236 …映像加工部
252 …マーキング部
254 …加工時点検知部
256 …復号符号化制御部
314 …ストリーム書込部
DESCRIPTION OF
214 ... Encoding unit (stream acquisition unit)
216 ... Stream holding
Claims (6)
予め定められたタイミングで、前記第1ストリームを加工する加工時点をマーキングして、前記加工時点を示すマーキング情報を生成するマーキング部と、
前記第1ストリームに関連付けて前記マーキング情報を保持するストリーム保持部と、
前記第1ストリームを復号して映像データを生成する復号処理を遂行する復号部と、
前記復号部が前記復号処理を遂行する際に、前記マーキング情報を参照して、前記加工時点を検知する加工時点検知部と、
前記加工時点検知部が加工時点を検知すると、前記加工時点において復号された映像データを加工する加工処理を遂行する映像加工部と、
前記復号された映像データおよび前記加工処理が施された映像データを順次符号化して第2ストリームを生成する符号化処理を遂行する符号化部と、
前記加工時点検知部が加工時点を検知すると、前記映像加工部による前記加工処理が完了するまで前記符号化部による前記符号化処理を開始しないように制御する復号符号化制御部と、
前記第2ストリームを外部に出力する外部出力部と、
を備え、
前記復号部による復号処理と前記符号化部による符号化処理とは交互に遂行され、
前記映像加工部は、前記加工時点検知部が加工時点を検知すると、前記復号処理の完了を待たずに、前記復号された映像データの加工を開始することを特徴とする映像処理装置。 A stream acquisition unit for acquiring a first stream;
A marking unit that marks a processing time point at which the first stream is processed at a predetermined timing, and generates marking information indicating the processing time point;
A stream holding unit for holding the marking information in association with the first stream;
A decoding unit for performing a decoding process for decoding the first stream to generate video data;
When the decoding unit performs the decoding process, referring to the marking information, a processing time point detection unit that detects the processing time point,
When the processing time detection unit detects the processing time, a video processing unit for performing a processing process to process the video data decoded at the processing time;
An encoding unit that performs an encoding process for sequentially encoding the decoded video data and the processed video data to generate a second stream;
When the processing time detection unit detects the processing time, a decoding encoding control unit that controls the encoding unit to not start the encoding process until the processing by the video processing unit is completed;
An external output unit for outputting the second stream to the outside;
Equipped with a,
The decoding process by the decoding unit and the encoding process by the encoding unit are alternately performed,
The image processing unit, when the processing time detecting unit detects the processing time, without waiting for completion of the decoding processing, the image processing apparatus characterized that you initiate processing of the decoded video data.
前記撮像部は被写体を撮像した撮像データを取得し、
前記ストリーム取得部は前記撮像データに基づき前記第1ストリームを取得することを特徴とする請求項1から3のいずれか1項に記載の映像処理装置。 The stream acquisition unit includes an imaging unit,
The imaging unit acquires imaging data obtained by imaging a subject,
The video processing apparatus according to any one of claims 1-3 wherein the stream acquisition portion, characterized in that obtaining the first stream based on the imaging data.
前記映像処理装置は、
第1ストリームを取得するストリーム取得部と、
予め定められたタイミングで、前記第1ストリームを加工する加工時点をマーキングしてマーキング情報を生成するマーキング部と、
前記第1ストリームに関連付けて前記マーキング情報を保持するストリーム保持部と、
前記第1ストリームを復号して映像データを生成する復号処理を遂行する復号部と、
前記復号部が前記復号処理を遂行する際に、前記マーキング情報を参照して、前記加工時点を検知する加工時点検知部と、
前記加工時点検知部が加工時点を検知すると、前記加工時点において復号された映像データを加工する加工処理を遂行する映像加工部と、
前記復号された映像データおよび前記加工処理が施された映像データを順次符号化して第2ストリームを生成する符号化処理を遂行する符号化部と、
前記加工時点検知部が加工時点を検知すると、前記映像加工部による前記加工処理が完了するまで前記符号化部による前記符号化処理を開始しないように制御する復号符号化制御部と、
前記第2ストリームを前記記録装置に出力する外部出力部と、
を備え、
前記記録装置は、
出力された前記第2ストリームを記録媒体に書き込むストリーム書込部を備え、
前記復号部による復号処理と前記符号化部による符号化処理とは交互に遂行され、
前記映像加工部は、前記加工時点検知部が加工時点を検知すると、前記復号処理の完了を待たずに、前記復号された映像データの加工を開始することを特徴とするダビングシステム。 A dubbing system comprising: a video processing device that processes a stream; and a recording device that is connected to the video processing device and writes the processed stream to an arbitrary recording medium,
The video processing device includes:
A stream acquisition unit for acquiring a first stream;
A marking unit that marks a processing time point for processing the first stream at a predetermined timing to generate marking information;
A stream holding unit for holding the marking information in association with the first stream;
A decoding unit for performing a decoding process for decoding the first stream to generate video data;
When the decoding unit performs the decoding process, referring to the marking information, a processing time point detection unit that detects the processing time point,
When the processing time detection unit detects the processing time, a video processing unit for performing a processing process to process the video data decoded at the processing time;
An encoding unit that performs an encoding process for sequentially encoding the decoded video data and the processed video data to generate a second stream;
When the processing time detection unit detects the processing time, a decoding encoding control unit that controls the encoding unit to not start the encoding process until the processing by the video processing unit is completed;
An external output unit for outputting the second stream to the recording device;
With
The recording device comprises:
A stream writing unit for writing the output second stream to a recording medium;
The decoding process by the decoding unit and the encoding process by the encoding unit are alternately performed,
Dubbing system the image processing unit, the processing time detection unit when detecting the machining time, without waiting for completion of the decoding process, which is characterized that you initiate processing of the decoded video data.
予め定められたタイミングで、前記第1ストリームを加工する加工時点をマーキングしてマーキング情報を生成し、
前記第1ストリームに関連付けて前記マーキング情報を保持しておき、
前記第1ストリームを復号して映像データを生成する復号処理を遂行し、
前記復号処理を遂行する際に、前記マーキング情報を参照して、前記加工時点を検知すると、前記加工時点において復号された映像データを加工する加工処理を遂行し、
前記復号された映像データおよび前記加工処理が施された映像データを順次符号化して第2ストリームを生成する符号化処理を遂行し、
前記復号処理と前記符号化処理とは交互に遂行され、
前記マーキング情報を参照して、前記加工時点を検知すると、前記復号処理の完了を待たずに、前記復号された映像データの加工を開始し、前記加工処理が完了するまで前記符号化処理を開始しないように制御し、
前記第2ストリームを外部に出力することを特徴とする映像処理方法。 Get the first stream,
Marking a processing time point at which the first stream is processed at a predetermined timing to generate marking information,
Holding the marking information in association with the first stream;
Performing a decoding process of decoding the first stream to generate video data;
When performing the decoding process, with reference to the marking information, when the processing time is detected, the processing for processing the video data decoded at the processing time is performed,
Performing an encoding process of sequentially encoding the decoded video data and the processed video data to generate a second stream;
The decoding process and the encoding process are performed alternately,
When the processing time is detected with reference to the marking information, processing of the decoded video data is started without waiting for completion of the decoding processing, and the encoding processing is started until the processing processing is completed. Control not to
A video processing method, comprising: outputting the second stream to the outside.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011044264A JP5637012B2 (en) | 2011-03-01 | 2011-03-01 | Video processing apparatus, dubbing system, and video processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011044264A JP5637012B2 (en) | 2011-03-01 | 2011-03-01 | Video processing apparatus, dubbing system, and video processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012182659A JP2012182659A (en) | 2012-09-20 |
| JP5637012B2 true JP5637012B2 (en) | 2014-12-10 |
Family
ID=47013479
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011044264A Expired - Fee Related JP5637012B2 (en) | 2011-03-01 | 2011-03-01 | Video processing apparatus, dubbing system, and video processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5637012B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4041956B2 (en) * | 2002-07-17 | 2008-02-06 | ソニー株式会社 | Data processing apparatus, data processing method, and program |
| JP2005303943A (en) * | 2004-04-16 | 2005-10-27 | Sony Corp | Video recording device |
| JP2010130516A (en) * | 2008-11-28 | 2010-06-10 | Sony Corp | Device and method for editing image |
-
2011
- 2011-03-01 JP JP2011044264A patent/JP5637012B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2012182659A (en) | 2012-09-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4715913B2 (en) | Imaging apparatus, image processing apparatus, zoom control method, and zoom control program | |
| US8634698B2 (en) | Playback apparatus, method for the same, recording medium, and program | |
| JP5147424B2 (en) | Image display apparatus, control method therefor, and program | |
| JP4655135B2 (en) | Imaging apparatus, imaging area display method, and imaging area display program | |
| JP4922149B2 (en) | Display control device, camera, display control method, display control program | |
| JP2011033870A (en) | Image processing apparatus, image processing method and program | |
| US20190115050A1 (en) | Recording and reproducing apparatus and method thereof | |
| JP4277592B2 (en) | Information processing apparatus, imaging apparatus, and content selection method | |
| JP2006191300A (en) | Digital camera and electronic equipment | |
| JP2006094053A (en) | Photo movie creating method and apparatus thereof, and photo movie creating program | |
| JP5153584B2 (en) | Imaging apparatus and imaging method | |
| US20060238627A1 (en) | Camera apparatus capable of switching reduced guide image upon playback of magnified image, and image displaying method | |
| US11165970B2 (en) | Image processing apparatus, imaging apparatus, image processing method, and non-transitory computer readable medium | |
| JP5707814B2 (en) | Projection apparatus, projection control method, and program | |
| JP5637012B2 (en) | Video processing apparatus, dubbing system, and video processing method | |
| US10200616B2 (en) | Image processing device that performs image rotation processing, method of controlling the same, and storage medium | |
| CN100423550C (en) | Camera device with function of playing moving images in multi-image selection screen | |
| JP4656240B2 (en) | Information processing apparatus and content selection method | |
| JP6094613B2 (en) | Projection control device, display control device, and display control method | |
| JP2017112455A (en) | Information processing unit | |
| US10410674B2 (en) | Imaging apparatus and control method for combining related video images with different frame rates | |
| JP2020182164A (en) | Imaging device, its control method and program | |
| KR101610007B1 (en) | Method for generating video data | |
| CN1992865B (en) | Image data recording apparatus and image data recording method | |
| JP2012065282A (en) | Image display apparatus, image editing apparatus, image display program, and image editing program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130927 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140704 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140708 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140828 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140924 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141007 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5637012 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |