JP2016015669A - 動画修復装置、動画修復方法、および、動画修復装置用のプログラム - Google Patents
動画修復装置、動画修復方法、および、動画修復装置用のプログラム Download PDFInfo
- Publication number
- JP2016015669A JP2016015669A JP2014137497A JP2014137497A JP2016015669A JP 2016015669 A JP2016015669 A JP 2016015669A JP 2014137497 A JP2014137497 A JP 2014137497A JP 2014137497 A JP2014137497 A JP 2014137497A JP 2016015669 A JP2016015669 A JP 2016015669A
- Authority
- JP
- Japan
- Prior art keywords
- moving image
- frame information
- frame
- file
- image file
- 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.)
- Granted
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
Abstract
【解決手段】動画の動画ファイルを取得し、取得した動画ファイルのヘッダ部から、当該動画ファイルのフレーム部に関するフレーム情報を抽出し(S13)、フレーム部の各フレームを検索して、前記フレーム情報を算出し(S14〜S17)抽出したフレーム情報と、算出したフレーム情報とを比較し(S18)抽出したフレーム情報と算出したフレーム情報とが異なる場合、ヘッダ部のフレーム情報を算出したフレーム情報に書き換えて(S30)、動画ファイルを修復する(S31)。
【選択図】図5
Description
(1.1 動画修復装置の構成および機能の概要)
次に、図2を用いて動画ファイルの構成例について説明する。
図2は、動画ファイルの構成例を示す模式図である。
次に、本発明の1実施形態に係る動画修復装置10の動作について図3を用いて説明する。
図3は、動画修復装置の動作例を示すフローチャートである。
図3に示すように、動画修復装置10は、記録媒体13aが挿入されたか否かを判定する(ステップS1)。具体的には、動画修復装置10のシステム制御部12が、電源起動時に記憶部13のスロットに、メモリカードが挿入されたか否かを検出して判定する。
次に、ファイルチェックのサブルーチンについて、図5から図8を用いて説明する。
図5は、ファイルチェックのサブルーチンの一例を示すフローチャートである。図6は、破損した動画ファイルの一例を示す模式図である。図7は、破損した動画ファイルの一例を示す模式図である。図8は、破損した動画ファイルの一例を示す模式図である。
次に、ファイル修復のサブルーチンについて、図9および図10を用いて説明する、
図9は、ファイル修復のサブルーチンの一例を示すフローチャートである。図10は、修復された動画ファイルの一例を示す模式図である。
12:システム制御部
13:記憶部
13a:記録媒体(記憶手段)
Claims (6)
- 動画の動画ファイルを取得する動画ファイル取得手段と、
前記取得した動画ファイルのヘッダ部から、当該動画ファイルのフレーム部に関するフレーム情報を抽出するフレーム情報抽出手段と、
前記フレーム部の各フレームを検索して、前記フレーム情報を算出するフレーム情報算出手段と、
前記抽出したフレーム情報と、前記算出したフレーム情報とを比較する比較手段と、
前記抽出したフレーム情報と前記算出したフレーム情報とが異なる場合、前記ヘッダ部のフレーム情報を前記算出したフレーム情報に書き換えて、動画ファイルを修復する動画ファイル修復手段と、
を備えることを特徴とする動画修復装置。 - 請求項1に記載の動画修復装置において、
前記フレーム情報算出手段が、前記フレーム部の各フレームを検索して、他のフレーム情報を算出し、
前記動画ファイル修復手段が、前記他のフレーム情報から、前記動画ファイルの末尾部を生成することを特徴とする動画修復装置。 - 請求項2に記載の動画修復装置において、
前記フレーム情報が、前記動画ファイルのフレーム数であり、前記他のフレーム情報が、各フレームのデータサイズであることを特徴とする動画修復装置。 - 請求項1から請求項3のいずれか1項に記載の動画修復装置において、
前記動画ファイルのファイル名が、記憶手段に記憶された順番を示すファイル名であり、
前記動画ファイル取得手段が、前記ファイル名に基づき、前記記憶手段に最後に記憶された動画ファイルを取得することを特徴とする動画修復装置。 - 動画ファイル取得手段が、動画の動画ファイルを取得する動画ファイル取得ステップと、
フレーム情報抽出手段が、前記取得した動画ファイルのヘッダ部から、当該動画ファイルのフレーム部に関するフレーム情報を抽出するフレーム情報抽出ステップと、
フレーム情報算出手段が、前記フレーム部の各フレームを検索して、前記フレーム情報を算出するフレーム情報算出ステップと、
比較手段が、前記抽出したフレーム情報と、前記算出したフレーム情報とを比較する比較ステップと、
動画ファイル修復手段が、前記抽出したフレーム情報と前記算出したフレーム情報とが異なる場合、前記ヘッダ部のフレーム情報を前記算出したフレーム情報に書き換えて、動画ファイルを修復する動画ファイル修復ステップと、
を有することを特徴とする動画修復方法。 - コンピュータを、
動画の動画ファイルを取得する動画ファイル取得手段、
前記取得した動画ファイルのヘッダ部から、当該動画ファイルのフレーム部に関するフレーム情報を抽出するフレーム情報抽出手段、
前記フレーム部の各フレームを検索して、前記フレーム情報を算出するフレーム情報算出手段、
前記抽出したフレーム情報と、前記算出したフレーム情報とを比較する比較手段、および、
前記抽出したフレーム情報と前記算出したフレーム情報とが異なる場合、前記ヘッダ部のフレーム情報を前記算出したフレーム情報に書き換えて、動画ファイルを修復する動画ファイル修復手段として機能させることを特徴とする動画修復装置用のプログラム。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014137497A JP6451102B2 (ja) | 2014-07-03 | 2014-07-03 | 動画修復装置、動画修復方法、および、動画修復装置用のプログラム |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014137497A JP6451102B2 (ja) | 2014-07-03 | 2014-07-03 | 動画修復装置、動画修復方法、および、動画修復装置用のプログラム |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2016015669A true JP2016015669A (ja) | 2016-01-28 |
| JP6451102B2 JP6451102B2 (ja) | 2019-01-16 |
Family
ID=55231545
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014137497A Expired - Fee Related JP6451102B2 (ja) | 2014-07-03 | 2014-07-03 | 動画修復装置、動画修復方法、および、動画修復装置用のプログラム |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6451102B2 (ja) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108961193A (zh) * | 2018-08-10 | 2018-12-07 | 厦门市美亚柏科信息股份有限公司 | 一种图像修复方法、装置及存储介质 |
| JPWO2021182089A1 (ja) * | 2020-03-09 | 2021-09-16 | ||
| CN115211104A (zh) * | 2020-03-09 | 2022-10-18 | 索尼集团公司 | 文件处理设备、文件处理方法和程序 |
| JP2023090299A (ja) * | 2021-12-17 | 2023-06-29 | キヤノン株式会社 | 撮像装置、その制御方法及びプログラム |
| US12477236B2 (en) | 2023-03-22 | 2025-11-18 | Panasonic Intellectual Property Management Co., Ltd. | Imaging apparatus |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005301641A (ja) * | 2004-04-12 | 2005-10-27 | Matsushita Electric Ind Co Ltd | 映像撮影装置 |
| JP2007323694A (ja) * | 2006-05-30 | 2007-12-13 | Sony Corp | 記録装置および方法、プログラム、並びに記録媒体 |
| US20090067817A1 (en) * | 2007-09-07 | 2009-03-12 | Sunplus Technology Co., Ltd. | Error recovery method for recording audio-video interleaved file |
| WO2009050894A1 (ja) * | 2007-10-17 | 2009-04-23 | Panasonic Corporation | 映像記録装置、映像記録方法、映像記録プログラム及び集積回路 |
| JP2011090733A (ja) * | 2009-10-21 | 2011-05-06 | Canon Inc | 記録装置 |
-
2014
- 2014-07-03 JP JP2014137497A patent/JP6451102B2/ja not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005301641A (ja) * | 2004-04-12 | 2005-10-27 | Matsushita Electric Ind Co Ltd | 映像撮影装置 |
| JP2007323694A (ja) * | 2006-05-30 | 2007-12-13 | Sony Corp | 記録装置および方法、プログラム、並びに記録媒体 |
| US20090067817A1 (en) * | 2007-09-07 | 2009-03-12 | Sunplus Technology Co., Ltd. | Error recovery method for recording audio-video interleaved file |
| WO2009050894A1 (ja) * | 2007-10-17 | 2009-04-23 | Panasonic Corporation | 映像記録装置、映像記録方法、映像記録プログラム及び集積回路 |
| JP2011090733A (ja) * | 2009-10-21 | 2011-05-06 | Canon Inc | 記録装置 |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108961193A (zh) * | 2018-08-10 | 2018-12-07 | 厦门市美亚柏科信息股份有限公司 | 一种图像修复方法、装置及存储介质 |
| CN108961193B (zh) * | 2018-08-10 | 2021-04-02 | 厦门市美亚柏科信息股份有限公司 | 一种图像修复方法、装置及存储介质 |
| JPWO2021182089A1 (ja) * | 2020-03-09 | 2021-09-16 | ||
| WO2021182089A1 (ja) * | 2020-03-09 | 2021-09-16 | ソニーグループ株式会社 | ファイル処理装置、ファイル処理方法、及び、プログラム |
| CN115211105A (zh) * | 2020-03-09 | 2022-10-18 | 索尼集团公司 | 文件处理设备、文件处理方法和程序 |
| CN115211104A (zh) * | 2020-03-09 | 2022-10-18 | 索尼集团公司 | 文件处理设备、文件处理方法和程序 |
| US12189678B2 (en) | 2020-03-09 | 2025-01-07 | Sony Group Corporation | File processing device, file processing method, and program |
| JP7695618B2 (ja) | 2020-03-09 | 2025-06-19 | ソニーグループ株式会社 | ファイル処理装置、ファイル処理方法、及び、プログラム |
| JP2023090299A (ja) * | 2021-12-17 | 2023-06-29 | キヤノン株式会社 | 撮像装置、その制御方法及びプログラム |
| US12477236B2 (en) | 2023-03-22 | 2025-11-18 | Panasonic Intellectual Property Management Co., Ltd. | Imaging apparatus |
Also Published As
| Publication number | Publication date |
|---|---|
| JP6451102B2 (ja) | 2019-01-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6107965B2 (ja) | データ格納装置、データ格納方法およびデータ格納プログラム | |
| CN101105963B (zh) | 数据处理系统、信息处理装置和方法及记录再现装置 | |
| JP6451102B2 (ja) | 動画修復装置、動画修復方法、および、動画修復装置用のプログラム | |
| US9411690B2 (en) | Security surveillance apparatus with networking and video recording functions and failure detecting and repairing method for storage device thereof | |
| US8270813B2 (en) | Apparatus, method and computer program for processing information | |
| US8094993B2 (en) | Video recording device, video recording method, video recording program, and integrated circuit | |
| US8255590B2 (en) | Image file transfer apparatus that detect whether transferred image files to an external device has been aborted or not | |
| US8346064B2 (en) | Recording apparatus, recording method, program and computer-readable recording medium | |
| US20150098694A1 (en) | Recording control apparatus, recording control method, and recording medium | |
| US11343461B2 (en) | Device, control method, and computer-readable storage medium | |
| KR100881714B1 (ko) | 촬영 장치 및 그 촬영 장치에 이용되는 파일 관리 방법 | |
| KR101549615B1 (ko) | 시간 기반 영상 인덱스와 영상 데이터의 매칭 스캔 방식을 이용한 디지털 비디오 레코더의 cctv 영상 데이터 복구방법 | |
| US12174794B2 (en) | Processing apparatus and control method thereof | |
| JP2001045420A (ja) | 記録装置、方法及びコンピュータ読み取り可能な記憶媒体 | |
| CN100421462C (zh) | 数字影音资料的储存方法 | |
| US20060098950A1 (en) | Digital video recording device | |
| JP2008219425A (ja) | 画像処理装置および画像処理方法 | |
| KR101685043B1 (ko) | 영상 포렌식 중 덮어쓰기된 cctv 영상 데이터에서 과거 영상 데이터의 존재 유무 확인 방법 및 획득 방법 | |
| JP2002229829A (ja) | ファイル管理情報作成方法及び装置 | |
| CN101981924B (zh) | 对视频存储仓进行快速归档和恢复的方法 | |
| US20080008443A1 (en) | Data management system and method | |
| JP2017005325A (ja) | 撮像装置、撮像方法、および、そのプログラム | |
| JP2011034166A (ja) | データ処理装置、コンテンツ管理ソフトウェア、データ処理システム | |
| JP2005115856A (ja) | 電子カメラ、電子カメラの制御方法、ファイル管理装置及びファイル管理方法 | |
| JPH0998363A (ja) | 記録装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170529 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180313 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180501 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180614 |
|
| 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: 20181113 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20181126 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6451102 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |