JP2007267144A - Method for distributing information, server device and program - Google Patents

Method for distributing information, server device and program Download PDF

Info

Publication number
JP2007267144A
JP2007267144A JP2006090747A JP2006090747A JP2007267144A JP 2007267144 A JP2007267144 A JP 2007267144A JP 2006090747 A JP2006090747 A JP 2006090747A JP 2006090747 A JP2006090747 A JP 2006090747A JP 2007267144 A JP2007267144 A JP 2007267144A
Authority
JP
Japan
Prior art keywords
video data
key frame
information
appearance position
index file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2006090747A
Other languages
Japanese (ja)
Inventor
Chihiro Harada
千尋 原田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2006090747A priority Critical patent/JP2007267144A/en
Publication of JP2007267144A publication Critical patent/JP2007267144A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a server device reducing a storage capacity required for corresponding to the requirement of a high-speed reproduction. <P>SOLUTION: The server device has a storage section storing an index file describing an information containing time stamps for key frames, the place of an appearance and the quantity of data at every image data and every key frame in the image data. The server device further has a control section specifying the key frame from the index file in response to the time elapsed and a scale factor after the time of the reception of a requirement signal and transmitting the specified key frame at an information terminal when the image data are reproduced and the requirement signal containing the indication of the high-speed reproduction or a reverse high-speed reproduction and the information of the scale factor is received from the information terminal during a transmission to the information terminal through a network. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、ストリーミング配信における情報配信方法、サーバ装置およびその方法をコンピュータに実行させるためのプログラムに関する。   The present invention relates to an information distribution method in streaming distribution, a server apparatus, and a program for causing a computer to execute the method.

ブロードバンド伝送技術と情報圧縮技術の発達により、インターネットなどのネットワークを介して、ラジオやテレビのように音声や映像などを多くの情報端末に配信することが可能になった。この情報配信方法の1つに、ストリーミング配信がある。ストリーミング配信では、サービスを提供する側のサーバがネットワークを介して音声や映像のファイルを送信し、サービスを利用するクライアント側の情報端末は、受信するファイルを保存しながら再生を行う。そのため、クライアントは、ファイルが全てダウンロードされるまで待つ必要がなく、聞きたい音楽や見たい映像をすぐに再生させることができる。   With the development of broadband transmission technology and information compression technology, it has become possible to distribute audio and video to many information terminals, such as radio and television, via networks such as the Internet. One of the information distribution methods is streaming distribution. In streaming distribution, a server providing a service transmits audio and video files via a network, and an information terminal on the client side using the service performs reproduction while storing the received file. Therefore, the client does not need to wait until all the files are downloaded, and can immediately play the music that the user wants to listen to or the video that the user wants to watch.

ストリーミング配信のサービスにおいて、サーバは、クライアントからの多様な視聴モード要求に応じた配信を行う。視聴モードには、オリジナルの速度での再生(通常モードと称する)、早送りしながら再生を行う高速再生(高速モードと称する)、および巻き戻しをしながら再生を行う逆高速再生(逆高速モードと称する)などがある。従来の高速再生および逆高速再生の方式では、サーバが高速再生用ファイルを事前に作成し、高速再生や逆高速再生の要求があると、事前に作成した高速再生用ファイルをその要求元に送信していた(特許文献1参照)。
特開平08−331509号公報
In the streaming distribution service, the server performs distribution in response to various viewing mode requests from clients. The viewing mode includes playback at the original speed (referred to as a normal mode), high-speed playback that performs playback while fast-forwarding (referred to as high-speed mode), and reverse high-speed playback that performs playback while rewinding (reverse high-speed mode). For example). In the conventional high-speed playback and reverse high-speed playback methods, the server creates a file for high-speed playback in advance, and when there is a request for high-speed playback or reverse high-speed playback, the file for high-speed playback created in advance is sent to the request source. (See Patent Document 1).
Japanese Patent Laid-Open No. 08-331509

高速再生および逆高速再生では、クライアント側でその倍率を選択可能にしている。従来の方式では、複数種の倍率に対応可能にするために、高速再生用のファイルを複数種準備していた。そして、クライアント側で通常再生中に高速再生の要求があると、選択された倍率に対応して、送信ファイルを通常再生ファイルから高速再生用ファイルに切り替え、高速倍率の映像配信を行っていた。そのため、事前に準備した、複数種の倍率の高速再生用ファイルの映像しか配信できなかった。また、事前に作成した高速再生用ファイルを保存するために、通常再生ファイルとは別のディスク容量を必要とした。   In high-speed playback and reverse high-speed playback, the magnification can be selected on the client side. In the conventional method, a plurality of types of files for high-speed playback are prepared in order to be able to handle a plurality of types of magnifications. When there is a request for high-speed playback during normal playback on the client side, the transmission file is switched from the normal playback file to the file for high-speed playback in accordance with the selected magnification, and video distribution at high speed is performed. For this reason, it was possible to distribute only videos of high-speed playback files with multiple magnifications prepared in advance. In addition, in order to store the file for high-speed playback created in advance, a disk capacity different from that for the normal playback file is required.

本発明は上述したような従来の技術が有する問題点を解決するためになされたものであり、高速再生の要求に応えるために必要とする記憶容量を削減した情報配信方法、サーバ装置、およびその方法をコンピュータに実行させるためのプログラムを提供することを目的とする。   The present invention has been made in order to solve the problems of the conventional techniques as described above, and an information distribution method, a server apparatus, and a method for reducing the storage capacity required to meet the demand for high-speed playback. An object is to provide a program for causing a computer to execute the method.

上記目的を達成するための本発明の情報配信方法は、ネットワークを介して接続される情報端末に映像データを配信するためのサーバ装置による情報配信方法であって、
記憶部に格納された前記映像データについて該映像データ内のキーフレーム毎に、該キーフレームのタイムスタンプ、出現位置、およびデータ量を含む情報を記述したインデックスファイルを生成して前記記憶部に格納し、
前記映像データを再生して前記情報端末に対して送信中に、高速再生または逆高速再生の指示と倍率の情報を含む要求信号を該情報端末から受信すると、該要求信号の受信時からの経過時間および前記倍率に対応して前記インデックスファイルからキーフレームを特定し、
特定したキーフレームを前記情報端末に送信するものである。
An information distribution method of the present invention for achieving the above object is an information distribution method by a server device for distributing video data to an information terminal connected via a network,
For each of the video data stored in the storage unit, an index file describing information including a time stamp, an appearance position, and a data amount of the key frame is generated and stored in the storage unit. And
While the video data is being reproduced and transmitted to the information terminal, if a request signal including a high-speed playback or reverse high-speed playback instruction and magnification information is received from the information terminal, the elapsed time from the reception of the request signal Identify keyframes from the index file corresponding to time and the magnification,
The identified key frame is transmitted to the information terminal.

本発明では、インデックスファイルを予め登録しておくことで、高速再生または逆高速再生の指示と倍率の情報を含む指示を受けたとき、インデックスファイルを参照して、指示受信時からの経過時間と倍率に対応する時間に再生すべきキーフレームをタイムスタンプ、出現位置およびデータ量で特定することが可能となる。そのため、任意の倍率に対して映像データを情報端末に送信することが可能となる。   In the present invention, by registering the index file in advance, when receiving an instruction for high-speed playback or reverse high-speed playback and an instruction including magnification information, the index file is referred to and the elapsed time from the reception of the instruction A key frame to be reproduced at a time corresponding to the magnification can be specified by a time stamp, an appearance position, and a data amount. For this reason, video data can be transmitted to the information terminal for an arbitrary magnification.

一方、上記目的を達成するための本発明のサーバ装置は、ネットワークを介して接続される情報端末に映像データを配信するサーバ装置であって、
前記映像データ、ならびに該映像データ内のキーフレーム毎に、該キーフレームのタイムスタンプ、出現位置、およびデータ量を含む情報を記述したインデックスファイルが格納された記憶部と、
前記映像データを再生して前記情報端末に対して送信中に高速再生または逆高速再生の指示と倍率の情報を含む要求信号を該情報端末から受信すると、該要求信号の受信時からの経過時間および前記倍率に対応して前記インデックスファイルからキーフレームを特定し、特定したキーフレームを該情報端末に送信する制御部と、
を有する構成である。
On the other hand, a server device of the present invention for achieving the above object is a server device that distributes video data to information terminals connected via a network,
For each key frame in the video data and the video data, a storage unit in which an index file describing information including a time stamp of the key frame, an appearance position, and a data amount is stored;
When a request signal including a high-speed playback or reverse high-speed playback instruction and magnification information is received from the information terminal during playback of the video data and transmission to the information terminal, an elapsed time from the reception of the request signal And a control unit for identifying a key frame from the index file corresponding to the magnification and transmitting the identified key frame to the information terminal;
It is the structure which has.

また、上記目的を達成するための本発明のプログラムは、ネットワークを介して接続される情報端末に映像データを配信するコンピュータに実行させるためのプログラムであって、
記憶部に格納された前記映像データについて該映像データ内のキーフレーム毎に、該キーフレームのタイムスタンプ、出現位置、およびデータ量を含む情報を記述したインデックスファイルを生成して前記記憶部に格納するステップと、
前記映像データを再生して前記情報端末に対して送信中に、高速再生または逆高速再生の指示と倍率の情報を含む要求信号を該情報端末から受信すると、該要求信号の受信時からの経過時間および前記倍率に対応して前記インデックスファイルからキーフレームを特定するキーフレーム特定ステップと、
特定したキーフレームを前記情報端末に送信するステップと、
を有する処理を前記コンピュータに実行させるものである。
A program of the present invention for achieving the above object is a program for causing a computer that distributes video data to an information terminal connected via a network,
For each of the video data stored in the storage unit, an index file describing information including the time stamp, appearance position, and data amount of the key frame is generated and stored in the storage unit. And steps to
While the video data is being reproduced and transmitted to the information terminal, if a request signal including a high-speed playback or reverse high-speed playback instruction and magnification information is received from the information terminal, the elapsed time from the reception of the request signal A key frame specifying step of specifying a key frame from the index file corresponding to the time and the magnification;
Transmitting the identified key frame to the information terminal;
The computer is caused to execute a process having

本発明によれば、高速再生および逆高速再生を行うために事前に映像データから高速再生用ファイルを作成する必要がない。そのため、記憶領域に格納される高速再生用ファイル分の容量を削減でき、記憶領域をより有効に活用できる。また、任意の倍率であっても、インデックスファイルを参照することで配信するキーフレームの位置およびサイズを容易に取得でき、任意の倍率で高速再生および逆高速再生の配信ができる。   According to the present invention, it is not necessary to create a high-speed playback file from video data in advance in order to perform high-speed playback and reverse high-speed playback. Therefore, it is possible to reduce the capacity of the file for high-speed playback stored in the storage area, and to use the storage area more effectively. In addition, even at an arbitrary magnification, the position and size of a key frame to be distributed can be easily obtained by referring to the index file, and high-speed reproduction and reverse high-speed reproduction can be distributed at an arbitrary magnification.

本発明の情報配信方法は、映像データ内のキーフレーム毎にタイムスタンプを含む情報を記述したインデックスファイルを予め登録し、高速再生の要求があると、インデックスファイルを参照して送信すべきキーフレームを特定することを特徴とする。   In the information distribution method of the present invention, an index file describing information including a time stamp is registered in advance for each key frame in video data, and when there is a request for high-speed reproduction, a key frame to be transmitted with reference to the index file It is characterized by specifying.

本実施例のサーバの構成を説明する。図1は本実施例のサーバの一構成例を示すブロック図である。   The configuration of the server of this embodiment will be described. FIG. 1 is a block diagram illustrating a configuration example of a server according to this embodiment.

サーバ11は、記憶装置12と、インデックスファイル作成部13と、配信位置算出部14と、映像データ配信部15とを有する。映像データ配信部15は、データ取得部18およびデータ送信部19を有する構成である。また、サーバ11は、プログラムにしたがって所定の処理を実行するCPU(Central Processing Unit)(不図示)と、プログラムを格納するためのメモリ(不図示)とが設けられている。インデックスファイル作成部13および配信位置算出部14は、CPUがプログラムを実行することでサーバ11内に仮想的に構成される。そして、インデックスファイル作成部13および配信位置算出部14を含む構成が制御部として機能する。データ送信部19はネットワークを介して外部の情報端末(不図示)と接続される。外部の情報端末は、映像データの高速再生および逆高速再生のサービスを利用するクライアント側に設けられている。   The server 11 includes a storage device 12, an index file creation unit 13, a distribution position calculation unit 14, and a video data distribution unit 15. The video data distribution unit 15 includes a data acquisition unit 18 and a data transmission unit 19. Further, the server 11 is provided with a CPU (Central Processing Unit) (not shown) that executes predetermined processing according to a program, and a memory (not shown) for storing the program. The index file creation unit 13 and the delivery position calculation unit 14 are virtually configured in the server 11 when the CPU executes a program. And the structure containing the index file preparation part 13 and the delivery position calculation part 14 functions as a control part. The data transmitter 19 is connected to an external information terminal (not shown) via a network. The external information terminal is provided on the client side that uses high-speed playback and reverse high-speed playback services for video data.

記憶装置12は、ハードディスクおよび半導体メモリ等の記憶装置である。記憶装置12には、コンテンツデータとして予め映像データ16が登録されている。また、再生時間や演算結果など処理に関する様々な情報が格納される。映像データには、画像に関するビデオデータと音声に関するオーディオデータが含まれているが、本発明は高速再生および逆高速再生に関するものなので、以下では、ビデオデータを中心に説明する。一般的に、映像データは、一定の間隔で挿入されるフレームであるキーフレームと、キーフレーム間の差分情報を持つフレームとを有する構成である。キーフレームは、画像情報と、再生開始から自身が描画される時刻を示すタイムスタンプの情報を有している。キーフレーム間の画像は、キーフレームの画像情報とキーフレーム間の差分情報を用いて復元される。   The storage device 12 is a storage device such as a hard disk and a semiconductor memory. In the storage device 12, video data 16 is registered in advance as content data. In addition, various information relating to processing such as reproduction time and calculation results are stored. The video data includes video data related to images and audio data related to audio. Since the present invention relates to high-speed playback and reverse high-speed playback, video data will be mainly described below. In general, video data has a configuration including a key frame that is a frame inserted at a constant interval and a frame having difference information between the key frames. The key frame has image information and time stamp information indicating the time when the image is drawn from the start of reproduction. An image between key frames is restored using image information of key frames and difference information between key frames.

インデックスファイル作成部13は、映像データ16内のキーフレームを全て抽出し、キーフレーム毎に、キーフレームが持つタイムスタンプと、キーフレームの出現位置と、キーフレームのサイズとの情報を記録したインデックスファイル17を生成して記憶部12に格納する。   The index file creation unit 13 extracts all the key frames in the video data 16, and for each key frame, an index that records information on the time stamp of the key frame, the appearance position of the key frame, and the size of the key frame. A file 17 is generated and stored in the storage unit 12.

配信位置算出部14は、配信する映像データ16内の配信開始位置および配信データ量(配信サイズ)を求める。データ取得部18は、配信位置算出部14から配信開始位置および配信サイズの情報を受け取ると、その情報に基づいて記憶部12の映像データ16からビデオデータを抽出する。データ送信部19は、データ取得部18が抽出したビデオデータを、ネットワークを通してクライアントの情報端末に送信する。   The distribution position calculation unit 14 obtains a distribution start position and distribution data amount (distribution size) in the video data 16 to be distributed. When the data acquisition unit 18 receives information on the distribution start position and the distribution size from the distribution position calculation unit 14, the data acquisition unit 18 extracts video data from the video data 16 in the storage unit 12 based on the information. The data transmission unit 19 transmits the video data extracted by the data acquisition unit 18 to the client information terminal through the network.

以下では、映像データ16として、ビデオデータおよびオーディオデータが多重化されたMPEG2-TS(トランスポートストリーム)形式の映像データ(以下では、MPEG2 TSデータと表記する)とする。   Hereinafter, the video data 16 is video data in the MPEG2-TS (transport stream) format in which video data and audio data are multiplexed (hereinafter referred to as MPEG2 TS data).

ここで、トランスポートストリーム(TS)の構造を簡単に説明する。図2はトランスポートストリームの構造を示す図である。トランスポートストリームは188bytesの固定長パケットであるTSパケットが複数個集まって構成される。1つのTSパケットは、TSヘッダとTSペイロードとで構成され、TSヘッダ内にはPID(Packet Identification)と呼ばれるTSペイロードの属性を示す識別子が記録されている。同一の画像のTSパケットのTSヘッダには同一のPIDが記録されている。また、TSペイロードには、ビデオデータおよびオーディオデータのそれぞれについて個別のPES(Packetized Elementary Stream)パケットが含まれている。ビデオデータには、デコーダがビデオデータを復元するときに必要なシーケンスヘッダ(SH)が含まれている。SHには、タイムスタンプの情報を有するPESヘッダが含まれている。キーフレームのPESヘッダには、タイムスタンプの他、キーフレームの出現位置およびキーフレーム長の情報が含まれている。   Here, the structure of the transport stream (TS) will be briefly described. FIG. 2 shows the structure of the transport stream. The transport stream is composed of a plurality of TS packets that are fixed-length packets of 188 bytes. One TS packet is composed of a TS header and a TS payload, and an identifier indicating a TS payload attribute called PID (Packet Identification) is recorded in the TS header. The same PID is recorded in the TS header of TS packets of the same image. In addition, the TS payload includes individual PES (Packetized Elementary Stream) packets for each of video data and audio data. The video data includes a sequence header (SH) necessary for the decoder to restore the video data. The SH includes a PES header having time stamp information. The PES header of the key frame includes information on the appearance position of the key frame and the key frame length in addition to the time stamp.

続いて、インデックスファイル作成部13の構成を詳細に説明する。図3は本実施例のサーバの一構成例を示すブロック図である。図3に示すように、インデックスファイル作成部13は、A/V分離部20およびビデオデータ処理部30を有する構成である。A/V分離部20はMPEG2 TSデータ26からビデオデータおよびオーディオデータを分離する。ビデオデータ処理部30はビデオデータ内からキーフレームを検索する。   Next, the configuration of the index file creation unit 13 will be described in detail. FIG. 3 is a block diagram illustrating a configuration example of the server according to the present embodiment. As shown in FIG. 3, the index file creation unit 13 has an A / V separation unit 20 and a video data processing unit 30. The A / V separator 20 separates video data and audio data from the MPEG2 TS data 26. The video data processing unit 30 searches for key frames from the video data.

図4は図3に示したインデックスファイル作成部の一構成例を示すブロック図である。図4に示すように、A/V分離部20はTSパケット解析部21およびTSパケット分離部22を有する。また、ビデオデータ処理部30は、SH検索部31、PESパラメータ抽出部32、およびインデックス作成部33を有する。   FIG. 4 is a block diagram showing a configuration example of the index file creation unit shown in FIG. As shown in FIG. 4, the A / V separator 20 includes a TS packet analyzer 21 and a TS packet separator 22. The video data processing unit 30 includes an SH search unit 31, a PES parameter extraction unit 32, and an index creation unit 33.

TSパケット解析部21は、MPEG2 TSデータ26内のTSパケットに含まれるPIDを解析する。TSパケット分離部22は、TSパケット解析部21で解析したPIDよりビデオデータを抽出する。SH検索部31は、TSパケット分離部22で抽出されたビデオデータ内からSHを検索する。PESパラメータ抽出部32は、SH検索部31で検索されたSHからPESヘッダを検索し、PESヘッダからキーフレームに関する情報を取得する。インデックス作成部33は、PESパラメータ抽出部32で取得したパラメータを元にインデックスファイル17に追記する。   The TS packet analysis unit 21 analyzes the PID included in the TS packet in the MPEG2 TS data 26. The TS packet separation unit 22 extracts video data from the PID analyzed by the TS packet analysis unit 21. The SH search unit 31 searches for the SH from the video data extracted by the TS packet separation unit 22. The PES parameter extraction unit 32 searches the PES header from the SH searched by the SH search unit 31, and acquires information on the key frame from the PES header. The index creation unit 33 appends to the index file 17 based on the parameters acquired by the PES parameter extraction unit 32.

図5に映像データとインデックスファイルの構成イメージを示す。図5を用いてインデックスファイルの作成方法を簡単に説明する。まず、映像データ16からキーフレーム2a、2b、…を抽出する。続いて、記憶部12に格納されたインデックスファイル17のフォーマットに、キーフレーム2aから最後のキーフレーム(不図示)まで順に、キーフレームのタイムスタンプ4、キーフレームの出現位置(offset)5、およびキーフレームのサイズ6をキーフレーム毎に書き込む。キーフレーム1つ分のタイムスタンプ4、Offset5およびサイズ6を含む情報をインデックスと称する。   FIG. 5 shows a configuration image of video data and an index file. An index file creation method will be briefly described with reference to FIG. First, key frames 2a, 2b,... Are extracted from the video data 16. Subsequently, in the format of the index file 17 stored in the storage unit 12, in order from the key frame 2a to the last key frame (not shown), the key frame time stamp 4, the key frame appearance position (offset) 5, and The key frame size 6 is written for each key frame. Information including the time stamp 4, Offset 5 and size 6 for one key frame is referred to as an index.

配信位置算出部14は、クライアントの情報端末に対して通常モードで映像データを送信中に、n倍速の高速再生を要求する旨の信号をその情報端末から受信すると、映像データの最初めから通常モードで再生した場合の経過時間である再生時間s [sec] を記憶部12に記録する。続いて、MPEG2 TSデータ26から高速再生用のデータを次のようにして求める。ここで、2つの関数Fo (x)とFs (x)の定義をする。関数Fo (x) は、インデックスファイル17の中で、Offsetの値がx [sec] 秒以上のキーフレームのうち、キーフレームのOffsetが最小値のものを示す。また、Fs (x)は、インデックスファイル17の中で、Offsetの値がx [sec] 秒以上のキーフレームのうち、Offsetが最小のキーフレームのサイズを示すものである。配信位置算出部14は、高速再生を開始してからの経過時間p[sec]に対応するビデオデータの配信開始位置としてFo (s+p×n) [byte] を求め、その配信サイズとしてFs (s+p×n) [byte] を求める。   When the distribution position calculation unit 14 receives a signal requesting high-speed playback at n times speed from the information terminal while transmitting the video data to the client information terminal in the normal mode, the distribution position calculation unit 14 The playback time s [sec], which is the elapsed time when played back in the mode, is recorded in the storage unit 12. Subsequently, data for high speed reproduction is obtained from the MPEG2 TS data 26 as follows. Here, two functions Fo (x) and Fs (x) are defined. The function Fo (x) indicates a key frame whose offset value is the minimum value among the key frames whose offset value is x [sec] seconds or more in the index file 17. Further, Fs (x) indicates the size of the key frame having the smallest Offset among the key frames having the Offset value of x [sec] seconds or more in the index file 17. The distribution position calculation unit 14 obtains Fo (s + p × n) [byte] as the distribution start position of the video data corresponding to the elapsed time p [sec] from the start of the high-speed playback, and Fs (s + p) as the distribution size. Xn) Calculate [byte].

このようにして求めた、ビデオデータの配信開始位置および配信サイズの情報をデータ取得部18に渡す。これらの情報をデータ取得部18に渡す処理を、映像データ16が終了するまで、またはクライアントの情報端末から高速再生を停止する旨の信号である高速再生停止信号を受信するまで、一定の時間間隔で繰り返し行う。   Information on the distribution start position and distribution size of the video data obtained in this way is passed to the data acquisition unit 18. Processing for passing these pieces of information to the data acquisition unit 18 is performed at regular time intervals until the video data 16 is completed or a high-speed playback stop signal, which is a signal to stop high-speed playback, is received from the client information terminal. Repeat with.

また、配信位置算出部14は、m倍速(mは正の数)の逆高速再生を要求する旨の信号である逆高速再生要求信号を受信すると、高速再生の場合と同様に、要求信号受信時における再生時間s [sec] を記憶する。続いて、逆高速再生を開始してからの経過時間p[sec]に対応するビデオデータの配信開始位置としてRo (s−p×m) [byte]を求め、その配信サイズとしてRs (s−p×m) [byte]を求める。ただし、関数Ro (x) は、インデックスファイル17の中で、Offsetがx [sec] 秒未満のキーフレームのうち、キーフレームのOffsetが最大のものを示す。また、関数Rs (x)は、インデックスファイル17の中で、Offsetがx [sec] 秒未満のキーフレームのうち、Offsetが最大のキーフレームのサイズの値を示すものである。   When the delivery position calculation unit 14 receives a reverse high-speed playback request signal that is a signal for requesting reverse high-speed playback at m times speed (m is a positive number), the distribution position calculation unit 14 receives a request signal as in the case of high-speed playback. The playback time s [sec] at the time is stored. Subsequently, Ro (s−p × m) [byte] is obtained as the distribution start position of the video data corresponding to the elapsed time p [sec] since the start of the reverse high-speed playback, and Rs (s− p × m) [byte] is obtained. However, the function Ro (x) indicates a key frame whose offset is the largest among the key frames whose offset is less than x [sec] seconds in the index file 17. The function Rs (x) indicates the size value of the key frame having the maximum offset among the key frames in which the offset is less than x [sec] seconds in the index file 17.

このようにして求めた、ビデオデータの配信開始位置および配信サイズの情報をデータ取得部18に渡す処理を、映像データ16が終了するまで、またはクライアントの情報端末から逆高速再生を停止する旨の信号である逆高速再生停止信号を受信するまで、一定の時間間隔で繰り返し行う。   The processing of passing the information on the distribution start position and distribution size of the video data obtained in this way to the data acquisition unit 18 is to stop reverse high-speed playback until the video data 16 ends or from the client information terminal. This is repeated at regular time intervals until a reverse fast playback stop signal, which is a signal, is received.

次に、本実施例のサーバによる、キーフレームの検索方法およびインデックスファイルの作成方法について説明する。図6はMPEG2 TSデータを用いてインデックスファイルを作成するまでの手順を示すフローチャートである。   Next, a key frame search method and an index file creation method by the server of this embodiment will be described. FIG. 6 is a flowchart showing a procedure for creating an index file using MPEG2 TS data.

TSパケット解析部21がMPEG2 TSデータ26からビデオデータのPIDを取得する(ステップ101)。TSパケット分離部22は、TSパケット解析部21で取得したPIDを元に、MPEG2 TSデータ26内からビデオデータを検索する(ステップ102)。TSパケット分離部22がPIDを持つパケットを見付けると(ステップ103)、SH検索部31は、TSパケット分離部22で抽出されたビデオデータ内からSHの開始同期コードである"00 00 01 B3 (H)"を検索する(ステップ104)。SHが見付からなかった場合は、次のビデオデータを検索するため、TSパケット分離部22に処理を戻す(ステップ105)。   The TS packet analysis unit 21 acquires the PID of the video data from the MPEG2 TS data 26 (Step 101). The TS packet separation unit 22 searches video data from the MPEG2 TS data 26 based on the PID acquired by the TS packet analysis unit 21 (step 102). When the TS packet separation unit 22 finds a packet having a PID (step 103), the SH search unit 31 “00 00 01 B3 (SH start synchronization code) from the video data extracted by the TS packet separation unit 22 H) "is searched (step 104). If the SH is not found, the process is returned to the TS packet separator 22 in order to search for the next video data (step 105).

一方、ステップ105でSH検索部31がSHを見付けると、PESパラメータ抽出部32がSHからPESヘッダを検索する(ステップ106)。そして、PESヘッダを見付けると、PESヘッダからキーフレームが持つタイムスタンプと、キーフレームの出現位置と、キーフレーム長との情報を含むキーフレームの情報を取得する(ステップ107)。MPEG2 TSデータ26の構造上、キーフレームは連続して格納されていないため、キーフレームの出現位置からキーフレーム長に達するまでのデータ量をキーフレームのサイズとして記録する。インデックス作成部33は、PESパラメータ抽出部32で取得したパラメータを元にインデックスを作成し、インデックスファイル17に追記する(ステップ108)。このようにして、ステップ103からステップ108までの処理をMPEG2 TSデータ26内のビデオデータの終端まで行う(ステップ102)。   On the other hand, when the SH search unit 31 finds SH in step 105, the PES parameter extraction unit 32 searches the PES header from the SH (step 106). When the PES header is found, key frame information including information on the time stamp of the key frame, the appearance position of the key frame, and the key frame length is acquired from the PES header (step 107). Due to the structure of the MPEG2 TS data 26, key frames are not stored continuously, so the amount of data from the appearance position of the key frame to the key frame length is recorded as the key frame size. The index creation unit 33 creates an index based on the parameters acquired by the PES parameter extraction unit 32 and adds the index to the index file 17 (step 108). In this way, the processing from step 103 to step 108 is performed up to the end of the video data in the MPEG2 TS data 26 (step 102).

次に、本実施例のサーバによる高速再生の動作を説明する。図7は本実施例のサーバによる、高速再生の動作手順を示すフローチャートである。ここでは、映像データ16の再生時間s [sec] の時点で、n倍速での高速再生を要求する旨の信号である高速再生要求信号をクライアントの情報端末から受信したものと仮定し、インデックスファイルを用いた高速モードの配信方法を説明する。ただし、nは正の数とする。   Next, the operation of high-speed playback by the server of this embodiment will be described. FIG. 7 is a flowchart showing an operation procedure of high-speed playback by the server of this embodiment. Here, it is assumed that at the time of the reproduction time s [sec] of the video data 16, a high-speed reproduction request signal, which is a signal requesting high-speed reproduction at n times speed, is received from the client information terminal, and the index file A high-speed mode distribution method using the above will be described. However, n is a positive number.

配信位置算出部14は、n倍速の高速再生要求信号を受信すると、要求信号受信時における再生時間s [sec] を記憶部12に記録する(ステップ201)。続いて、高速再生を開始してからの経過時間p[sec]に対応するビデオデータの配信開始位置としてFo (s+p×n) [byte] を求め、その配信サイズとしてFs (s+p×n) [byte] を求める(ステップ202)。   When the distribution position calculation unit 14 receives the n-times high-speed reproduction request signal, the distribution position calculation unit 14 records the reproduction time s [sec] at the time of receiving the request signal in the storage unit 12 (step 201). Subsequently, Fo (s + p × n) [byte] is obtained as the video data distribution start position corresponding to the elapsed time p [sec] since the start of high-speed playback, and the distribution size is Fs (s + p × n) [ byte] is obtained (step 202).

データ取得部18は、配信位置算出部14が求めた配信開始位置と配信サイズの情報を取得すると、その情報に基づいて映像データ16内からビデオデータを抽出する(ステップ203)。続いて、データ送信部19は、データ取得部18が抽出したビデオデータを、ネットワークを介してクライアントの情報端末に送信する(ステップ204)。その後、一定時間間隔でステップ202からステップ204の処理を、映像データ16の終了まで、またはクライアントの情報端末から高速再生停止信号を受信するまで行う(ステップ205)。なお、クライアントの情報端末への送信ビットレートは、ネットワークの使用帯域を増加させないために、通常モード時と等しい速度にする。   When the data acquisition unit 18 acquires the distribution start position and distribution size information obtained by the distribution position calculation unit 14, the data acquisition unit 18 extracts video data from the video data 16 based on the information (step 203). Subsequently, the data transmission unit 19 transmits the video data extracted by the data acquisition unit 18 to the client information terminal via the network (step 204). Thereafter, the processing from step 202 to step 204 is performed at regular time intervals until the end of the video data 16 or until a high-speed playback stop signal is received from the client information terminal (step 205). Note that the transmission bit rate of the client to the information terminal is set to the same speed as that in the normal mode so as not to increase the bandwidth used in the network.

次に、本実施例のサーバの逆高速再生の動作を簡単に説明する。ここでは、映像データ16の再生時間s [sec] の時点で、m倍速(mは正の数)の逆高速再生要求信号をクライアントの情報端末から受信したものと仮定し、インデックスファイルを用いた逆高速モードの配信方法を説明する。また、図7で説明した高速再生の場合と異なる処理を中心に説明する。   Next, the operation of reverse high-speed playback of the server of this embodiment will be briefly described. Here, it is assumed that an inverse high-speed playback request signal of m times speed (m is a positive number) is received from the client information terminal at the time of playback time s [sec] of the video data 16, and an index file is used. A delivery method in the reverse high-speed mode will be described. Further, a description will be made mainly on processing different from the case of the high-speed playback described in FIG.

配信位置算出部14は、m倍速の逆高速再生要求信号を受信すると、高速再生の場合と同様に、要求信号受信時の再生時間s [sec] を記録する。続いて、高速再生の場合と異なり、経過時間p[sec]に対応するビデオデータの配信開始位置Ro (s−p×m) [byte]と配信サイズRs (s−p×m) [byte]を求める。このようにして求めた配信開始位置および配信サイズのビデオデータをデータ取得部18が映像データ16で抽出し、抽出したビデオデータをデータ送信部19がクライアントの情報端末に送信する。映像データ16が終了するまで、またはクライアントの情報端末から逆高速再生停止信号を受信するまで、一定の時間間隔で繰り返し行う。   When the delivery position calculation unit 14 receives the m-times reverse high-speed playback request signal, it records the playback time s [sec] when the request signal is received, as in the case of high-speed playback. Subsequently, unlike high-speed playback, the video data distribution start position Ro (s−p × m) [byte] and distribution size Rs (s−p × m) [byte] corresponding to the elapsed time p [sec] Ask for. The data acquisition unit 18 extracts the video data of the distribution start position and the distribution size obtained in this way from the video data 16, and the data transmission unit 19 transmits the extracted video data to the information terminal of the client. The process is repeated at regular time intervals until the video data 16 is completed or a reverse fast playback stop signal is received from the client information terminal.

上述のようにして、本実施例のサーバは、高速再生を行う際、配信するデータの位置とサイズをインデックスファイルから取得することで、複数種の高速再生用ファイルを予め準備することなく、高速再生が可能となる。また、逆高速再生の場合も同様である。そのため、従来に比べて必要とするディスク容量を削減することが可能となる。   As described above, when performing high-speed playback, the server according to the present embodiment obtains the position and size of data to be distributed from the index file, so that a plurality of types of high-speed playback files are not prepared in advance. Playback is possible. The same applies to reverse high-speed playback. Therefore, it is possible to reduce the required disk capacity as compared with the conventional case.

なお、本実施例では、キーフレームを映像データ内に一定間隔で挿入する場合で説明したが、キーフレームの挿入間隔が一定でない映像データに本発明を適用してもよい。この場合、動きの多い映像と少ない映像とでキーフレームの挿入間隔を変えた映像データに対しても、高速再生および逆高速再生を上述の方法で行うことが可能である。従来よりもビデオデータを2倍以上圧縮した規格であるH.264/AVCのように、キーフレームが一定周期で格納されていない場合にも適用可能である。   In this embodiment, the case where the key frames are inserted into the video data at regular intervals has been described. However, the present invention may be applied to video data whose key frame insertion intervals are not constant. In this case, high-speed playback and reverse high-speed playback can be performed by the above-described method even for video data in which the key frame insertion interval is changed between a video with a lot of motion and a video with a small amount of motion. The present invention can also be applied to cases where key frames are not stored at a constant cycle, such as H.264 / AVC, which is a standard in which video data is compressed twice or more than before.

本実施例は、ストリーミングによるライブ配信の映像データに対して、動的にライブ映像データを蓄積しながらインデックスファイルも生成するものである。配信が終了した分の映像データに関して、高速再生および逆高速再生を可能する。   In this embodiment, an index file is generated while live video data is dynamically accumulated with respect to video data for live distribution by streaming. High-speed playback and reverse high-speed playback are possible for video data for which distribution has been completed.

図8は本実施例のサーバの一構成例を示すブロック図である。なお、実施例1と同様な構成については同一の符号を付し、その詳細な説明を省略する。   FIG. 8 is a block diagram showing an example of the configuration of the server of this embodiment. In addition, the same code | symbol is attached | subjected about the structure similar to Example 1, and the detailed description is abbreviate | omitted.

本実施例のサーバ51は、ネットワークに接続される映像データ受信部40と、映像データ蓄積部41とを有する。映像データ受信部40は、ネットワークを介して外部からライブ映像データを受信する。映像データ蓄積部41は映像データ受信部40で受信したライブ映像データを記憶部12の映像データ16に追記する。   The server 51 of this embodiment includes a video data receiving unit 40 and a video data storage unit 41 connected to a network. The video data receiving unit 40 receives live video data from the outside via a network. The video data storage unit 41 adds the live video data received by the video data receiving unit 40 to the video data 16 of the storage unit 12.

インデックス作成部43は、映像データ受信部40で受信するライブ映像データ内のキーフレームを全て抽出し、キーフレーム毎に、キーフレームが持つタイムスタンプ、キーフレームの出現位置、およびキーフレームのサイズの情報を記憶部12のインデックスファイル17に記録する。このように、映像データからキーフレームに関する情報を抽出してインデックスファイルを生成することを、「インデックス化」と称する。   The index creation unit 43 extracts all the key frames in the live video data received by the video data reception unit 40, and for each key frame, the time stamp of the key frame, the appearance position of the key frame, and the size of the key frame. Information is recorded in the index file 17 of the storage unit 12. In this manner, extracting information on key frames from video data to generate an index file is referred to as “indexing”.

インデックス作成部43および映像データ蓄積部41は、CPUがプログラムを実行することでサーバ51に仮想的に構成される。   The index creation unit 43 and the video data storage unit 41 are virtually configured in the server 51 when the CPU executes a program.

次に、本実施例のサーバの動作を図8を参照して説明する。なお、ここでは、実施例1と異なる動作を中心に説明し、実施例1と同様な動作の説明は省略する。   Next, the operation of the server of this embodiment will be described with reference to FIG. Here, the description will focus on operations different from those of the first embodiment, and description of operations similar to those of the first embodiment will be omitted.

映像データ受信部40は、ネットワークを介して受信するライブ映像データを映像データ蓄積部41とインデックス作成部43に渡す。インデックス作成部43は、映像データ受信部40で受信するライブ映像データのインデックス化を行う。これにより、ライブ映像データについてのキーフレームの情報がインデックスファイル17に追記される。一方、映像データ蓄積部41は、映像データ受信部40から受信したライブ映像データを記憶部12の映像データ16に追記する。   The video data receiving unit 40 passes live video data received via the network to the video data storage unit 41 and the index creation unit 43. The index creating unit 43 indexes live video data received by the video data receiving unit 40. As a result, key frame information about the live video data is added to the index file 17. On the other hand, the video data storage unit 41 appends the live video data received from the video data receiving unit 40 to the video data 16 of the storage unit 12.

上述のようにして、本実施例のサーバは、動的に蓄積される映像データに関して、その映像データを蓄積しながら、映像データに関するインデックスファイルを生成する。そのため、映像データのライブ配信途中においても、蓄積された映像データ分について、上記実施例1と同様の処理により、高速再生および逆高速再生を行うことが可能である。   As described above, the server of the present embodiment generates an index file for video data while storing the video data for dynamically stored video data. Therefore, even during live distribution of video data, it is possible to perform high-speed playback and reverse high-speed playback for the stored video data by the same processing as in the first embodiment.

本発明によれば、インデックスファイルを予め登録しておくことで、高速再生または逆高速再生の指示と倍率の情報を含む指示を受けたとき、インデックスファイルを参照して、指示受信時からの経過時間と倍率に対応する時間に再生すべきキーフレームをタイムスタンプ、出現位置およびサイズで特定することが可能となる。そのため、高速再生および逆高速再生を行うために事前に映像データから高速再生用ファイルを作成する必要がない。その結果、記憶領域に格納される高速再生用ファイル分の容量を削減でき、記憶領域をより有効に活用し、より多くの映像データを格納することができる。   According to the present invention, by registering an index file in advance, when an instruction including a high-speed playback or reverse high-speed playback instruction and magnification information is received, the index file is referred to and the process from the time the instruction is received. It becomes possible to specify the key frame to be reproduced at the time corresponding to the time and the magnification by the time stamp, the appearance position, and the size. Therefore, it is not necessary to create a file for high speed reproduction from video data in advance in order to perform high speed reproduction and reverse high speed reproduction. As a result, it is possible to reduce the capacity of the file for high-speed playback stored in the storage area, and more effectively use the storage area and store more video data.

また、任意の倍率であっても、インデックスファイルを参照することで配信するキーフレームの位置およびサイズを容易に取得可能なため、任意の倍率で高速再生および逆高速再生の配信ができる。その結果、高速再生は固定倍率ではなく、クライアントに対して任意の倍率の高速再生の映像を提供できる。   In addition, since the position and size of the key frame to be distributed can be easily acquired by referring to the index file even at an arbitrary magnification, high-speed playback and reverse high-speed playback can be distributed at any magnification. As a result, high-speed playback is not fixed magnification, and high-speed playback video at an arbitrary magnification can be provided to the client.

さらに、高速再生および逆高速再生を行う際、クライアントの情報端末への送信ビットレートを通常モード時と等しい速度にしているため、ネットワークの使用帯域を増加させることなく高速再生を実現できる。   Furthermore, when performing high-speed playback and reverse high-speed playback, the transmission bit rate of the client to the information terminal is set to the same speed as that in the normal mode, so that high-speed playback can be realized without increasing the use band of the network.

なお、本発明の情報配信方法をコンピュータに実行させるためのプログラムに適用してもよい。   In addition, you may apply to the program for making a computer perform the information delivery method of this invention.

実施例1のサーバの一構成例を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration example of a server according to the first embodiment. トランスポートストリームの構造を示す図である。It is a figure which shows the structure of a transport stream. 実施例1のサーバの一構成例を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration example of a server according to the first embodiment. 図3に示したインデックスファイル作成部の一構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a configuration example of an index file creation unit illustrated in FIG. 3. 映像データとインデックスファイルの構成イメージを示す図である。It is a figure which shows the structure image of video data and an index file. MPEG2 TSデータからインデックスファイルを作成するための手順を示すフローチャートである。It is a flowchart which shows the procedure for producing an index file from MPEG2 TS data. 実施例1のサーバによる、高速再生の動作手順を示すフローチャートである。3 is a flowchart illustrating an operation procedure of high-speed playback by the server according to the first embodiment. 実施例2のサーバの一構成例を示すブロック図である。6 is a block diagram illustrating a configuration example of a server according to Embodiment 2. FIG.

符号の説明Explanation of symbols

11 サーバ
12 記憶装置
13 インデックスファイル作成部
14 配置位置算出部
15 映像データ配信部
11 Server 12 Storage Device 13 Index File Creation Unit 14 Arrangement Position Calculation Unit 15 Video Data Distribution Unit

Claims (15)

ネットワークを介して接続される情報端末に映像データを配信するためのサーバ装置による情報配信方法であって、
記憶部に格納された前記映像データについて該映像データ内のキーフレーム毎に、該キーフレームのタイムスタンプ、出現位置、およびデータ量を含む情報を記述したインデックスファイルを生成して前記記憶部に格納し、
前記映像データを再生して前記情報端末に対して送信中に、高速再生または逆高速再生の指示と倍率の情報を含む要求信号を該情報端末から受信すると、該要求信号の受信時からの経過時間および前記倍率に対応して前記インデックスファイルからキーフレームを特定し、
特定したキーフレームを前記情報端末に送信する、情報配信方法。
An information delivery method by a server device for delivering video data to an information terminal connected via a network,
For each of the video data stored in the storage unit, an index file describing information including the time stamp, appearance position, and data amount of the key frame is generated and stored in the storage unit. And
While the video data is being reproduced and transmitted to the information terminal, if a request signal including a high-speed playback or reverse high-speed playback instruction and magnification information is received from the information terminal, the elapsed time from the reception of the request signal Identify keyframes from the index file corresponding to time and the magnification,
An information distribution method for transmitting the identified key frame to the information terminal.
前記映像データを最初から再生した場合の最初から前記要求信号を受信するまでの再生時間をsとし、前記倍率をnとし、前記経過時間をpとすると、
前記要求信号が高速再生を指示するものである場合、前記タイムスタンプが(s+n×p)よりも遅い時刻のキーフレームのうち前記出現位置が最大となるキーフレームを前記インデックスファイル内で求め、
求めたキーフレームの出現位置およびデータ量を読み出し、前記映像データにおける該出現位置から該データ量のキーフレームを特定する、請求項1記載の情報配信方法。
When the video data is reproduced from the beginning, the reproduction time from the beginning until the request signal is received is s, the magnification is n, and the elapsed time is p.
When the request signal indicates high-speed playback, a key frame having the maximum appearance position among key frames at a time later than the time stamp (s + n × p) is obtained in the index file.
The information distribution method according to claim 1, wherein an appearance position and a data amount of the obtained key frame are read, and a key frame having the data amount is specified from the appearance position in the video data.
前記映像データを最初から再生した場合の最初から前記要求信号を受信するまでの再生時間をsとし、前記倍率をmとし、前記経過時間をpとすると、
前記要求信号が逆高速再生を指示するものである場合、前記タイムスタンプが(s−m×p)よりも早い時刻のキーフレームのうち前記出現位置が最大となるキーフレームを前記インデックスファイル内で求め、
求めたキーフレームの出現位置およびデータ量を読み出し、前記映像データにおける該出現位置から該データ量のキーフレームを特定する、請求項1記載の情報配信方法。
When the video data is reproduced from the beginning, the reproduction time from the beginning until the request signal is received is s, the magnification is m, and the elapsed time is p.
If the request signal indicates reverse high-speed playback, the key frame having the maximum appearance position among the key frames whose time stamp is earlier than (s−m × p) is stored in the index file. Seeking
The information distribution method according to claim 1, wherein an appearance position and a data amount of the obtained key frame are read, and a key frame having the data amount is specified from the appearance position in the video data.
前記ネットワークを介して外部から受信するライブ映像データに対して、該ライブ映像データの受信分毎に、前記記憶部に格納し、かつ該ライブ映像データの前記インデックスファイルに前記キーフレームの情報を追記して該記憶部に格納する請求項1から3のいずれか1項記載の情報配信方法。   For live video data received from the outside via the network, the live video data is stored in the storage unit every time the live video data is received, and the key frame information is added to the index file of the live video data The information distribution method according to any one of claims 1 to 3, wherein the information is stored in the storage unit. 特定したキーフレームを前記情報端末に送信する際、該キーフレームの送信ビットレートを前記映像データの通常の再生時と等しくする、請求項1から4のいずれか1項記載の情報配信方法。   5. The information distribution method according to claim 1, wherein when the identified key frame is transmitted to the information terminal, the transmission bit rate of the key frame is made equal to that during normal reproduction of the video data. ネットワークを介して接続される情報端末に映像データを配信するサーバ装置であって、
前記映像データ、ならびに該映像データ内のキーフレーム毎に、該キーフレームのタイムスタンプ、出現位置、およびデータ量を含む情報を記述したインデックスファイルが格納された記憶部と、
前記映像データを再生して前記情報端末に対して送信中に高速再生または逆高速再生の指示と倍率の情報を含む要求信号を該情報端末から受信すると、該要求信号の受信時からの経過時間および前記倍率に対応して前記インデックスファイルからキーフレームを特定し、特定したキーフレームを該情報端末に送信する制御部と、
を有するサーバ装置。
A server device that distributes video data to an information terminal connected via a network,
For each key frame in the video data and the video data, a storage unit in which an index file describing information including a time stamp of the key frame, an appearance position, and a data amount is stored;
When a request signal including a high-speed playback or reverse high-speed playback instruction and magnification information is received from the information terminal during playback of the video data and transmission to the information terminal, an elapsed time from the reception of the request signal And a control unit for identifying a key frame from the index file corresponding to the magnification and transmitting the identified key frame to the information terminal;
A server device.
前記映像データを最初から再生した場合の最初から前記要求信号を受信するまでの再生時間をsとし、前記倍率をnとし、前記経過時間をpとすると、
前記制御部は、
前記要求信号が高速再生を指示するものである場合、前記タイムスタンプが(s+n×p)よりも遅い時刻のキーフレームのうち前記出現位置が最大となるキーフレームを前記インデックスファイル内で求め、求めたキーフレームの出現位置およびデータ量を読み出し、前記映像データにおける該出現位置から該データ量のキーフレームを特定する、請求項6記載のサーバ装置。
When the video data is reproduced from the beginning, the reproduction time from the beginning until the request signal is received is s, the magnification is n, and the elapsed time is p.
The controller is
If the request signal indicates high-speed playback, a key frame having the maximum appearance position is determined in the index file from among key frames whose time stamp is later than (s + n × p). The server apparatus according to claim 6, wherein a key frame appearance position and a data amount are read, and a key frame having the data amount is specified from the appearance position in the video data.
前記映像データを最初から再生した場合の最初から前記要求信号を受信するまでの再生時間をsとし、前記倍率をmとし、前記経過時間をpとすると、
前記制御部は、
前記要求信号が逆高速再生を指示するものである場合、前記タイムスタンプが(s−m×p)よりも早い時刻のキーフレームのうち前記出現位置が最大となるキーフレームを前記インデックスファイル内で求め、求めたキーフレームの出現位置およびデータ量を読み出し、前記映像データにおける該出現位置から該データ量のキーフレームを特定する、請求項6記載のサーバ装置。
When the video data is reproduced from the beginning, the reproduction time from the beginning until the request signal is received is s, the magnification is m, and the elapsed time is p.
The controller is
If the request signal indicates reverse high-speed playback, the key frame having the maximum appearance position among the key frames whose time stamp is earlier than (s−m × p) is stored in the index file. The server device according to claim 6, wherein the server device obtains the obtained appearance position and data amount of the key frame, and specifies the key frame of the data amount from the appearance position in the video data.
前記制御部は、
前記ネットワークを介して外部から受信するライブ映像データに対して、該ライブ映像データの受信分毎に、前記記憶部に格納し、かつ該ライブ映像データの前記インデックスファイルに前記キーフレームの情報を追記して該記憶部に格納する請求項6から8のいずれか1項記載のサーバ装置。
The controller is
For live video data received from the outside via the network, the live video data is stored in the storage unit every time the live video data is received, and the key frame information is added to the index file of the live video data The server device according to claim 6, which is stored in the storage unit.
前記制御部は、
特定したキーフレームを前記情報端末に送信する際、該キーフレームの送信ビットレートを前記映像データの通常の再生時と等しくする、請求項6から9のいずれか1項記載のサーバ装置。
The controller is
10. The server device according to claim 6, wherein when the identified key frame is transmitted to the information terminal, the transmission bit rate of the key frame is made equal to that during normal reproduction of the video data.
ネットワークを介して接続される情報端末に映像データを配信するコンピュータに実行させるためのプログラムであって、
記憶部に格納された前記映像データについて該映像データ内のキーフレーム毎に、該キーフレームのタイムスタンプ、出現位置、およびデータ量を含む情報を記述したインデックスファイルを生成して前記記憶部に格納するステップと、
前記映像データを再生して前記情報端末に対して送信中に、高速再生または逆高速再生の指示と倍率の情報を含む要求信号を該情報端末から受信すると、該要求信号の受信時からの経過時間および前記倍率に対応して前記インデックスファイルからキーフレームを特定するキーフレーム特定ステップと、
特定したキーフレームを前記情報端末に送信するステップと、
を有する処理を前記コンピュータに実行させるためのプログラム。
A program for causing a computer that distributes video data to an information terminal connected via a network,
For each of the video data stored in the storage unit, an index file describing information including the time stamp, appearance position, and data amount of the key frame is generated and stored in the storage unit. And steps to
While the video data is being reproduced and transmitted to the information terminal, if a request signal including a high-speed playback or reverse high-speed playback instruction and magnification information is received from the information terminal, the elapsed time from the reception of the request signal A key frame specifying step of specifying a key frame from the index file corresponding to the time and the magnification;
Transmitting the identified key frame to the information terminal;
A program for causing the computer to execute a process including:
前記映像データを最初から再生した場合の最初から前記要求信号を受信するまでの再生時間をsとし、前記倍率をnとし、前記経過時間をpとすると、
前記要求信号が高速再生を指示するものである場合、前記キーフレーム特定ステップは、
前記タイムスタンプが(s+n×p)よりも遅い時刻のキーフレームのうち前記出現位置が最大となるキーフレームを前記インデックスファイル内で求めるステップと、
求めたキーフレームの出現位置およびデータ量を読み出し、前記映像データにおける該出現位置から該データ量のキーフレームを特定するステップと、
を有する請求項11記載のプログラム。
When the video data is reproduced from the beginning, the reproduction time from the beginning until the request signal is received is s, the magnification is n, and the elapsed time is p.
If the request signal indicates high-speed playback, the key frame specifying step includes:
Obtaining a key frame having the maximum appearance position in the index file among key frames at a time later than the time stamp (s + n × p);
Reading the appearance position and data amount of the obtained key frame, and identifying the key frame of the data amount from the appearance position in the video data;
The program according to claim 11.
前記映像データを最初から再生した場合の最初から前記要求信号を受信するまでの再生時間をsとし、前記倍率をmとし、前記経過時間をpとすると、
前記要求信号が逆高速再生を指示するものである場合、前記キーフレーム特定ステップは、
前記タイムスタンプが(s−m×p)よりも早い時刻のキーフレームのうち前記出現位置が最大となるキーフレームを前記インデックスファイル内で求めるステップと、
求めたキーフレームの出現位置およびデータ量を読み出し、前記映像データにおける該出現位置から該データ量のキーフレームを特定するステップと、
を有する請求項11記載のプログラム。
When the video data is reproduced from the beginning, the reproduction time from the beginning until the request signal is received is s, the magnification is m, and the elapsed time is p.
When the request signal indicates reverse high-speed playback, the key frame specifying step includes:
Obtaining in the index file a key frame having the maximum appearance position among key frames at a time earlier than the time stamp (s−m × p);
Reading the appearance position and data amount of the obtained key frame, and identifying the key frame of the data amount from the appearance position in the video data;
The program according to claim 11.
前記ネットワークを介して外部から受信するライブ映像データに対して、該ライブ映像データの受信分毎に、前記記憶部に格納し、かつ該ライブ映像データの前記インデックスファイルに前記キーフレームの情報を追記して該記憶部に格納する請求項11から13のいずれか1項記載のプログラム。   For live video data received from the outside via the network, the live video data is stored in the storage unit every time the live video data is received, and the key frame information is added to the index file of the live video data The program according to claim 11, which is stored in the storage unit. 前記キーフレームを前記情報端末に送信するステップで、該キーフレームの送信ビットレートを前記映像データの通常の再生時と等しくする、請求項11から14のいずれか1項記載のプログラム。

The program according to any one of claims 11 to 14, wherein in the step of transmitting the key frame to the information terminal, a transmission bit rate of the key frame is made equal to that during normal reproduction of the video data.

JP2006090747A 2006-03-29 2006-03-29 Method for distributing information, server device and program Withdrawn JP2007267144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006090747A JP2007267144A (en) 2006-03-29 2006-03-29 Method for distributing information, server device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006090747A JP2007267144A (en) 2006-03-29 2006-03-29 Method for distributing information, server device and program

Publications (1)

Publication Number Publication Date
JP2007267144A true JP2007267144A (en) 2007-10-11

Family

ID=38639671

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006090747A Withdrawn JP2007267144A (en) 2006-03-29 2006-03-29 Method for distributing information, server device and program

Country Status (1)

Country Link
JP (1) JP2007267144A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2048650A2 (en) 2007-10-12 2009-04-15 Funai Electric Co., Ltd. Liquid crystal display device
JP2016063494A (en) * 2014-09-19 2016-04-25 ヤフー株式会社 Moving image processing device, moving image processing method and moving image processing program
KR101846386B1 (en) * 2017-08-02 2018-04-06 주식회사 비바엔에스 Method and system for checking video call quality of mobile device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2048650A2 (en) 2007-10-12 2009-04-15 Funai Electric Co., Ltd. Liquid crystal display device
JP2016063494A (en) * 2014-09-19 2016-04-25 ヤフー株式会社 Moving image processing device, moving image processing method and moving image processing program
KR101846386B1 (en) * 2017-08-02 2018-04-06 주식회사 비바엔에스 Method and system for checking video call quality of mobile device
US10271044B2 (en) 2017-08-02 2019-04-23 Naver Business Platform Corp. Method and system for checking video call quality of mobile terminal

Similar Documents

Publication Publication Date Title
US7139470B2 (en) Navigation for MPEG streams
EP3096526B1 (en) Communication apparatus, communication data generation method, and communication data processing method
RU2652099C2 (en) Transmission device, transmission method, reception device and reception method
JP6498882B2 (en) Storage method, playback method, storage device, and playback device
US20160066007A1 (en) Video playback method, media device, playback device, and multimedia system
WO2008061416A1 (en) A method and a system for supporting media data of various coding formats
CN107634930B (en) Method and device for acquiring media data
US11284135B2 (en) Communication apparatus, communication data generation method, and communication data processing method
WO2008148268A1 (en) An implementation method and system for a media-on-demand frame-spanning playing mode in a peer-to-peer network
JP2003114845A (en) Media conversion method and media conversion device
CN105191324B (en) Communication device, communication data generation method, and communication data processing method
JP2005123907A (en) Data reconstruction apparatus
JP4457349B2 (en) MPEG content synchronous playback method, client terminal, and MPEG content synchronous playback program
EP3096525B1 (en) Communication apparatus, communication data generation method, and communication data processing method
CN105916011A (en) Video real-time playing method and device
JP2007267144A (en) Method for distributing information, server device and program
US20080235401A1 (en) Method of storing media data delivered through a network
JP2006074511A (en) Motion picture distributing system

Legal Events

Date Code Title Description
A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20091218