Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7136458B2 - Encoding device, playback device, creation device, playback system, encoding method, playback method, creation method, and program - Google Patents
[go: Go Back, main page]

JP7136458B2 - Encoding device, playback device, creation device, playback system, encoding method, playback method, creation method, and program - Google Patents

Encoding device, playback device, creation device, playback system, encoding method, playback method, creation method, and program Download PDF

Info

Publication number
JP7136458B2
JP7136458B2 JP2019137675A JP2019137675A JP7136458B2 JP 7136458 B2 JP7136458 B2 JP 7136458B2 JP 2019137675 A JP2019137675 A JP 2019137675A JP 2019137675 A JP2019137675 A JP 2019137675A JP 7136458 B2 JP7136458 B2 JP 7136458B2
Authority
JP
Japan
Prior art keywords
frames
frame
encoding
unit
moving image
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.)
Active
Application number
JP2019137675A
Other languages
Japanese (ja)
Other versions
JP2021022810A (en
Inventor
俊成 縣
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.)
Silex Technology Inc
Original Assignee
Silex Technology 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 Silex Technology Inc filed Critical Silex Technology Inc
Priority to JP2019137675A priority Critical patent/JP7136458B2/en
Publication of JP2021022810A publication Critical patent/JP2021022810A/en
Application granted granted Critical
Publication of JP7136458B2 publication Critical patent/JP7136458B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Description

本発明は、符号化装置、再生装置、作成装置、再生システム、符号化方法、再生方法、作成方法、および、プログラムに関する。 The present invention relates to an encoding device, a playback device, a creation device, a playback system, an encoding method, a playback method, a creation method, and a program.

コンピュータによる動画の配信または蓄積をするシステムが利用されている。 A system for distributing or storing moving images by computer is used.

このようなシステムでは、動画のデータ量を削減するためにMPEG-1、MPEG-2、MPEG-4、H.264等の画像符号化技術が用いられている。これらの画像符号化技術では、画質の維持とデータ量の削減との両立のため、フレーム内符号化及びフレーム間符号化を利用して符号化フレームを生成する。 In such systems, MPEG-1, MPEG-2, MPEG-4, H.264, etc. are used in order to reduce the amount of moving image data. H.264 and other image coding techniques are used. In these image coding techniques, in order to maintain image quality and reduce the amount of data, intra-frame coding and inter-frame coding are used to generate a coded frame.

特許文献1は、フレーム内符号化及びフレーム間符号化を利用した符号化方法において、フレーム内符号化されたフレームが記録された、記憶装置上の位置を利用して、フレーム内符号化フレームの探索を行う技術を開示している。 Patent document 1 describes an encoding method using intra-frame encoding and inter-frame encoding, in which intra-encoded frames are encoded using positions on a storage device where intra-encoded frames are recorded. Techniques for performing the search are disclosed.

特許第2773594号公報Japanese Patent No. 2773594

フレーム内符号化及びフレーム間符号化を利用して動画を配信する場合、動画を受信して処理する装置において、動画を構成する各フレームがフレーム内符号化されたフレームであるのか、又は、フレーム間符号化されたフレームであるのかが不明であると、適切な処理がなされないという問題がある。 When moving pictures are distributed using intra-frame coding and inter-frame coding, in a device that receives and processes moving pictures, whether each frame constituting the moving picture is an intra-coded frame or a frame If it is unclear whether the frame is inter-encoded, there is a problem that appropriate processing is not performed.

本発明は、上記問題を解決するためになされたものであり、適切な動画の処理を可能にする符号化装置などを提供することを目的とする。 SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide an encoding apparatus and the like that enable appropriate processing of moving images.

上記課題を解決するために、本発明の一態様に係る符号化装置は、動画を構成する複数のフレームを順次に取得する取得部と、前記取得部が取得した前記複数のフレームのうち所定間隔の第一フレームをフレーム内符号化し、前記取得部が取得した前記複数のフレームのうちの前記第一フレーム以外の第二フレームをフレーム間符号化する符号化部と、処理装置と通信する通信インタフェースと、前記所定間隔を示す間隔情報を前記処理装置に送信するとともに、前記符号化部が符号化した前記複数のフレームを前記処理装置に順次に送信する制御部とを備える。 In order to solve the above problems, an encoding device according to an aspect of the present invention includes an acquisition unit that sequentially acquires a plurality of frames that form a moving image; a coding unit that intra-codes the first frame of and inter-codes a second frame other than the first frame among the plurality of frames acquired by the acquisition unit; and a communication interface that communicates with the processing device. and a control unit that transmits interval information indicating the predetermined interval to the processing device, and sequentially transmits the plurality of frames encoded by the encoding unit to the processing device.

これによれば、符号化装置は、複数のフレームとともに、フレーム内符号化フレームの間隔情報を処理装置に提供する。間隔情報を受信した処理装置は、受信した間隔情報を利用して、符号化装置から受信する複数のフレームのうちのどのフレームがフレーム内符号化フレームであるのかを特定し、その特定したフレーム内符号化フレームを利用した当該動画の処理(具体的には、再生処理又はファイル作成処理など)を実行することができる。このように、符号化装置は、処理装置における適切な動画の処理を可能にする。 According to this, the encoding device provides the processing device with information on the spacing of the intra-coded frames together with the plurality of frames. A processing device that receives the interval information uses the received interval information to identify which frame among a plurality of frames received from the encoding device is an intra-frame encoded frame, and Processing of the moving image using the encoded frames (specifically, reproduction processing, file creation processing, etc.) can be executed. In this way, the coding device enables proper video processing in the processing device.

また、前記制御部は、前記通信インタフェースが前記処理装置と行う通信の品質を示す品質情報を取得し、取得した前記品質情報が示す前記品質に応じて、前記符号化部が前記第一フレームをフレーム内符号化するフレーム間隔を変更してもよい。 The control unit acquires quality information indicating the quality of communication performed by the communication interface with the processing device, and the encoding unit converts the first frame according to the quality indicated by the acquired quality information. A frame interval for intra-frame encoding may be changed.

これによれば、符号化装置は、符号化装置と処理装置との間の通信の品質に応じて、異なるフレーム間隔でフレーム内符号化フレームが挿入された複数のフレームを送信する。一般にフレーム内符号化フレームのフレーム間隔が小さいほど、ロスに対する耐性が高いメリットがある一方、通信データ量が大きくなるデメリットがある。また、帯域がより大きな通信路では、フレーム内符号化フレームを多くして通信データ量を大きくすることが許容され得る。また、動画の種別によって、ロスがある程度許容され得る。そこで、通信品質に応じてフレーム内符号化するフレーム間隔を変更することによって、通信データ量を適切に維持しながら、生じ得るロスの影響を抑制することができる。よって、符号化装置は、通信品質を考慮し通信データ量を適切な量に維持しながら、処理装置における適切な動画の処理を可能にする。 According to this, the encoding device transmits a plurality of frames in which intra-frame encoded frames are inserted at different frame intervals according to the quality of communication between the encoding device and the processing device. In general, the smaller the frame interval of intra-frame coded frames, the higher the resistance to loss. Also, in a communication channel with a larger bandwidth, it is permissible to increase the amount of communication data by increasing the number of intra-frame coded frames. In addition, loss may be allowed to some extent depending on the type of moving image. Therefore, by changing the frame interval for intra-frame encoding according to the communication quality, it is possible to suppress the influence of possible loss while appropriately maintaining the amount of communication data. Therefore, the encoding device allows appropriate video processing in the processing device while maintaining an appropriate amount of communication data in consideration of communication quality.

また、前記制御部は、取得した前記品質情報が示す前記品質が高いほど、前記フレーム間隔をより大きな値に変更してもよい。 Further, the control unit may change the frame interval to a larger value as the quality indicated by the acquired quality information is higher.

これによれば、符号化装置は、符号化装置と処理装置との間の通信の品質が高いほど、より大きなフレーム間隔でフレーム内符号化フレームが挿入された複数のフレームを送信する。通信品質が比較的低い場合、比較的高い確率でフレームのロスが生じ得る。よって、符号化装置は、通信品質を考慮し通信データ量を適切な量に維持しながら、処理装置における適切な動画の処理を可能にする。 According to this, the encoding device transmits a plurality of frames in which intra-frame encoded frames are inserted at larger frame intervals as the quality of communication between the encoding device and the processing device is higher. When communication quality is relatively low, frame loss can occur with a relatively high probability. Therefore, the encoding device allows appropriate video processing in the processing device while maintaining an appropriate amount of communication data in consideration of communication quality.

また、本発明の一態様に係る再生装置は、表示部と、動画を構成する複数のフレームであって、前記複数のフレームのうち所定間隔の第一フレームがフレーム内符号化されていて、前記複数のフレームのうちの前記第一フレーム以外の第二フレームがフレーム間符号化されている複数のフレームを、符号化装置から受信し、受信した前記複数のフレームを復号して前記動画を前記表示部に再生させる復号部と、前記複数のフレームのうち前記第一フレームの間隔を示す間隔情報を前記符号化装置から受信し、受信した前記間隔情報に基づく画像を、再生中の前記動画とともに前記表示部に表示させる制御部とを備える。 Further, a playback device according to an aspect of the present invention includes a display unit, and a plurality of frames constituting a moving image, wherein first frames at predetermined intervals among the plurality of frames are intra-frame encoded, and receiving a plurality of frames in which a second frame other than the first frame among the plurality of frames is inter-frame encoded, from an encoding device, decoding the received plurality of frames, and displaying the moving image and a decoding unit that receives interval information indicating an interval of the first frame among the plurality of frames from the encoding device, and reproduces an image based on the received interval information together with the moving image that is being played. and a control unit for displaying on the display unit.

これによれば、再生装置は、符号化装置から受信した複数のフレームに基づく動画と、その動画におけるフレーム内符号化フレームの間隔に基づく画像とを表示する。このような表示を視認したユーザは、動画だけでなく、フレーム内符号化フレームの間隔を知ることができるので、動画の再生開始位置を決めるときに、その再生に比較的長い時間を要するケースを回避できる。よって、処理装置としての再生装置は、適切な動画の処理を行い得る。 According to this, the playback device displays a moving image based on a plurality of frames received from the encoding device and an image based on intervals between intra-frame encoded frames in the moving image. A user viewing such a display can know not only the moving image but also the inter-frame coded frame interval. can be avoided. Therefore, the playback device as the processing device can appropriately process the moving image.

また、前記制御部は、再生中の前記動画とともに、前記動画内における再生時間位置を示すバーを前記表示部に表示させ、前記バーにおける、前記動画に含まれる前記第一フレームの時間位置を前記間隔情報を用いて特定し、特定した、前記バーにおける前記第一フレームの時間位置を示す図形を、前記表示部に表示させてもよい。 In addition, the control unit causes the display unit to display a bar indicating a playback time position in the moving image together with the moving image being played, and displays the time position of the first frame included in the moving image in the bar. A figure indicating the time position of the first frame in the bar specified using the interval information may be displayed on the display unit.

これによれば、再生装置は、フレーム内符号化フレームの間隔に基づいて、動画内の再生時間位置を示すバー(いわゆるシークバー)上にフレーム内符号化フレームの動画における位置を表示する。ユーザは、シークバー上におけるフレーム内符号化フレームの位置を知ることができる。ここで、フレーム内符号化フレームでないフレーム(つまりフレーム間符号化フレーム)から再生を開始するときには、そのフレームより前の最新のフレーム内符号化フレームから当該フレームまでのフレームの復号処理をしなければならないので、その復号処理のための時間を要する。一方、フレーム内符号化フレームから再生を開始するときには、当該フレームの復号処理をするだけで済むので、その復号処理に要する時間は比較的短い。よって、ユーザがフレーム内符号化フレームから再生開始するよう操作を促すことによって、処理装置としての再生装置は、適切な動画の処理を行い得る。 According to this, the playback device displays the position of the intra-encoded frame in the video on a bar (so-called seek bar) indicating the playback time position in the video, based on the interval between the intra-encoded frames. The user can know the position of the intra-coded frame on the seek bar. Here, when playback is started from a frame that is not an intraframe-encoded frame (that is, an interframe-encoded frame), the frames from the latest intraframe-encoded frame before that frame to the current frame must be decoded. Therefore, it takes time for the decoding process. On the other hand, when playback is started from an intraframe-encoded frame, it is sufficient to decode the frame, and the time required for the decoding process is relatively short. Therefore, when the user prompts an operation to start reproduction from the intra-frame-encoded frame, the reproduction device as the processing device can appropriately process the moving image.

また、前記制御部は、前記複数のフレームのうち第二フレームのロスを検出した場合には、前記間隔情報を用いて、前記ロスが検出された前記第二フレームより後の最初の第一フレームを受信するタイミングを特定し、前記ロスを検出してから前記タイミングが到来するまでの間、前記復号部による復号を禁止させてもよい。 Further, when detecting a loss of a second frame among the plurality of frames, the control unit uses the interval information to determine the first frame after the second frame in which the loss was detected. may be specified, and decoding by the decoding unit may be prohibited from detection of the loss to arrival of the timing.

これによれば、再生装置は、フレーム間符号化フレームのロスが検出された場合に、このロスによって復号が不可能になるフレーム間符号化フレームの復号処理を禁止する。よって、処理装置としての再生装置は、フレームの復号処理に係る処理量を削減することによって、適切な動画の処理を行い得る。 According to this, when a loss of an inter-coded frame is detected, the reproduction device prohibits decoding processing of the inter-coded frame that cannot be decoded due to the loss. Therefore, the playback device as a processing device can appropriately process moving images by reducing the amount of processing involved in frame decoding processing.

また、本発明の一態様に係る作成装置は、(a)動画を構成する複数のフレームであって、前記複数のフレームのうち所定間隔の第一フレームがフレーム内符号化されていて、前記複数のフレームのうちの前記第一フレーム以外の第二フレームがフレーム間符号化されている複数のフレームと、前記複数のフレームのうちフレーム内符号化されたフレームの間隔を示す間隔情報とを、符号化装置から受信し、(b)受信した前記間隔情報を用いて、受信した前記複数のフレームのうちフレーム間符号化されたフレームを特定する、特定部と、前記複数のフレームのうち、前記特定部が特定した前記フレームの少なくとも一部を除く1以上のフレームを用いて動画ファイルを作成する作成部とを備える。 Further, the creating apparatus according to an aspect of the present invention further includes: (a) a plurality of frames constituting a moving image, wherein first frames at predetermined intervals among the plurality of frames are intra-frame encoded; a plurality of frames in which a second frame other than the first frame out of the frames is inter-encoded, and interval information indicating an interval between intra-encoded frames out of the plurality of frames are encoded. (b) using the received interval information to identify an interframe-encoded frame among the received plurality of frames; a creation unit that creates a moving image file using one or more frames excluding at least part of the frames specified by the unit.

これによれば、作成装置は、符号化装置から受信した複数のフレームのうちの一部を用いて動画ファイルを作成するので、上記一部を用いる場合と比較して、作成する動画ファイルのサイズを削減することができる。また、上記のファイルの作成の際に、仮にフレーム内符号化フレームを含めずに動画ファイルを作成すると、上記フレーム内符号化を参照して符号化されたフレーム間符号化フレームの復号が不可能になる。そこで、上記複数のフレームに含まれるすべてのフレーム内符号化フレームを用いて動画ファイルを作成することで、上記のように復号が不可能になるフレームの発生を回避できる。よって、処理装置としての作成装置は、適切な動画の処理を行い得る。 According to this, since the creation device creates a moving image file using a part of the plurality of frames received from the encoding device, the size of the moving image file to be created is reduced compared to the case where the above part is used. can be reduced. Also, when creating the above file, if a video file is created without including intra-frame encoded frames, it is impossible to decode the inter-encoded frames encoded with reference to the above intra-frame encoded. become. Therefore, by creating a moving image file using all the intra-frame coded frames included in the plurality of frames, it is possible to avoid the occurrence of frames that cannot be decoded as described above. Therefore, the creation device as a processing device can appropriately process moving images.

また、前記作成部は、前記複数のフレームのうち、前記特定部が特定した前記フレームの少なくとも一部を除く1以上のフレームを用いて、所定の上限値以下のフレームレートを有する前記動画ファイルを作成してもよい。 Further, the creation unit creates the moving image file having a frame rate equal to or lower than a predetermined upper limit by using one or more frames excluding at least part of the frames specified by the specifying unit among the plurality of frames. may be created.

これによれば、作成装置は、作成される動画ファイルのフレームレートが上限値を超えないように、動画ファイルに追加するフレームを決定する。これにより、作成する動画ファイルのサイズを削減することができる。よって、処理装置としての作成装置は、適切な動画の処理を行い得る。 According to this, the creation device determines the frames to be added to the moving image file so that the frame rate of the created moving image file does not exceed the upper limit. This makes it possible to reduce the size of the moving image file to be created. Therefore, the creation device as a processing device can appropriately process moving images.

また、本発明の一態様に係る再生システムは、上記の符号化装置と、前記符号化装置から前記間隔情報と前記複数のフレームとを受信する、上記の再生装置とを備える。 Further, a reproduction system according to an aspect of the present invention includes the above-described encoding device, and the above-described playback device that receives the interval information and the plurality of frames from the encoding device.

これによれば、上記再生装置と同様の効果を奏する。 According to this, the same effect as that of the reproducing apparatus described above can be obtained.

また、本発明の一態様に係る符号化方法は、動画を構成する複数のフレームを順次に取得する取得ステップと、取得ステップで取得した前記複数のフレームのうち所定間隔の第一フレームをフレーム内符号化し、前記取得ステップで取得した前記複数のフレームのうちの前記第一フレーム以外の第二フレームをフレーム間符号化する符号化ステップと、前記所定間隔を示す間隔情報を処理装置に送信するとともに、前記符号化ステップで符号化した前記複数のフレームを前記処理装置に送信する制御ステップとを含む。 Further, the encoding method according to an aspect of the present invention includes: an acquisition step of sequentially acquiring a plurality of frames constituting a moving image; an encoding step of inter-frame encoding a second frame other than the first frame among the plurality of frames acquired in the acquiring step; and transmitting interval information indicating the predetermined interval to a processing device. and a control step of transmitting the plurality of frames encoded in the encoding step to the processing unit.

これによれば、上記符号化装置と同様の効果を奏する。 According to this, the same effect as that of the encoding device described above can be obtained.

また、本発明の一態様に係る再生方法は、動画を構成する複数のフレームであって、前記複数のフレームのうち所定間隔の第一フレームがフレーム内符号化されていて、前記複数のフレームのうちの前記第一フレーム以外の第二フレームがフレーム間符号化されている複数のフレームを、符号化装置から受信し、受信した前記複数のフレームを復号して前記動画を表示部に再生させる復号ステップと、前記複数のフレームのうち前記第一フレームの間隔を示す間隔情報を前記符号化装置から受信し、受信した前記間隔情報に基づく画像を、再生中の前記動画とともに前記表示部に表示させる制御ステップとを含む。 Further, in the reproduction method according to an aspect of the present invention, a plurality of frames constituting a moving image, wherein first frames at predetermined intervals among the plurality of frames are intra-frame encoded, Decoding for receiving a plurality of frames, of which the second frame other than the first frame is interframe-encoded, from an encoding device, decoding the received plurality of frames, and reproducing the moving image on a display unit a step of receiving interval information indicating an interval of the first frame among the plurality of frames from the encoding device, and displaying an image based on the received interval information on the display unit together with the moving image being reproduced; and a control step.

これによれば、上記再生装置と同様の効果を奏する。 According to this, the same effect as that of the reproducing apparatus described above can be obtained.

また、本発明の一態様に係るプログラムは、上記の再生方法をコンピュータに実行させるためのプログラムである。 A program according to an aspect of the present invention is a program for causing a computer to execute the above reproducing method.

これによれば、上記再生装置と同様の効果を奏する。 According to this, the same effect as that of the reproducing apparatus described above can be obtained.

また、本発明の一態様に係る作成方法は、動画を構成する複数のフレームであって、前記複数のフレームのうち所定間隔の第一フレームがフレーム内符号化されていて、前記複数のフレームのうちの前記第一フレーム以外の第二フレームがフレーム間符号化されている複数のフレームと、前記複数のフレームのうちフレーム内符号化されたフレームの間隔を示す間隔情報とを、符号化装置から受信する受信ステップと、受信した前記間隔情報を用いて、受信した前記複数のフレームのうちフレーム間符号化されたフレームを特定する特定ステップと、前記複数のフレームのうち、前記特定ステップで特定した前記フレームの少なくとも一部を除く1以上のフレームを用いて動画ファイルを作成する作成ステップとを含む。 Further, in the creation method according to an aspect of the present invention, a moving image is composed of a plurality of frames, wherein first frames at predetermined intervals among the plurality of frames are intra-frame encoded, and a plurality of frames in which a second frame other than the first frame is inter-encoded, and interval information indicating an interval between intra-encoded frames among the plurality of frames, from an encoding device; a receiving step of receiving; a identifying step of identifying an interframe-coded frame among the plurality of received frames using the received interval information; and a identifying step among the plurality of frames identified in the identifying step and a creating step of creating a moving image file using one or more frames excluding at least part of the frames.

これによれば、上記作成装置と同様の効果を奏する。 According to this, there exists an effect similar to the said production apparatus.

上記課題を解決するために、本発明の一態様に係るプログラムは、上記の処理方法をコンピュータに実行させるためのプログラムである。 In order to solve the above problems, a program according to one aspect of the present invention is a program for causing a computer to execute the above processing method.

これによれば、上記通信端末と同様の効果を奏する。 According to this, the same effect as that of the communication terminal described above can be obtained.

なお、本発明は、装置として実現できるだけでなく、その装置を構成する処理手段をステップとする方法として実現したり、それらステップをコンピュータに実行させるプログラムとして実現したり、そのプログラムを記録したコンピュータ読み取り可能なCD-ROMなどの記録媒体として実現したり、そのプログラムを示す情報、データ又は信号として実現したりすることもできる。そして、それらプログラム、情報、データ及び信号は、インターネット等の通信ネットワークを介して配信してもよい。 The present invention can be realized not only as an apparatus, but also as a method in which processing means constituting the apparatus are used as steps, as a program for causing a computer to execute the steps, or as a computer-readable program in which the program is recorded. It can also be implemented as a recording medium such as a CD-ROM, or as information, data, or signals indicating the program. These programs, information, data and signals may then be distributed over a communication network such as the Internet.

本発明により、符号化装置は、適切な動画の処理を可能にする。 The invention allows the encoding device to process the moving images appropriately.

図1は、実施の形態に係るシステム全体の構成と、符号化装置の機能ブロックとを模式的に示す説明図である。FIG. 1 is an explanatory diagram schematically showing the overall system configuration and functional blocks of an encoding device according to an embodiment. 図2は、実施の形態に係る再生装置の構成を示す説明図である。FIG. 2 is an explanatory diagram showing the configuration of the playback device according to the embodiment. 図3は、実施の形態に係る、表示部に表示される画像の一例を示す説明図である。FIG. 3 is an explanatory diagram illustrating an example of an image displayed on a display unit according to the embodiment; 図4は、実施の形態に係る符号化装置の処理を示すフロー図である。FIG. 4 is a flowchart showing processing of the encoding device according to the embodiment. 図5は、実施の形態に係る表示装置の処理を示すフロー図である。FIG. 5 is a flow chart showing processing of the display device according to the embodiment. 図6は、実施の形態の制御部が復号部による復号処理の実行可否を制御する処理を示すフロー図である。FIG. 6 is a flow diagram showing a process in which the control unit according to the embodiment controls whether or not the decoding unit can execute the decoding process. 図7は、実施の形態の制御部が復号部による復号処理を制御する処理を示すシーケンス図である。FIG. 7 is a sequence diagram illustrating processing in which the control unit according to the embodiment controls decoding processing by the decoding unit. 図8は、実施の形態の変形例に係る作成装置の構成を示す説明図である。FIG. 8 is an explanatory diagram showing the configuration of a creation device according to a modification of the embodiment. 図9は、実施の形態の変形例に係る特定部及び作成部がフレーム対して行う処理を示す説明図である。FIG. 9 is an explanatory diagram of processing performed on a frame by a specifying unit and a creating unit according to the modification of the embodiment; 図10は、実施の形態の変形例に係る作成装置の処理を示すフロー図である。FIG. 10 is a flowchart showing processing of the creation device according to the modification of the embodiment.

以下、実施の形態について、図面を参照しながら具体的に説明する。 Hereinafter, embodiments will be specifically described with reference to the drawings.

以下で説明する実施の形態は、いずれも本発明の好ましい一具体例を示すものである。以下の実施の形態で示される数値、形状、材料、構成要素、構成要素の配置位置及び接続形態、ステップ、ステップの順序などは、一例であり、本発明を限定する主旨ではない。また、以下の実施の形態における構成要素のうち、本発明の最上位概念を示す独立請求項に記載されていない構成要素については、より好ましい形態を構成する任意の構成要素として説明される。なお、同一の構成要素には同一の符号を付し、説明を省略する場合がある。 All of the embodiments described below represent preferred specific examples of the present invention. Numerical values, shapes, materials, components, arrangement positions and connection forms of components, steps, order of steps, and the like shown in the following embodiments are examples and are not intended to limit the present invention. In addition, among the constituent elements in the following embodiments, constituent elements that are not described in independent claims representing the highest level concept of the present invention will be described as arbitrary constituent elements constituting more preferred embodiments. In addition, the same code|symbol may be attached|subjected to the same component and description may be abbreviate|omitted.

(実施の形態)
本実施の形態において、適切な動画の処理を可能にする符号化装置などについて説明する。
(Embodiment)
In the present embodiment, an encoding device and the like that enable appropriate processing of moving images will be described.

図1は、本実施の形態に係る再生システム1の全体の構成と、符号化装置10の機能ブロックとを模式的に示す説明図である。 FIG. 1 is an explanatory diagram schematically showing the overall configuration of a reproduction system 1 and functional blocks of an encoding device 10 according to this embodiment.

図1に示されるように、再生システム1は、カメラ5と、符号化装置10と、再生装置20とを備える。符号化装置10と再生装置20とは、ネットワークNを介して接続されている。 As shown in FIG. 1, the playback system 1 includes a camera 5, an encoding device 10, and a playback device 20. In FIG. The encoding device 10 and the reproducing device 20 are connected via a network N. FIG.

カメラ5は、周囲を撮影し、画像データであるフレームを生成する撮像装置である。カメラ5は、撮影によって生成したフレームを符号化装置10に提供する。カメラ5が撮影及びフレームの生成を行う速度は、例えば、30fps(frame per second)であり、この場合を例として説明するが、これに限定されない。 The camera 5 is an imaging device that captures an image of the surroundings and generates a frame that is image data. The camera 5 provides the encoding device 10 with frames generated by shooting. The speed at which the camera 5 captures images and generates frames is, for example, 30 fps (frames per second). Although this case will be described as an example, it is not limited to this.

符号化装置10は、カメラ5が生成したフレームを取得し、取得したフレームを符号化し、ネットワークNを介して再生装置20に送信する符号化装置である。符号化装置10は、ネットワークNを介した通信の通信量を抑制すべく、フレーム内符号化及びフレーム間符号化を用いてフレームを符号化する。また、符号化装置10は、フレーム内符号化フレームの間隔を示す間隔情報を再生装置20に送信する。符号化装置10の処理については、後でさらに詳しく説明する。 The encoding device 10 is an encoding device that acquires frames generated by the camera 5 , encodes the acquired frames, and transmits the encoded frames to the playback device 20 via the network N. The encoding device 10 encodes frames using intra-frame encoding and inter-frame encoding in order to reduce communication traffic over the network N. FIG. The encoding device 10 also transmits interval information indicating the interval between intra-frame encoded frames to the playback device 20 . The processing of the encoding device 10 will be described in more detail later.

再生装置20は、符号化装置10から符号化されたフレームを受信し、受信したフレームを復号して動画を再生する再生装置である。再生装置20は、受信したフレームを復号することで動画を再生する。また、再生装置20は、符号化装置10が送信する間隔情報を受信し、フレームの再生に利用する。なお、再生装置20は、動画を処理する処理装置の一例である。 The playback device 20 is a playback device that receives encoded frames from the encoding device 10, decodes the received frames, and plays back moving images. The playback device 20 plays back the video by decoding the received frames. Further, the reproducing device 20 receives the interval information transmitted by the encoding device 10 and uses it for reproducing frames. Note that the playback device 20 is an example of a processing device that processes moving images.

符号化装置10についてより詳しく説明する。 The encoding device 10 will be described in more detail.

図1に示されるように、符号化装置10は、取得部11と、符号化部12と、通信IF(インタフェース)13と、制御部14とを備える。符号化装置10が備える上記の機能部は、プロセッサが所定のプログラムを実行することで実現され得る。 As shown in FIG. 1 , encoding device 10 includes acquisition section 11 , encoding section 12 , communication IF (interface) 13 , and control section 14 . The functional units provided in the encoding device 10 can be realized by a processor executing a predetermined program.

取得部11は、動画を構成する複数のフレームを順次に取得する処理部である。取得部11は、カメラ5に接続されており、その接続を通じてカメラ5から複数のフレームを順次に取得する。なお、取得部11とカメラ5との接続は、有線(つまりケーブル)であってもよいし無線であってもよい。 The acquisition unit 11 is a processing unit that sequentially acquires a plurality of frames that form a moving image. The acquisition unit 11 is connected to the camera 5 and sequentially acquires a plurality of frames from the camera 5 through the connection. The connection between the acquisition unit 11 and the camera 5 may be wired (that is, cable) or wireless.

符号化部12は、取得部11が取得したフレームを符号化する処理部である。符号化部12は、取得部11が取得した複数のフレームのうち所定間隔のフレーム(第一フレームに相当)をフレーム内符号化し、取得部11が取得した複数のフレームのうちの第一フレーム以外のフレーム(第二フレームに相当)をフレーム間符号化する。なお、上記所定間隔は、例えば、30フレームであり、この値を間隔値ともいう。また、フレーム内符号化とは、当該フレーム内の情報のみを用いる符号化である。フレーム間符号化とは、当該フレームより前のフレームを参照し、その参照しているフレームと符号化対象フレームとの差分を含む情報を用いる符号化である。符号化部12によってフレーム内符号化されたフレームをフレーム内符号化フレーム(MPEG-1などの規格におけるIフレーム又はキーフレームに相当)ともいい、フレーム間符号化されたフレームをフレーム間符号化フレーム(MPEG-1などの規格におけるPフレーム又はBフレーム)ともいう。 The encoding unit 12 is a processing unit that encodes the frame acquired by the acquisition unit 11 . The encoding unit 12 performs intra-frame encoding on frames (corresponding to the first frame) at predetermined intervals among the plurality of frames acquired by the acquisition unit 11, and encodes frames other than the first frame among the plurality of frames acquired by the acquisition unit 11. (corresponding to the second frame) is interframe-encoded. The predetermined interval is, for example, 30 frames, and this value is also called an interval value. Intra-frame coding is coding that uses only information within the frame. Inter-frame coding refers to coding that refers to a frame prior to the current frame and uses information that includes the difference between the frame being referenced and the frame to be coded. A frame intra-encoded by the encoding unit 12 is also referred to as an intra-encoded frame (corresponding to an I frame or key frame in standards such as MPEG-1), and an inter-encoded frame is called an inter-encoded frame. (P frame or B frame in standards such as MPEG-1).

通信IF13は、処理装置の一例である再生装置20と通信する通信インタフェース装置である。通信IF13は、所定の通信規格でネットワークNを介して再生装置20と通信可能に接続されている。通信規格は、IEEE802.11a、b、g、nなどの無線通信の通信規格であってもよいし、IEEE802.3などの有線通信の通信規格であってもよい。また、ネットワークNは、企業又は工場内のLAN(Local Area Network)、携帯電話のキャリアネットワーク、インターネットなどを含み得る。 The communication IF 13 is a communication interface device that communicates with the playback device 20, which is an example of a processing device. The communication IF 13 is communicably connected to the playback device 20 via the network N according to a predetermined communication standard. The communication standard may be a wireless communication standard such as IEEE802.11a, b, g, or n, or a wired communication standard such as IEEE802.3. Also, the network N may include a local area network (LAN) in a company or factory, a mobile phone carrier network, the Internet, and the like.

制御部14は、再生装置20への情報又はデータの送信を制御する処理部である。制御部14は、通信IF13によって再生装置20から動画の取得要求(単に要求ともいう)を受信した場合に、間隔情報を再生装置20に送信する。ここで、間隔情報は、符号化部12がフレーム内符号化するフレームの間隔を示す情報である間隔値である。また、制御部14は、要求を受信した場合、符号化部12が符号化した複数のフレームを順次に再生装置20に送信する。 The control unit 14 is a processing unit that controls transmission of information or data to the playback device 20 . The control unit 14 transmits the interval information to the reproduction device 20 when a moving image acquisition request (simply referred to as a request) is received from the reproduction device 20 via the communication IF 13 . Here, the interval information is an interval value that is information indicating the interval between frames intra-encoded by the encoding unit 12 . Further, when receiving the request, the control unit 14 sequentially transmits the plurality of frames encoded by the encoding unit 12 to the playback device 20 .

ここで、制御部14は、通信IF13が行う通信の品質を示す品質情報を取得し、取得した品質情報が示す品質に応じて、符号化部12がフレームをフレーム内符号化するフレーム間隔を変更することもできる。ここで、通信の品質を示す品質情報とは、例えば、通信におけるロス率が低いほど品質が高いことを示す情報、又は、通信における遅延が小さいほど品質が高いことを示す情報などを採用し得る。なお、通信IF13が行う通信の品質が時間とともに変化する場合、取得される品質情報も変化するので、その品質の変化に応じて、符号化部12がフレームをフレーム内符号化するフレーム間隔を動的に変更することもできる。なお、上記のように符号化部12がフレームをフレーム内符号化するフレーム間隔を変更した場合、その後に、変更後のフレーム間隔を示す間隔情報(つまり間隔値)を再生装置20に送信してもよい。 Here, the control unit 14 acquires quality information indicating the quality of communication performed by the communication IF 13, and changes the frame interval at which the encoding unit 12 intraframe-encodes frames according to the quality indicated by the acquired quality information. You can also Here, the quality information indicating the quality of communication may be, for example, information indicating that the lower the loss rate in communication, the higher the quality, or information indicating that the smaller the delay in communication, the higher the quality. . Note that when the quality of communication performed by the communication IF 13 changes with time, the acquired quality information also changes. can also be changed on the fly. Note that when the encoding unit 12 changes the frame interval for intra-coding frames as described above, interval information (that is, an interval value) indicating the frame interval after the change is transmitted to the reproduction device 20. good too.

さらに、制御部14は、取得した品質情報が示す品質が高いほど、上記フレーム間隔をより長い値に変更してもよい。品質が比較的高い場合、フレーム内符号化フレームの間隔を長く、つまり、フレーム内符号化フレームの個数を少なくしても、再生される動画の品質を高く維持できるので、フレーム間隔をより長くすることによって通信量を少なく抑えるためである。 Furthermore, the control unit 14 may change the frame interval to a longer value as the quality indicated by the acquired quality information is higher. If the quality is relatively high, the interval between intra-coded frames can be increased, that is, the number of intra-coded frames can be reduced, but the quality of the reproduced video can be maintained high, so the frame interval is increased. This is in order to reduce the amount of communication by doing so.

図2は、本実施の形態に係る再生装置20の構成を示す説明図である。 FIG. 2 is an explanatory diagram showing the configuration of the playback device 20 according to this embodiment.

図2に示されるように、再生装置20は、通信IF21と、復号部22と、表示部23と、制御部24とを備える。再生装置20が備える上記の機能部は、プロセッサが所定のプログラムを実行することで実現され得る。 As shown in FIG. 2 , the playback device 20 includes a communication IF 21 , a decoding section 22 , a display section 23 and a control section 24 . The above-described functional units included in the playback device 20 can be realized by the processor executing a predetermined program.

通信IF21は、符号化装置10と通信する通信インタフェース装置である。通信IF21は、所定の通信規格でネットワークNを介して符号化装置10と通信可能に接続されている。通信規格については、通信IF13の説明と同様である。 Communication IF 21 is a communication interface device that communicates with encoding device 10 . The communication IF 21 is communicably connected to the encoding device 10 via the network N according to a predetermined communication standard. The communication standard is the same as that of the communication IF 13 .

復号部22は、通信IF21を介して符号化装置10から受信するフレームを復号し、動画を表示部23に再生させる処理部である。復号部22は、動画を構成する複数のフレームであって、複数のフレームのうち所定間隔のフレーム(第一フレームに相当)がフレーム内符号化されていて、複数のフレームのうちの第一フレーム以外のフレーム(第二フレームに相当)がフレーム間符号化されている複数のフレームを、符号化装置10から受信し、受信した複数のフレームを復号して動画を表示部23に再生させる。また、復号部22が再生を開始する位置は、制御部24によって制御される。 The decoding unit 22 is a processing unit that decodes frames received from the encoding device 10 via the communication IF 21 and causes the display unit 23 to reproduce moving images. The decoding unit 22 performs intra-frame coding on a plurality of frames constituting a moving image (corresponding to the first frame) at predetermined intervals among the plurality of frames, and decodes the first frame of the plurality of frames. A plurality of frames other than the frame (corresponding to the second frame) are interframe-encoded are received from the encoding device 10, the received plurality of frames are decoded, and the display unit 23 reproduces the moving image. Also, the position where the decoding unit 22 starts reproduction is controlled by the control unit 24 .

復号部22によるフレームの復号において、フレーム内符号化フレームは、当該フレーム単体での復号が可能である。一方、フレーム間符号化フレームは、当該フレームより前の最新のフレーム内符号化フレームまでさかのぼり、そのフレーム内符号化フレームから当該フレームまでのフレーム間符号化フレームを順に復号することにより、復号可能である。そのため、フレーム内符号化フレームから再生を開始する場合には比較的短時間での再生開始が可能である一方、フレーム間符号化フレームから再生を開始する場合には再生開始までに要する時間が比較的長い。そして、再生開始の対象のフレーム間符号化フレームとそれより前の最新のフレーム内符号化フレームとの時間差が大きいほど、その再生開始までに要する時間が長い。 In the frame decoding by the decoding unit 22, the intra-frame encoded frame can be decoded as a single frame. On the other hand, an inter-coded frame can be decoded by tracing back to the latest intra-coded frame before the current frame and sequentially decoding the inter-coded frames from the intra-coded frame to the current frame. be. Therefore, playback can be started in a relatively short time when playback is started from an intra-coded frame, while the time required to start playback is compared when playback is started from an inter-coded frame. long. The larger the time difference between the inter-coded frame to be reproduced and the latest intra-coded frame preceding it, the longer the time required to start reproduction.

なお、復号部22は、フレーム間符号化フレームのロスを検出した場合には、制御部24による制御の下で一定期間、フレームの復号を禁止してもよい。具体的には、制御部24は、複数のフレームのうちフレーム間符号化フレームのロスを検出した場合には、間隔情報を用いて、ロスが検出されたフレーム間符号化フレームより後の最初のフレーム内符号化フレームを受信するタイミングを特定する。そして、制御部24は、上記ロスを検出してから上記タイミングが到来するまでの間、復号部22による復号を禁止させる。このようにすることで、再生装置20は、ロスが検出されたフレーム間符号化フレームより後の1以上のフレーム間符号化フレームであって、特定したフレーム内符号化フレームより前の1以上のフレーム間符号化フレームの、復号部22による復号を禁止することができる。 Note that the decoding unit 22 may prohibit frame decoding for a certain period of time under the control of the control unit 24 when the loss of the inter-coded frame is detected. Specifically, when detecting a loss of an inter-coded frame among a plurality of frames, the control unit 24 uses the interval information to determine the first inter-coded frame after the inter-coded frame in which the loss is detected. Specifies the timing of receiving an intra-coded frame. Then, the control unit 24 prohibits decoding by the decoding unit 22 from the detection of the loss to the arrival of the timing. By doing so, the reproducing device 20 reproduces one or more inter-encoded frames after the inter-encoded frame in which the loss is detected and one or more inter-encoded frames before the specified intra-encoded frame. Decoding of inter-coded frames by the decoding unit 22 can be prohibited.

表示部23は、画像を表示する表示装置である。表示部23による画像の表示は、制御部24により制御される。表示部23は、例えば、液晶ディスプレイパネル又は有機EL(Electroluminescence)パネルなどである。 The display unit 23 is a display device that displays an image. The display of images by the display unit 23 is controlled by the control unit 24 . The display unit 23 is, for example, a liquid crystal display panel or an organic EL (Electroluminescence) panel.

制御部24は、復号部22による復号と、表示部23による表示とを制御する処理部である。制御部24は、複数のフレームのうち第一フレームの間隔を示す間隔情報を符号化装置10から受信し、受信した間隔情報に基づく画像を、再生中の動画とともに表示部23に表示させる。制御部24は、再生中の動画とともに、この動画内における再生位置を示すバー、いわゆるシークバーを表示部23に表示させる。シークバーは、動画の再生位置を示している。なお、シークバーについては、図3で詳細に説明する。また、再生位置を、再生時間位置ともいう。 The control unit 24 is a processing unit that controls decoding by the decoding unit 22 and display by the display unit 23 . The control unit 24 receives interval information indicating the interval of the first frame among the plurality of frames from the encoding device 10, and causes the display unit 23 to display an image based on the received interval information together with the moving image being reproduced. The control unit 24 causes the display unit 23 to display a bar indicating a playback position in the moving image, that is, a so-called seek bar, together with the moving image being reproduced. The seek bar indicates the playback position of the moving image. Note that the seek bar will be described in detail with reference to FIG. The playback position is also called a playback time position.

また、制御部24は、動画の再生位置を変更するための、シークバーに対する操作をユーザインタフェース(具体的にはタッチパネル又はマウス等)を介してユーザから受ける。制御部24は、上記操作を受けると、その操作を受けたシークバー上の位置に相当する再生位置から動画の再生を開始する。 Also, the control unit 24 receives an operation on the seek bar for changing the playback position of the moving image from the user via a user interface (specifically, a touch panel, a mouse, or the like). When receiving the operation, the control unit 24 starts reproducing the moving image from the reproduction position corresponding to the position on the seek bar that received the operation.

制御部24は、シークバーにおける、動画に含まれるフレーム内符号化フレームの位置(時間位置ともいう)を間隔情報を用いて特定し、その特定した位置を示す図形を表示部23に表示させる。表示された図形を視認したユーザは、シークバーに対する操作によって、動画内の所望の位置から動画の再生を開始させようとするとき、上記図形の位置から再生を開始させれば比較的短時間で動画の表示がなされる、ということを認識することができる。 The control unit 24 specifies the position (also referred to as time position) of the intra-frame encoded frame included in the moving image in the seek bar using the interval information, and causes the display unit 23 to display a figure indicating the specified position. When the user who has visually recognized the displayed graphic tries to start playing the video from a desired position in the video by operating the seek bar, the video can be played in a relatively short time if the video is started from the position of the graphic. is displayed.

なお、制御部24は、予め符号化装置10に動画の要求を送信してもよい。その場合、符号化装置10が要求を受信したことに応じて送信する複数のフレームと間隔情報とを、それぞれ、復号部22と制御部24とが受信する。 Note that the control unit 24 may transmit a moving image request to the encoding device 10 in advance. In this case, the decoding unit 22 and the control unit 24 respectively receive a plurality of frames and interval information that the encoding device 10 transmits in response to receiving the request.

図3は、本実施の形態に係る表示部23に表示される画像の一例を示す説明図である。 FIG. 3 is an explanatory diagram showing an example of an image displayed on the display unit 23 according to this embodiment.

図3に示される表示部23に表示される画像は、コンテンツ30と、シークバー35と、図形36とを含む。 The image displayed on display unit 23 shown in FIG. 3 includes content 30, seek bar 35, and figure 36. FIG.

コンテンツ30は、符号化装置10から受信した複数のフレームによって構成される動画のコンテンツである。 The content 30 is video content configured by a plurality of frames received from the encoding device 10 .

シークバー35は、動画内における再生位置を示すバーである。シークバー35の左端は、動画の最初の位置に対応付けられており、シークバー35の右端は、動画の最後の位置に対応付けられている。そして、シークバー35の左端と右端との間の各位置は、右に進むほど動画内における再生時刻が遅い再生位置に対応付けられている。なお、シークバー35は、一般に、図3のような直線状の形状をしているが、形状はこれに限定されず、曲線状などであってもよい。また動画内の再生位置は、右に進むほど再生時刻が遅い位置を示しているが、これに限られない。 The seek bar 35 is a bar that indicates the playback position within the moving image. The left end of the seek bar 35 is associated with the initial position of the moving image, and the right end of the seek bar 35 is associated with the final position of the moving image. Each position between the left end and the right end of the seek bar 35 is associated with a reproduction position having a later reproduction time in the moving image toward the right. The seek bar 35 generally has a linear shape as shown in FIG. 3, but the shape is not limited to this, and may be curved. Further, the playback position in the moving image indicates a position where the playback time becomes later as it progresses to the right, but it is not limited to this.

図形36は、シークバー35上においてフレーム内符号化フレームの位置を示す図形である。具体的には、図形36のうちの図形36Aは、動画の最初の位置を示している。動画の最初には必ずフレーム内符号化フレームが位置しているからである。 A figure 36 is a figure indicating the position of the intra-frame encoded frame on the seek bar 35 . Specifically, a graphic 36A of the graphic 36 indicates the first position of the moving image. This is because an intra-frame coded frame is always positioned at the beginning of a moving image.

また、図形36Bは、動画の最初の位置から、間隔情報により示されるフレーム内符号化フレームの間隔を進めた位置を示している。図形36Cは、図形36Bが示す位置から、さらに上記間隔を進めた位置を示している。その後も同様である。なお、図形36の形状が長方形である場合を図示しているが、その形状は、三角形、円形、矢印又はその他の形状であってもよい。 Also, a figure 36B shows a position where the interval of the intra-frame encoded frames indicated by the interval information is advanced from the initial position of the moving image. A figure 36C shows a position further advanced by the distance from the position indicated by the figure 36B. The same applies thereafter. Although the figure 36 is illustrated as having a rectangular shape, the shape may be a triangle, a circle, an arrow, or any other shape.

図4は、本実施の形態に係る符号化装置10の処理を示すフロー図である。 FIG. 4 is a flowchart showing processing of the encoding device 10 according to this embodiment.

図4に示されるように、ステップS101において、取得部11は、再生装置20から動画の要求を受信したか否かを判定する。要求を受信した場合(ステップS101でYes)にはステップS102に進み、そうでない場合(ステップS101でNo)には、ステップS101を再び実行する。つまり、取得部11は、要求を受信するまでステップS101で待機する。 As shown in FIG. 4 , in step S<b>101 , the acquisition unit 11 determines whether or not a moving image request has been received from the playback device 20 . If the request has been received (Yes in step S101), the process proceeds to step S102; otherwise (No in step S101), step S101 is executed again. That is, the acquisition unit 11 waits in step S101 until receiving a request.

ステップS102において、制御部14は、ステップS101で受信した要求に応じて、間隔情報を再生装置20に送信する。 In step S102, the control unit 14 transmits the interval information to the reproducing device 20 in response to the request received in step S101.

ステップS103において、符号化部12は、フレームカウントを初期化し、例えばゼロとする。フレームカウントとは、フレーム1つずつに符号化処理順に対応付けられる連番である。 In step S103, the encoding unit 12 initializes the frame count to zero, for example. A frame count is a serial number associated with each frame in order of encoding processing.

ステップS104において、符号化部12は、取得部11がカメラ5から取得したフレームを取得する。 In step S<b>104 , the encoding unit 12 acquires the frame acquired by the acquisition unit 11 from the camera 5 .

ステップS105において、符号化部12は、フレームカウントの、間隔値による剰余(モジュロ)がゼロであるか否かを判定する。剰余がゼロである場合(ステップS105でYes)には、ステップS106に進み、そうでない場合(ステップS105でNo)には、ステップS107に進む。 In step S105, the encoding unit 12 determines whether the remainder (modulo) of the frame count by the interval value is zero. If the remainder is zero (Yes in step S105), proceed to step S106; otherwise (No in step S105), proceed to step S107.

ステップS106において、符号化部12は、ステップS104で取得したフレームをフレーム内符号化する。 In step S106, the encoding unit 12 intraframe-encodes the frame obtained in step S104.

ステップS107において、符号化部12は、ステップS104で取得したフレームをフレーム間符号化する。 In step S107, the encoding unit 12 interframe-encodes the frame acquired in step S104.

ステップS108において、符号化部12は、ステップS106でフレーム内符号化したフレーム、又は、ステップS107でフレーム間符号化したフレームを再生装置20に送信する。 In step S<b>108 , the encoding unit 12 transmits the frame intra-encoded in step S<b>106 or inter-encoded in step S<b>107 to the playback device 20 .

ステップS109において、符号化部12は、フレームカウントを1増加させて、ステップS104に処理を進める。 In step S109, the encoding unit 12 increments the frame count by 1, and proceeds to step S104.

これにより、符号化装置10は、動画を構成する複数のフレームを、所定間隔でフレーム内符号化するとともに、その他のフレームをフレーム間符号化して、処理装置に順次に送信する。 As a result, the encoding device 10 performs intra-frame encoding on a plurality of frames constituting a moving image at predetermined intervals, and inter-frame encoding on other frames, and sequentially transmits the encoded frames to the processing device.

図5は、本実施の形態に係る再生装置20の処理を示すフロー図である。 FIG. 5 is a flowchart showing processing of the reproducing device 20 according to this embodiment.

図5に示されるように、ステップS201において、制御部24は、通信IF21を介して符号化装置10に動画の要求を送信する。 As shown in FIG. 5 , in step S<b>201 , the control unit 24 transmits a moving image request to the encoding device 10 via the communication IF 21 .

ステップS202において、制御部24は、符号化装置10から間隔情報を受信したか否かを判定する。間隔情報を受信したと判定した場合(ステップS202でYes)には、ステップS203に進み、そうでない場合(ステップS202でNo)には、再びステップS202を実行する。つまり、制御部24は、間隔情報を受信するまでステップS202で待機する。 In step S<b>202 , the control unit 24 determines whether interval information has been received from the encoding device 10 . If it is determined that the interval information has been received (Yes in step S202), the process proceeds to step S203. Otherwise (No in step S202), step S202 is executed again. That is, the control unit 24 waits in step S202 until the interval information is received.

ステップS203において、制御部24は、ステップS202で受信した間隔情報に基づいて、フレーム内符号化フレームの再生が動画全体のうちのどの位置になるか、つまり動画全体のうちでのフレーム内符号化フレームの再生位置を特定し、その特定した位置をシークバー上に表示する。 In step S203, based on the interval information received in step S202, the control unit 24 determines at which position the intra-frame-encoded frame is reproduced in the entire moving image, that is, the intra-encoding position in the entire moving image. Identify the playback position of the frame and display the identified position on the seek bar.

ステップS204において、復号部22は、符号化装置10からフレームを受信したか否かを判定する。フレームを受信した場合には、ステップS205に進み、そうでない場合には、ステップS204を再び実行する。つまり、復号部22は、フレームを受信するまでステップS204で待機する。なお、所定時間待機してもフレームを受信しない場合には、フレームの受信についてタイムアウトが発生したと判定し、再びステップS204を実行してもよい。タイムアウトが発生した場合、そのことを示すエラーメッセージを出力するなどの所定のエラー処理を実行してもよい。 In step S<b>204 , the decoding unit 22 determines whether or not a frame has been received from the encoding device 10 . If the frame has been received, proceed to step S205; otherwise, perform step S204 again. That is, the decoding unit 22 waits in step S204 until the frame is received. Note that if no frame is received even after waiting for the predetermined time, it may be determined that a timeout has occurred with respect to frame reception, and step S204 may be executed again. When a timeout occurs, predetermined error processing such as outputting an error message indicating the timeout may be executed.

ステップS205において、復号部22は、ステップS205で受信したフレームを復号して、表示部23に動画を再生する。ステップS205を終えたら、ステップS204を実行する。 In step S<b>205 , the decoding unit 22 decodes the frame received in step S<b>205 and reproduces the moving image on the display unit 23 . After finishing step S205, step S204 is executed.

これにより、再生装置20は、符号化装置10から受信する複数のフレームに基づく動作を表示するとともに、その動画内におけるフレーム内符号化フレームの位置を表示する。 As a result, the playback device 20 displays the motion based on the frames received from the encoding device 10 and also displays the position of the intra-frame encoded frame in the moving image.

次に、復号部22がフレーム間符号化フレームのロスを検出した場合に、フレームの復号を禁止する処理について詳しく説明する。 Next, processing for prohibiting frame decoding when the decoding unit 22 detects loss of an inter-frame encoded frame will be described in detail.

図6は、本実施の形態の制御部24が復号部22による復号処理の実行可否を制御する処理を示すフロー図である。 FIG. 6 is a flow chart showing the process of controlling whether or not the decoding section 22 can execute the decoding process by the control section 24 of the present embodiment.

図6に示されるように、ステップS221において、制御部24は、フレーム間符号化フレームのロスを検出したか否かを判定する。ロスを検出した場合には、ステップS222に進み、そうでない場合は、ステップS221を再び実行する。つまり、制御部24は、フレーム間符号化フレームのロスを検出するまで、ステップS221で待機する。 As shown in FIG. 6, in step S221, the control unit 24 determines whether or not a loss of an inter-coded frame has been detected. If a loss is detected, the process proceeds to step S222; otherwise, step S221 is executed again. That is, the control unit 24 waits in step S221 until the loss of the inter-frame encoded frame is detected.

なお、ステップS221でフレーム間符号化フレームのロスを検出することは、次に受信すべきフレームがフレーム間符号化フレームであるときに、フレームの受信についてタイムアウトが発生した(図5のステップS204)ときに、なされ得る。 It should be noted that the detection of the loss of the inter-coded frame in step S221 means that the next frame to be received is the inter-coded frame, and the time-out has occurred in the reception of the frame (step S204 in FIG. 5). Sometimes it can be done.

ステップS222において、制御部24は、復号部22による復号処理を停止させる。復号処理を停止させてから開始させる(後述するステップS225)までの間は、仮にフレームを通信IF21が受信した場合でも、復号部22は復号処理を行わない。 In step S<b>222 , the control unit 24 stops decoding processing by the decoding unit 22 . Even if the communication IF 21 receives a frame, the decoding unit 22 does not perform the decoding process until the decoding process is started (step S225, which will be described later) after the decoding process is stopped.

ステップS223において、制御部24は、次に受信するフレーム内符号化フレームと、その復号タイミングを特定する。具体的には、制御部24は、ロスが検出されたフレーム間符号化フレームより前のフレーム内符号化フレームの復号タイミングから、フレーム内符号化フレームのフレーム間隔に相当する時間を進めたタイミングを、次のフレーム内符号化フレームの復号タイミングとして特定する。 In step S223, the control unit 24 specifies the intra-frame coded frame to be received next and its decoding timing. Specifically, the control unit 24 advances the timing corresponding to the frame interval of the intra-coded frame from the decoding timing of the intra-coded frame preceding the inter-coded frame in which the loss is detected. , is specified as the decoding timing of the next intraframe-encoded frame.

ステップS224において、制御部24は、ステップS223で特定したフレーム内符号化フレームの復号タイミングが到来したか否かを判定する。フレーム内符号化フレームの復号タイミングが到来したと判定した場合には、ステップS225に進み、そうでない場合には、ステップS224を再び実行する。つまり、制御部24は、フレーム内符号化フレームの復号タイミングが到来するまで、ステップS224で待機する。 In step S224, the control unit 24 determines whether or not the decoding timing of the intra-frame coded frame identified in step S223 has arrived. If it is determined that the decoding timing of the intra-frame encoded frame has arrived, the process proceeds to step S225, otherwise step S224 is executed again. That is, the control unit 24 waits in step S224 until the decoding timing of the intra-frame encoded frame arrives.

ステップS225において、制御部24は、復号部22による復号処理を開始(つまり再開)させる。これにより、復号部22は、ステップS223で特定したフレーム内符号化フレームを復号し、その後のフレーム間符号化フレームを順次に復号する。その後、ステップS221の処理を実行する。 In step S<b>225 , the control unit 24 starts (that is, restarts) the decoding process by the decoding unit 22 . As a result, the decoding unit 22 decodes the intra-frame coded frame identified in step S223, and sequentially decodes subsequent inter-frame coded frames. After that, the process of step S221 is executed.

このようにして、制御部24は、復号部22による復号処理を停止させ、又は開始させる制御をする。 In this manner, the control unit 24 controls to stop or start the decoding process by the decoding unit 22 .

図7は、本実施の形態の制御部24が復号部22による復号処理を制御する処理を示すシーケンス図である。 FIG. 7 is a sequence diagram showing the process of controlling the decoding process by the decoding section 22 by the control section 24 of the present embodiment.

図7に示されるように、再生装置20が符号化装置10に要求を送信し、その要求に応じて符号化装置10が、間隔情報とフレーム#1とを送信する。再生装置20は、送信されたフレーム#1に対して復号処理を行い、フレーム#1を再生する。 As shown in FIG. 7, playback device 20 transmits a request to encoding device 10, and encoding device 10 transmits interval information and frame #1 in response to the request. The reproduction device 20 performs decoding processing on the transmitted frame #1 and reproduces the frame #1.

その後、符号化装置10は、複数のフレーム#2、#3、・・・、#10を順次に送信する。再生装置20は、上記複数のフレームを順次に受信し、復号処理を施して再生する。 After that, the encoding device 10 sequentially transmits a plurality of frames #2, #3, . . . , #10. The reproduction device 20 sequentially receives the plurality of frames, decodes them, and reproduces them.

ここで、符号化装置10が送信したフレーム#11が通信路において失われたとする。 Assume that the frame #11 transmitted by the encoding device 10 is lost in the communication channel.

再生装置20は、フレーム#11を受信してから所定のタイムアウト時間の間、フレーム#11の受信を待ち、その間にフレーム#11を受信できなかったことから、フレーム#11がロスしたことを検出し、言い換えれば、フレーム#11についてロスを検出する。このようなロスの検出を契機として、再生装置20の制御部24は、復号部22によるフレームの復号を停止させる(ステップS221、S222)。なお、所定のタイムアウト時間は、通信規格又は動画転送規格によって定められる値が採用されてもよいし、その他の任意の条件によって定められる値であってもよい。 The playback device 20 waits for the frame #11 for a predetermined time-out period after receiving the frame #11, and detects that the frame #11 is lost because the frame #11 cannot be received during this time. In other words, a loss is detected for frame #11. Triggered by the detection of such a loss, the control unit 24 of the playback device 20 stops the frame decoding by the decoding unit 22 (steps S221 and S222). It should be noted that the predetermined timeout period may adopt a value determined by the communication standard or the moving image transfer standard, or may be a value determined by other arbitrary conditions.

次に、制御部24は、次のフレーム内符号化フレームをフレーム#31と特定する(ステップS223)。最初のフレーム内符号化フレーム(フレーム#1)から、フレーム内符号化フレームのフレーム間隔である30フレームを進めることで、上記のフレーム#31を特定できる。また、制御部24は、フレーム#1の受信タイミングから1秒後の時点を、フレーム#31の受信タイミングとして特定する。 Next, the control unit 24 identifies the next intra-frame encoded frame as frame #31 (step S223). By advancing 30 frames, which is the frame interval of the intra-frame coded frames, from the first intra-frame coded frame (frame #1), the frame #31 can be specified. Further, the control unit 24 specifies the point of time after one second from the reception timing of the frame #1 as the reception timing of the frame #31.

その後、符号化装置10は、フレーム#12、#13、・・・、#30を順次に送信する。再生装置20は、復号処理を停止しているので、これらのフレームを受信したとしても復号処理を施さず、その結果、これらのフレームを再生しない。 After that, the encoding device 10 sequentially transmits frames #12, #13, . . . , #30. Since the playback device 20 has stopped the decoding process, even if these frames are received, they are not decoded, and as a result, these frames are not played back.

フレーム#31の受信タイミングが到来すると、制御部24は、復号部22による復号処理を開始(つまり再開)させる。この後に再生装置20がフレーム#31を受信すると、フレーム#31に対して復号処理を行い、フレーム#31を再生する。 When the reception timing of frame #31 arrives, the control unit 24 starts (that is, restarts) the decoding process by the decoding unit 22 . After that, when the reproducing device 20 receives the frame #31, the decoding process is performed on the frame #31, and the frame #31 is reproduced.

その後、符号化装置10は、複数のフレーム#32、#33、・・・を順次に送信する。再生装置20は、上記複数のフレームを順次に受信し、復号処理を施して再生する。 After that, the encoding device 10 sequentially transmits a plurality of frames #32, #33, . The reproduction device 20 sequentially receives the plurality of frames, decodes them, and reproduces them.

このようにすることで、フレーム間符号化フレームがロスしたことによって復号が不可能になるフレーム間符号化フレームの復号処理を行わない、つまり禁止することで、再生装置20の処理量の削減を図り、これにより適切な動画の処理を図ることができる。 By doing so, the processing amount of the playback device 20 can be reduced by not performing, that is, prohibiting, the decoding processing of the inter-encoded frames that become undecodable due to the loss of the inter-encoded frames. Therefore, it is possible to appropriately process moving images.

(実施の形態の変形例)
本変形例において、上記実施の形態に示した再生システム1における再生装置20の代わりに、作成装置40が用いられる構成を説明する。なお、作成装置40は、処理装置の一例である。
(Modification of Embodiment)
In this modified example, a configuration in which a creating device 40 is used instead of the reproducing device 20 in the reproducing system 1 shown in the above embodiment will be described. Note that the creation device 40 is an example of a processing device.

本変形例に係る再生システム1の全体的な構成は、図1における再生装置20を作成装置40としたものに相当する(不図示)。 The overall configuration of the playback system 1 according to this modification corresponds to the creation device 40 instead of the playback device 20 in FIG. 1 (not shown).

図8は、本変形例に係る作成装置40の構成を示す説明図である。 FIG. 8 is an explanatory diagram showing the configuration of the creation device 40 according to this modification.

図8に示されるように、作成装置40は、通信IF41と、特定部42と、作成部43とを備える。作成装置40が備える上記の機能部は、プロセッサが所定のプログラムを実行することで実現され得る。 As shown in FIG. 8 , the creating device 40 includes a communication IF 41 , a specifying unit 42 and a creating unit 43 . The functional units provided in the creation device 40 can be implemented by a processor executing a predetermined program.

通信IF41は、符号化装置10と通信する通信インタフェース装置である。通信IF41は、所定の通信規格でネットワークNを介して符号化装置10と通信可能に接続されている。通信規格については、通信IF13の説明と同様である。 Communication IF 41 is a communication interface device that communicates with encoding device 10 . The communication IF 41 is communicably connected to the encoding device 10 via the network N according to a predetermined communication standard. The communication standard is the same as that of the communication IF 13 .

特定部42は、符号化装置10から受信した複数のフレームが、それぞれフレーム内符号化されたフレームであるか、又は、フレーム間符号化されたフレームであるかを特定する。 The specifying unit 42 specifies whether the plurality of frames received from the encoding device 10 are intra-frame encoded frames or inter-frame encoded frames.

具体的には、特定部42は、動画を構成する複数のフレームであって、当該複数のフレームのうち所定間隔の第一フレームがフレーム内符号化されていて、当該複数のフレームのうちの第一フレーム以外の第二フレームがフレーム間符号化されている複数のフレームと、複数のフレームのうちフレーム内符号化されたフレームの間隔を示す間隔情報とを、符号化装置10から受信する。そして、特定部42は、受信した間隔情報を用いて、受信した複数のフレームのうちフレーム間符号化されたフレームを特定する。 Specifically, the specifying unit 42 determines that the first frames of the plurality of frames constituting the moving image are intra-frame encoded at a predetermined interval, and the first frame of the plurality of frames is the first frame. A plurality of frames in which a second frame other than one frame is interframe-encoded, and interval information indicating an interval between intraframe-encoded frames among the plurality of frames are received from the encoding device 10 . Then, using the received interval information, the specifying unit 42 specifies an interframe-encoded frame among the plurality of received frames.

作成部43は、上記複数のフレームのうち、特定部42が特定したフレームの少なくとも一部を除く1以上のフレームを用いて動画ファイルを作成する。作成部43は、動画ファイルの作成の際には、符号化装置10から受信した複数のフレームを順次に動画ファイルに追加していく。このとき、作成部43は、複数のフレームのうち、特定部42が特定したフレームの少なくとも一部を除く1以上のフレームを用いて、所定の上限値以下のフレームレートを有する上記動画ファイルを作成する。所定の上限値は、例えば15fps又は20fps等である。所定の上限値が15fpsである場合、作成部43は、符号化装置10が送信したフレームレートが30fpsである動画ファイルを構成する複数のフレームのうちの1以上のフレームを用いて、15fpsである上記動画ファイルを作成する。 The creating unit 43 creates a moving image file using one or more frames excluding at least some of the frames specified by the specifying unit 42 among the plurality of frames. When creating a moving image file, the creation unit 43 sequentially adds a plurality of frames received from the encoding device 10 to the moving image file. At this time, the creation unit 43 creates the moving image file having a frame rate equal to or lower than a predetermined upper limit by using one or more frames excluding at least part of the frames specified by the specifying unit 42 among the plurality of frames. do. The predetermined upper limit is, for example, 15 fps or 20 fps. When the predetermined upper limit is 15 fps, the creation unit 43 uses one or more frames among a plurality of frames constituting a video file with a frame rate of 30 fps transmitted by the encoding device 10 to set the frame rate to 15 fps. Create the above video file.

なお、上記上限値は、符号化装置10が作成装置40に送信する場合を例として説明するが、作成装置40に予め設定されているものでもよい。 Note that although the above upper limit value is transmitted from the encoding device 10 to the creation device 40 as an example, it may be preset in the creation device 40 .

図9は、本変形例に係る特定部42及び作成部43がフレームに対して行う処理を示す説明図である。ここでは、受信した間隔情報(つまり間隔値)が30フレームであり、作成される動画ファイルのフレームレートの上限が20fpsである場合を例として説明する。 FIG. 9 is an explanatory diagram showing the processing performed on the frame by the specifying unit 42 and the creating unit 43 according to this modification. Here, an example will be described in which the received interval information (that is, the interval value) is 30 frames and the upper limit of the frame rate of the created moving image file is 20 fps.

図9の(a)は、特定部42が符号化装置10から受信するフレームを示している。ここでは、特定部42が符号化装置10に要求を送信した後に最初に受信したフレームに#1の番号を付し、その後に受信するフレームに順次に、#2、#3、・・・という連番を付している。 (a) of FIG. 9 shows a frame received by the identifying unit 42 from the encoding device 10 . Here, the frame received first after the specifying unit 42 transmits the request to the encoding device 10 is numbered #1, and the frames received thereafter are numbered #2, #3, . It is numbered consecutively.

図9の(b)は、特定部42によるフレームの特定処理の結果を示している。特定部42は、符号化装置10に要求を送信した後に最初に受信したフレーム#1を、フレーム内符号化フレームであると特定する。また、特定部42は、フレーム#1から、間隔情報に示される30フレーム進んだ位置にあるフレーム#31をフレーム内符号化フレームであると特定する。その後も、特定部42は、フレーム内符号化されたフレームであると特定されたフレームから30フレーム進んだ位置にあるフレームをフレーム内符号化フレームであると特定する。 (b) of FIG. 9 shows the result of the frame identification processing by the identification unit 42 . The identifying unit 42 identifies the first received frame #1 after transmitting the request to the encoding device 10 as an intra-frame encoded frame. The identifying unit 42 also identifies frame #31, which is located 30 frames ahead of frame #1 as indicated by the interval information, as an intra-frame coded frame. After that, the specifying unit 42 also specifies the frame located 30 frames ahead of the frame specified as the intra-frame-encoded frame as the intra-frame-encoded frame.

また、特定部42は、受信したフレームのうち、フレーム内符号化フレームであると特定されなかったフレーム、例えばフレーム#2、#3、・・・、#30を、フレーム間符号化フレームであると特定する。 In addition, the identification unit 42 identifies frames that have not been identified as intra-coded frames, such as frames #2, #3, . and specify.

次に、特定部42は、フレーム間符号化フレームのうち、作成部43が作成する動画ファイルに追加すると所定のフレームレートを超えると判断するフレームを、動画ファイルに追加しないフレームとして特定する。また、特定部42は、特定部42が受信した複数のフレームのうち、動画ファイルに追加しないフレームを除くすべてのフレームを、動画ファイルに追加するフレームとして特定する。図9において、「動画ファイルに追加するフレーム」を符号Mで示し、「動画ファイルに追加しないフレーム」を符号Nで示している。 Next, the specifying unit 42 specifies, among the inter-frame-encoded frames, frames that are determined to exceed a predetermined frame rate if added to the moving image file created by the creating unit 43, as frames not to be added to the moving image file. In addition, the identifying unit 42 identifies all the frames received by the identifying unit 42 as frames to be added to the moving image file, excluding frames not to be added to the moving image file. In FIG. 9 , reference M indicates “frames to be added to the moving image file”, and reference N indicates “frames not to be added to the moving image file”.

図9の(c)は、作成部43による作成される動画ファイルに含まれるフレームを示している。作成部43による作成される動画ファイルに追加されるフレームは、特定部42が受信したフレームのうち、「動画ファイルに追加するフレーム」として特定されたフレームである。言い換えれば、特定部42が受信したフレームのうち、「動画ファイルに追加しないフレーム」として特定されたフレーム(具体的には、図9のフレーム#3、#6、・・・、#30)は、作成部43が作成する動画ファイルに含まれない。 (c) of FIG. 9 shows frames included in the moving image file created by the creating unit 43 . The frames added to the moving image file created by the creating unit 43 are the frames specified as “frames to be added to the moving image file” among the frames received by the specifying unit 42 . In other words, among the frames received by the specifying unit 42, the frames specified as “frames not added to the moving image file” (specifically, frames #3, #6, . . . , #30 in FIG. 9) are , is not included in the moving image file created by the creation unit 43 .

このようにすることで、作成部43は、受信するフレームのフレームレートが、作成予定である動画ファイルのフレームレートの上限値(つまり20fps)を超える場合には、フレーム内符号化フレームが動画ファイルに含まれるようにしながら、その上限値以下であるフレームレートを有する動画ファイルを作成することができる。 By doing so, when the frame rate of the received frame exceeds the upper limit of the frame rate of the moving image file to be created (that is, 20 fps), the creating unit 43 converts the intra-frame encoded frames into the moving image file. A video file can be created that has a frame rate that is equal to or less than the upper limit while still being included in the upper limit.

図10は、本変形例に係る作成装置40の処理を示すフロー図である。図10に示される処理は、間隔情報とフレームレートの上限値とを用いて、動画ファイルのフレームレートを下げる処理を示すフロー図である。 FIG. 10 is a flowchart showing processing of the creating device 40 according to this modification. The processing shown in FIG. 10 is a flowchart showing processing for lowering the frame rate of a moving image file using interval information and the upper limit value of the frame rate.

図10に示されるように、ステップS301において、特定部42は、通信IF41を介して符号化装置10に要求を送信する。 As shown in FIG. 10 , in step S<b>301 , the identifying unit 42 transmits a request to the encoding device 10 via the communication IF 41 .

ステップS302において、特定部42は、符号化装置10から間隔情報と上限値とを受信したか否かを判定する。間隔情報と上限値とを受信したと判定した場合(ステップS302でYes)には、ステップS303に進み、そうでない場合(ステップS302でNo)には、再びステップS302を実行する。つまり、特定部42は、間隔情報と上限値とを受信するまでステップS302で待機する。 In step S<b>302 , the specifying unit 42 determines whether or not the interval information and the upper limit value have been received from the encoding device 10 . If it is determined that the interval information and the upper limit value have been received (Yes in step S302), the process proceeds to step S303. Otherwise (No in step S302), step S302 is executed again. That is, the specifying unit 42 waits in step S302 until receiving the interval information and the upper limit value.

ステップS303において、特定部42は、間引きフレームレートを算出する。間引きフレームレートは、符号化装置10から受信する動画を構成する複数のフレームから間引くフレームの単位時間当たりの数であり、以下の(式1)により算出される。 In step S303, the specifying unit 42 calculates the thinning frame rate. The thinning frame rate is the number of frames thinned per unit time from a plurality of frames forming a moving image received from the encoding device 10, and is calculated by the following (Equation 1).

間引きフレームレート = 動画のフレームレート - 上限値 (式1) Thinning frame rate = video frame rate - upper limit (formula 1)

ステップS304において、特定部42は、間引き間隔値を算出する。間引き間隔値は、符号化装置10から受信する動画を構成する複数のフレームのうちから間引くフレームの間隔を示す数値であり、以下の(式2)により算出される。 In step S304, the specifying unit 42 calculates a thinning interval value. The thinning interval value is a numerical value indicating the interval of frames to be thinned out of a plurality of frames forming the moving image received from the encoding device 10, and is calculated by the following (Equation 2).

間引き間隔値 = 動画のフレームレート ÷ 間引きフレームレート (式2) Thinning interval value = Video frame rate ÷ Thinning frame rate (Formula 2)

ステップS305において、特定部42は、符号化装置10からフレームを受信したか否かを判定する。フレームを受信したと判定した場合(ステップS305でYes)には、ステップS306に進み、そうでない場合(ステップS305でNo)には、再びステップS305を実行する。つまり、特定部42は、フレームを受信するまでステップS305で待機する。 In step S<b>305 , the specifying unit 42 determines whether or not a frame has been received from the encoding device 10 . If it is determined that a frame has been received (Yes in step S305), the process proceeds to step S306, otherwise (No in step S305), step S305 is executed again. In other words, the specifying unit 42 waits in step S305 until the frame is received.

ステップS306において、特定部42は、フレームカウントを1増加させて、ステップS307に処理を進める。 In step S306, the identifying unit 42 increments the frame count by 1, and proceeds to step S307.

ステップS307において、特定部42は、フレームカウントの、間引き間隔値による剰余(モジュロ)がゼロであるか否か、(言い換えれば、フレームカウントが間引き間隔値の整数倍であるか否か)を判定する。剰余がゼロである場合(ステップS307でYes)には、ステップS308に進み、そうでない場合(ステップS307でNo)には、ステップS309に進む。 In step S307, the identifying unit 42 determines whether or not the remainder (modulo) of the frame count by the thinning interval value is zero (in other words, whether or not the frame count is an integral multiple of the thinning interval value). do. If the remainder is zero (Yes in step S307), proceed to step S308; otherwise (No in step S307), proceed to step S309.

ステップS308において、作成部43は、ステップS305で受信したフレーム間符号化フレームを動画ファイルに追加しない、言い換えれば、上記フレームを動画ファイルに追加することを禁止する。ステップS308を終えたらステップS305に進む。 In step S308, the creation unit 43 does not add the inter-frame-encoded frame received in step S305 to the moving image file, in other words, prohibits adding the frame to the moving image file. After completing step S308, the process proceeds to step S305.

ステップS309において、作成部43は、ステップS305で受信したフレーム間符号化フレームを動画ファイルに追加する。ステップS309を終えたらステップS305に進む。 In step S309, the creating unit 43 adds the inter-frame encoded frames received in step S305 to the moving image file. After completing step S309, the process proceeds to step S305.

これにより、作成装置40は、フレーム内符号化フレームのすべてと、フレーム間符号化フレームの少なくとも一部とを含む動画ファイルを作成する。仮にフレーム内符号化フレームが欠落してしまうと、当該フレーム内符号化フレームを参照して復号すべきフレーム間符号化フレームの復号が不可能となる。作成装置40が作成する動画ファイルには、フレーム間符号化フレームがすべて含まれているので、作成装置40は、上記のようにフレーム間符号化フレームの復号が不可能となることを回避しながら、所定の上限値以下の動画ファイルを作成できる。 Thereby, the creation device 40 creates a moving image file including all intra-frame coded frames and at least part of inter-frame coded frames. If an intra-coded frame is lost, it becomes impossible to decode an inter-coded frame by referring to the intra-coded frame. Since the moving image file created by the creation device 40 includes all inter-encoded frames, the creation device 40 avoids the possibility that the inter-encoded frames cannot be decoded as described above. , you can create a video file that is less than a predetermined upper limit.

以上のように本実施の形態に係る符号化装置は、符号化装置は、複数のフレームとともに、フレーム内符号化フレームの間隔情報を処理装置に提供する。間隔情報を受信した処理装置は、受信した間隔情報を利用して、符号化装置から受信する複数のフレームのうちのどのフレームがフレーム内符号化フレームであるのかを特定し、その特定したフレーム内符号化フレームを利用した当該動画の処理(具体的には、再生処理又はファイル作成処理など)を実行することができる。このように、符号化装置は、処理装置における適切な動画の処理を可能にする。 As described above, the encoding device according to the present embodiment provides the processing device with interval information between intra-frame encoded frames together with a plurality of frames. A processing device that receives the interval information uses the received interval information to identify which frame among a plurality of frames received from the encoding device is an intra-frame encoded frame, and Processing of the moving image using the encoded frames (specifically, reproduction processing, file creation processing, etc.) can be executed. In this way, the coding device enables proper video processing in the processing device.

また、符号化装置は、符号化装置と処理装置との間の通信の品質に応じて、異なるフレーム間隔でフレーム内符号化フレームが挿入された複数のフレームを送信する。一般にフレーム内符号化フレームのフレーム間隔が小さいほど、ロスに対する耐性が高いメリットがある一方、通信データ量が大きくなるデメリットがある。また、帯域がより大きな通信路では、フレーム内符号化フレームを多くして通信データ量を大きくすることが許容され得る。また、動画の種別によって、ロスがある程度許容され得る。そこで、通信品質に応じてフレーム内符号化するフレーム間隔を変更することによって、通信データ量を適切に維持しながら、生じ得るロスの影響を抑制することができる。よって、符号化装置は、通信品質を考慮し通信データ量を適切な量に維持しながら、処理装置における適切な動画の処理を可能にする。 Also, the encoding device transmits a plurality of frames in which intra-frame encoded frames are inserted at different frame intervals according to the quality of communication between the encoding device and the processing device. In general, the smaller the frame interval of intra-frame coded frames, the higher the resistance to loss. Also, in a communication channel with a larger bandwidth, it is permissible to increase the amount of communication data by increasing the number of intra-frame coded frames. In addition, loss may be allowed to some extent depending on the type of moving image. Therefore, by changing the frame interval for intra-frame encoding according to the communication quality, it is possible to suppress the influence of possible loss while appropriately maintaining the amount of communication data. Therefore, the encoding device allows appropriate video processing in the processing device while maintaining an appropriate amount of communication data in consideration of communication quality.

また、符号化装置は、符号化装置と処理装置との間の通信の品質が高いほど、より大きなフレーム間隔でフレーム内符号化フレームが挿入された複数のフレームを送信する。通信品質が比較的低い場合、比較的高い確率でフレームのロスが生じ得る。よって、符号化装置は、通信品質を考慮し通信データ量を適切な量に維持しながら、処理装置における適切な動画の処理を可能にする。 Also, the encoding device transmits a plurality of frames in which intra-frame encoded frames are inserted at larger frame intervals as the quality of communication between the encoding device and the processing device is higher. When communication quality is relatively low, frame loss can occur with a relatively high probability. Therefore, the encoding device allows appropriate video processing in the processing device while maintaining an appropriate amount of communication data in consideration of communication quality.

また、本実施の形態に係る再生装置は、符号化装置から受信した複数のフレームに基づく動画と、その動画におけるフレーム内符号化フレームの間隔に基づく画像とを表示する。このような表示を視認したユーザは、動画だけでなく、フレーム内符号化フレームの間隔を知ることができるので、動画の再生開始位置を決めるときに、その再生に比較的長い時間を要するケースを回避できる。よって、処理装置としての再生装置は、適切な動画の処理を行い得る。 Also, the playback device according to the present embodiment displays a moving image based on a plurality of frames received from the encoding device, and images based on intervals between intra-frame encoded frames in the moving image. A user viewing such a display can know not only the moving image but also the inter-frame coded frame interval. can be avoided. Therefore, the playback device as the processing device can appropriately process the moving image.

また、再生装置は、フレーム内符号化フレームの間隔に基づいて、動画内の再生時間位置を示すバー(いわゆるシークバー)上にフレーム内符号化フレームの動画における位置を表示する。ユーザは、シークバー上におけるフレーム内符号化フレームの位置を知ることができる。ここで、フレーム内符号化フレームでないフレーム(つまりフレーム間符号化フレーム)から再生を開始するときには、そのフレームより前の最新のフレーム内符号化フレームから当該フレームまでのフレームの復号処理をしなければならないので、その復号処理のための時間を要する。一方、フレーム内符号化フレームから再生を開始するときには、当該フレームの復号処理をするだけで済むので、その復号処理に要する時間は比較的短い。よって、ユーザがフレーム内符号化フレームから再生開始するよう操作を促すことによって、処理装置としての再生装置は、適切な動画の処理を行い得る。 Also, the playback device displays the position of the intra-encoded frame in the moving image on a bar (so-called seek bar) indicating the playback time position in the moving image based on the interval between the intra-encoded frames. The user can know the position of the intra-coded frame on the seek bar. Here, when playback is started from a frame that is not an intraframe-encoded frame (that is, an interframe-encoded frame), the frames from the latest intraframe-encoded frame before that frame to the current frame must be decoded. Therefore, it takes time for the decoding process. On the other hand, when playback is started from an intraframe-encoded frame, it is sufficient to decode the frame, and the time required for the decoding process is relatively short. Therefore, when the user prompts an operation to start reproduction from the intra-frame-encoded frame, the reproduction device as the processing device can appropriately process the moving image.

また、再生装置は、フレーム間符号化フレームのロスが検出された場合に、このロスによって復号が不可能になるフレーム間符号化フレームの復号処理を禁止する。よって、処理装置としての再生装置は、フレームの復号処理に係る処理量を削減することによって、適切な動画の処理を行い得る。 Further, when a loss of an inter-encoded frame is detected, the reproducing apparatus prohibits decoding processing of inter-encoded frames that cannot be decoded due to the loss. Therefore, the playback device as a processing device can appropriately process moving images by reducing the amount of processing involved in frame decoding processing.

また、本実施の形態に係る作成装置は、符号化装置から受信した複数のフレームのうちの一部を用いて動画ファイルを作成するので、上記一部を用いる場合と比較して、作成する動画ファイルのサイズを削減することができる。また、上記のファイルの作成の際に、仮にフレーム内符号化フレームを含めずに動画ファイルを作成すると、上記フレーム内符号化を参照して符号化されたフレーム間符号化フレームの復号が不可能になる。そこで、上記複数のフレームに含まれるすべてのフレーム内符号化フレームを用いて動画ファイルを作成することで、上記のように復号が不可能になるフレームの発生を回避できる。よって、処理装置としての作成装置は、適切な動画の処理を行い得る。 In addition, since the creating apparatus according to the present embodiment creates a moving image file using a part of the plurality of frames received from the encoding apparatus, the moving image to be created is less than the case of using the above part. File size can be reduced. Also, when creating the above file, if a video file is created without including intra-frame encoded frames, it is impossible to decode the inter-encoded frames encoded with reference to the above intra-frame encoded. become. Therefore, by creating a moving image file using all the intra-frame coded frames included in the plurality of frames, it is possible to avoid the occurrence of frames that cannot be decoded as described above. Therefore, the creation device as a processing device can appropriately process moving images.

また、作成装置は、作成される動画ファイルのフレームレートが上限値を超えないように、動画ファイルに追加するフレームを決定する。これにより、作成する動画ファイルのサイズを削減することができる。よって、処理装置としての作成装置は、適切な動画の処理を行い得る。 Also, the creation device determines frames to be added to the moving image file so that the frame rate of the created moving image file does not exceed the upper limit. This makes it possible to reduce the size of the moving image file to be created. Therefore, the creation device as a processing device can appropriately process moving images.

なお、本発明は、装置として実現できるだけでなく、その装置を構成する処理手段をステップとする方法として実現したり、それらステップをコンピュータに実行させるプログラムとして実現したり、そのプログラムを記録したコンピュータ読み取り可能なCD-ROMなどの記録媒体として実現したり、そのプログラムを示す情報、データ又は信号として実現したりすることもできる。そして、それらプログラム、情報、データ及び信号は、インターネット等の通信ネットワークを介して配信してもよい。 The present invention can be realized not only as an apparatus, but also as a method in which processing means constituting the apparatus are used as steps, as a program for causing a computer to execute the steps, or as a computer-readable program in which the program is recorded. It can also be implemented as a recording medium such as a CD-ROM, or as information, data, or signals indicating the program. These programs, information, data and signals may then be distributed over a communication network such as the Internet.

以上、本発明の通信端末等について、実施の形態に基づいて説明したが、本発明は、この実施の形態に限定されるものではない。本発明の趣旨を逸脱しない限り、当業者が思いつく各種変形を本実施の形態に施したものや、異なる実施の形態における構成要素を組み合わせて構築される形態も、本発明の範囲内に含まれる。 Although the communication terminal and the like of the present invention have been described above based on the embodiments, the present invention is not limited to these embodiments. As long as it does not deviate from the spirit of the present invention, the present embodiment includes various modifications that a person skilled in the art can think of, and the form constructed by combining the components of different embodiments is also included in the scope of the present invention. .

本発明は、適切な動画の処理を可能にする符号化装置、再生装置又は作成装置に利用可能である。 INDUSTRIAL APPLICABILITY The present invention can be used in encoding devices, playback devices, or creation devices that enable suitable moving image processing.

1 再生システム
5 カメラ
10 符号化装置
11 取得部
12 符号化部
13、21、41 通信IF
14、24 制御部
20 再生装置
22 復号部
23 表示部
30 コンテンツ
35 シークバー
36、36A、36B、36C 図形
40 作成装置
42 特定部
43 作成部
N ネットワーク
1 playback system 5 camera 10 encoding device 11 acquisition unit 12 encoding unit 13, 21, 41 communication IF
14, 24 control unit 20 playback device 22 decryption unit 23 display unit 30 content 35 seek bar 36, 36A, 36B, 36C graphics 40 creation device 42 identification unit 43 creation unit N network

Claims (13)

動画を構成する複数のフレームを順次に取得する取得部と、
前記取得部が取得した前記複数のフレームのうち所定間隔の第一フレームをフレーム内符号化し、前記取得部が取得した前記複数のフレームのうちの前記第一フレーム以外の第二フレームをフレーム間符号化する符号化部と、
処理装置と通信する通信インタフェースと、
前記所定間隔を示す間隔情報を前記処理装置に送信するとともに、前記符号化部が符号化した前記複数のフレームを前記処理装置に順次に送信する制御部とを備え
前記制御部は、前記符号化部が前記第一フレームをフレーム内符号化するフレーム間隔の変更をし、
前記符号化部は、前記変更後のフレーム間隔を前記所定間隔として用いて前記第一フレームをフレーム内符号化する
符号化装置。
an acquisition unit that sequentially acquires a plurality of frames that make up a moving image;
First frames at predetermined intervals among the plurality of frames acquired by the acquisition unit are intra-frame encoded, and second frames other than the first frame among the plurality of frames acquired by the acquisition unit are inter-coded. an encoding unit that encodes
a communication interface in communication with the processing unit;
a control unit that transmits interval information indicating the predetermined interval to the processing device and sequentially transmits the plurality of frames encoded by the encoding unit to the processing device ;
The control unit changes a frame interval at which the encoding unit intra-encodes the first frame,
The encoding unit intra-encodes the first frame using the changed frame interval as the predetermined interval.
Encoding device.
前記制御部は、前記通信インタフェースが前記処理装置と行う通信の品質を示す品質情報を取得し、取得した前記品質情報が示す前記品質に応じて、前記符号化部が前記第一フレームをフレーム内符号化するフレーム間隔を変更する
請求項1に記載の符号化装置。
The control unit acquires quality information indicating the quality of communication performed by the communication interface with the processing device, and according to the quality indicated by the acquired quality information, the encoding unit converts the first frame into a frame. The encoding device according to claim 1, wherein the encoding frame interval is changed.
前記制御部は、取得した前記品質情報が示す前記品質が高いほど、前記フレーム間隔をより大きな値に変更する
請求項2に記載の符号化装置。
The encoding device according to claim 2, wherein the control unit changes the frame interval to a larger value as the quality indicated by the acquired quality information is higher.
表示部と、
動画を構成する複数のフレームであって、前記複数のフレームのうち所定間隔の第一フレームがフレーム内符号化されていて、前記複数のフレームのうちの前記第一フレーム以外の第二フレームがフレーム間符号化されている複数のフレームを、符号化装置から受信し、受信した前記複数のフレームを復号して前記動画を前記表示部に再生させる復号部と、
前記複数のフレームのうち前記第一フレームの間隔を示す間隔情報を前記符号化装置から受信し、受信した前記間隔情報に基づく画像を、再生中の前記動画とともに前記表示部に表示させる制御部とを備える
再生装置。
a display unit;
A plurality of frames constituting a moving image, wherein first frames at predetermined intervals among the plurality of frames are intra-frame coded, and second frames other than the first frame among the plurality of frames are frames. a decoding unit that receives a plurality of inter-encoded frames from an encoding device, decodes the received plurality of frames, and causes the display unit to reproduce the moving image;
a control unit that receives interval information indicating an interval of the first frame among the plurality of frames from the encoding device, and displays an image based on the received interval information on the display unit together with the moving image that is being reproduced; a playback device.
前記制御部は、
再生中の前記動画とともに、前記動画内における再生時間位置を示すバーを前記表示部に表示させ、
前記バーにおける、前記動画に含まれる前記第一フレームの時間位置を前記間隔情報を用いて特定し、
特定した、前記バーにおける前記第一フレームの時間位置を示す図形を、前記表示部に表示させる
請求項4に記載の再生装置。
The control unit
displaying a bar indicating a playback time position in the moving image together with the moving image being played on the display unit;
Identifying the time position of the first frame included in the moving image in the bar using the interval information;
5. The playback device according to claim 4, wherein the specified graphic indicating the time position of the first frame in the bar is displayed on the display unit.
前記制御部は、
前記複数のフレームのうち第二フレームのロスを検出した場合には、前記間隔情報を用いて、前記ロスが検出された前記第二フレームより後の最初の第一フレームを受信するタイミングを特定し、
前記ロスを検出してから前記タイミングが到来するまでの間、前記復号部による復号を禁止させる
請求項4又は5に記載の再生装置。
The control unit
When the loss of the second frame is detected among the plurality of frames, the interval information is used to identify the timing of receiving the first frame after the second frame in which the loss was detected. ,
6. The reproducing apparatus according to claim 4, wherein decoding by the decoding unit is prohibited after the loss is detected and until the timing arrives.
(a)動画を構成する複数のフレームであって、前記複数のフレームのうち所定間隔の第一フレームがフレーム内符号化されていて、前記複数のフレームのうちの前記第一フレーム以外の第二フレームがフレーム間符号化されている複数のフレームと、前記複数のフレームのうちフレーム内符号化されたフレームの間隔を示す間隔情報とを、符号化装置から受信し、
(b)受信した前記間隔情報を用いて、受信した前記複数のフレームのうちフレーム間符号化されたフレームを特定する、特定部と、
前記符号化装置から受信した前記第一フレームの全部と、前記符号化装置から受信した前記第二フレームのうち、前記特定部が特定した前記フレームの少なくとも一部を除く1以上のフレームを用いて動画ファイルを作成する作成部とを備える
作成装置。
(a) Among a plurality of frames constituting a moving image, first frames at predetermined intervals among the plurality of frames are intra-frame encoded, and second frames other than the first frame among the plurality of frames are receiving, from an encoding device, a plurality of inter-coded frames and interval information indicating an interval between intra-encoded frames among the plurality of frames;
(b) an identifying unit that identifies an inter-encoded frame among the plurality of received frames using the received interval information;
using all of the first frames received from the encoding device and one or more frames excluding at least part of the frames specified by the specifying unit, among the second frames received from the encoding device and a creation unit for creating a moving image file.
前記作成部は、前記複数のフレームのうち、前記特定部が特定した前記フレームの少なくとも一部を除く1以上のフレームを用いて、所定の上限値以下のフレームレートを有する前記動画ファイルを作成する
請求項7に記載の作成装置。
The creation unit creates the moving image file having a frame rate equal to or lower than a predetermined upper limit by using one or more frames excluding at least part of the frames specified by the specifying unit, among the plurality of frames. The production device according to claim 7.
請求項1~3のいずれか1項に記載の符号化装置と、
前記符号化装置から前記間隔情報と前記複数のフレームとを受信する、請求項4~6のいずれか1項に記載の再生装置とを備える
再生システム。
an encoding device according to any one of claims 1 to 3;
and a reproducing device according to any one of claims 4 to 6, which receives the interval information and the plurality of frames from the encoding device.
動画を構成する複数のフレームを順次に取得する取得ステップと、
取得ステップで取得した前記複数のフレームのうち所定間隔の第一フレームをフレーム内符号化し、前記取得ステップで取得した前記複数のフレームのうちの前記第一フレーム以外の第二フレームをフレーム間符号化する符号化ステップと、
前記所定間隔を示す間隔情報を処理装置に送信するとともに、前記符号化ステップで符号化した前記複数のフレームを前記処理装置に送信する制御ステップとを含み、
前記制御ステップでは、前記符号化ステップで前記第一フレームをフレーム内符号化するフレーム間隔の変更をし、
前記符号化ステップでは、前記変更後のフレーム間隔を前記所定間隔として用いて前記第一フレームをフレーム内符号化する
符号化方法。
an acquisition step of sequentially acquiring a plurality of frames constituting a moving image;
Intra-frame coding is performed on first frames at predetermined intervals among the plurality of frames obtained in the obtaining step, and inter-frame coding is performed on second frames other than the first frame among the plurality of frames obtained in the obtaining step. an encoding step to
a control step of transmitting interval information indicating the predetermined interval to a processing device and transmitting the plurality of frames encoded in the encoding step to the processing device ;
in the control step, changing a frame interval for intra-coding the first frame in the encoding step;
In the encoding step, intra-frame encoding is performed on the first frame using the changed frame interval as the predetermined interval.
Encoding method.
動画を構成する複数のフレームであって、前記複数のフレームのうち所定間隔の第一フレームがフレーム内符号化されていて、前記複数のフレームのうちの前記第一フレーム以外の第二フレームがフレーム間符号化されている複数のフレームを、符号化装置から受信し、受信した前記複数のフレームを復号して前記動画を表示部に再生させる復号ステップと、
前記複数のフレームのうち前記第一フレームの間隔を示す間隔情報を前記符号化装置から受信し、受信した前記間隔情報に基づく画像を、再生中の前記動画とともに前記表示部に表示させる制御ステップとを含む
再生方法。
A plurality of frames constituting a moving image, wherein first frames at predetermined intervals among the plurality of frames are intra-frame coded, and second frames other than the first frame among the plurality of frames are frames. a decoding step of receiving a plurality of inter-encoded frames from an encoding device, decoding the received plurality of frames, and causing a display unit to reproduce the moving image;
a control step of receiving interval information indicating an interval of the first frame among the plurality of frames from the encoding device, and displaying an image based on the received interval information on the display unit together with the moving image being reproduced; Including how to play.
請求項11に記載の再生方法をコンピュータに実行させるためのプログラム。 A program for causing a computer to execute the reproduction method according to claim 11. 動画を構成する複数のフレームであって、前記複数のフレームのうち所定間隔の第一フレームがフレーム内符号化されていて、前記複数のフレームのうちの前記第一フレーム以外の第二フレームがフレーム間符号化されている複数のフレームと、前記複数のフレームのうちフレーム内符号化されたフレームの間隔を示す間隔情報とを、符号化装置から受信する受信ステップと、
受信した前記間隔情報を用いて、受信した前記複数のフレームのうちフレーム間符号化されたフレームを特定する特定ステップと、
前記符号化装置から受信した前記第一フレームの全部と、前記符号化装置から受信した前記第二フレームのうち、前記特定ステップで特定した前記フレームの少なくとも一部を除く1以上のフレームを用いて動画ファイルを作成する作成ステップとを含む
作成方法。
A plurality of frames constituting a moving image, wherein first frames at predetermined intervals among the plurality of frames are intra-frame coded, and second frames other than the first frame among the plurality of frames are frames. a receiving step of receiving, from an encoding device, a plurality of inter-encoded frames and interval information indicating an interval between intra-encoded frames among the plurality of frames;
an identifying step of identifying an inter-coded frame among the plurality of received frames using the received interval information;
using one or more frames among all of the first frames received from the encoding device and the second frames received from the encoding device , excluding at least part of the frames identified in the identifying step and a creation step of creating a video file.
JP2019137675A 2019-07-26 2019-07-26 Encoding device, playback device, creation device, playback system, encoding method, playback method, creation method, and program Active JP7136458B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019137675A JP7136458B2 (en) 2019-07-26 2019-07-26 Encoding device, playback device, creation device, playback system, encoding method, playback method, creation method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019137675A JP7136458B2 (en) 2019-07-26 2019-07-26 Encoding device, playback device, creation device, playback system, encoding method, playback method, creation method, and program

Publications (2)

Publication Number Publication Date
JP2021022810A JP2021022810A (en) 2021-02-18
JP7136458B2 true JP7136458B2 (en) 2022-09-13

Family

ID=74574476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019137675A Active JP7136458B2 (en) 2019-07-26 2019-07-26 Encoding device, playback device, creation device, playback system, encoding method, playback method, creation method, and program

Country Status (1)

Country Link
JP (1) JP7136458B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120958794A (en) * 2023-04-20 2025-11-14 Oppo广东移动通信有限公司 Decoding methods, encoding methods, decoders, and encoders

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004064300A (en) 2002-07-26 2004-02-26 Sony Corp Image transmission system, image transmission device, and image reception device
JP2005318190A (en) 2004-04-28 2005-11-10 Hitachi Ltd Method and system for video distribution
JP2006319962A (en) 2005-04-15 2006-11-24 Sony Corp Program, decoding device, decoding method, and recording medium
JP2007243982A (en) 2001-03-29 2007-09-20 Matsushita Electric Ind Co Ltd Data reproducing apparatus and data reproducing method
WO2011013349A1 (en) 2009-07-31 2011-02-03 パナソニック株式会社 Video data processing device and video data processing system
JP2011071833A (en) 2009-09-28 2011-04-07 Brother Industries Ltd Communication terminal device, terminal control method, and terminal control program
JP2014187448A (en) 2013-03-22 2014-10-02 Fujitsu Ltd Video distribution system and decoder, and video distribution method
JP2016195385A (en) 2015-03-16 2016-11-17 アクシス アーベー Method and system for generating a video sequence of events, and a camera comprising such a system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8315307B2 (en) * 2004-04-07 2012-11-20 Qualcomm Incorporated Method and apparatus for frame prediction in hybrid video compression to enable temporal scalability
JP6961443B2 (en) * 2017-09-29 2021-11-05 キヤノン株式会社 Image processing equipment, image processing methods, and programs

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007243982A (en) 2001-03-29 2007-09-20 Matsushita Electric Ind Co Ltd Data reproducing apparatus and data reproducing method
JP2004064300A (en) 2002-07-26 2004-02-26 Sony Corp Image transmission system, image transmission device, and image reception device
JP2005318190A (en) 2004-04-28 2005-11-10 Hitachi Ltd Method and system for video distribution
JP2006319962A (en) 2005-04-15 2006-11-24 Sony Corp Program, decoding device, decoding method, and recording medium
WO2011013349A1 (en) 2009-07-31 2011-02-03 パナソニック株式会社 Video data processing device and video data processing system
JP2011071833A (en) 2009-09-28 2011-04-07 Brother Industries Ltd Communication terminal device, terminal control method, and terminal control program
JP2014187448A (en) 2013-03-22 2014-10-02 Fujitsu Ltd Video distribution system and decoder, and video distribution method
JP2016195385A (en) 2015-03-16 2016-11-17 アクシス アーベー Method and system for generating a video sequence of events, and a camera comprising such a system

Also Published As

Publication number Publication date
JP2021022810A (en) 2021-02-18

Similar Documents

Publication Publication Date Title
US11582531B2 (en) Intermediate key frame selection and animation
US10382830B2 (en) Trick play in digital video streaming
WO2016131223A1 (en) Frame loss method for video frame and video sending apparatus
CN104685873B (en) Encoding controller and coding control method
CN110582012B (en) Video switching method, video processing device and storage medium
CN102264004A (en) Method and device for preventing deficiency of key frame from causing seek incapability
CN104394426A (en) Rate playing method and device of stream media
JP2009540747A (en) Method and system for processing digital video
US20100247066A1 (en) Method and apparatus for reverse playback of encoded multimedia content
CN104079869A (en) Method and client side for previewing multi-channel code streams
JP7553679B2 (en) Encoder and method for encoding tile-based immersive video - Patents.com
JP7136458B2 (en) Encoding device, playback device, creation device, playback system, encoding method, playback method, creation method, and program
WO2016036009A1 (en) Method for reproducing video
JP2000350217A (en) Moving image transmitting / receiving device and moving image data recording medium
US20240291882A1 (en) Video Encoding Dynamic Reference Frame Selection
CN114513658B (en) Video loading method, device, equipment and medium
JP5672320B2 (en) Decoder device
JP6490945B2 (en) Image processing device
CN117768660A (en) Data processing method, device, apparatus, medium and program product
CN115567757A (en) Play processing method, device, equipment and storage medium
JP2008283253A (en) Image transmission system, image encoding device, and image decoding device
JP2012175488A (en) Motion picture distribution apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220119

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20220119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220322

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220520

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: 20220823

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220825

R150 Certificate of patent or registration of utility model

Ref document number: 7136458

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250