JP2018133664A - Distribution device and program - Google Patents
Distribution device and program Download PDFInfo
- Publication number
- JP2018133664A JP2018133664A JP2017025219A JP2017025219A JP2018133664A JP 2018133664 A JP2018133664 A JP 2018133664A JP 2017025219 A JP2017025219 A JP 2017025219A JP 2017025219 A JP2017025219 A JP 2017025219A JP 2018133664 A JP2018133664 A JP 2018133664A
- Authority
- JP
- Japan
- Prior art keywords
- segment
- switching
- video stream
- distribution
- playlist
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000009826 distribution Methods 0.000 title claims abstract description 90
- 238000012545 processing Methods 0.000 claims abstract description 35
- 238000000034 method Methods 0.000 description 19
- 230000004044 response Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000004519 manufacturing process Methods 0.000 description 8
- 230000008859 change Effects 0.000 description 5
- 230000008929 regeneration Effects 0.000 description 4
- 238000011069 regeneration method Methods 0.000 description 4
- 230000000717 retained effect Effects 0.000 description 4
- 238000003860 storage Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 239000000470 constituent Substances 0.000 description 2
- 230000035939 shock Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 229930091051 Arenine Natural products 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005562 fading Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000001308 synthesis method Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
本発明は、映像ストリームを再生装置に配信する配信装置およびプログラムに関する。 The present invention relates to a distribution device and a program for distributing a video stream to a playback device.
インターネットなどの通信ネットワークを介した動画配信手法として、HLS(HTTP Live Streaming)、MPEG−DASH(Moving Picture Experts Group-Dynamic Adaptive Streaming over HTTP)に代表される、HTTP(Hypertext Transfer Protocol)に従い映像ストリームを再生装置に配信するHTTPベースの動画配信手法がある(非特許文献1参照)。HTTPベースの動画配信手法には、標準的なWebサーバを用いて、映像ストリームを配信することができるという利点がある。 As a video distribution method via a communication network such as the Internet, a video stream according to HTTP (Hypertext Transfer Protocol) represented by HLS (HTTP Live Streaming) and MPEG-DASH (Moving Picture Experts Group-Dynamic Adaptive Streaming over HTTP) There is an HTTP-based moving image distribution method for distributing to a playback device (see Non-Patent Document 1). The HTTP-based moving image distribution method has an advantage that a video stream can be distributed using a standard Web server.
上述したHLSを例にすると、配信側のエンコーダにより、映像ストリームが所定の時間長の動画ファイル(セグメント)に分割される。また、映像ストリームを分割したセグメントを再生装置において処理するための情報を示すプレイリストが生成される。プレイリストには、セグメントの場所、セグメントの時間長、セグメントの順序などの情報が含まれる。 Taking the above-mentioned HLS as an example, the video stream is divided into video files (segments) having a predetermined time length by the encoder on the delivery side. Also, a playlist indicating information for processing the segment obtained by dividing the video stream in the playback device is generated. The playlist includes information such as segment location, segment time length, segment order, and the like.
再生装置は、HTTPに従い、プレイリストやセグメントを配信するWebサーバから、再生対象の映像ストリームのプレイリストを取得し、取得したプレイリストに従い、再生対象の映像ストリームのセグメントを順番にダウンロードして再生する。 The playback device acquires a playlist of a video stream to be played back from a Web server that distributes the playlist and segments according to HTTP, and sequentially downloads and plays back the segments of the video stream to be played back according to the acquired playlist. To do.
上述したようなHTTPベースの動画配信手法では、再生側(再生装置)において、プレイリストの取扱いに課題が存在する。 In the HTTP-based moving image distribution method as described above, there is a problem in handling a playlist on the playback side (playback apparatus).
HLSを例にすると、映像ストリームの再生の開始は、再生装置が備えるWebブラウザ上での操作により可能である。しかしながら、映像ストリームを再生するプレイヤーは、JavaScript(登録商標)などを用いた動的な処理をすることができないケースがある。このようなケースでは、再生対象の映像ストリームを切り替える場合、プレイヤーを一旦終了させ、Webブラウザにより切替先の映像ストリームのプレイリストを再読み込みした後、再びプレイヤーを起動させるといった処理が必要となる。 Taking HLS as an example, playback of a video stream can be started by an operation on a Web browser provided in the playback device. However, there are cases in which a player who plays a video stream cannot perform dynamic processing using JavaScript (registered trademark) or the like. In such a case, when switching the video stream to be played back, it is necessary to temporarily stop the player, re-read the playlist of the video stream to be switched by the Web browser, and then start the player again.
このように、従来のHTTPベースの動画配信手法には、簡易な構成で、再生対象の映像ストリームのシームレスな切り替えが困難であるという問題があった。 As described above, the conventional HTTP-based moving image distribution method has a problem that it is difficult to seamlessly switch the video stream to be reproduced with a simple configuration.
上記のような問題点に鑑みてなされた本発明の目的は、簡易な構成で、再生対象の映像ストリームのシームレスな切り替えを可能とする配信装置およびプログラムを提供することにある。 An object of the present invention, which has been made in view of the above problems, is to provide a distribution apparatus and a program that enable seamless switching of a video stream to be reproduced with a simple configuration.
上記課題を解決するため、本発明に係る配信装置は、複数のセグメントに分割された複数の映像ストリームのいずれかを再生装置に配信する配信装置であって、前記複数の映像ストリームそれぞれに対応して設けられ、前記映像ストリームを分割したセグメントを処理するための情報を示すプレイリストを取得する取得部と、前記再生装置により参照され、前記再生装置での再生対象の映像ストリームを分割したセグメントを処理するための情報を示す参照用プレイリストを生成する生成部と、前記生成部により生成された参照用プレイリストを前記再生装置に配信する配信部と、を備え、前記生成部は、前記再生装置での再生対象の映像ストリームが切り替えられる場合、前記取得部により取得された、切替先の映像ストリームに対応して予め設けられたプレイリストにより前記参照用プレイリストを更新し、前記配信部は、前記生成部により更新された参照用プレイリストを前記再生装置に配信する。 In order to solve the above problems, a distribution device according to the present invention is a distribution device that distributes to a playback device one of a plurality of video streams divided into a plurality of segments, each corresponding to each of the plurality of video streams. An acquisition unit configured to acquire a playlist indicating information for processing the segment obtained by dividing the video stream, and a segment obtained by dividing the video stream to be reproduced by the reproduction device, which is referred to by the reproduction device. A generation unit that generates a reference playlist indicating information to be processed, and a distribution unit that distributes the reference playlist generated by the generation unit to the playback device, the generation unit including the playback When the video stream to be played back on the device is switched, it corresponds to the video stream of the switching destination acquired by the acquisition unit. The playlist is provided because update the playlist for the reference, the distribution unit distributes the reference play list that is updated by the generating unit to the reproducing apparatus.
また、本発明に係る配信装置において、前記再生装置での再生対象の映像ストリームが切り替えられる場合、切替元の映像ストリームのセグメントと、切替先の映像ストリームのセグメントとを用いて、切替用セグメントを生成する切替用セグメント生成部をさらに備え、前記配信部は、前記切替用セグメントに基づき前記参照用プレイリストを更新し、前記切替用セグメントに基づく前記参照用プレイリストの更新後、前記切替先の映像ストリームに対応して予め設けられたプレイリストにより、前記参照用プレイリストを更新することが好ましい。 Further, in the distribution device according to the present invention, when the video stream to be played back by the playback device is switched, the switching segment is determined using the segment of the video stream of the switching source and the segment of the video stream of the switching destination. A switching segment generation unit for generating, the distribution unit updates the reference playlist based on the switching segment, and after updating the reference playlist based on the switching segment, It is preferable that the reference playlist is updated by a playlist provided in advance corresponding to the video stream.
また、本発明に係る配信装置において、前記切替用セグメント生成部は、前記切替元の映像ストリームのセグメントと、前記切替先の映像ストリームのセグメントとを合成して切替用セグメントを生成し、前記配信部は、前記切替用セグメント生成部により生成された切替用セグメントにより前記切替先の映像ストリームのセグメントが置換されるように前記参照用プレイリストを更新することが好ましい。 Further, in the distribution device according to the present invention, the switching segment generation unit generates a switching segment by combining the segment of the switching source video stream and the segment of the switching destination video stream, and the distribution It is preferable that the unit updates the reference playlist so that the segment of the switching destination video stream is replaced by the switching segment generated by the switching segment generation unit.
また、本発明に係る配信装置において、前記切替用セグメント生成部は、前記切替元の映像ストリームのセグメントの1フレーム分の静止画と、前記切替先の映像ストリームのセグメントの1フレーム分の静止画とに基づき切替用セグメントを生成し、前記配信部は、前記切替用セグメント生成部により生成された切替用セグメントが、前記切替元の映像ストリームのセグメントと、前記切替先の映像ストリームのセグメントの次のセグメントとの間に挿入されるように、前記参照用プレイリストを更新することが好ましい。 Further, in the distribution device according to the present invention, the switching segment generation unit includes a still image for one frame of the segment of the switching source video stream and a still image for one frame of the segment of the switching destination video stream. Based on the switching segment, the distribution unit generates the switching segment generated by the switching segment generation unit next to the segment of the switching source video stream and the segment of the switching destination video stream. It is preferable to update the reference playlist so that it is inserted between the segments.
また、本発明に係る配信装置において、前記切替用セグメント生成部は、前記切替元の映像ストリームのセグメントの1フレーム分の静止画と、前記切替先の映像ストリームのセグメントの1フレーム分の静止画とに基づき切替用セグメントを生成し、前記配信部は、前記切替用セグメント生成部により生成された切替用セグメントにより前記切替先の映像ストリームのセグメントが置換されるように前記参照用プレイリストを更新することが好ましい。 Further, in the distribution device according to the present invention, the switching segment generation unit includes a still image for one frame of the segment of the switching source video stream and a still image for one frame of the segment of the switching destination video stream. And the distribution unit updates the reference playlist so that the segment of the switching destination video stream is replaced by the switching segment generated by the switching segment generation unit. It is preferable to do.
また、本発明に係る配信装置において、前記切替用セグメント生成部は、前記複数の映像ストリーム間での切替が所定の順序で行われる場合、前記切替元の映像ストリームのセグメントと、前記切替元の映像ストリームから切替可能な1以上の映像ストリームのセグメントそれぞれとを用いて前記切替用セグメントを生成し、前記配信部は、前記切替元の映像ストリームから、前記切替元の映像ストリームから切替可能な映像ストリームのうちのいずれかの映像ストリームに切り替えられる場合、前記切替用セグメント生成部により生成された切替用セグメントのうち、前記切替元の映像ストリームのセグメントと、切替先の映像ストリームのセグメントとに基づき生成された切替用セグメントに基づき前記参照用プレイリストを更新することが好ましい。 Further, in the distribution device according to the present invention, the switching segment generation unit, when switching between the plurality of video streams is performed in a predetermined order, the switching source video stream segment and the switching source The switching segment is generated using each of one or more video stream segments that can be switched from the video stream, and the distribution unit can switch from the switching source video stream to the switching source video stream. When switching to any one of the video streams, based on the segment of the switching source video stream and the segment of the switching destination video stream among the switching segments generated by the switching segment generation unit The reference playlist is updated based on the generated switching segment. It is preferred.
また、上記課題を解決するため、本発明に係るプログラムは、コンピュータを上記配信装置として機能させる。 Moreover, in order to solve the said subject, the program which concerns on this invention makes a computer function as said delivery apparatus.
本発明に係る再生装置およびプログラムによれば、簡易な構成で、再生対象の映像ストリームのシームレスな切り替えが可能となる。 The playback apparatus and program according to the present invention enable seamless switching of video streams to be played back with a simple configuration.
以下、本発明を実施するための形態について、図面を参照しながら説明する。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.
図1は、本発明の一実施形態に係る配信装置10の構成例を示す図である。本実施形態に係る配信装置10は、映像ストリームの配信側の配信システム1に設けられ、配信対象の複数の映像ストリームのいずれかを受信側の再生装置20に配信するためのものである。
FIG. 1 is a diagram illustrating a configuration example of a
図1に示す配信装置10は、取得部11と、切替用セグメント生成部12と、受信部13と、生成部14と、配信部15とを備える。
The
取得部11は、配信システム1内のエンコーダ(不図示)により生成された映像ストリームを分割したセグメントおよびセグメントを処理するための情報を示すプレイリストを取得し、切替用セグメント生成部12および生成部14に出力する。なお、通常、配信システム1による配信対象の映像ストリームは複数である。複数の映像ストリームとしては、それぞれ内容の異なる映像ストリーム、本番系および予備系として設けられた映像ストリーム、ビットレートの異なる映像ストリームなどがある。
The acquisition unit 11 acquires a playlist obtained by dividing a video stream generated by an encoder (not shown) in the
切替用セグメント生成部12は、取得部11が取得した映像ストリームのセグメントを用いて、例えば、再生装置20における再生対象の映像ストリームの切り替えの際に再生装置20に配信するセグメント(切替用セグメント)を生成し、生成部14に出力する。具体的には、切替用セグメント生成部12は、例えば、再生対象の映像ストリームを映像ストリームAから映像ストリームBに切り替える場合、切替元の映像ストリームである映像ストリームAのセグメントと、切替先の映像ストリームである映像ストリームBのセグメントとを用いて、切替用セグメントを生成する。
The segment generation unit 12 for switching uses the segment of the video stream acquired by the acquisition unit 11, for example, a segment (switching segment) that is delivered to the
受信部13は、配信システム1内の他の装置(不図示)および再生装置20の動作を制御するコントローラ21から種々の要求を受信する。受信部13が受信する要求としては、例えば、再生装置20での再生対象の映像ストリームの切り替えを要求する切替要求がある。なお、切替要求は、再生装置20のコントローラ21から受信することもあるし、配信システム1内の他の装置から受信することもある。また、受信部13が受信する要求としては、詳細は後述するが、再生装置20が再生対象の映像ストリームのセグメントを処理するために参照する参照用プレイリストの取得要求などがある。
The
生成部14は、取得部11が取得した映像ストリームに基づき、再生装置20が再生対象の映像ストリームのセグメントを処理するために参照する参照用プレイリストを生成し、配信部15に出力する。また、生成部14は、参照用プレイリストに従い、再生対象の映像ストリームのセグメントを配信部15に出力してもよい。ここで、生成部14は、例えば、複数の再生装置20において独立に映像ストリームの再生が行われる場合、再生装置20毎に異なる参照用プレイリストを生成する。また、生成部14は、例えば、複数の再生装置20で同じ映像ストリームを再生させる場合には、その複数の再生装置20に対して同様の参照用プレイリストを生成する。
Based on the video stream acquired by the acquisition unit 11, the
配信部15は、生成部14が生成した参照用プレイリストを再生装置20に配信する。また、配信部15は、参照用プレイリストに従い生成部14から再生対象の映像ストリームのセグメントが出力された場合には、そのセグメントを再生装置20に配信する。再生装置20のプレイヤー22は、配信装置10から配信された参照用プレイリストに従い、再生対象の映像ストリームのセグメントを処理し、再生する。
The
次に、本実施形態に係る配信装置10の動作について、図2に示すシーケンス図を参照して説明する。図2では、再生装置20における再生対象の映像ストリームが、映像ストリームAから映像ストリームBに切り替えられる場合を例として説明する。
Next, the operation of the
まず、映像ストリームA,Bそれぞれがセグメントに分割されるとともに、映像ストリームA,Bそれぞれに対応して、各映像ストリームのセグメントを処理するための情報を示すプレイリストが生成される。 First, each of the video streams A and B is divided into segments, and a playlist indicating information for processing the segments of each video stream is generated corresponding to each of the video streams A and B.
具体的には、映像ストリームAに対応するエンコーダAは、処理を開始すると(Start Processing)、映像ストリームAを分割してセグメントAを生成し、所定の記憶領域に記憶(Store)させる(ステップS101)。また、エンコーダAは、映像ストリームAに対応するプレイリストAを生成し、セグメントAを生成する毎に、プレイリストAを更新(Update)する(ステップS102)。 Specifically, when the encoder A corresponding to the video stream A starts processing (Start Processing), the video stream A is divided to generate a segment A and stored in a predetermined storage area (Store) (Step S101). ). In addition, the encoder A generates a playlist A corresponding to the video stream A, and updates (updates) the playlist A every time the segment A is generated (step S102).
また、映像ストリームBに対応するエンコーダBは、処理を開始すると(Start Processing)、映像ストリームBを分割してセグメントBを生成し、所定の記憶領域に記憶させる(Store)(ステップS103)。また、エンコーダBは、映像ストリームBに対応するプレイリストBを生成し、セグメントBを生成する毎に、プレイリストBを更新する(Update)(ステップS104)。 Further, when the encoder B corresponding to the video stream B starts processing (Start Processing), the video stream B is divided to generate a segment B and store it in a predetermined storage area (Store) (Step S103). In addition, the encoder B generates a playlist B corresponding to the video stream B, and updates the playlist B every time the segment B is generated (Step S104).
このように、映像ストリームA,Bそれぞれに対応して、各映像ストリームのセグメントを処理するための情報を示すプレイリストが予め生成される。 Thus, a playlist indicating information for processing a segment of each video stream is generated in advance corresponding to each of the video streams A and B.
生成部14は、再生装置20が再生対象の映像ストリームを再生するために参照する参照用プレイリスト(Playlist AtoB)を生成(Create)する(ステップS105)。
The
プレイヤー22は、配信装置10に対して、参照用プレイリスト(Playlist AtoB)の取得(Get)を要求する(ステップS106)。その要求に応じて、配信部15は、生成部14が生成した参照用プレイリスト(Playlist AtoB)を再生装置20に配信する(ステップS107)。
The
参照用プレイリストの生成後、配信装置10は、再生装置20に映像ストリームAを配信するための処理を開始する(Start Processing)。まず、取得部11は、映像ストリームAに対応するWebサーバに対して、プレイリストAの取得(Get)を要求する(ステップS108)。そして、取得部11は、その要求に応じて映像ストリームAに対応するWebサーバから送信されてきたプレイリストAを取得する(ステップS109)。生成部14は、取得部11が取得したプレイリストAを参照用プレイリストにコピーして、参照用プレイリストを更新する(Update(Copy A))(ステップS110)。
After generating the reference playlist, the
プレイヤー22は、配信装置10に対して、参照用プレイリストの取得(Get)を要求する(ステップS111)。その要求に応じて、配信部15は、生成部14が生成した参照用プレイリストを再生装置20に配信する(ステップS112)。
The
上述したように、参照用プレイリストは、プレイリストAの内容をほぼコピーしたものである。プレイヤー22は、参照用プレイリストに従い、映像ストリームAに対応するWebサーバに対して、映像ストリームAのセグメントAの取得(Get)を要求する(ステップS113)。そして、プレイヤー22は、その要求に応じて、映像ストリームAに対応するWebサーバから送信されてきたセグメントAを取得し、再生する。
As described above, the reference playlist is a copy of the content of playlist A. The
次に、再生対象の映像ストリームを映像ストリームAから映像ストリームBに切り替える操作入力が行われたとする。コントローラ21は、配信装置10に対して、映像ストリームAから映像ストリームBへの再生対象の映像ストリームの切り替え(Change)を要求する(ステップS115)。
Next, it is assumed that an operation input for switching the video stream to be reproduced from the video stream A to the video stream B is performed. The
取得部11は、映像ストリームAから映像ストリームBへの再生対象の映像ストリームの切り替えが再生装置20から要求されると、映像ストリームAに対応するWebサーバに対して、映像ストリームAのセグメントAの取得(Get)を要求する(ステップS116)。そして、取得部11は、その要求に応じて、映像ストリームAに対応するWebサーバから送信されてきたセグメントAを取得する(ステップ117)。また、取得部11は、映像ストリームBに対応するWebサーバに対して、映像ストリームBのセグメントBの取得(Get)を要求する(ステップS118)。そして、取得部11は、その要求に応じて、映像ストリームBに対応するWebサーバから送信されてきたセグメントBを取得する(ステップS119)。
When the
切替用セグメント生成部12は、取得部11が取得したセグメントA(切替元の映像ストリームである映像ストリームAのセグメントA)およびセグメントB(切替先の映像ストリームである映像ストリームBのセグメントB)とを用いて、切替用セグメント(Segment AtoB)を生成し(Generate)(ステップS120)、所定の記憶領域に記憶させる。 The switching segment generation unit 12 includes the segment A (segment A of the video stream A that is the switching source video stream) and the segment B (segment B of the video stream B that is the switching destination video stream) acquired by the acquisition unit 11. Is used to generate a switching segment (Segment AtoB) (Generate) (step S120) and store it in a predetermined storage area.
切替用セグメントの生成が完了すると(Done)(ステップS121)、生成部14は、切替用セグメントに基づき、参照用プレイリストを更新する(Update(AtoB))(ステップS122)。具体的には、生成部14は、切替用セグメントの場所、時間長などの情報を参照用プレイリストに書き込む。そして、生成部14は、配信部15を介して、再生対象の映像ストリームの切替要求に対する処理が完了した(Done)ことを再生装置20に通知する(ステップS123)。
When the generation of the switching segment is completed (Done) (step S121), the
なお、切替用セグメントの生成および切替用セグメントに基づく参照用プレイリストの更新の詳細については後述する。 Details of the generation of the switching segment and the update of the reference playlist based on the switching segment will be described later.
再生対象の映像ストリームの切替要求に対する処理が完了したことが通知されると、プレイヤー22は、配信装置10に対して、参照用プレイリストの取得(Get)を要求する(ステップS124)。再生装置20からの要求に応じて、配信部15は、生成部14が生成した参照用プレイリストを再生装置20に配信する(ステップS125)。
When notified that the process for switching the video stream to be played back has been completed, the
上述したように、参照用プレイリストは、切替用セグメントに基づき更新されている。プレイヤー22は、参照用プレイリストに従い、配信装置10に対して、切替用セグメントの取得(Get)を要求する(ステップS126)。そして、プレイヤー22は、その要求に応じて、配信装置10から送信されてきた切替用セグメントを取得し(ステップS127)、再生する。
As described above, the reference playlist is updated based on the switching segment. The
切替用セグメントの生成後、配信装置10は、再生装置20に映像ストリームBを配信するための処理を開始する(Start Processing)。取得部11は、映像ストリームBに対応するWebサーバに対して、プレイリストBの取得(Get)を要求する(ステップS128)。そして、取得部11は、その要求に応じて映像ストリームBに対応するWebサーバから送信されてきたプレイリストBを取得する(ステップS129)。生成部14は、取得部11が取得したプレイリストBを参照用プレイリストにコピーして、参照用プレイリストを更新する(Update(Copy B))(ステップS130)。
After generating the switching segment, the
プレイヤー22は、配信装置10に対して、参照用プレイリストの取得(Get)を要求する(ステップS131)。再生装置20からの要求に応じて、配信部15は、生成部14が生成した参照用プレイリストを再生装置20に配信する(ステップS132)。
The
上述したように、参照用プレイリストは、プレイリストBの内容をほぼコピーしたものである。プレイヤー22は、参照用プレイリストに従い、映像ストリームBに対応するWebサーバに対して、映像ストリームBのセグメントBの取得(Get)を要求する(ステップS133)。そして、プレイヤー22は、その要求に応じて、映像ストリームBに対応するWebサーバから送信されてきたセグメントBを取得し、再生する。
As described above, the reference play list is a copy of the content of play list B. The
このように、本実施形態においては、配信装置10は、再生装置20での再生対象の映像ストリームのセグメントを処理するための情報を示す参照用プレイリストを生成する。そして、配信装置10は、再生対象の映像ストリームが切り替えられる場合、切替先の映像ストリームに対応するプレイリストにより参照用プレイリストを更新する。
As described above, in the present embodiment, the
再生装置20は、再生対象の映像ストリームを切り替える場合にも、再生対象の映像ストリームの切り替えに応じて更新される参照用プレイリストだけを参照すればよく、参照するプレイリストを変更する必要が無い。したがって、再生対象の映像ストリームを切り替える場合に、プレイヤーを一旦終了させ、Webブラウザにより切替先の映像ストリームのプレイリストを再読み込みした後、再びプレイヤーを起動させるといった処理が不要となる。そのため、本実施形態においては、簡易な構成で、再生対象の映像ストリームのシームレスな切り替えが可能となる。
Even when the playback target video stream is switched, the
なお、図2においては、映像ストリームAのセグメントAおよび映像ストリームBのセグメントBはそれぞれ、各映像ストリームに対応するWebサーバから配信される例を用いて説明したが、これに限られるものではない。例えば、配信装置10が、映像ストリームAのセグメントAおよび映像ストリームBのセグメントBを取得し、再生装置20に配信するようにしてもよい。この場合、再生装置20は、配信装置10に対して、再生対象の映像ストリームのセグメントの取得を要求する。そして、配信装置10は、この要求に応じて、再生対象の映像ストリームのセグメントを再生装置20に配信する。
In FIG. 2, the segment A of the video stream A and the segment B of the video stream B have been described using an example distributed from a Web server corresponding to each video stream, but the present invention is not limited to this. . For example, the
また、図2においては、切替用セグメントを生成し、切替用セグメントにより参照用プレイリストを更新した後、セグメントBにより参照用プレイリストを更新する例を用いて説明したが、これに限られるものではない。映像ストリームAから映像ストリームBへのシームレスな切り替えのためだけなら、切替用セグメントは必ずしも必要ではない。すなわち、再生対象の映像ストリームを映像ストリームAから映像ストリームBに切り替える場合に、映像ストリームAに対応するプレイリストAがコピーされた参照用プレイリストを、切り替えタイミングに合わせて、映像ストリームBに対応するプレイリストBにより更新してもよい。こうすることによっても、映像ストリームAから映像ストリームBへのシームレスな切り替えが可能である。 In FIG. 2, the switching segment is generated, the reference playlist is updated by the switching segment, and then the reference playlist is updated by the segment B. However, the present invention is limited to this. is not. The switching segment is not always necessary for seamless switching from the video stream A to the video stream B. That is, when the video stream to be played is switched from the video stream A to the video stream B, the reference playlist to which the playlist A corresponding to the video stream A is copied corresponds to the video stream B according to the switching timing. You may update with the playlist B to be. This also enables seamless switching from the video stream A to the video stream B.
ただし、切替用セグメントを用いない場合、映像ストリームAと映像ストリームBとで同期がとれていないと、切替時に再生画像が急な変化(ショック)が生じてしまうことがある。例えば、同じ内容の本番系の映像ストリームと予備系の映像ストリームとが用意され、本番系の映像ストリームから予備系の映像ストリームに切り替える場合に、本番系の映像ストリームと予備系の映像ストリームとで同期がとれていないと、切替時にショックが発生してしまう。なお、複数の映像ストリームを同期させることは、各映像ストリームに対応するエンコーダの処理の制御などが必要となり、一般的に困難である。 However, when the switching segment is not used, if the video stream A and the video stream B are not synchronized, the playback image may suddenly change (shock) at the time of switching. For example, when a production video stream and a standby video stream having the same content are prepared, and when switching from a production video stream to a standby video stream, the production video stream and the standby video stream are If they are not synchronized, a shock will occur when switching. Note that it is generally difficult to synchronize a plurality of video streams because control of an encoder process corresponding to each video stream is required.
そこで、本実施形態においては、切替元の映像ストリームのセグメントと、切替先の映像ストリームのセグメントとを用いて、切替用セグメントを生成する。そして、切替用セグメントを用いて参照用プレイリストを更新した後、切替先の映像ストリームに対応するプレイリストにより参照プレイリストを更新する。こうすることで、切替元の映像ストリームと切替先の映像ストリームとの間の同期ずれを吸収し、再生画像が急な変化などを利用者に感じさせることなく、再生対象の映像ストリームを切り替えることができる。 Therefore, in this embodiment, a switching segment is generated using the segment of the switching source video stream and the segment of the switching destination video stream. Then, after updating the reference playlist using the switching segment, the reference playlist is updated with the playlist corresponding to the switching destination video stream. In this way, it is possible to absorb the synchronization error between the switching source video stream and the switching destination video stream and switch the playback target video stream without causing the user to feel a sudden change in the playback image. Can do.
また、切替用セグメントを用いることで、再生対象の映像ストリームの切替時に、アニメーションやフェードなどの映像効果を付加した切り替えが可能となる。 Further, by using the switching segment, it is possible to perform switching with the addition of video effects such as animation and fading when switching the video stream to be played back.
次に、切替用セグメントの生成方法について、図3,4を参照して説明する。なお、以下では、再生対象の映像ストリームが映像ストリームAから映像ストリームBに切り替えられるものとして説明する。また、映像ストリームAは、時系列的に並ぶセグメントA1,A2,A3,A4,A5,A6,・・・に分割されているものとする。また、映像ストリームBは、時系列的に並ぶセグメントB1,B2,B3,B4,B5,B6,・・・に分割されているものとする。そして、再生対象の映像ストリームが、映像ストリームAのセグメントA3の配信後、映像ストリームAから映像ストリームBに切り替えられるものとする。 Next, a method for generating the switching segment will be described with reference to FIGS. In the following description, it is assumed that the video stream to be reproduced is switched from the video stream A to the video stream B. In addition, the video stream A is divided into segments A1, A2, A3, A4, A5, A6,. In addition, the video stream B is divided into segments B1, B2, B3, B4, B5, B6,. Then, it is assumed that the video stream to be reproduced is switched from the video stream A to the video stream B after the distribution of the segment A3 of the video stream A.
図3は、切替用セグメントの生成方法の一例を示す図である。 FIG. 3 is a diagram illustrating an example of a method for generating a switching segment.
上述したように、再生対象の映像ストリームが、映像ストリームAのセグメントA3の配信後、映像ストリームAから映像ストリームBに切り替えられる。そのため、再生装置20への配信ストリームとしては、映像ストリームAのセグメントA1,A2,A3がこの順に配信される。
As described above, the video stream to be played is switched from the video stream A to the video stream B after the segment A3 of the video stream A is distributed. Therefore, the segments A1, A2 and A3 of the video stream A are distributed in this order as a distribution stream to the
切替時には、切替用セグメント生成部12は、切り替えタイミング直後の、切替元の映像ストリームのセグメント(映像ストリームAのセグメントA4)と、切替先の映像ストリームのセグメント(映像ストリームBのセグメントB4)とを動画合成して、切替用セグメントAB4を生成する。 At the time of switching, the switching segment generator 12 selects the segment of the switching source video stream (segment A4 of the video stream A) and the segment of the switching destination video stream (segment B4 of the video stream B) immediately after the switching timing. The moving image is synthesized to generate the switching segment AB4.
切替元の映像ストリームのセグメントと、切替先の映像ストリームのセグメントと動画合成した切替用セグメントAB4は、例えば、時間の経過とともに、切替元の映像ストリームのセグメントの画像が徐々に薄くなり、切替先の映像ストリームのセグメントの画像が徐々に濃くなるような動画像である。また、切替用セグメントAB4は、例えば、時間の経過とともに、切替元の映像ストリームのセグメントの画像が徐々に小さくなり、切替先の映像ストリームのセグメントの画像が徐々に大きくなるような動画像である。また、切替用セグメントAB4は、切替元の映像ストリームのセグメントの画像から、切替先の映像ストリームのセグメントの画像への切り替えの間にアニメーションなどが付加された動画像であってもよい。 For example, the segment of the switching source video stream, the segment of the switching destination video stream, and the switching segment AB4 that is combined with the moving image are gradually thinned with the passage of time. The moving image is such that the image of the segment of the video stream gradually becomes darker. Also, the switching segment AB4 is a moving image in which, for example, the segment image of the switching source video stream gradually decreases and the switching destination video stream segment image gradually increases with time. . The switching segment AB4 may be a moving image to which animation or the like is added during switching from the segment image of the switching source video stream to the segment image of the switching destination video stream.
切替用セグメントAB4は上述した例に限られるものではなく、切替元の映像ストリームのセグメントの画像と、切替先の映像ストリームのセグメントの画像とがスムーズに切り替えられれば、種々の動画合成方法により生成することができる。 The switching segment AB4 is not limited to the above-described example, and can be generated by various video synthesis methods as long as the switching source video stream segment image and the switching destination video stream segment image are smoothly switched. can do.
生成された切替用セグメントAB4は、切替先の映像ストリーム(映像ストリームB)のセグメントB4に置換される。すなわち、図3に示す例では、切替用セグメントAB4の生成に用いられた切替先の映像ストリームのセグメントB4が切替用セグメントAB4に置換されている。そのため、時間軸上で見た場合、新たなセグメントの追加などは行われていない(セグメントの時間軸が保持されている)。 The generated switching segment AB4 is replaced with the segment B4 of the switching destination video stream (video stream B). That is, in the example shown in FIG. 3, the segment B4 of the switching destination video stream used to generate the switching segment AB4 is replaced with the switching segment AB4. For this reason, when viewed on the time axis, no new segment is added (the time axis of the segment is maintained).
その後、切替先の映像ストリームのセグメントB4に続くセグメントB5,B6が順次、再生装置20に配信される。
Thereafter, the segments B5 and B6 following the segment B4 of the switching destination video stream are sequentially delivered to the
したがって、参照用プレイリストは、切替元の映像ストリームAのセグメントA3の後、切替用セグメントAB4が配信され、その後、切替先の映像ストリームBのセグメントB4に続くセグメントB5から順に配信されるように、更新される。 Therefore, in the reference playlist, after the segment A3 of the switching source video stream A, the switching segment AB4 is distributed, and thereafter, the segment B5 following the segment B4 of the switching destination video stream B is sequentially distributed. Updated.
図4は、切替用セグメントの生成方法の他の一例を示す図である。 FIG. 4 is a diagram illustrating another example of the method for generating the switching segment.
上述したように、再生対象の映像ストリームが、映像ストリームAのセグメントA3の配信後、映像ストリームAから映像ストリームBに切り替えられる。そのため、再生装置20への配信ストリームとしては、映像ストリームAのセグメントA1,A2,A3がこの順に配信される。
As described above, the video stream to be played is switched from the video stream A to the video stream B after the segment A3 of the video stream A is distributed. Therefore, the segments A1, A2 and A3 of the video stream A are distributed in this order as a distribution stream to the
切替時には、切替用セグメント生成部12は、切り替えタイミング直前の、切替元の映像ストリームのセグメント(映像ストリームAのセグメントA3)、および、切替先の映像ストリームのセグメント(映像ストリームBのセグメントB3)の1フレーム(例えば、最終フレーム)分の静止画を用いて、切替用セグメントAB3’を生成する。 At the time of switching, the switching segment generation unit 12 includes the segment of the switching source video stream (segment A3 of the video stream A) and the segment of the switching destination video stream (segment B3 of the video stream B) immediately before the switching timing. A switching segment AB3 ′ is generated using a still image for one frame (for example, the last frame).
切替元の映像ストリームのセグメント(静止画)と、切替先の映像ストリームのセグメント(静止画)とを合成した切替用セグメントは、例えば、静止画の切替りアニメーションを用いて生成することができる。 The switching segment obtained by combining the segment (still image) of the switching source video stream and the segment (still image) of the switching destination video stream can be generated using, for example, a still image switching animation.
生成された切替用セグメントAB3’は、切り替えタイミングの直前の切替元の映像ストリームのセグメント(映像ストリームAのセグメントA3)の直後に配信され、その後、切替先の映像ストリームBのセグメントB4,B5,B6が順次配信される。したがって、図4に示す例では、映像ストリームAのセグメントA3(切替タイミングの直前の切替元の映像ストリームのセグメント)と、映像ストリームBのセグメントB4(切替タイミングの直後の切替先の映像ストリームのセグメント)との間に、切替用セグメントAB3’が挿入される。すなわち、図4に示す例では、切替元の映像ストリームAのセグメントA3と、切替先の映像ストリームBのセグメントB4との間に切替用セグメントが挿入されているため、時間軸上で見た場合、新たなセグメントが追加されている(セグメントの時間軸が保持されていない)。 The generated switching segment AB3 ′ is distributed immediately after the segment of the switching source video stream immediately before the switching timing (segment A3 of the video stream A), and thereafter the segments B4, B5 of the switching destination video stream B B6 is delivered sequentially. Therefore, in the example shown in FIG. 4, the segment A3 of the video stream A (the segment of the video stream that is the switching source immediately before the switching timing) and the segment B4 of the video stream B (the segment of the video stream that is the switching destination immediately after the switching timing) ), A switching segment AB3 ′ is inserted. That is, in the example shown in FIG. 4, since the switching segment is inserted between the segment A3 of the switching source video stream A and the segment B4 of the switching destination video stream B, when viewed on the time axis , A new segment has been added (segment time axis is not preserved).
参照用プレイリストは、切替元の映像ストリームAのセグメントA3の後、切替用セグメントAB3’が配信され、その後、切替先の映像ストリームBのセグメントB3の次のセグメントB4、B5,B6が順次配信されるように、更新される。 In the reference playlist, after the segment A3 of the switching source video stream A, the switching segment AB3 ′ is distributed, and then the next segments B4, B5, B6 of the segment B3 of the switching destination video stream B are sequentially distributed. As updated.
図5は、本実施形態に係る配信装置10の動作の一例を示すフローチャートである。
FIG. 5 is a flowchart showing an example of the operation of the
生成部14は、取得部11を介して、処理対象の(現在の再生対象の)映像ストリームのプレイリストを取得する(ステップS201)。
The
次に、生成部14は、受信部13を介して、切替要求を受信したか否かを判定する(ステップS202)。
Next, the
切替要求を受信していないと判定した場合には(ステップS202:No)、生成部14は、処理対象の映像ストリームのセグメントをそのまま利用する(配信する)と決定し(ステップS203)、処理対象の映像ストリームのプレイリストにより参照用プレイリストを更新する(ステップS204)。
If it is determined that the switching request has not been received (step S202: No), the
切替要求を受信したと判定した場合には(ステップS202:Yes)、生成部14は、切替要求に基づき、切替先の映像ストリームを特定する(ステップS205)。
When it determines with having received the switching request (step S202: Yes), the production |
次に、取得部11は、切替元の映像ストリーム(現在の再生対象の映像ストリーム)および切替先の映像ストリームのセグメントを取得する(ステップS206)。 Next, the acquiring unit 11 acquires a switching source video stream (current playback target video stream) and a switching destination video stream segment (step S206).
切替用セグメント生成部12は、時間軸を保持するか否かを判定する(ステップS207)。なお、時間軸を保持するか否かは予め処理ルールとして設定されている。 The switching segment generator 12 determines whether or not to maintain the time axis (step S207). Whether or not to keep the time axis is set as a processing rule in advance.
時間軸を保持すると判定した場合には(ステップS207:Yes)、切替用セグメント生成部12は、図3に示すように、切替タイミング直後の切替元および切替先の映像ストリームのセグメントを動画合成して、切替用セグメントを生成する(ステップS208)。 If it is determined that the time axis is to be retained (step S207: Yes), the switching segment generator 12 synthesizes the segments of the switching source and switching destination video streams immediately after the switching timing as shown in FIG. Thus, a switching segment is generated (step S208).
生成部14は、切替タイミング直後の切替先の映像ストリームのセグメントが、切替用セグメント生成部12により生成された切替用セグメントに置換されるように、参照用プレイリストを更新する(ステップS209)。その後、生成部14は、切替先の映像ストリームのプレイリストにより参照用プレイリストを更新し、ステップS202の処理に戻る。
The
時間軸を保持しないと判定した場合には(ステップS207:No)、切替用セグメント生成部12は、切替タイミング直前の切替元および切替先の映像ストリームのセグメントの1フレーム(例えば、最終フレーム)分の静止画を合成して、切替用セグメントを生成する(ステップS210)。 When it is determined that the time axis is not retained (step S207: No), the switching segment generation unit 12 corresponds to one frame (for example, the last frame) of the segment of the switching source and switching destination video stream immediately before the switching timing. Are combined to generate a switching segment (step S210).
生成部14は、切替タイミング直前の切替元の映像ストリームのセグメントと、切替タイミング直後の切替先の映像ストリームのセグメントとの間に、切替用セグメント生成部12により生成された切替用セグメントに置換されるように、参照用プレイリストを更新する(ステップS211)。その後、生成部14は、切替先の映像ストリームのプレイリストにより参照用プレイリストを更新し、ステップS202の処理に戻る。
The
図5においては、切替要求を受けて、切替用セグメントを生成する例を用いて説明したが、これに限られるものではなく、切替要求を受ける前に予め切替用セグメントを生成しておいてもよい。図6は、切替要求を受ける前に予め切替用セグメントを生成する場合の、配信装置10の動作の一例を示すフローチャートである。
In FIG. 5, an example of generating a switching segment in response to a switching request has been described. However, the present invention is not limited to this, and a switching segment may be generated in advance before receiving a switching request. Good. FIG. 6 is a flowchart illustrating an example of the operation of the
生成部14は、取得部11を介して、処理対象の(現在の再生対象の)映像ストリームのプレイリストを取得する(ステップS301)。
The
次に、生成部14は、現在の再生対象の映像ストリームからの切替候補の映像ストリームを特定する(ステップS302)。
Next, the
そして、生成部14は、取得部11を介して、処理対象および切替候補の映像ストリームのセグメントを取得する(ステップS303)。
Then, the
切替用セグメント生成部12は、時間軸を保持するか否かを判定する(ステップS304)。 The switching segment generator 12 determines whether or not to maintain the time axis (step S304).
時間軸を保持すると判定した場合には(ステップS304:Yes)、切替用セグメント生成部12は、図3に示すように、処理対象の映像ストリームのセグメントと、切替候補の映像ストリームのセグメントそれぞれとを動画合成して、切替用セグメントを生成する(ステップS305)。 If it is determined that the time axis is to be retained (step S304: Yes), the switching segment generation unit 12 includes a segment of a video stream to be processed and a segment of a video stream that is a switching candidate, as illustrated in FIG. Are combined to generate a switching segment (step S305).
生成部14は、受信部13を介して、切替要求を受信したか否かを判定する(ステップS306)。
The
切替要求を受信したと判定した場合には(ステップS306:Yes)、生成部14は、切替タイミング直後の切替先の映像ストリームのセグメントが、切替候補の映像ストリーム毎に生成した切替用セグメントのうち、切替先の映像ストリームのセグメントを用いて生成した切替用セグメントに置換されるように、参照用プレイリストを更新する(ステップS307)。
If it is determined that the switching request has been received (step S306: Yes), the
切替要求を受信していないと判定した場合には(ステップS306:No)、生成部14は、処理対象の映像ストリームのセグメントをそのまま利用する(配信する)と決定し(ステップS308)、処理対象の映像ストリームのプレイリストにより参照用プレイリストを更新する(ステップS309)。
If it is determined that the switching request has not been received (step S306: No), the
時間軸を保持しないと判定した場合には(ステップS304:No)、切替用セグメント生成部12は、処理対象の映像ストリームおよび切替候補の映像ストリームのセグメントの1フレーム(例えば、最終フレーム)分の静止画を合成して、切替用セグメントを生成する(ステップS310)。 When it is determined that the time axis is not retained (step S304: No), the switching segment generation unit 12 corresponds to one frame (for example, the last frame) of the segment of the processing target video stream and the switching candidate video stream. A still image is synthesized to generate a switching segment (step S310).
生成部14は、受信部13を介して、切替要求を受信したか否かを判定する(ステップS311)。
The
切替要求を受信していないと判定した場合には(ステップS311:No)、生成部14は、ステップS308の処理に進む。
When it determines with not having received the switching request | requirement (step S311: No), the production |
切替要求を受信したと判定した場合には(ステップS311:No)、生成部14は、切替タイミング直前の切替元の映像ストリームのセグメントと、切替タイミング直後の切替先の映像ストリームのセグメントとの間に、切替候補の映像ストリーム毎に生成した切替用セグメントのうち、切替先の映像ストリームのセグメントを用いて生成した切替用セグメントを挿入して、参照用プレイリストを更新する(ステップS312)。
If it is determined that the switching request has been received (step S311: No), the
図6を参照して説明したように、切替要求を受ける前に予め切替用セグメントを生成する場合、配信可能な映像ストリームの数が多くなると、生成する切替用セグメントの数も多くなり、切替用セグメントの生成コストが増大する。ここで、複数の映像ストリーム間での切替の順序が予め決まっている場合には、切替用セグメントの生成コストの増大を抑制することができる。 As described with reference to FIG. 6, when the switching segment is generated in advance before the switching request is received, when the number of video streams that can be distributed increases, the number of switching segments to be generated also increases. Segment generation costs increase. Here, when the order of switching between a plurality of video streams is determined in advance, an increase in the generation cost of the switching segment can be suppressed.
例えば、図7に示すように、7つの映像ストリーム(映像ストリームA〜G)があるとする。そして、A→B→Cというように反時計回りの方向(図7に示す(1)の矢印の方向)の順番と、A→G→Fというように時計回りの方向(図7に示す(2)の矢印の方向)の順番とで切り替えが可能であるとする。 For example, as shown in FIG. 7, it is assumed that there are seven video streams (video streams A to G). And the order of the counterclockwise direction (direction of arrow (1) shown in FIG. 7) such as A → B → C and the clockwise direction (shown in FIG. It is assumed that switching is possible in the order of the direction of the arrow 2).
この場合、図8に示すように、映像ストリームBを基準とした場合、(1)の矢印の方向では、A→B,B→Cという2つの切替用セグメントを生成すればよく、(2)の矢印の方向では、C→B,B→Aという2つの切替用セグメントを生成すればよい。 In this case, as shown in FIG. 8, when the video stream B is used as a reference, two switching segments A → B and B → C may be generated in the direction of the arrow (1). In the direction of the arrow, two switching segments C → B and B → A may be generated.
したがって、図9に示すように、図7に示す(1)の矢印の方向および(2)の矢印の方向それぞれについて隣接する映像ストリーム(切替可能な映像ストリーム)間のみ切替用セグメントを生成すればよい。したがって、映像ストリームの数をNとすると、生成すべき切替用セグメントの数は(N−1)×2となる。 Therefore, as shown in FIG. 9, if a switching segment is generated only between adjacent video streams (switchable video streams) in the directions of the arrows (1) and (2) shown in FIG. Good. Therefore, if the number of video streams is N, the number of switching segments to be generated is (N−1) × 2.
また、隣接する映像ストリーム間での相互切り替え(例えば、A→B,B→A)について、並列に2つの切替用セグメントの生成処理を行うのではなく、共通の処理はまとめて実施することで、生成に要する処理時間および演算コストを減らすことができる。また、音を考慮する必要が無い場合には、切替元の映像ストリームのセグメントの静止画と、切替先の映像ストリームのセグメントの静止画とを合成し、切替先の映像ストリームのセグメントに置換することで、時間軸を保持することもできる。時間軸を保持する必要がなければ、切替元の映像ストリームの最終フレームと、切替先の映像ストリームの最終フレームとを合成して切替用セグメントを生成し、切替先の映像ストリームの前に挿入することもできる。 In addition, for mutual switching between adjacent video streams (for example, A → B, B → A), instead of performing the processing for generating two switching segments in parallel, common processing is performed together. The processing time and calculation cost required for generation can be reduced. If there is no need to consider the sound, the still image of the segment of the switching source video stream and the still image of the segment of the switching destination video stream are combined and replaced with the segment of the switching destination video stream. Thus, the time axis can be maintained. If it is not necessary to maintain the time axis, a switching segment is generated by combining the last frame of the switching source video stream and the last frame of the switching destination video stream, and is inserted before the switching destination video stream. You can also.
また、例えば、図10に示すように、9つの映像ストリーム(映像ストリームA〜I)があるとする。図10に示すようなタイル状の配置において、上下左右に隣接する映像ストリーム間で切り替えが可能であるとする。 Also, for example, as shown in FIG. 10, it is assumed that there are nine video streams (video streams A to I). In the tiled arrangement as shown in FIG. 10, it is possible to switch between video streams adjacent vertically and horizontally.
この場合、図11に示すように、映像ストリームEを基準とした場合、図11に示す(1)の矢印の方向(下方向および右方向)では、D→E,E→H,D→E,E→Fという4つの切替用セグメントを生成すればよく、図11に示す(2)の矢印の方向(上方向および左方向)では、E→B,H→E,E→D,F→Eという4つの切替用セグメントを生成すればよい。 In this case, as shown in FIG. 11, when the video stream E is used as a reference, D → E, E → H, D → E in the direction of the arrow (1) (downward and rightward) shown in FIG. , E → F, and four switching segments may be generated. In the direction of the arrow (2) shown in FIG. 11 (upward and leftward), E → B, H → E, E → D, F → It is only necessary to generate four switching segments E.
したがって、図12に示すように、図10に示す配置において、隣接する映像ストリーム間のみ切替用セグメントを生成すればよく、生成すべき切替用セグメントの数が制限される。 Therefore, as shown in FIG. 12, in the arrangement shown in FIG. 10, it is only necessary to generate switching segments between adjacent video streams, and the number of switching segments to be generated is limited.
また、図10に示すようなタイル状の配置においても、隣接する映像ストリーム間での相互切り替え(例えば、D→E,E→D)について、並列に2つの切替用セグメントの生成処理を行うのではなく、共通の処理はまとめて実施することで、生成に要する処理時間および演算コストを減らすことができる。また、音を考慮する必要が無い場合には、切替元の映像ストリームのセグメントの静止画と、切替先の映像ストリームのセグメントの静止画とを合成して切替用セグメントを生成することができる。また、切替元の映像ストリームのセグメントの静止画と、切替先の映像ストリームのセグメントの静止画とを合成して生成した切替用セグメントを、切替先の映像ストリームのセグメントに置換してもよいし、切替先の映像ストリームのセグメントの前に挿入してもよい。 Also, in the tiled arrangement as shown in FIG. 10, two switching segments are generated in parallel for mutual switching (for example, D → E, E → D) between adjacent video streams. Instead, the common processing is performed collectively, so that the processing time and calculation cost required for generation can be reduced. When there is no need to consider the sound, the switching segment can be generated by synthesizing the still image of the segment of the switching source video stream and the still image of the segment of the switching destination video stream. Further, the switching segment generated by combining the still image of the segment of the switching source video stream and the still image of the segment of the switching destination video stream may be replaced with the segment of the switching destination video stream. Alternatively, it may be inserted before the segment of the switching destination video stream.
このように本実施形態においては、配信装置10は、複数の映像ストリームそれぞれに対応して設けられ、映像ストリームを分割したセグメントを処理するための情報を示すプレイリストを取得する取得部11と、再生装置20により参照され、再生装置での再生対象の映像ストリームを分割したセグメントを処理するための情報を示す参照用プレイリストを生成する生成部14と、生成部14により生成された参照用プレイリストを前記再生装置に配信する配信部15とを備える。生成部14は、再生装置20での再生対象の映像ストリームが切り替えられる場合、取得部11により取得された、切替先の映像ストリームに対応して予め設けられたプレイリストにより、参照用プレイリストを更新する。配信部15は、生成部14により更新された参照用プレイリストを再生装置20に配信する。
As described above, in the present embodiment, the
再生装置20は、再生対象の映像ストリームを切り替える場合にも、再生対象の映像ストリームの切り替えに応じて更新される参照用プレイリストだけを参照していればよく、参照するプレイリストを変更する必要が無い。したがって、再生対象の映像ストリームを切り替える場合に、プレイヤーを一旦終了させ、Webブラウザにより切替先の映像ストリームのプレイリストを再読み込みした後、再びプレイヤーを起動させるといった処理が不要となる。そのため、簡易な構成で、再生対象の映像ストリームのシームレスな切り替えが可能となる。
Even when the playback target video stream is switched, the
上述した配信装置10として機能させるためにコンピュータを好適に用いることができ、そのようなコンピュータは、配信装置10の各機能を実現する処理内容を記述したプログラムを該コンピュータの記憶部に格納しておき、該コンピュータのCPU(Central Processing Unit)、GPU(Graphics Processing Unit)などによってこのプログラムを読み出して実行させることで実現することができる。なお、このプログラムは、コンピュータ読取り可能な記録媒体に記録可能である。
A computer can be suitably used to function as the
あるいは、配信装置10が行う各処理を実行するためのプログラムは記憶するメモリおよびメモリに記憶されたプログラムを実行するプロセッサによって構成され、配信装置10に搭載されるチップが提供されてもよい。
Or the program for performing each process which the
上述の実施形態は代表的な例として説明したが、本発明の趣旨および範囲内で、多くの変更および置換が可能であることは当業者に明らかである。したがって、本発明は、上述の実施形態によって制限するものと解するべきではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。例えば、実施形態の構成図に記載の複数の構成ブロックを1つに組み合わせたり、あるいは1つの構成ブロックを分割したりすることが可能である。 Although the above embodiments have been described as representative examples, it will be apparent to those skilled in the art that many changes and substitutions can be made within the spirit and scope of the invention. Therefore, the present invention should not be construed as being limited by the above-described embodiments, and various modifications and changes can be made without departing from the scope of the claims. For example, it is possible to combine a plurality of constituent blocks described in the configuration diagram of the embodiment into one, or to divide one constituent block.
1 配信システム
10 配信装置
11 取得部
12 切替用セグメント生成部
13 受信部
14 生成部
15 配信部
20 再生装置
21 コントローラ
22 プレイヤー
DESCRIPTION OF
Claims (7)
前記複数の映像ストリームそれぞれに対応して設けられ、前記映像ストリームを分割したセグメントを処理するための情報を示すプレイリストを取得する取得部と、
前記再生装置により参照され、前記再生装置での再生対象の映像ストリームを分割したセグメントを処理するための情報を示す参照用プレイリストを生成する生成部と、
前記生成部により生成された参照用プレイリストを前記再生装置に配信する配信部と、を備え、
前記生成部は、前記再生装置での再生対象の映像ストリームが切り替えられる場合、前記取得部により取得された、切替先の映像ストリームに対応して予め設けられたプレイリストにより前記参照用プレイリストを更新し、
前記配信部は、前記生成部により更新された参照用プレイリストを前記再生装置に配信することを特徴とする配信装置。 A distribution device that distributes one of a plurality of video streams divided into a plurality of segments to a playback device,
An acquisition unit that is provided corresponding to each of the plurality of video streams and acquires a playlist indicating information for processing a segment obtained by dividing the video stream;
A generating unit that generates a reference playlist indicating information for processing a segment obtained by dividing a video stream to be reproduced by the reproduction device, which is referred to by the reproduction device;
A distribution unit that distributes the reference playlist generated by the generation unit to the playback device;
When the video stream to be played back on the playback device is switched, the generation unit generates the reference playlist based on the playlist acquired in advance corresponding to the video stream to be switched acquired by the acquisition unit. Updated,
The distribution unit distributes the reference playlist updated by the generation unit to the playback device.
前記再生装置での再生対象の映像ストリームが切り替えられる場合、切替元の映像ストリームのセグメントと、切替先の映像ストリームのセグメントとを用いて、切替用セグメントを生成する切替用セグメント生成部をさらに備え、
前記配信部は、前記切替用セグメントに基づき前記参照用プレイリストを更新し、前記切替用セグメントに基づく前記参照用プレイリストの更新後、前記切替先の映像ストリームに対応して予め設けられたプレイリストにより、前記参照用プレイリストを更新することを特徴とする配信装置 The distribution apparatus according to claim 1,
When the video stream to be played back by the playback device is switched, the video recording apparatus further includes a switching segment generation unit that generates a switching segment using the segment of the switching source video stream and the segment of the switching destination video stream ,
The distribution unit updates the reference playlist based on the switching segment, and after updating the reference playlist based on the switching segment, plays that are provided in advance corresponding to the switching destination video stream. A distribution apparatus for updating the reference playlist by a list
前記切替用セグメント生成部は、前記切替元の映像ストリームのセグメントと、前記切替先の映像ストリームのセグメントとを合成して切替用セグメントを生成し、
前記配信部は、前記切替用セグメント生成部により生成された切替用セグメントにより前記切替先の映像ストリームのセグメントが置換されるように前記参照用プレイリストを更新することを特徴とする配信装置。 The distribution device according to claim 2,
The switching segment generation unit generates a switching segment by combining the segment of the switching source video stream and the segment of the switching destination video stream,
The distribution apparatus, wherein the distribution unit updates the reference playlist so that the segment of the switching destination video stream is replaced by the switching segment generated by the switching segment generation unit.
前記切替用セグメント生成部は、前記切替元の映像ストリームのセグメントの1フレーム分の静止画と、前記切替先の映像ストリームのセグメントの1フレーム分の静止画とに基づき切替用セグメントを生成し、
前記配信部は、前記切替用セグメント生成部により生成された切替用セグメントが、前記切替元の映像ストリームのセグメントと、前記切替先の映像ストリームのセグメントの次のセグメントとの間に挿入されるように、前記参照用プレイリストを更新することを特徴とする配信装置。 The distribution device according to claim 2,
The switching segment generation unit generates a switching segment based on a still image of one frame of the segment of the switching source video stream and a still image of one frame of the segment of the switching destination video stream,
The distribution unit causes the switching segment generated by the switching segment generation unit to be inserted between a segment of the switching source video stream and a segment next to the segment of the switching destination video stream. And the reference playlist is updated.
前記切替用セグメント生成部は、前記切替元の映像ストリームのセグメントの1フレーム分の静止画と、前記切替先の映像ストリームのセグメントの1フレーム分の静止画とに基づき切替用セグメントを生成し、
前記配信部は、前記切替用セグメント生成部により生成された切替用セグメントにより前記切替先の映像ストリームのセグメントが置換されるように前記参照用プレイリストを更新することを特徴とする配信装置。 The distribution device according to claim 2,
The switching segment generation unit generates a switching segment based on a still image of one frame of the segment of the switching source video stream and a still image of one frame of the segment of the switching destination video stream,
The distribution apparatus, wherein the distribution unit updates the reference playlist so that the segment of the switching destination video stream is replaced by the switching segment generated by the switching segment generation unit.
前記切替用セグメント生成部は、前記複数の映像ストリーム間での切替が所定の順序で行われる場合、前記切替元の映像ストリームのセグメントと、前記切替元の映像ストリームから切替可能な1以上の映像ストリームのセグメントそれぞれとを用いて前記切替用セグメントを生成し、
前記配信部は、前記切替元の映像ストリームから、前記切替元の映像ストリームから切替可能な映像ストリームのうちのいずれかの映像ストリームに切り替えられる場合、前記切替用セグメント生成部により生成された切替用セグメントのうち、前記切替元の映像ストリームのセグメントと、切替先の映像ストリームのセグメントとに基づき生成された切替用セグメントに基づき前記参照用プレイリストを更新することを特徴とする配信装置。 The distribution device according to any one of claims 2 to 5,
The switching segment generation unit, when switching between the plurality of video streams is performed in a predetermined order, the switching source video stream segment and at least one video switchable from the switching source video stream The switching segment is generated using each of the stream segments,
When the distribution unit is switched from the switching source video stream to any one of the switchable video streams, the switching unit generated by the switching segment generation unit The distribution apparatus, wherein the reference playlist is updated based on a switching segment generated based on the segment of the switching source video stream and the segment of the switching destination video stream among the segments.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017025219A JP6861046B2 (en) | 2017-02-14 | 2017-02-14 | Distribution device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017025219A JP6861046B2 (en) | 2017-02-14 | 2017-02-14 | Distribution device and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018133664A true JP2018133664A (en) | 2018-08-23 |
JP6861046B2 JP6861046B2 (en) | 2021-04-21 |
Family
ID=63249833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017025219A Active JP6861046B2 (en) | 2017-02-14 | 2017-02-14 | Distribution device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6861046B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2021106088A1 (en) * | 2019-11-26 | 2021-06-03 | ||
JP7479750B2 (en) | 2020-11-26 | 2024-05-09 | ▲騰▼▲訊▼科技(深▲セン▼)有限公司 | Virtual video live broadcast processing method and device, electronic device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002152590A (en) * | 2000-11-10 | 2002-05-24 | Canon Inc | Image processor, image processing system, image indication method, and storage medium |
JP2007129515A (en) * | 2005-11-04 | 2007-05-24 | Sharp Corp | Image display control device |
JP2008005429A (en) * | 2006-06-26 | 2008-01-10 | Toshiba Corp | Apparatus and method for receiving digital television broadcast |
JP2013500658A (en) * | 2009-07-30 | 2013-01-07 | アルカテル−ルーセント | Method for switching media content for mobile devices |
JP2015033074A (en) * | 2013-08-06 | 2015-02-16 | キヤノン株式会社 | Communication device and method, and program |
WO2016063780A1 (en) * | 2014-10-20 | 2016-04-28 | ソニー株式会社 | Receiving device, transmitting device, and data processing method |
JP2016213709A (en) * | 2015-05-11 | 2016-12-15 | 株式会社Nttドコモ | Moving image reproduction system, client device, server device, and program |
-
2017
- 2017-02-14 JP JP2017025219A patent/JP6861046B2/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002152590A (en) * | 2000-11-10 | 2002-05-24 | Canon Inc | Image processor, image processing system, image indication method, and storage medium |
JP2007129515A (en) * | 2005-11-04 | 2007-05-24 | Sharp Corp | Image display control device |
JP2008005429A (en) * | 2006-06-26 | 2008-01-10 | Toshiba Corp | Apparatus and method for receiving digital television broadcast |
JP2013500658A (en) * | 2009-07-30 | 2013-01-07 | アルカテル−ルーセント | Method for switching media content for mobile devices |
JP2015033074A (en) * | 2013-08-06 | 2015-02-16 | キヤノン株式会社 | Communication device and method, and program |
WO2016063780A1 (en) * | 2014-10-20 | 2016-04-28 | ソニー株式会社 | Receiving device, transmitting device, and data processing method |
JP2016213709A (en) * | 2015-05-11 | 2016-12-15 | 株式会社Nttドコモ | Moving image reproduction system, client device, server device, and program |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2021106088A1 (en) * | 2019-11-26 | 2021-06-03 | ||
WO2021106088A1 (en) * | 2019-11-26 | 2021-06-03 | 日本電信電話株式会社 | System control device, and prototype manifest file acquiring method |
JP7363920B2 (en) | 2019-11-26 | 2023-10-18 | 日本電信電話株式会社 | System control device and prototype manifest file acquisition method |
JP7479750B2 (en) | 2020-11-26 | 2024-05-09 | ▲騰▼▲訊▼科技(深▲セン▼)有限公司 | Virtual video live broadcast processing method and device, electronic device |
Also Published As
Publication number | Publication date |
---|---|
JP6861046B2 (en) | 2021-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6155305B2 (en) | System and method for synchronous playback of streaming digital content | |
JP5481606B1 (en) | Image generation system and image generation program | |
US9843825B1 (en) | Distributed and synchronized media switching | |
JP7177285B2 (en) | Method, apparatus and program for receiving media data | |
JP2017163426A (en) | Advertisement distribution server, program distribution server, reproduction terminal, and video distribution system | |
JP2009284055A (en) | Program, information storage medium, and motion picture distributing system | |
JP2016134701A (en) | Video reproduction control program, video reproduction control method, video distribution server, transmission program, and transmission method | |
JP6861046B2 (en) | Distribution device and program | |
JP2022526807A (en) | How to receive media data for media content, devices, and computer programs | |
JP6342526B2 (en) | Method and system for sharing live broadcast data | |
KR102521753B1 (en) | A method for playing content streamed over a network in a player on a client device | |
JP2022042997A (en) | Method, server, and computer-readable recording medium for minimizing delay in real time live streaming | |
WO2019085243A1 (en) | Audio and video data playback method and server and client terminal | |
US20230217047A1 (en) | Method, system, and computer-readable recording medium for implementing fast-switching mode between channels in multi-live transmission environment | |
KR20180059285A (en) | Medeia play device and server for providing virtual reality video | |
JP2019075604A (en) | Information processing device, moving image distribution method, and moving image distribution program | |
JP6513054B2 (en) | Client device of content delivery system, method and program for acquiring content | |
CN115515003A (en) | Device management in ad hoc presence networks | |
JP2004104704A (en) | Video reproducing apparatus, video reproducing method, and program | |
JP2017168940A (en) | Playback control program, conversion program, playback control device, terminal device, moving image playback system, playback control method, and conversion method | |
JP2016134702A (en) | Video data file generation program, video data file generation method, and video data file generation device | |
JP2004088621A (en) | Multimedia communication control method, multimedia communication control server and multimedia communication system | |
JP2016015566A (en) | Terminal device and data distribution method | |
JP7014956B2 (en) | Information processing systems, information processing methods, and programs | |
JP6885351B2 (en) | Quality prediction device, quality prediction method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200108 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200924 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20201027 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201211 |
|
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: 20210302 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210329 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6861046 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |