JP5218995B2 - Video playback terminal, video playback method and program - Google Patents

Video playback terminal, video playback method and program Download PDF

Info

Publication number
JP5218995B2
JP5218995B2 JP2010112477A JP2010112477A JP5218995B2 JP 5218995 B2 JP5218995 B2 JP 5218995B2 JP 2010112477 A JP2010112477 A JP 2010112477A JP 2010112477 A JP2010112477 A JP 2010112477A JP 5218995 B2 JP5218995 B2 JP 5218995B2
Authority
JP
Japan
Prior art keywords
moving image
buffer
playback
video
time
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
JP2010112477A
Other languages
Japanese (ja)
Other versions
JP2011244097A (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.)
NEC System Technologies Ltd
Original Assignee
NEC System Technologies Ltd
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 System Technologies Ltd filed Critical NEC System Technologies Ltd
Priority to JP2010112477A priority Critical patent/JP5218995B2/en
Publication of JP2011244097A publication Critical patent/JP2011244097A/en
Application granted granted Critical
Publication of JP5218995B2 publication Critical patent/JP5218995B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、動画配信サーバからネットワークを介して送られてくる動画データを受信しリアルタイムで再生する動画再生端末,動画再生方法及びプログラムに関する。   The present invention relates to a moving image reproducing terminal, a moving image reproducing method, and a program for receiving moving image data transmitted from a moving image distribution server via a network and reproducing the same in real time.

ストリーミングの動画再生においては、ユーザに違和感を与えることのないレベルの動画品質を保つことが求められるが、バッファ容量が限られるシンクライアントでストリーミングによる動画再生を実行する場合、ネットワーク帯域が変化して動画データの到着に遅延が生じてしまうとすぐに、映像や音声に途切れや欠落が生じてしまうため、正常な再生が難しいという問題があった。   In streaming video playback, it is required to maintain a level of video quality that does not give the user a sense of incongruity. However, when streaming video playback is performed on a thin client with a limited buffer capacity, the network bandwidth changes. As soon as the arrival of moving image data is delayed, video and audio are interrupted or lost, which makes it difficult to perform normal reproduction.

この問題に対する技術が特許文献1に開示されている。この特許文献1には、ネットワーク帯域に合わせてメディアストリームデータの符号化ビット量、サンプリング周波数等を動的に変更して送信することにより、受信端末側でのメディアストリームデータの再生までの遅延時間を一定にすることが開示されている。   A technique for this problem is disclosed in Patent Document 1. This Patent Document 1 discloses a delay time until reproduction of media stream data on the receiving terminal side by dynamically changing the encoding bit amount, sampling frequency, etc. of media stream data in accordance with the network bandwidth. Is disclosed to be constant.

しかし、ネットワーク帯域の変化によるデータ伝送遅延が進行した状況では、ネットワーク帯域を正確に検出して配信側と受信側との間で同期をとることは難しくなるので、特許文献1に記載の技術では、極度のデータ伝送遅延が発生した場合、品質の変更が施されたストリームデータのパッケットが受信側で有効になるまでの間にストリーミングの途切れや欠落が生じてしまうという問題があった。   However, in a situation where data transmission delay due to a change in the network band has progressed, it is difficult to accurately detect the network band and synchronize between the distribution side and the reception side. When an extreme data transmission delay occurs, there is a problem in that streaming is interrupted or lost until the quality-changed stream data packet becomes valid on the receiving side.

これに対して、受信側端末でコンテンツ再生速度を調整する技術が特許文献2及び3に開示されている。特許文献2には、サーバから送信されるストリームデータを受信してバッファに書き込みながら再生する端末において、バッファ内のデータ量が閾値以下になると、ストリーム再生速度を等倍速より低速で再生することが記載されている。   On the other hand, Patent Documents 2 and 3 disclose techniques for adjusting the content playback speed at the receiving terminal. In Patent Document 2, in a terminal that receives stream data transmitted from a server and reproduces it while writing it to the buffer, when the data amount in the buffer falls below a threshold, the stream reproduction speed may be reproduced at a speed lower than the normal speed. Have been described.

また、特許文献3には、ハンドオーバーが完了してからパケット受信間隔が所定値以上になると、ジッタバッファのパケット蓄積量に基づいて、アプリの再生速度を制御することが記載されている。   Patent Document 3 describes that when the packet reception interval becomes equal to or greater than a predetermined value after the handover is completed, the application playback speed is controlled based on the amount of packets stored in the jitter buffer.

特開2004−214755号公報JP 2004-214755 A 特開2009−159450号公報JP 2009-159450 A 特開2004−214902号公報JP 2004-214902 A

しかしながら、引用文献2及び3に記載の技術では、端末(クライアント)側のバッファに記憶されているデータ量又はパケット数に応じて再生速度を決定しているが、これでは、ストリーミング配信サーバ側でネットワーク遅延状況に応じたデータ品質調整が施されるシステムにおいて、データ伝送遅延発生時に単位データ量当たりの再生時間が調整されたデータがクライアント側に到着して再生される場合、適切な再生速度を決定することができないという問題があった。   However, in the techniques described in the cited references 2 and 3, the playback speed is determined according to the amount of data or the number of packets stored in the buffer on the terminal (client) side. In a system in which data quality adjustment is performed according to the network delay situation, if data with a playback time adjusted per unit data amount arrives at the client side and is played back when a data transmission delay occurs, an appropriate playback speed is set. There was a problem that it could not be decided.

例えば、ストリーミング配信サーバ側で品質調整が施された十分量のコンテンツデータがクライアント側に到着した時点では、正常なときの標準的なバッファデータ量に満たない場合であっても、バッファ内のデータで再生可能な時間は十分になり、この状態で、特許文献2又は3のように、バッファデータ量を指標とする再生速度の調整を行ってしまうと、通常の速度(等倍速)で再生可能であるにもかかわらず、低速再生に設定してしまうことになる。サーバ側で品質調整が施されたデータが継続してクライアントに到着している状態で、低速再生が継続してしまうと、再生速度とバッファデータ量との整合がとれず、結果としてバッファに収まらないパケットが廃棄されて欠落が生じてしまう恐れがあった。また、高速再生の判断 (調整)においても同様の問題があった。   For example, when a sufficient amount of content data that has undergone quality adjustment on the streaming distribution server side arrives at the client side, the data in the buffer is not sufficient even if it is less than the normal standard buffer data amount. In this state, if the playback speed is adjusted using the buffer data amount as an index as in Patent Document 2 or 3, playback can be performed at the normal speed (same speed). In spite of this, the low speed playback is set. If low-speed playback continues while the data that has undergone quality adjustment on the server side continues to arrive at the client, the playback speed and the amount of buffer data cannot be matched, and as a result, they do not fit in the buffer. There was a risk of missing packets being dropped. There was also a similar problem in the determination (adjustment) of high-speed playback.

よって、引用文献2及び3に記載の技術を、サーバ側で動画品質の調整を行う通常のストリーム配信システムに適用するのは困難であった。   Therefore, it is difficult to apply the techniques described in the cited documents 2 and 3 to a normal stream distribution system that adjusts the moving image quality on the server side.

[目的]
そこで、本発明は、上記特許文献2及び3に記載の技術が有する問題を改善し、ストリーミングによる動画再生において、回線帯域の低下によるデータ到達遅延が発生した場合でも途切れることの無い連続した動画再生を実行し得る動画再生端末,動画再生方法及びプログラムを提供することを、その目的とする。
[the purpose]
Therefore, the present invention improves the problems of the techniques described in Patent Documents 2 and 3 above, and in moving image reproduction by streaming, continuous moving image reproduction that is not interrupted even when data arrival delay occurs due to a decrease in the line bandwidth. It is an object of the present invention to provide a video playback terminal, a video playback method, and a program that can execute the above.

上記目的を達成するため、本発明の動画再生端末は、サーバから固定長毎に分割されて送られてくる動画データを受信する動画受信部と、この受信された固定長動画データを一時的に蓄積する動画データ格納バッファと、この動画データ格納バッファに蓄積された固定長動画データを受信順に取り出して再生する動画再生部とを備えた動画再生端末であって、前記動画受信部に最初の固定長動画データが受信されてから最後の固定長動画データが受信されるまでの間の予め定められたタイミングで前記動画データ格納バッファに蓄積されている各固定長動画データの通常再生時間を当該各固定長動画データに含まれる画像フレーム数とそのフレームレートに基づいて計算しこの各通常再生時間の合計であるバッファ内合計再生時間を算出するバッファ監視部と、この算出されたバッファ内合計再生時間の大小に応じて動画再生速度の速さを決定する再生速度決定部とを備え、前記動画再生部が、前記バッファから取り出した固定長動画データの再生に際し、前記再生速度決定部により決定された動画再生速度で再生する機能を備えたことを特徴とする。   In order to achieve the above object, a video playback terminal of the present invention includes a video receiving unit that receives video data divided and sent from a server for each fixed length, and temporarily receives the received fixed-length video data. A video playback terminal comprising a video data storage buffer to be stored and a video playback unit that extracts and plays back fixed-length video data stored in the video data storage buffer in the order of reception, wherein the video receiver receives an initial fixed The normal reproduction time of each fixed-length moving image data stored in the moving image data storage buffer at a predetermined timing from when the long moving image data is received until the last fixed-length moving image data is received Calculate based on the number of image frames included in fixed-length video data and its frame rate, and calculate the total playback time in the buffer, which is the sum of these normal playback times A buffer monitoring unit and a playback speed determination unit that determines the speed of the video playback speed according to the calculated total playback time in the buffer. In reproducing data, a function of reproducing at a moving image reproduction speed determined by the reproduction speed determining unit is provided.

また、本発明の動画再生方法は、サーバから固定長毎に分割されて送られてくる動画データを受信する動画受信部と、この順に受信された固定長動画データを一時的に蓄積する動画データ格納バッファと、この動画データ格納バッファに蓄積された固定長動画データを受信順に取り出して再生する動画再生部とを備えた動画再生端末にあって、前記動画受信部に最初の固定長動画データが受信されてから最後の固定長動画データが受信されるまでの間の予め定められたタイミングで前記動画データ格納バッファに蓄積されている各固定長動画データの通常再生時間を当該各固定長動画データに含まれるフレーム数及びそのフレームレートに基づいて計算しこの各通常再生時間の合計であるバッファ内合計再生時間をバッファ監視部が算出し、この算出されたバッファ内合計再生時間の大小に応じて動画再生速度を再生速度決定部が決定し、前記バッファから取り出した固定長動画データを前記再生速度決定部により決定された動画再生速度で前記動画再生部が再生することを特徴とする。   In addition, the moving image playback method of the present invention includes a moving image receiving unit that receives moving image data divided and sent from the server for each fixed length, and moving image data that temporarily stores the fixed length moving image data received in this order. A video playback terminal comprising a storage buffer and a video playback unit that extracts and plays back the fixed-length video data stored in the video data storage buffer in the order of reception, wherein the first fixed-length video data is stored in the video receiver. The normal playback time of each fixed-length moving image data stored in the moving image data storage buffer at a predetermined timing from when the last fixed-length moving image data is received until the last fixed-length moving image data is received. The buffer monitoring unit calculates the total playback time in the buffer that is calculated based on the number of frames included in the frame rate and the frame rate, and is the total of each normal playback time, The playback speed determination unit determines the video playback speed according to the calculated total playback time in the buffer, and the fixed-length video data retrieved from the buffer at the video playback speed determined by the playback speed determination unit The moving picture playback unit plays back the video.

また、本発明の動画再生用プログラムは、ネットワークを介してサーバから固定長毎に分割されて送られてくる動画データを受信した場合にその固定長動画データを一時的にバッファに格納させるバッファ機能,前記動画受信部に最初の固定長動画データが受信されてから最後の固定長動画データが受信されるまでの間の予め定められたタイミングで前記バッファに蓄積されている各固定長動画データの通常再生時間を当該各固定長動画データに含まれるフレーム数及びそのフレームレートに基づいて計算しこの各通常再生時間の合計であるバッファ内合計再生時間を算出するバッファ監視機能,この算出されたバッファ内合計再生時間の大小に応じて動画再生速度の速さを決定する再生速度決定機能,及び、前記バッファに蓄積された固定長動画データを受信順に取り出して前記再生速度決定部に決定された動画再生速度で再生する動画再生機能,をコンピュータに実現させることを特徴とする。   In addition, the moving image playback program of the present invention has a buffer function for temporarily storing fixed-length moving image data in a buffer when receiving moving image data divided and sent from a server over a network. , Each fixed-length moving image data stored in the buffer at a predetermined timing from when the first fixed-length moving image data is received to when the last fixed-length moving image data is received. A buffer monitoring function for calculating a normal playback time based on the number of frames included in each fixed-length moving image data and its frame rate, and calculating a total playback time in the buffer which is the sum of the normal playback times, and the calculated buffer A playback speed determination function that determines the speed of the video playback speed according to the size of the total playback time, and a fixed value stored in the buffer. Video playback function for reproducing moving image data at a video playback speed determined in the playback speed determining section is taken out in the order received, is characterized in that to realize the computer.

本発明は、以上のように構成したため、これにより、ストリーミングの動画再生を行う端末において、バッファに格納された各固定長動画データの通常再生時間の合計であるバッファ内合計再生時間を算出して、このバッファ内合計再生時間の大小に応じて動画再生速度を決定するので、データ到達遅延が発生した場合にバッファ内のデータでの合計再生時間が十分にあるか否かに応じて動画再生速度を調節することが可能になり、よって、動画再生時の途切れや欠落を抑制することができ、ユーザに不快感を与えることなくストリーミングの動画再生を完了することができる。   Since the present invention is configured as described above, the terminal calculates the total playback time in the buffer, which is the sum of the normal playback times of each fixed-length video data stored in the buffer, in the terminal that performs streaming video playback. Since the video playback speed is determined according to the total playback time in the buffer, the video playback speed depends on whether or not the total playback time for the data in the buffer is sufficient when a data arrival delay occurs. Therefore, it is possible to suppress interruptions and omissions during moving image reproduction, and to complete streaming moving image reproduction without causing discomfort to the user.

本発明にかかる一実施形態の動画再生端末1の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the moving image reproduction terminal 1 of one Embodiment concerning this invention. 図1に開示した実施形態の動画再生端末1の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the moving image reproduction terminal 1 of embodiment disclosed in FIG. 図1に開示した実施形態の動画再生端末1におけるバッファ格納状況の一例を示す図である。It is a figure which shows an example of the buffer storage condition in the video reproduction terminal 1 of embodiment disclosed in FIG. 図1に開示した実施形態の動画再生端末1におけるバッファ格納状況の他の例を示す図である。It is a figure which shows the other example of the buffer storage condition in the video reproduction terminal 1 of embodiment disclosed in FIG. 図1に開示した実施形態の動画再生端末1におけるバッファ格納状況の他の例を示す図である。It is a figure which shows the other example of the buffer storage condition in the video reproduction terminal 1 of embodiment disclosed in FIG. 図1に開示した実施形態の動画再生端末1におけるバッファ格納状況の他の例を示す図である。It is a figure which shows the other example of the buffer storage condition in the video reproduction terminal 1 of embodiment disclosed in FIG. 図1に開示した実施形態の動画再生端末1におけるバッファ格納状況の他の例を示す図である。It is a figure which shows the other example of the buffer storage condition in the video reproduction terminal 1 of embodiment disclosed in FIG. 図1に開示した実施形態の動画再生端末1の再生時間算出確認動作の一例を示すフローチャートである。It is a flowchart which shows an example of reproduction | regeneration time calculation confirmation operation | movement of the moving image reproduction terminal 1 of embodiment disclosed in FIG. 図1に開示した実施形態の動画再生端末1におけるバッファ格納状況の他の例を示す図である。It is a figure which shows the other example of the buffer storage condition in the video reproduction terminal 1 of embodiment disclosed in FIG.

以下、本発明にかかる一実施形態を、図面に基づいて説明する。   Hereinafter, an embodiment according to the present invention will be described with reference to the drawings.

図1は、本実施形態の動画再生端末1の構成を示す機能ブロック図である。図1に示すように、本実施形態の動画再生端末1は、ネットワーク3を介して動画配信サーバ2と通信可能に接続されており、動画配信サーバ2から送られてくる動画データをリアルタイムで再生する機能を備えている。   FIG. 1 is a functional block diagram showing the configuration of the video playback terminal 1 of the present embodiment. As shown in FIG. 1, the video playback terminal 1 of the present embodiment is connected to a video distribution server 2 via a network 3 so as to be communicable, and plays back video data sent from the video distribution server 2 in real time. It has a function to do.

動画配信サーバ2の動画送信部21は、動画データを固定長のパケット単位に分割して順番に動画再生端末1へ送信する機能を備えている。この動画送信部21から送信される動画データの先頭のパケットには、当該動画のフレームレートを示す情報が含まれている。
また、動画配信サーバ2は、実行帯域幅や伝送遅延時間などのネットワーク状況情報を動画再生端末1から受信し、そのネットワーク状況に応じて動画データの品質を調整する機能を備えた構成であってもよい。例えば、RTP(Real-time Transport Protocol)およびRTCP(Real-time Transport Control Protocol)を用いて動画再生端末1への動画配信を行うように構成し、動画再生端末1から送られてくるネットワーク状況情報に応じてRTPで送信する動画データの品質を調整するようにすればよい。
The moving image transmission unit 21 of the moving image distribution server 2 has a function of dividing moving image data into fixed-length packet units and transmitting them to the moving image playback terminal 1 in order. The first packet of the moving image data transmitted from the moving image transmitting unit 21 includes information indicating the frame rate of the moving image.
The video distribution server 2 has a function of receiving network status information such as an execution bandwidth and a transmission delay time from the video playback terminal 1 and adjusting the quality of the video data according to the network status. Also good. For example, the network status information sent from the video playback terminal 1 is configured to perform video delivery to the video playback terminal 1 using RTP (Real-time Transport Protocol) and RTCP (Real-time Transport Control Protocol). The quality of the moving image data transmitted by RTP may be adjusted according to the above.

本実施形態の動画再生端末1は、動画配信サーバ2から固定長毎に分割されて送られてくる動画データを受信する動画受信部11と、この受信された固定長動画データを一時的に蓄積する動画データ格納バッファ12と、このバッファ12に蓄積された固定長動画データを受信順に取り出して再生する動画再生部16と、動画受信部11による固定長動画データの受信間隔を監視し当該受信間隔が予め設定された一定時間を越えたか否かを判定する動画受信監視部13と、動画受信監視部13により受信間隔が一定時間を超えたと判定されたときにバッファ12に蓄積されている各固定長動画データに含まれるフレーム数及びそのフレームレートに基づいて当該各固定長動画データの通常再生時間を計算しこの各通常再生時間の合計であるバッファ内合計再生時間を算出するバッファ監視部14と、この算出されたバッファ内合計再生時間の大小に応じて動画再生速度の速さを決定する再生速度決定部15とを備えている。
このような本実施形態の動画再生端末1によれば、データ到達遅延が発生した場合でも、バッファ12内のデータで通常可能な再生時間が十分にあるか否かに応じて動画再生速度を調節することが可能になるので、動画再生時の途切れや欠落を抑制することができ、よって、ユーザに不快感を与えることなくストリーミングの動画再生を完了することができる。
The video playback terminal 1 of the present embodiment temporarily stores the received fixed-length video data, and the video receiver 11 that receives the video data divided and sent from the video distribution server 2 for each fixed length. The moving image data storage buffer 12, the moving image reproduction unit 16 that extracts and reproduces the fixed-length moving image data stored in the buffer 12 in the order received, and the reception interval of the fixed-length moving image data by the moving image reception unit 11, and the reception interval , The moving image reception monitoring unit 13 for determining whether or not a predetermined time has been exceeded, and the fixed values stored in the buffer 12 when the moving image reception monitoring unit 13 determines that the reception interval has exceeded a predetermined time. Based on the number of frames included in the long moving image data and the frame rate, the normal reproduction time of each fixed-length moving image data is calculated, and the total reproduction time of each normal reproduction time is calculated. A buffer monitoring section 14 that calculates a file within a total playing time, and a playback speed determining section 15 that determines the speed of video playback speed in accordance with the magnitude of the calculated total playing time in the buffer.
According to the video playback terminal 1 of this embodiment, even when a data arrival delay occurs, the video playback speed is adjusted according to whether or not the playback time that is normally possible with the data in the buffer 12 is sufficient. Therefore, it is possible to suppress interruptions and omissions during moving image reproduction, and thus it is possible to complete streaming moving image reproduction without causing discomfort to the user.

動画受信部11は、動画配信サーバ2から固定長のパケット単位に分割されて送られてくる動画データを受信しバッファ12に送る機能を備えている。また、動画受信部11は、動画パケットを受信する度に実行帯域幅や伝送遅延時間などのネットワーク状況情報を動画配信サーバ2へ送信するように構成してもよい。例えば、RTPおよびRTCPを用いて動画配信サーバ2と通信し、RTCPを用いてネットワーク状況情報を送信するようにすればよい。   The moving image receiving unit 11 has a function of receiving moving image data transmitted from the moving image distribution server 2 in units of fixed-length packets and sending it to the buffer 12. Further, the moving image receiving unit 11 may be configured to transmit network status information such as an execution bandwidth and a transmission delay time to the moving image distribution server 2 every time a moving image packet is received. For example, communication with the video distribution server 2 may be performed using RTP and RTCP, and network status information may be transmitted using RTCP.

バッファ12は、動画データの伝送速度が変化しても途切れなく動画再生を行うために、動画受信部11に受信された各動画データパケットを一時的に蓄積する機能を備えている。   The buffer 12 has a function of temporarily storing each moving image data packet received by the moving image receiving unit 11 in order to reproduce the moving image without interruption even if the transmission speed of the moving image data changes.

動画受信監視部13は、動画受信部11が動画データパケット(固定長動画データ)を受信した時にバッファ監視部14へ通知する機能と、動画受信部11による動画データパケットの受信間隔を監視しこの受信間隔が予め設定された標準遅延時間を越えたときに、「パケット待ちのタイムアウト」が発生したと判断してバッファ監視部14に通知しその後も動画データパケットが受信されるまで標準遅延時間が経過する毎に継続して通知を行う機能とを備えている。   The moving image reception monitoring unit 13 monitors the function of notifying the buffer monitoring unit 14 when the moving image receiving unit 11 receives moving image data packets (fixed length moving image data) and the reception interval of moving image data packets by the moving image receiving unit 11. When the reception interval exceeds a preset standard delay time, it is determined that a “packet waiting time-out” has occurred, the buffer monitoring unit 14 is notified, and the standard delay time until the moving image data packet is received thereafter. And a function of continuously notifying every time elapses.

バッファ監視部14は、最初に送られてくる動画データパケット内の情報から当該動画のフレームレートを特定する機能と、動画受信監視部13からパケット受信通知を受ける度にその新規に送られてきた動画データパケットを通常の速さで再生した場合にかかる時間(通常再生時間)を当該動画データパケットに含まれる映像のフレーム数と上述したフレームレートを基に算出する機能と、動画受信監視部13からパケット受信通知を受けたとき若しくはタイムアウト通知を受けたときにバッファ12に格納されている各動画データパケットの通常再生時間の合計をバッファ内合計再生時間として算出する機能とを備えている。ここで、初期の段階に受信した動画データパケットの通常再生時間を、動画受信監視部13が用いるパケット待ち間隔の指標である標準遅延時間に設定してもよい。   The buffer monitoring unit 14 is newly sent each time it receives a packet reception notification from the moving image reception monitoring unit 13 and a function for identifying the frame rate of the moving image from information in the moving image data packet transmitted first. A function for calculating the time required for reproducing a moving image data packet at a normal speed (normal reproduction time) based on the number of frames of the video included in the moving image data packet and the frame rate described above, and the moving image reception monitoring unit 13 And a function for calculating the sum of the normal playback times of the respective moving image data packets stored in the buffer 12 as the total playback time in the buffer when receiving a packet reception notification or a timeout notification. Here, the normal reproduction time of the moving image data packet received in the initial stage may be set to the standard delay time that is an index of the packet waiting interval used by the moving image reception monitoring unit 13.

再生速度決定部15は、バッファ監視部14により算出されたバッファ内合計再生時間が予め設定された閾値Cを下回っているか否かを判定し、そのバッファ内合計再生時間が閾値Cを下回っていた場合に、[数1]式にしたがって、予め設定されたバッファ内標準再生時間と上記バッファ内合計再生時間とを基にバッファ12内の再生待ちの動画データパケットのうちの先頭の動画データパケットの補助再生時間を計算し、この補助再生時間にしたがって動画再生速度を設定する機能を備えている。この機能が起動する場合は、バッファ内合計再生時間がバッファ内標準再生時間より小さい値になっているので、動画再生速度は通常よりも遅い速度に設定される。   The playback speed determination unit 15 determines whether or not the total playback time in the buffer calculated by the buffer monitoring unit 14 is below a preset threshold C, and the total playback time in the buffer is below the threshold C. In this case, the first moving image data packet of the moving image data packets waiting for reproduction in the buffer 12 based on the preset standard reproduction time in the buffer and the total reproduction time in the buffer according to the equation [1] A function for calculating an auxiliary playback time and setting a moving image playback speed according to the auxiliary playback time is provided. When this function is activated, since the total playback time in the buffer is smaller than the standard playback time in the buffer, the moving image playback speed is set to a slower speed than usual.

ここで、バッファ内標準再生時間は、正常な動画再生速度を保つために必要なバッファ内合計再生時間の標準値であり、閾値Cより大きい値とする。また、このバッファ内標準再生時間は、初期の段階に受信した動画データパケットの通常再生時間を基準にして設定されるようにしてもよい。   Here, the standard reproduction time in the buffer is a standard value of the total reproduction time in the buffer necessary for maintaining a normal moving image reproduction speed, and is larger than the threshold value C. The standard reproduction time in the buffer may be set based on the normal reproduction time of the moving image data packet received in the initial stage.

[数1]
(パケットの補助再生時間)=[(パケットの通常再生時間)×{(バッファ内標準再生時間)/(バッファ内合計再生時間)}]
[Equation 1]
(Auxiliary playback time of packet) = [(Normal playback time of packet) × {(Standard playback time in buffer) / (Total playback time in buffer)}]

さらに、再生速度決定部15は、再生待ちの先頭の動画データパケットの補助再生時間を計算する度に、動画の通常再生時間と実再生時間との差分を表す動画再生調整時間を[数2]式にしたがって算出し、再生調整時間保持部17に登録する機能を備えている。   Furthermore, each time the playback speed determination unit 15 calculates the auxiliary playback time of the first video data packet waiting for playback, the playback speed determination unit 15 sets the motion picture playback adjustment time representing the difference between the normal playback time of the video and the actual playback time [Equation 2]. A function of calculating according to the equation and registering in the reproduction adjustment time holding unit 17 is provided.

[数2]
(動画再生調整時間)=[(登録されている動画再生調整時間)−{(パケットの通常再生時間)−(パケットの補助再生時間)}]
[Equation 2]
(Movie playback adjustment time) = [(Registered movie playback adjustment time) − {(Normal playback time of packet) − (Auxiliary playback time of packet)}]

また、再生速度決定部15は、バッファ内合計再生時間が閾値C以上の場合に、このバッファ内合計再生時間がバッファ内標準再生時間を上回るか否かを判定し、バッファ内合計再生時間がバッファ内標準再生時間を上回っていた場合に、再生調整時間記憶部17に記録されている動画再生調整時間が正の値か否かを判定し、動画再生調整時間が正の値であった場合に、上述した機能と同様に[数1]式にしたがってパケットの補助再生時間を計算し、この補助再生時間にしたがって動画再生速度を設定する機能を備えている。この機能が起動する場合は、バッファ内合計再生時間がバッファ内標準再生時間より大きい値になっているので、動画再生速度は通常よりも速い速度に設定される。   Further, when the total playback time in the buffer is equal to or greater than the threshold value C, the playback speed determination unit 15 determines whether or not the total playback time in the buffer exceeds the standard playback time in the buffer, and the total playback time in the buffer is buffered. When the internal standard playback time is exceeded, it is determined whether or not the video playback adjustment time recorded in the playback adjustment time storage unit 17 is a positive value, and the video playback adjustment time is a positive value. Similarly to the above-described function, a function of calculating the auxiliary reproduction time of the packet according to the equation [1] and setting the moving image reproduction speed according to the auxiliary reproduction time is provided. When this function is activated, since the total playback time in the buffer is larger than the standard playback time in the buffer, the moving image playback speed is set to a speed higher than normal.

またさらに、再生速度決定部15は、バッファ内合計再生時間が閾値C以上でバッファ内標準再生時間以下の場合、もしくはバッファ内合計再生時間がバッファ内標準再生時間を上回っているが再生調整時間記憶部17に記録されている動画再生調整時間が「0」もしくは負の値であった場合に、動画再生速度を通常の速度(等倍速)に決定する機能を備えている。   Furthermore, the playback speed determination unit 15 stores the playback adjustment time when the total playback time in the buffer is equal to or greater than the threshold value C and equal to or shorter than the standard playback time in the buffer, or the total playback time in the buffer exceeds the standard playback time in the buffer. When the moving image reproduction adjustment time recorded in the unit 17 is “0” or a negative value, a function for determining the moving image reproduction speed to a normal speed (equal speed) is provided.

ここで、再生速度決定部15は、[数1]式にしたがって算出したパケットの補助再生時間が予め設定された上限値Aを超える場合はこの上限値Aを補助再生時間に定め、予め設定された下限値Bを下回る場合はこの下限値Bを補助再生時間に定めるように構成してもよい。このように1パケット分の再生時間の上限および下限を設けることにより一定基準の動画再生品質を保つことができる。   Here, when the auxiliary reproduction time of the packet calculated according to the equation [1] exceeds the preset upper limit value A, the reproduction speed determination unit 15 determines the upper limit value A as the auxiliary reproduction time and is preset. If the lower limit value B is below the lower limit value B, the lower limit value B may be determined as the auxiliary regeneration time. Thus, by providing the upper and lower limits of the playback time for one packet, it is possible to maintain a certain standard moving image playback quality.

この上限値A及び下限値Bについてはそれぞれ任意の閾値を設定可能とし、上述した閾値Cもシステム環境により任意の値を設定可能とする。   An arbitrary threshold can be set for each of the upper limit A and the lower limit B, and the above-described threshold C can also be set to an arbitrary value depending on the system environment.

動画再生部16は、バッファ12に蓄積された動画データパケットを受信順に取り出して、再生速度決定部15が設定した動画再生速度で再生する機能を備えている。動画(映像・音声)再生速度の変更処理に関しては周知の手法を用いる。   The moving image reproduction unit 16 has a function of taking out the moving image data packets stored in the buffer 12 in the order of reception and reproducing them at the moving image reproduction speed set by the reproduction speed determination unit 15. A well-known method is used for changing the moving image (video / audio) reproduction speed.

再生調整時間保持部17は、再生速度決定部15によって算出される動画再生調整時間を示すデータを保持する機能を備えている。動画再生調整時間は、動画再生速度を変更する度に更新される。   The reproduction adjustment time holding unit 17 has a function of holding data indicating the moving image reproduction adjustment time calculated by the reproduction speed determination unit 15. The moving image reproduction adjustment time is updated every time the moving image reproduction speed is changed.

このように、本実施形態の動画再生端末1では、バッファ監視部14が、バッファ12に格納されている各動画データパケットの通常再生時間を基にバッファ内合計再生時間を算出する機能を備え、再生速度決定部15が、バッファ内合計再生時間が閾値Cを下回っている場合に、データ伝送遅延が発生していると判断して、到着が遅延しているパケット分の動画再生を補うために、1パケットの動画再生時間(補助再生時間)を通常よりも長い時間に設定するとともに、パケットの通常再生時間と補助再生時間との差分を登録されている動画再生調整時間から引いて新規の動画再生調整時間を算出し再生調整時間保持部17に記録する機能を備えている。   Thus, in the video playback terminal 1 of the present embodiment, the buffer monitoring unit 14 has a function of calculating the total playback time in the buffer based on the normal playback time of each video data packet stored in the buffer 12, In order to compensate for the reproduction of the moving image for the packet whose arrival is delayed, the reproduction speed determination unit 15 determines that a data transmission delay has occurred when the total reproduction time in the buffer is less than the threshold value C. 1. Set a video playback time (auxiliary playback time) of one packet longer than normal, and subtract the difference between the packet normal playback time and auxiliary playback time from the registered video playback adjustment time to create a new video A function for calculating the reproduction adjustment time and recording it in the reproduction adjustment time holding unit 17 is provided.

また、再生速度決定部15は、ネットワーク帯域の変化によりデータ到達遅延が発生した後に、動画配信サーバ2側での動画品質の調整が有効になった状態で、バッファ内合計再生時間がバッファ内標準再生時間を上回った場合、動画再生調整時間を解消するように、1パケットの動画再生時間(補助再生時間)を通常よりも短い時間に設定するとともに、パケットの通常再生時間と補助再生時間との差分を登録されている動画再生調整時間から引いて新規の動画再生調整時間を算出し再生調整時間保持部17に記録する機能を備えている。   In addition, the playback speed determination unit 15 determines that the total playback time in the buffer is in the buffer standard with the adjustment of the video quality on the video distribution server 2 side enabled after the data arrival delay has occurred due to the change in the network bandwidth. When the playback time is exceeded, the video playback time (auxiliary playback time) of one packet is set to be shorter than normal so as to eliminate the video playback adjustment time, and the normal playback time and auxiliary playback time of the packet are A function of subtracting the difference from the registered moving image reproduction adjustment time to calculate a new moving image reproduction adjustment time and recording it in the reproduction adjustment time holding unit 17 is provided.

このように、本実施形態の動画再生端末1によれば、ストリーム動画再生処理において、ネットワーク帯域状況に応じた再生速度の調整を実施することができ、これにより、動画パケットの到着遅延による動画再生への影響を最小限にすることができ、欠落・途切れの無い滑らかな動画再生を実行することができる。また、本実施形態の動画再生端末1は、バッファ12に格納された各パケットの通常再生時間の合計に基づいて動画再生速度を設定するため、動画配信サーバ2側で動画品質の制御を実行する環境下であっても、有効に動画再生速度を調整することができる。   As described above, according to the video playback terminal 1 of the present embodiment, in the stream video playback processing, it is possible to adjust the playback speed according to the network bandwidth situation, and thereby the video playback due to the arrival delay of the video packet Can be minimized, and smooth moving image reproduction without missing / interrupted can be executed. Also, the video playback terminal 1 of the present embodiment executes video quality control on the video distribution server 2 side in order to set the video playback speed based on the total normal playback time of each packet stored in the buffer 12. Even in an environment, the moving image playback speed can be adjusted effectively.

次に、本実施形態の動画再生端末1の動作について説明する。ここで、以下の動作説明は、本発明の動画再生方法の実施形態となる。   Next, the operation of the video playback terminal 1 of this embodiment will be described. Here, the following description of the operation is an embodiment of the moving image reproducing method of the present invention.

図2は、本実施形態の動画再生端末1の動作を示すフローチャートである。図2に示すように、本実施形態の動画再生端末1では、まず、動画受信監視部13が、動画受信部11が動画データパケットを受信した時と、動画受信部11による動画データパケットの受信間隔が標準遅延時間を越えた時に、バッファ監視部14を呼び出し、その呼び出されたバッファ監視部14が、バッファ内合計再生時間を算出する。   FIG. 2 is a flowchart showing the operation of the video playback terminal 1 of the present embodiment. As shown in FIG. 2, in the video playback terminal 1 of the present embodiment, first, the video reception monitoring unit 13 receives the video data packet when the video reception unit 11 receives the video data packet when the video reception unit 11 receives the video data packet. When the interval exceeds the standard delay time, the buffer monitoring unit 14 is called, and the called buffer monitoring unit 14 calculates the total reproduction time in the buffer.

続いて、再生速度決定部15が、バッファ監視部14に算出されたバッファ内合計再生時間と閾値Cとを比較し(図2のステップS21)、バッファ内合計再生時間が閾値C未満の場合に当該バッファ内合計再生時間とバッファ内標準再生時間とを比較する(図2のステップS22)。バッファ内合計再生時間がバッファ内標準再生時間以下の場合、もしくはバッファ内合計再生時間がバッファ内標準再生時間より大きくても動画再生調整時間が「0」又は負の値である場合、動画再生速度を通常の速度(等倍速)に設定する(図2のステップS29)。   Subsequently, the playback speed determination unit 15 compares the total playback time in the buffer calculated by the buffer monitoring unit 14 with the threshold C (step S21 in FIG. 2), and when the total playback time in the buffer is less than the threshold C. The total reproduction time in the buffer is compared with the standard reproduction time in the buffer (step S22 in FIG. 2). If the total playback time in the buffer is less than or equal to the standard playback time in the buffer, or if the video playback adjustment time is “0” or a negative value even if the total playback time in the buffer is greater than the standard playback time in the buffer, the video playback speed Is set to a normal speed (equal speed) (step S29 in FIG. 2).

バッファ内合計再生時間がバッファ内標準再生時間より大きくて尚且つ動画再生調整時間が正の値の場合、もしくはバッファ内合計再生時間が閾値C以上だった場合に、[数1]式にしたがって、バッファ12に格納されている、再生待ちの先頭の動画パケットの補助再生時間を算出する(図2のステップS24)。   When the total playback time in the buffer is larger than the standard playback time in the buffer and the video playback adjustment time is a positive value, or when the total playback time in the buffer is greater than or equal to the threshold value C, The auxiliary reproduction time of the first moving image packet waiting for reproduction stored in the buffer 12 is calculated (step S24 in FIG. 2).

この算出した補助再生時間が上限値Aより大きいか否かを判定し(図2のステップS25)、大きい場合は上限値Aを補助再生時間に定める(図2のステップS30)。小さい場合は、補助再生時間が下限値Bより小さいか否かを判定し(図2のステップS26)、小さい場合、下限値Bを補助再生時間に定める(図2のステップS31)。   It is determined whether or not the calculated auxiliary reproduction time is larger than the upper limit value A (step S25 in FIG. 2). If it is larger, the upper limit value A is set as the auxiliary reproduction time (step S30 in FIG. 2). If it is smaller, it is determined whether or not the auxiliary reproduction time is smaller than the lower limit value B (step S26 in FIG. 2). If smaller, the lower limit value B is set as the auxiliary reproduction time (step S31 in FIG. 2).

そして、この動画パケットの補助再生時間の通常再生時間に対する割合に基づいてこのパケットの動画再生速度を設定し(図2のステップS27)、[数2]式にしたがって、動画再生調整時間を算出して、再生調整時間保持部17に登録する。   Then, the video playback speed of this packet is set based on the ratio of the auxiliary playback time of this video packet to the normal playback time (step S27 in FIG. 2), and the video playback adjustment time is calculated according to the equation [2]. And registered in the reproduction adjustment time holding unit 17.

このように、本実施形態の動画再生端末1は、パケット到着の遅延によりバッファ12内の動画データが一定基準以下となった状態、または、動画配信サーバ2により動画品質が調整された動画データパケットが一定基準以上となった状態を感知し、1パケット分の動画データ毎に動画再生速度を調整する。
また、動画パケットの受信遅延を感知した時点で、到着が遅延しているパケット分の動画データの再生時間を補う形で速度を落として動画を再生する。
また、データ伝送遅延発生後の動画配信サーバ2での動画品質の調整が有効となり、一定基準を超えるフレーム数の動画データがバッファ12に格納されたことを感知した時点で、速度を上げて動画を再生することにより、動画全体の通常再生時間との整合を保つことができる。
また、パケット到着状況により動画再生を減速または加速する際に、1パケット分の動画データ再生時間の上限および下限に閾値を設けることにより一定基準の動画再生品質を保つことができる。
したがって、本実施形態の動画再生端末1によれば、ストリーミングによる動画再生において、動画データの到達遅延状況に応じた再生速度の調整を実施することができ、欠落・途切れの無い滑らかな動画再生を実行することができる。また、本実施形態の動画再生端末1は、バッファ12に格納された各パケットの通常再生時間の合計に基づいて動画再生速度を設定するため、動画配信サーバ2側で動画品質の制御を実行する環境下であっても、有効に動画再生速度を調整することができる。
As described above, the video playback terminal 1 according to the present embodiment has a video data packet in which the video data in the buffer 12 is equal to or lower than a certain standard due to a packet arrival delay, or a video data packet whose video quality is adjusted by the video distribution server 2. Is detected to be equal to or greater than a certain standard, and the moving image playback speed is adjusted for each packet of moving image data.
In addition, when the reception delay of the moving image packet is detected, the moving image is reproduced at a reduced speed so as to compensate for the reproduction time of the moving image data corresponding to the packet whose arrival is delayed.
Also, when the adjustment of the moving image quality in the moving image distribution server 2 after the occurrence of the data transmission delay becomes effective and it is detected that the moving image data having the number of frames exceeding a certain standard is stored in the buffer 12, the moving image is increased in speed. Can be kept consistent with the normal playback time of the entire moving image.
Further, when decelerating or accelerating moving image reproduction depending on the packet arrival status, it is possible to maintain a certain standard moving image reproduction quality by providing threshold values at the upper and lower limits of the moving image data reproduction time for one packet.
Therefore, according to the video playback terminal 1 of the present embodiment, in the video playback by streaming, the playback speed can be adjusted according to the arrival delay situation of the video data, and smooth video playback without missing / interrupted can be performed. Can be executed. Also, the video playback terminal 1 of the present embodiment executes video quality control on the video distribution server 2 side in order to set the video playback speed based on the total normal playback time of each packet stored in the buffer 12. Even in an environment, the moving image playback speed can be adjusted effectively.

次に、本実施形態の具体例を図面に基づいて説明する。   Next, a specific example of the present embodiment will be described with reference to the drawings.

以下に説明する具体例では、バッファ内標準再生時間を「600ms(初期の通常再生時間100ms×6パケット)」、バッファ内合計再生時間に対する閾値Cを「420ms(バッファ内標準再生時間の70%)」、1パケットの補助再生時間の上限値Aを通常再生時間の200%、補助再生時間の下限値Bを通常再生時間の50%にそれぞれ定めたものとする。   In the specific example described below, the buffer standard playback time is “600 ms (initial normal playback time 100 ms × 6 packets)”, and the threshold C for the buffer total playback time is “420 ms (70% of the buffer standard playback time)”. It is assumed that the upper limit value A of the auxiliary playback time for one packet is set to 200% of the normal playback time, and the lower limit value B of the auxiliary playback time is set to 50% of the normal playback time.

図3は、初期に伝送遅延が検出された場合のバッファ12のデータ格納状況の一例を示す図である。図3では、バッファ12にパケット31,32,33,34が格納されている状態を示している。ここで、この時点で動画再生調整時間は「0ms」と登録されているものとする。   FIG. 3 is a diagram illustrating an example of a data storage state of the buffer 12 when a transmission delay is detected in the initial stage. FIG. 3 shows a state in which the packets 31, 32, 33, and 34 are stored in the buffer 12. Here, it is assumed that the moving image reproduction adjustment time is registered as “0 ms” at this time.

このような状態のときに、動画受信監視部13が、パケット待ちのタイムアウトを検出すると、バッファ監視部14が、バッファ12に格納されている各パケット31,32,33,34の通常再生時間を個別に算出しその合計をバッファ内合計再生時間として算出する。   In this state, when the moving image reception monitoring unit 13 detects a packet waiting timeout, the buffer monitoring unit 14 sets the normal reproduction time of each packet 31, 32, 33, 34 stored in the buffer 12. It is calculated individually and the total is calculated as the total playback time in the buffer.

ここでは、パケット31,32,33,34それぞれの通常再生時間は共に「100ms」で、バッファ内合計再生時間は「400ms」であったとすると、再生速度決定部15は、このバッファ内合計再生時間「400ms」が閾値C「420ms」を下回ることを検出して、伝送遅延が発生していると判断し、[数1]式に従って、パケット31の補助再生時間を「150ms={100ms×(600ms/400ms)}」と算出し、パケット31の補助再生時間「150ms」が下限値B「50ms」以上、上限値A「200ms」以下の範囲内であると判定して、パケット31の再生時間を「150ms」に設定し、パケット31の再生速度を決定する。   Here, assuming that the normal reproduction times of the packets 31, 32, 33, and 34 are both “100 ms” and the total reproduction time in the buffer is “400 ms”, the reproduction speed determination unit 15 performs the total reproduction time in the buffer. It is detected that “400 ms” is lower than the threshold C “420 ms” and it is determined that a transmission delay has occurred, and the auxiliary reproduction time of the packet 31 is set to “150 ms = {100 ms × (600 ms) according to the equation [1]. / 400 ms)} ”, and it is determined that the auxiliary reproduction time“ 150 ms ”of the packet 31 is within the range of the lower limit value B“ 50 ms ”and the upper limit value A“ 200 ms ”. “150 ms” is set, and the reproduction speed of the packet 31 is determined.

また、動画再生時間の整合を計るために、パケット31の再生時間と通常再生時間との差分を登録済みの動画再生調整時間から差し引きした値「50ms={0ms−(100ms−150ms)}」を新規の動画再生調整時間として登録する。   Further, in order to match the moving image playback time, a value “50 ms = {0 ms− (100 ms−150 ms)}” obtained by subtracting the difference between the playback time of the packet 31 and the normal playback time from the registered moving image playback adjustment time is obtained. Register as a new video playback adjustment time.

次に、補助再生時間が上限値Aを上回った場合について説明する。図4は、バッファ12に通常再生時間が「200ms」のパケット41のみが格納された状態を示している。ここで、この時点で記録されている動画再生調整時間は「200ms」とする。   Next, a case where the auxiliary reproduction time exceeds the upper limit value A will be described. FIG. 4 shows a state in which only the packet 41 having the normal reproduction time “200 ms” is stored in the buffer 12. Here, the moving image reproduction adjustment time recorded at this time is “200 ms”.

このような状態のときに、動画受信監視部13がパケット待ちのタイムアウトを検出した場合、再生速度決定部15は、[数1]式に従って、パケット41の補助再生時間を「600ms=200ms×(600ms/200ms)」と算出し、この補助再生時間を「600ms」が上限値A「400ms」を上回ることを検出するので、動画品質を保つために、パケット41の再生時間を上限値Aと同一の「400ms」に設定して、再生速度を計算する。   When the moving image reception monitoring unit 13 detects a packet waiting timeout in such a state, the playback speed determining unit 15 sets the auxiliary playback time of the packet 41 to “600 ms = 200 ms × ( 600 ms / 200 ms) ”, and it is detected that“ 600 ms ”exceeds the upper limit value A“ 400 ms ”, so that the playback time of the packet 41 is the same as the upper limit value A in order to maintain the video quality. Is set to “400 ms” and the playback speed is calculated.

また、動画再生時間の整合を図るためにパケット41の通常再生時間と再生時間の差分を前回計算した動画再生調整時間から差し引いて新規の動画再生調整時間「400ms」を算出して登録する。   Further, in order to match the moving image reproduction time, the difference between the normal reproduction time and the reproduction time of the packet 41 is subtracted from the previously calculated moving image reproduction adjustment time to calculate and register a new moving image reproduction adjustment time “400 ms”.

次に、伝送遅延検出後に動画配信サーバ2側で動画品質が調整された動画データパケットが到着した場合について説明する。図5は、バッファ12に通常再生時間「200ms」のパケット51のみが格納された状態で、通常再生時間「300ms」のパケット52が新規に受信されて格納された場合を示している。   Next, a case where a moving image data packet whose moving image quality has been adjusted on the moving image distribution server 2 side after the transmission delay is detected will be described. FIG. 5 shows a case where a packet 52 having a normal playback time “300 ms” is newly received and stored in a state where only the packet 51 having a normal playback time “200 ms” is stored in the buffer 12.

このパケット52を受信した時にバッファ監視部14がバッファ内合計再生時間「500ms」を算出する。そして、再生速度決定部15が、バッファ内合計再生時間「500」ms」が閾値C「420ms」を上回り、かつバッファ内標準再生時間「600ms」以下であると判定し、再生時間の調整は不要と判断して、パケット51の再生時間をその通常再生時間「200ms」に設定し、再生速度を計算する。   When the packet 52 is received, the buffer monitoring unit 14 calculates the total reproduction time “500 ms” in the buffer. Then, the playback speed determination unit 15 determines that the total playback time “500” ms in the buffer exceeds the threshold C “420 ms” and is equal to or shorter than the standard playback time “600 ms” in the buffer, and adjustment of the playback time is unnecessary. Thus, the playback time of the packet 51 is set to the normal playback time “200 ms”, and the playback speed is calculated.

次に、伝送遅延検出後に動画配信サーバ2側で動画品質が調整された動画データパケットが到着し、バッファ12内の合計再生時間がバッファ内標準再生時間に達した場合について説明する。   Next, a case where a moving image data packet whose moving image quality has been adjusted on the moving image distribution server 2 side after the transmission delay is detected arrives and the total reproduction time in the buffer 12 reaches the standard reproduction time in the buffer will be described.

図6は、バッファ12に通常再生時間「400ms」のパケット61のみが格納された状態で、通常再生時間「400ms」パケット62が新規に受信されて格納された場合を示している。ここで、この時点で登録されている動画再生調整時間は「600ms」とする。   FIG. 6 shows a case where the normal reproduction time “400 ms” packet 62 is newly received and stored in the state where only the packet 61 of the normal reproduction time “400 ms” is stored in the buffer 12. Here, the moving image reproduction adjustment time registered at this time is “600 ms”.

このような状態のとき、バッファ内合計再生時間は「800ms」となる。再生速度決定部15は、このバッファ内合計再生時間「800ms」が閾値C「420ms」およびバッファ内標準再生時間「600ms」を上回る値であり、登録されている動画再生調整時間が正の値であることを確認すると、再生時間の整合が必要である判断し、[数1]式に従って、パケット61の補助再生時間を「300ms={400ms×(600ms/800ms)}」と算出し、このパケット61の補助再生時間「300ms」が下限値B「200ms」以上であるとともに上限値B「800ms」以下であると判定して、パケット61の再生時間を「300ms」に設定し、再生速度を計算する。   In such a state, the total reproduction time in the buffer is “800 ms”. The playback speed determination unit 15 has a value in which the total playback time “800 ms” in the buffer exceeds the threshold C “420 ms” and the standard playback time “600 ms” in the buffer, and the registered video playback adjustment time is a positive value. If it is confirmed that it is necessary to match the reproduction times, the auxiliary reproduction time of the packet 61 is calculated as “300 ms = {400 ms × (600 ms / 800 ms)}” according to the formula [1], and this packet is calculated. 61 is determined that the auxiliary reproduction time “300 ms” is not less than the lower limit B “200 ms” and not more than the upper limit B “800 ms”, the reproduction time of the packet 61 is set to “300 ms”, and the reproduction speed is calculated. To do.

この場合、動画再生調整時間を補うために標準よりも速い再生速度に設定されるので、新規の動画再生調整時間は「500ms={600ms−(400ms−300ms)}」になり、前回に比べて減少する。   In this case, since the playback speed is set to be faster than the standard in order to compensate for the video playback adjustment time, the new video playback adjustment time is “500 ms = {600 ms− (400 ms−300 ms)}”, compared to the previous time. Decrease.

次に、伝送遅延検出後に動画配信サーバ2側で動画品質が調整された動画データパケットが到着し、バッファ12内の合計再生時間がバッファ内標準再生時間に達した状態で、算出した補助再生時間が閾値Bを下回る場合について説明する。   Next, after the transmission delay is detected, a video data packet whose video quality has been adjusted on the video distribution server 2 side arrives, and the auxiliary playback time calculated in a state where the total playback time in the buffer 12 has reached the standard playback time in the buffer Will be described below.

図7は、バッファ12に通常再生時間「400ms」のパケット71と72が格納された状態で、通常再生時間が「500ms」のパケット73が新規に受信されて格納された場合を示している。ここで、この時点で登録されている補助動画再生調整時間は「600ms」とする。   FIG. 7 shows a case where a packet 73 having a normal playback time of “500 ms” is newly received and stored in a state where packets 71 and 72 having a normal playback time of “400 ms” are stored in the buffer 12. Here, it is assumed that the auxiliary moving image reproduction adjustment time registered at this time is “600 ms”.

このような状態のとき、バッファ内合計再生時間は「1300ms」となるので、再生速度決定部16は、バッファ内合計再生時間は「1300ms」が閾値C「420ms」およびバッファ内標準再生時間「600ms」を上回る値であるとともに、登録されている動画再生調整時間が正の値であることを確認すると、動画再生時間の整合が必要であると判断し、[数1]式に従って、パケット71の補助再生時間を「184ms={400ms×(600ms/1300ms)}」と算出し、このパケット71の補助再生時間「184ms」が下限値B「200ms」を下回っていると判定して、動画品質を保つために下限値B「200ms」をパケット71の再生時間に設定し、再生速度を算出する。   In this state, since the total playback time in the buffer is “1300 ms”, the playback speed determination unit 16 sets the total playback time in the buffer to “1300 ms” as the threshold C “420 ms” and the standard playback time in the buffer “600 ms”. When the registered video playback adjustment time is a positive value, it is determined that the video playback time needs to be matched, and the packet 71 The auxiliary playback time is calculated as “184 ms = {400 ms × (600 ms / 1300 ms)}”, and it is determined that the auxiliary playback time “184 ms” of the packet 71 is below the lower limit B “200 ms”. In order to keep it, the lower limit B “200 ms” is set as the playback time of the packet 71, and the playback speed is calculated.

この場合、動画再生調整時間を補うために標準よりも速い再生速度に設定されるので、新規の動画再生調整時間は「400ms={600ms−(400ms−200ms)}」になり、前回に比べて減少する。   In this case, in order to compensate for the moving image reproduction adjustment time, the reproduction speed is set to be faster than the standard, so the new moving image reproduction adjustment time is “400 ms = {600 ms− (400 ms−200 ms)}”, which is compared with the previous time. Decrease.

このように、本実施形態によれば、ネットワーク帯域が不足した場合の動画配信サーバ2での動画品質(符号化ビット量・サンプリング周波数)の動的変更に加え、動画再生端末1が動画再生速度を調整することにより、途切れのない連続した動画再生を実現することができる。   Thus, according to the present embodiment, in addition to the dynamic change of the video quality (encoding bit amount / sampling frequency) in the video distribution server 2 when the network bandwidth is insufficient, the video playback terminal 1 By adjusting the, continuous video reproduction without interruption can be realized.

次に、ネットワークの遅延が進行した状態から正常なレベルに回復し、通常の状態で動画データパケットが到着し始めた場合の動作を図8及び図9に基づいて説明する。   Next, the operation when the network delay is restored to the normal level and the moving image data packet starts to arrive in the normal state will be described with reference to FIGS.

図8は、パケット待ちタイムアウトまたはパケットの到着が動画受信監視部13から通知された場合のバッファ監視部14による再生時間算出の要/不要を判断する動作を示すフローチャートである。図9は、動画データの到達遅延が発生した後に、通常レベルの通信状態まで遅延が回復した状態でのバッファ12の状態推移の一例を示す説明図である。   FIG. 8 is a flowchart showing an operation of determining whether the reproduction time calculation is necessary / unnecessary by the buffer monitoring unit 14 when a packet waiting timeout or packet arrival is notified from the moving image reception monitoring unit 13. FIG. 9 is an explanatory diagram showing an example of state transition of the buffer 12 in a state where the delay is recovered to the normal level communication state after the arrival delay of the moving image data occurs.

まず、動画配信サーバ2側で動画品質の調整が施されたため再生時間が標準より長い動画パケットが再生されている状態で、パケット91がバッファ12に格納されているとする(図9の状態A)。データ到達遅延が正常な状態に回復した状態で、動画品質の調整が施された再生時間の長いパケットが再生されているとき、パケット91が再生処理待ちの間に複数のパケットが到着する。   First, it is assumed that the packet 91 is stored in the buffer 12 in a state where a moving image packet whose reproduction time is longer than the standard is reproduced because the moving image quality is adjusted on the moving image distribution server 2 side (state A in FIG. 9). ). When a packet with a long reproduction time for which moving image quality adjustment has been performed is reproduced with the data arrival delay restored to a normal state, a plurality of packets arrive while the packet 91 is waiting for reproduction processing.

例えば、再生待ちのパケット91の再生時間が設定(算出)されていない状態で、パケット待ちのタイムアウトが発生したとき(図9の状態B1)、もしくは、パケット92が到着したとき(図8のステップS81,図9の状態B2)、通常通り、再生待ちのパケット91の再生時間を算出する(図8のステップS82)。   For example, when a packet waiting timeout occurs (state B1 in FIG. 9) in a state where the reproduction time of the packet 91 waiting for reproduction is not set (calculated), or when a packet 92 arrives (step in FIG. 8) S81, state B2 in FIG. 9), the reproduction time of the packet 91 waiting for reproduction is calculated as usual (step S82 in FIG. 8).

続いて、パケット91の再生処理待ちが継続している状態でパケット93が到着したとき(図9の状態C)、再生処理待ちのパケット91の再生時間は既に設定されている状態のためパケット91の再生時間の算出は行なわない(図8のステップS81のはい)。以降、パケット91が再生処理待ちの状態で新規のパケットが到着したとき、もしくはパケット待ちのタイムアウトが発生した場合も同様に再生待ちパケットの再生時間の算出は行なわない動作となる。この状態からパケット91が再生処理に移行し、パケット92がバッファ12で再生処理待ちの先頭になったとき、次のパケットが到着した時点もしくはパケット待ちのタイムアウトが発生した時点で(図8のステップS81のいいえ)、パケット92の再生時間の算出が行なわれる(図8のステップS82,図9の状態D)。   Subsequently, when the packet 93 arrives while waiting for the reproduction process of the packet 91 (state C in FIG. 9), the reproduction time of the packet 91 waiting for the reproduction process is already set, so the packet 91 Is not calculated (Yes in step S81 in FIG. 8). Thereafter, when a new packet arrives while the packet 91 is waiting for reproduction processing, or when a packet wait timeout occurs, the reproduction time of the reproduction waiting packet is not calculated. When the packet 91 shifts to the reproduction process from this state and the packet 92 becomes the head of the buffer 12 waiting for the reproduction process, when the next packet arrives or when a packet wait timeout occurs (step of FIG. 8). No in S81), the reproduction time of the packet 92 is calculated (step S82 in FIG. 8, state D in FIG. 9).

このように、動画品質の調整および動画再生時間の調整が発生した後に、データ到達遅延が正常なレベルに回復した場合において、再生待ちの状況に応じた再生時間算出の実施判定を行なうことにより、最適なタイミングにて再生時間が算出される効果を得ることができる。   As described above, when the data arrival delay is restored to a normal level after the adjustment of the video quality and the adjustment of the video playback time occurs, by performing the execution determination of the playback time according to the playback wait state, The effect that the playback time is calculated at the optimum timing can be obtained.

ここで、上記説明においては、動画受信監視部13が、動画受信部11に動画データパケットが受信された時と動画受信部11による動画データパケットの受信間隔が標準遅延時間を越えた時に、バッファ監視部14へ通知する機能を備え、バッファ監視部14が、動画受信監視部13からパケット受信通知を受ける度にその新規に送られてきた動画データパケットの通常再生時間を算出する機能と、動画受信監視部13からパケット受信通知を受けたとき若しくはタイムアウト通知を受けたときにバッファ12に格納されている各動画データパケットの通常再生時間の合計をバッファ内合計再生時間として算出する機能とを備えた構成であるが、バッファ監視部14が各動画データパケットの通常再生時間を算出するタイミング、及びバッファ内合計再生時間を算出するタイミングについては、これに限らず、動画受信部11に最初の固定長動画データが受信されてから最後の固定長動画データが受信されるまでの間の適当なタイミングであればよく、必ずしも動画データパケットの受信状況に対応したタイミングでなくてもよい。
したがって、本実施形態の動画再生端末1は、動画受信監視部13を装備せず、バッファ監視部14が、予め定められたタイミングでバッファ内合計再生時間を算出するように構成してもよい。この予め定められたタイミングとしては、例えば、定期的なタイミング,バッファ12内から再生待ちの先頭の動画パケットが取り出される毎のタイミングなどでよい。
またさらに、上述した動画受信部11,動画受信監視部12,バッファ監視部14,再生速度決定部15,動画再生部16については、その機能内容をプログラム化して、コンピュータに実行させるように構成してもよい。
Here, in the above description, when the moving image reception monitoring unit 13 receives the moving image data packet by the moving image receiving unit 11 and when the receiving interval of the moving image data packet by the moving image receiving unit 11 exceeds the standard delay time, A function of notifying the monitoring unit 14, and a function of calculating the normal playback time of the newly transmitted video data packet each time the buffer monitoring unit 14 receives a packet reception notification from the video reception monitoring unit 13, and a video A function of calculating the sum of the normal playback times of the respective video data packets stored in the buffer 12 as the total playback time in the buffer when receiving a packet reception notification from the reception monitoring unit 13 or receiving a timeout notification The buffer monitoring unit 14 calculates the normal playback time of each video data packet and the buffer. The timing for calculating the total reproduction time in the video is not limited to this, but is an appropriate timing from when the first fixed-length moving image data is received to when the moving image receiving unit 11 receives the last fixed-length moving image data. The timing may not necessarily be the timing corresponding to the reception status of the moving image data packet.
Therefore, the moving image playback terminal 1 of the present embodiment may be configured not to be equipped with the moving image reception monitoring unit 13 but so that the buffer monitoring unit 14 calculates the total playback time in the buffer at a predetermined timing. The predetermined timing may be, for example, a periodic timing, a timing each time the first moving image packet waiting for reproduction is taken out from the buffer 12, or the like.
Furthermore, the above-described moving image receiving unit 11, moving image reception monitoring unit 12, buffer monitoring unit 14, reproduction speed determining unit 15, and moving image reproduction unit 16 are configured so that their function contents are programmed and executed by a computer. May be.

以上のように、本実施形態の動画再生端末1によれば、リアルタイムの動画再生において、動画データパケットの受信間隔が遅延時間を超えたときに、ネットワーク遅延の進行に備え、動画配信サーバ2にて動画品質の調整が施された動画データが実際に動画再生端末1に到着し始めるまでのタイムラグを補う仕組みとして、パケット到達の遅延時間に応じて動画再生速度を変更でき、これにより、バッファ12に格納された受信済みの動画データを、到着が遅れているパケット分を補う形で低速再生することができる。   As described above, according to the video playback terminal 1 of the present embodiment, in real-time video playback, when the reception interval of video data packets exceeds the delay time, the video distribution server 2 prepares for the progress of network delay. As a mechanism for compensating for the time lag until the moving image data whose moving image quality has been adjusted actually arrives at the moving image playback terminal 1, the moving image playback speed can be changed according to the delay time of arrival of the packet. Can be played back at low speed in a manner that compensates for packets that have arrived late.

また、データ到達遅延状況に応じた動画配信サーバ2での動画品質の調整が有効となって、一定基準を超える動画データがバッファ12に格納された時点で、速度を上げて動画を再生することができ、これにより、動画全体の標準再生時間との整合を保つことができる。   In addition, when the adjustment of the moving image quality in the moving image distribution server 2 according to the data arrival delay state becomes effective and moving image data exceeding a certain standard is stored in the buffer 12, the moving image is reproduced at a higher speed. Thus, it is possible to maintain consistency with the standard playback time of the entire moving image.

また、本実施形態の動画再生端末1は、パケット単位で再生速度を決定するので、動画再生速度の変更を段階的に行うことができ、動画再生速度の変化による音質の変化および映像の乱れを緩和することができる。   In addition, since the video playback terminal 1 according to the present embodiment determines the playback speed in units of packets, the video playback speed can be changed in stages, and changes in sound quality and video disturbance due to changes in the video playback speed can be achieved. Can be relaxed.

本実施形態の動画再生端末1が実行する動画再生速度の調整処理は、動画配信サーバ2側で動画品質の調整によるネットワーク帯域調整が実行される場合に、データ伝送遅延が発生してから動画配信サーバ2での動画品質の調整による遅延の緩和が有効になるまでの一次的な調整処理として採用することができる。   The video playback speed adjustment processing executed by the video playback terminal 1 according to the present embodiment is the video delivery after the data transmission delay occurs when the network bandwidth adjustment by the video quality adjustment is executed on the video delivery server 2 side. It can be employed as a primary adjustment process until the relaxation of the delay by adjusting the moving image quality in the server 2 becomes effective.

以下に、上述した本実施形態における技術的内容の要点を付記する。尚、本実施形態の一部又は全部は、以下に記載した内容にまとめられるが、本発明は必ずしもこれに限定されるものではない。   The main points of the technical contents in the above-described embodiment will be added below. In addition, although a part or all of this embodiment is put together in the content described below, this invention is not necessarily limited to this.

[付記1]サーバから固定長毎に分割されて送られてくる動画データを受信する動画受信部と、この受信された固定長動画データを一時的に蓄積するバッファと、このバッファに蓄積された固定長動画データを受信順に取り出して再生する動画再生部とを備えた動画再生端末であって、
前記動画受信部に最初の固定長動画データが受信されてから最後の固定長動画データが受信されるまでの間の予め定められたタイミングで前記バッファに蓄積されている各固定長動画データの通常再生時間を当該各固定長動画データに含まれるフレーム数及びそのフレームレートに基づいて計算しこの各通常再生時間の合計であるバッファ内合計再生時間を算出するバッファ監視部と、
この算出されたバッファ内合計再生時間の大小に応じて動画再生速度を決定する再生速度決定部とを備え、
前記動画再生部が、前記バッファから取り出した固定長動画データの再生に際し、前記再生速度決定部に決定された動画再生速度で再生する機能を備えたことを特徴とする動画再生端末。
[付記2]付記1に記載の動画再生端末において、前記再生速度決定部は、前記バッファ監視部に算出されたバッファ内合計再生時間が予め設定された閾値より小さい場合に、予め規定された標準値に対する当該バッファ内合計再生時間の割合に応じて動画再生速度を算出する機能を備えたことを特徴とする動画再生端末。
[付記3]付記2に記載の動画再生端末において、前記再生速度決定部は、前記バッファ監視部に算出されたバッファ内合計再生時間が前記閾値より大きく且つ前記標準値より小さい場合に、動画再生速度を通常の速度に設定する機能を備えたことを特徴とする動画再生端末。
[付記4]付記3に記載の動画再生端末において、前記再生速度決定部は、前記バッファ監視部に算出されたバッファ内合計再生時間が前記標準値より大きい場合に、前記標準値に対する当該バッファ内合計再生時間の割合に応じて動画再生速度を算出する機能を備えたことを特徴とする動画再生端末。
[付記5]付記4に記載の動画再生端末において、前記再生速度決定部は、前記標準値に対する当該バッファ内合計再生時間の割合に応じて算出した動画再生速度が予め設定された下限速度を下回った場合に、当該下限速度を前記動画再生速度に決定することを特徴とする動画再生端末。
[付記6]付記5に記載の動画再生端末において、前記再生速度決定部は、前記標準値に対する当該バッファ内合計再生時間の割合に応じて算出した動画再生速度が予め設定された上限速度を超えた場合に、当該上限速度を前記動画再生速度に決定することを特徴とする動画再生端末。
[付記7]付記6に記載の動画再生端末において、前記動画受信部による固定長動画データの受信間隔を監視し当該受信間隔が予め設定された一定時間を越えたときに前記バッファ監視部を呼び出す動画受信監視部を備え、前記バッファ監視部は、前記予め定められたタイミングとして、前記動画受信監視部から呼び出されるタイミングを採用したことを特徴とする動画再生端末。
[付記8]付記7に記載の動画再生端末において、前記動画受信監視部は、前記動画受信部に固定長動画データが受信される度に前記バッファ監視部を呼び出す機能を備えたことを特徴とする動画再生端末。
[付記9]サーバから固定長毎に分割されて送られてくる動画データを受信する動画受信部と、この順に受信された固定長動画データを一時的に蓄積するバッファと、このバッファに蓄積された固定長動画データを受信順に取り出して再生する動画再生部とを備えた動画再生端末にあって、
前記動画受信部に最初の固定長動画データが受信されてから最後の固定長動画データが受信されるまでの間の予め定められたタイミングで前記バッファに蓄積されている各固定長動画データの通常再生時間を当該各固定長動画データに含まれるフレーム数及びそのフレームレートに基づいて計算しこの各通常再生時間の合計であるバッファ内合計再生時間をバッファ監視部が算出し、この算出されたバッファ内合計再生時間の大小に応じて動画再生速度を再生速度決定部が決定し、前記バッファから取り出した固定長動画データを前記再生速度決定部に決定された動画再生速度で前記動画再生部が再生することを特徴とする動画再生方法。
[付記10]付記9に記載の動画再生方法において、前記再生速度決定部による前記動画再生速度の決定に際し、前記バッファ内合計再生時間が予め設定された閾値より小さい場合に、予め規定された標準値に対する当該バッファ内合計再生時間の割合に応じて動画再生速度を算出することを特徴とする動画再生方法。
[付記11]付記10に記載の動画再生方法において、前記再生速度決定部による前記動画再生速度の決定に際し、前記バッファ内合計再生時間が前記閾値より大きく且つ前記標準値より小さい場合に、動画再生速度を通常の速度に設定することを特徴とする動画再生方法。
[付記12]付記11に記載の動画再生方法において、前記再生速度決定部による前記動画再生速度の決定に際し、前記バッファ内合計再生時間が前記標準値より大きい場合に、前記標準値に対する当該バッファ内合計再生時間の割合に応じて動画再生速度を算出することを特徴とする動画再生方法。
[付記13]付記12に記載の動画再生方法において、前記再生速度決定部は、前記標準値に対する当該バッファ内合計再生時間の割合に応じて算出した動画再生速度が予め設定された下限速度を下回った場合に、当該下限速度を前記動画再生速度に決定することを特徴とする動画再生方法。
[付記14]付記13に記載の動画再生方法において、前記再生速度決定部は、前記標準値に対する当該バッファ内合計再生時間の割合に応じて算出した動画再生速度が予め設定された上限速度を超えた場合に、当該上限速度を前記動画再生速度に決定することを特徴とする動画再生方法。
[付記15]付記14に記載の動画再生方法において、前記予め定められたタイミングとして、前記動画受信部による固定長動画データの受信間隔が予め設定された一定時間に達するタイミングを採用したことを特徴とする動画再生方法。
[付記16]付記15に記載の動画再生方法において、前記予め定められたタイミングとして、前記動画受信部に固定長動画データが受信されるタイミングを採用したことを特徴とする動画再生方法。
[付記17]ネットワークを介してサーバから固定長毎に分割されて送られてくる動画データを受信した場合にその固定長動画データを一時的にバッファに格納させるバッファ機能,前記動画受信部に最初の固定長動画データが受信されてから最後の固定長動画データが受信されるまでの間の予め定められたタイミングで前記バッファに蓄積されている各固定長動画データの通常再生時間を当該各固定長動画データに含まれるフレーム数及びそのフレームレートに基づいて計算しこの各通常再生時間の合計であるバッファ内合計再生時間を算出するバッファ監視機能,この算出されたバッファ内合計再生時間の大小に応じて動画再生速度を決定する再生速度決定機能,及び、前記バッファに蓄積された固定長動画データを受信順に取り出して前記再生速度決定部に決定された動画再生速度で再生する動画再生機能,をコンピュータに実行させることを特徴とする動画再生用プログラム。
[付記18]付記17に記載の動画再生用プログラムにおいて、前記再生速度決定機能が、前記バッファ監視機能に算出されたバッファ内合計再生時間が予め設定された閾値より小さい場合に予め規定された標準値に対する当該バッファ内合計再生時間の割合に応じて前記動画再生速度を算出する機能であることを特徴とする動画再生用プログラム。
[付記19]付記18に記載の動画再生用プログラムにおいて、前記再生速度決定機能が、前記バッファ監視部に算出されたバッファ内合計再生時間が前記閾値より大きく且つ前記標準値より小さい場合に前記動画再生速度を通常の速度に設定する機能であることを特徴とする動画再生用プログラム。
[付記20]付記19に記載の動画再生用プログラムにおいて、前記再生速度決定機能が、前記バッファ監視機能により算出されたバッファ内合計再生時間が前記標準値より大きい場合に前記標準値に対する当該バッファ内合計再生時間の割合に応じて前記動画再生速度を算出する機能であることを特徴とする動画再生用プログラム。
[付記21]付記20に記載の動画再生用プログラムにおいて、前記再生速度決定機能が、前記標準値に対する当該バッファ内合計再生時間の割合に応じて算出した動画再生速度が予め設定された下限速度を下回った場合に、当該下限速度を前記動画再生速度に決定する機能であることを特徴とする動画再生用プログラム。
[付記22]付記21に記載の動画再生用プログラムにおいて、前記再生速度決定機能が、前記標準値に対する当該バッファ内合計再生時間の割合に応じて算出した動画再生速度が予め設定された上限速度を超えた場合に、当該上限速度を前記動画再生速度に決定する機能であることを特徴とする動画再生用プログラム。
[付記23]付記22に記載の動画再生用プログラムにおいて、前記バッファ監視機能が、前記予め定められたタイミングとして、前記固定長動画データの受信間隔が予め設定された一定時間に達するタイミングを採用した機能であることを特徴とする動画再生用プログラム。
[付記24]付記23に記載の動画再生用プログラムにおいて、前記バッファ監視機能が、前記予め定められたタイミングとして、前記固定長動画データが受信されるタイミングを採用した機能であることを特徴とする動画再生用プログラム。
[Supplementary Note 1] A moving image receiving unit that receives moving image data divided and sent from the server for each fixed length, a buffer that temporarily stores the received fixed length moving image data, and a buffer that is stored in the buffer A video playback terminal including a video playback unit that extracts and plays back fixed-length video data in the order received;
Each fixed-length moving image data stored in the buffer at a predetermined timing from when the first fixed-length moving image data is received to the moving image receiving unit until the last fixed-length moving image data is received. A buffer monitoring unit that calculates the reproduction time based on the number of frames included in each fixed-length moving image data and the frame rate thereof, and calculates the total reproduction time in the buffer that is the sum of each normal reproduction time;
A playback speed determining unit that determines a video playback speed according to the calculated total playback time in the buffer;
A video playback terminal, wherein the video playback unit has a function of playing back at a video playback speed determined by the playback speed determination unit when the fixed-length video data retrieved from the buffer is played back.
[Supplementary Note 2] In the video playback terminal according to Supplementary Note 1, the playback speed determination unit may determine a standard that is defined in advance when the total playback time in the buffer calculated by the buffer monitoring unit is smaller than a preset threshold value. A video playback terminal comprising a function of calculating a video playback speed according to a ratio of the total playback time in the buffer to a value.
[Supplementary Note 3] In the video playback terminal described in Supplementary Note 2, the playback speed determination unit plays the video when the total playback time in the buffer calculated by the buffer monitoring unit is larger than the threshold and smaller than the standard value. A video playback terminal having a function of setting a speed to a normal speed.
[Appendix 4] In the video playback terminal according to Appendix 3, the playback speed determination unit may determine whether the playback speed determination unit stores the buffer in relation to the standard value when the total playback time in the buffer calculated by the buffer monitoring unit is greater than the standard value. A video playback terminal having a function of calculating a video playback speed in accordance with a ratio of a total playback time.
[Supplementary Note 5] In the video playback terminal described in Supplementary Note 4, the playback speed determination unit may determine that the video playback speed calculated according to the ratio of the total playback time in the buffer to the standard value is lower than a preset lower limit speed. In such a case, the video playback terminal determines the lower limit speed as the video playback speed.
[Appendix 6] In the video playback terminal according to Appendix 5, the playback speed determination unit has a video playback speed calculated according to a ratio of the total playback time in the buffer with respect to the standard value exceeds a preset upper limit speed. A moving image playback terminal that determines the upper limit speed as the moving image playback speed.
[Appendix 7] In the video playback terminal according to Appendix 6, the reception interval of the fixed-length video data by the video reception unit is monitored, and the buffer monitoring unit is called when the reception interval exceeds a predetermined time. A video playback terminal comprising a video reception monitoring unit, wherein the buffer monitoring unit employs a timing called from the video reception monitoring unit as the predetermined timing.
[Supplementary Note 8] In the video playback terminal described in Supplementary Note 7, the video reception monitoring unit includes a function of calling the buffer monitoring unit every time fixed-length video data is received by the video reception unit. To play video.
[Supplementary Note 9] A moving image receiving unit that receives moving image data divided and sent from the server for each fixed length, a buffer that temporarily stores the fixed length moving image data received in this order, and a buffer that stores the moving image data. A video playback terminal including a video playback unit that extracts and plays back the fixed-length video data in the order received,
Each fixed-length moving image data stored in the buffer at a predetermined timing from when the first fixed-length moving image data is received to the moving image receiving unit until the last fixed-length moving image data is received. The playback time is calculated based on the number of frames included in each fixed-length moving image data and its frame rate, and the buffer monitoring unit calculates the total playback time in the buffer, which is the sum of the normal playback times, and the calculated buffer The video playback speed is determined by the playback speed determination unit according to the size of the total playback time, and the video playback unit plays back the fixed-length video data retrieved from the buffer at the video playback speed determined by the playback speed determination unit. A method for reproducing a moving image.
[Supplementary Note 10] In the moving image reproduction method according to Supplementary Note 9, when the reproduction speed determination unit determines the moving image reproduction speed, a standard specified in advance when the total reproduction time in the buffer is smaller than a preset threshold value. A moving image reproduction method, wherein a moving image reproduction speed is calculated according to a ratio of the total reproduction time in the buffer to a value.
[Appendix 11] In the video playback method according to Appendix 10, when the video playback speed is determined by the playback speed determination unit, the video playback is performed when the total playback time in the buffer is larger than the threshold and smaller than the standard value. A method for reproducing a moving image, wherein the speed is set to a normal speed.
[Supplementary Note 12] In the moving picture reproduction method according to Supplementary Note 11, when the reproduction speed determination unit determines the moving picture reproduction speed, when the total reproduction time in the buffer is larger than the standard value, A moving image reproduction method, wherein a moving image reproduction speed is calculated according to a ratio of a total reproduction time.
[Supplementary Note 13] In the video playback method described in Supplementary Note 12, the playback speed determination unit is configured such that the video playback speed calculated according to the ratio of the total playback time in the buffer to the standard value falls below a preset lower limit speed. In such a case, the moving image reproduction method is characterized in that the lower limit speed is determined as the moving image reproduction speed.
[Supplementary Note 14] In the video playback method according to supplementary note 13, the playback speed determination unit has a video playback speed calculated according to a ratio of the total playback time in the buffer with respect to the standard value exceeds a preset upper limit speed. In this case, the upper limit speed is determined as the moving picture playback speed.
[Supplementary Note 15] In the video reproduction method described in Supplementary Note 14, the timing at which the reception interval of the fixed-length video data by the video reception unit reaches a predetermined time is adopted as the predetermined timing. A video playback method.
[Supplementary Note 16] The video reproduction method according to Supplementary Note 15, wherein a timing at which fixed-length video data is received by the video reception unit is adopted as the predetermined timing.
[Supplementary Note 17] A buffer function for temporarily storing the fixed-length moving image data in the buffer when receiving moving image data that is divided and sent in fixed lengths from the server via the network; Normal playback time of each fixed-length video data stored in the buffer at a predetermined timing from when the fixed-length video data is received until the last fixed-length video data is received. A buffer monitoring function that calculates the total playback time in the buffer, which is the sum of these normal playback times, calculated based on the number of frames included in the long video data and the frame rate, and the size of the calculated total playback time in the buffer. A playback speed determination function for determining the video playback speed in response to the above, and taking out the fixed-length video data stored in the buffer in the order of reception. Video playback program characterized by executing video playback function of reproducing at a serial playback speed determining unit video playback speed determined in, to the computer.
[Supplementary note 18] In the moving image reproduction program according to supplementary note 17, a standard defined in advance when the reproduction speed determination function is less than a preset threshold value calculated in the buffer monitoring function. A moving image reproduction program characterized by having a function of calculating the moving image reproduction speed in accordance with a ratio of the total reproduction time in the buffer to a value.
[Supplementary note 19] In the moving picture reproduction program according to supplementary note 18, when the reproduction speed determination function is set so that the total reproduction time in the buffer calculated by the buffer monitoring unit is larger than the threshold value and smaller than the standard value, A moving picture playback program characterized by having a function for setting a playback speed to a normal speed.
[Supplementary note 20] In the moving image reproduction program according to supplementary note 19, when the reproduction speed determination function is within the buffer for the standard value when the total reproduction time in the buffer calculated by the buffer monitoring function is greater than the standard value A moving image reproduction program characterized by having a function of calculating the moving image reproduction speed in accordance with a ratio of a total reproduction time.
[Supplementary note 21] In the video playback program according to supplementary note 20, the playback speed determination function sets a lower limit speed in which the video playback speed calculated according to the ratio of the total playback time in the buffer to the standard value is set in advance. A moving image reproduction program characterized by having a function of determining the lower limit speed as the moving image reproduction speed when the lower limit is exceeded.
[Supplementary Note 22] In the video playback program described in Supplementary Note 21, the video playback speed calculated by the playback speed determination function according to the ratio of the total playback time in the buffer to the standard value is a preset upper limit speed. A moving image reproduction program characterized by having a function of determining the upper limit speed as the moving image reproduction speed when the upper limit is exceeded.
[Supplementary Note 23] In the video playback program described in Supplementary Note 22, the buffer monitoring function employs a timing at which the reception interval of the fixed-length video data reaches a predetermined time as the predetermined timing. A video playback program characterized by being a function.
[Supplementary Note 24] In the video reproduction program according to Supplementary Note 23, the buffer monitoring function is a function that adopts a timing at which the fixed-length video data is received as the predetermined timing. Movie playback program.

本発明は、シンクライアント等のリソースが限られた環境において、サーバ側の資源である動画のストリームデータを受信して再生する際の動画再生方式に適用可能である。   INDUSTRIAL APPLICABILITY The present invention can be applied to a moving image reproduction method when receiving and reproducing moving image stream data that is a resource on the server side in an environment where resources such as a thin client are limited.

1 動画再生端末
2 動画配信サーバ
3 ネットワーク
11 動画受信部
12 バッファ
13 動画受信監視部
14 バッファ監視部
15 再生速度決定部
16 動画再生部
17 再生調整時間記憶部
21 動画送信部
DESCRIPTION OF SYMBOLS 1 Movie reproduction terminal 2 Movie distribution server 3 Network 11 Movie reception unit 12 Buffer 13 Movie reception monitoring unit 14 Buffer monitoring unit 15 Playback speed determination unit 16 Movie playback unit 17 Playback adjustment time storage unit 21 Movie transmission unit

Claims (10)

サーバから固定長毎に分割されて送られてくる動画データを受信する動画受信部と、この受信された固定長動画データを一時的に蓄積する動画データ格納バッファと、この動画データ格納バッファに蓄積された固定長動画データを受信順に取り出して再生する動画再生部とを備えた動画再生端末であって、
前記動画受信部に最初の固定長動画データが受信されてから最後の固定長動画データが受信されるまでの間の予め定められたタイミングで前記動画データ格納バッファに蓄積されている各固定長動画データの通常再生時間を当該各固定長動画データに含まれる画像フレーム数とそのフレームレートに基づいて計算しこの各通常再生時間の合計であるバッファ内合計再生時間を算出するバッファ監視部と、
この算出されたバッファ内合計再生時間の大小に応じて動画再生速度の速さを決定する再生速度決定部とを備え、
前記動画再生部が、前記バッファから取り出した固定長動画データの再生に際し、前記再生速度決定部により決定された動画再生速度で再生する機能を備えたことを特徴とする動画再生端末。
A moving image receiving unit that receives moving image data divided and sent from the server for each fixed length, a moving image data storage buffer that temporarily stores the received fixed length moving image data, and an accumulation in the moving image data storage buffer A video playback terminal including a video playback unit that extracts and plays back the fixed length video data in the order of reception,
Each fixed length moving image accumulated in the moving image data storage buffer at a predetermined timing from when the first fixed length moving image data is received to the moving image receiving unit until the last fixed length moving image data is received A buffer monitoring unit that calculates a normal reproduction time of data based on the number of image frames included in each fixed-length moving image data and its frame rate, and calculates a total reproduction time in the buffer that is a sum of each normal reproduction time;
A playback speed determination unit that determines the speed of the video playback speed according to the calculated total playback time in the buffer;
A video playback terminal, wherein the video playback unit has a function of playing back at a video playback speed determined by the playback speed determination unit when the fixed-length video data retrieved from the buffer is played back.
前記請求項1に記載の動画再生端末において、
前記再生速度決定部は、前記バッファ監視部に算出されたバッファ内合計再生時間が予め設定された閾値より小さい場合に、予め規定された標準値に対する当該バッファ内合計再生時間の割合に応じて動画再生速度を設定する機能を備えたことを特徴とする動画再生端末。
In the video playback terminal according to claim 1,
The playback speed determination unit, when the total playback time in the buffer calculated by the buffer monitoring unit is smaller than a preset threshold value, the moving image according to the ratio of the total playback time in the buffer to the predetermined standard value A video playback terminal comprising a function for setting a playback speed.
前記請求項2に記載の動画再生端末において、
前記再生速度決定部は、前記バッファ監視部に算出されたバッファ内合計再生時間が前記閾値より大きく且つ前記標準値より小さい場合に、動画再生速度を通常の速度に設定する機能を備えたことを特徴とする動画再生端末。
In the video playback terminal according to claim 2,
The playback speed determination unit has a function of setting the video playback speed to a normal speed when the total playback time in the buffer calculated by the buffer monitoring unit is larger than the threshold and smaller than the standard value. Feature video playback terminal.
前記請求項3に記載の動画再生端末において、
前記再生速度決定部は、前記バッファ監視部に算出されたバッファ内合計再生時間が前記標準値より大きい場合に、前記標準値に対する当該バッファ内合計再生時間の割合に応じて動画再生速度を通常より高速に設定する機能を備えたことを特徴とする動画再生端末。
In the video playback terminal according to claim 3,
When the total playback time in the buffer calculated by the buffer monitoring unit is larger than the standard value, the playback speed determination unit sets the video playback speed from the normal value according to the ratio of the total playback time in the buffer to the standard value. A video playback terminal characterized by a high-speed setting function.
前記請求項4に記載の動画再生端末において、
前記再生速度決定部は、前記バッファ内合計再生時間の前記標準値に対する割合に基づいて設定した動画再生速度が予め設定された下限速度を下回った場合に、当該下限速度を前記動画再生速度に決定する機能を備えたことを特徴とする動画再生端末。
In the video playback terminal according to claim 4,
The playback speed determination unit determines the lower limit speed as the video playback speed when the video playback speed set based on the ratio of the total playback time in the buffer to the standard value falls below a preset lower speed limit. A video playback terminal characterized by having a function to perform.
前記請求項5に記載の動画再生端末において、
前記再生速度決定部は、前記バッファ内合計再生時間の前記標準値に対する割合に基づいて設定した動画再生速度が予め設定された上限速度を超えた場合に、当該上限速度を前記動画再生速度に決定する機能を備えたことを特徴とする動画再生端末。
In the video playback terminal according to claim 5,
The playback speed determination unit determines the upper limit speed as the video playback speed when the video playback speed set based on the ratio of the total playback time in the buffer to the standard value exceeds a preset upper limit speed. A video playback terminal characterized by having a function to perform.
前記請求項6に記載の動画再生端末において、
前記動画受信部による固定長動画データの受信間隔を監視し当該受信間隔が予め設定された一定時間に達したときに前記バッファ監視部を呼び出す動画受信監視部を備え、
前記バッファ監視部は、前記予め定められたタイミングとして、前記動画受信監視部から呼び出されるタイミングを採用したことを特徴とする動画再生端末。
In the video playback terminal according to claim 6,
A video reception monitoring unit that monitors a reception interval of fixed-length video data by the video reception unit and calls the buffer monitoring unit when the reception interval reaches a predetermined time,
The video playback terminal characterized in that the buffer monitoring unit employs a timing called from the video reception monitoring unit as the predetermined timing.
前記請求項6に記載の動画再生端末において、
前記動画受信監視部は、前記動画受信部に固定長動画データが受信される度に前記バッファ監視部を呼び出す機能を備えたことを特徴とする動画再生端末。
In the video playback terminal according to claim 6,
The video playback terminal, wherein the video reception monitoring unit has a function of calling the buffer monitoring unit every time fixed-length video data is received by the video reception unit.
サーバから固定長毎に分割されて送られてくる動画データを受信する動画受信部と、この順に受信された固定長動画データを一時的に蓄積する動画データ格納バッファと、この動画データ格納バッファに蓄積された固定長動画データを受信順に取り出して再生する動画再生部とを備えた動画再生端末にあって、
前記動画受信部に最初の固定長動画データが受信されてから最後の固定長動画データが受信されるまでの間の予め定められたタイミングで前記動画データ格納バッファに蓄積されている各固定長動画データの通常再生時間を当該各固定長動画データに含まれるフレーム数及びそのフレームレートに基づいて計算しこの各通常再生時間の合計であるバッファ内合計再生時間をバッファ監視部が算出し、
この算出されたバッファ内合計再生時間の大小に応じて動画再生速度を再生速度決定部が決定し、
前記バッファから取り出した固定長動画データを前記再生速度決定部により決定された動画再生速度で前記動画再生部が再生することを特徴とする動画再生方法。
A moving image receiving unit that receives moving image data divided and sent from the server for each fixed length, a moving image data storage buffer that temporarily stores fixed-length moving image data received in this order, and a moving image data storage buffer A video playback terminal including a video playback unit that extracts and plays back the stored fixed-length video data in the order received;
Each fixed length moving image accumulated in the moving image data storage buffer at a predetermined timing from when the first fixed length moving image data is received to the moving image receiving unit until the last fixed length moving image data is received The normal monitoring time of the data is calculated based on the number of frames included in each fixed-length moving image data and the frame rate, and the buffer monitoring unit calculates the total playback time in the buffer that is the sum of each normal playback time,
The playback speed determination unit determines the video playback speed according to the calculated total playback time in the buffer,
The moving image reproducing method, wherein the moving image reproducing unit reproduces the fixed-length moving image data extracted from the buffer at a moving image reproducing speed determined by the reproduction speed determining unit.
ネットワークを介してサーバから固定長毎に分割されて送られてくる動画データを受信した場合にその固定長動画データを一時的にバッファに格納させるバッファ機能,
前記動画受信部に最初の固定長動画データが受信されてから最後の固定長動画データが受信されるまでの間の予め定められたタイミングで前記バッファに蓄積されている各固定長動画データの通常再生時間を当該各固定長動画データに含まれるフレーム数及びそのフレームレートに基づいて計算しこの各通常再生時間の合計であるバッファ内合計再生時間を算出するバッファ監視機能,
この算出されたバッファ内合計再生時間の大小に応じて動画再生速度の速さを決定する再生速度決定機能,
及び、前記バッファに蓄積された固定長動画データを受信順に取り出して前記再生速度決定部に決定された動画再生速度で再生する動画再生機能,
をコンピュータに実現させることを特徴とする動画再生用プログラム。
A buffer function that temporarily stores fixed-length video data in a buffer when it receives video data that is divided and sent from the server over the network.
Each fixed-length moving image data stored in the buffer at a predetermined timing from when the first fixed-length moving image data is received to the moving image receiving unit until the last fixed-length moving image data is received. A buffer monitoring function for calculating a reproduction time based on the number of frames included in each fixed-length moving image data and its frame rate, and calculating a total reproduction time in the buffer which is the sum of the respective normal reproduction times;
A playback speed determination function that determines the speed of the video playback speed according to the calculated total playback time in the buffer,
And a moving picture playback function for taking out the fixed length moving picture data stored in the buffer in the order of reception and playing it at the moving picture playback speed determined by the playback speed determination unit,
A program for reproducing a moving picture, characterized in that a computer is realized.
JP2010112477A 2010-05-14 2010-05-14 Video playback terminal, video playback method and program Active JP5218995B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010112477A JP5218995B2 (en) 2010-05-14 2010-05-14 Video playback terminal, video playback method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010112477A JP5218995B2 (en) 2010-05-14 2010-05-14 Video playback terminal, video playback method and program

Publications (2)

Publication Number Publication Date
JP2011244097A JP2011244097A (en) 2011-12-01
JP5218995B2 true JP5218995B2 (en) 2013-06-26

Family

ID=45410326

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010112477A Active JP5218995B2 (en) 2010-05-14 2010-05-14 Video playback terminal, video playback method and program

Country Status (1)

Country Link
JP (1) JP5218995B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6257197B2 (en) 2013-07-18 2018-01-10 キヤノン株式会社 Information processing apparatus, control method therefor, program, and storage medium
JP6173085B2 (en) 2013-07-18 2017-08-02 キヤノン株式会社 Information processing apparatus, control method therefor, program, and storage medium
EP3613014B1 (en) 2017-04-21 2023-10-18 Zenimax Media Inc. Player input motion compensation by anticipating motion vectors

Also Published As

Publication number Publication date
JP2011244097A (en) 2011-12-01

Similar Documents

Publication Publication Date Title
US8504713B2 (en) Adaptive progressive download
JP4838273B2 (en) Adaptive media playback method and apparatus for intra-media synchronization
EP3123674B1 (en) Channel bonding
US7865928B2 (en) System and method of audio/video streaming
US10659380B2 (en) Media buffering
WO2013099122A1 (en) Apparatus and method for synchronized transmission of multimedia content over an asynchronous network
CN109168083B (en) Streaming media real-time playing method and device
JP2015536594A (en) Aggressive video frame drop
EP3125497B1 (en) Estimating processor load
US20080022007A1 (en) System and method of audio/video streaming
JP2009512265A (en) Video data transmission control system and method on network
WO2015061083A1 (en) Adapting a jitter buffer
KR20130114597A (en) Streaming media delivery composite
Huang et al. Tsync: A new synchronization framework for multi-site 3d tele-immersion
JP5218995B2 (en) Video playback terminal, video playback method and program
CN110225385B (en) Audio and video synchronization adjustment method and device
JP5186094B2 (en) Communication terminal, multimedia playback control method, and program
JP2014160911A (en) Packet processing device, method, and program
WO2016104178A1 (en) Signal processing device, signal processing method, and program
JP2012222530A (en) Receiving device and method, and program
US10834166B2 (en) Transmission apparatus that is capable of maintaining transmission quality in switching transmission path, reception apparatus, transmission and reception system, method of controlling transmission apparatus and reception apparatus, and storage medium
JP2004266724A (en) Real time voice buffer control apparatus
JP4861964B2 (en) Communication terminal device and computer program
KR102409915B1 (en) Apparatus and method for receiving of real time data streaming, system for transmitting and receiving of real time data streaming, computer-readable storage medium and computer program
JP2010136159A (en) Data receiver

Legal Events

Date Code Title Description
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: 20130205

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130225

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160315

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5218995

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350