JP7200313B2 - Playback device, remote playback system, playback method, and computer program - Google Patents

Playback device, remote playback system, playback method, and computer program Download PDF

Info

Publication number
JP7200313B2
JP7200313B2 JP2021138022A JP2021138022A JP7200313B2 JP 7200313 B2 JP7200313 B2 JP 7200313B2 JP 2021138022 A JP2021138022 A JP 2021138022A JP 2021138022 A JP2021138022 A JP 2021138022A JP 7200313 B2 JP7200313 B2 JP 7200313B2
Authority
JP
Japan
Prior art keywords
video
data
moving image
unit
switching
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
JP2021138022A
Other languages
Japanese (ja)
Other versions
JP2021182780A (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.)
Furuno Electric Co Ltd
Original Assignee
Furuno Electric Co 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 Furuno Electric Co Ltd filed Critical Furuno Electric Co Ltd
Priority to JP2021138022A priority Critical patent/JP7200313B2/en
Publication of JP2021182780A publication Critical patent/JP2021182780A/en
Application granted granted Critical
Publication of JP7200313B2 publication Critical patent/JP7200313B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations

Description

本発明は、ストリーミングにより配信された映像及び音声を再生する再生装置、遠隔再生システム、再生方法、及びコンピュータを再生装置として機能させるコンピュータプログラムに関する。 The present invention relates to a playback device, a remote playback system, a playback method, and a computer program for causing a computer to function as a playback device for playing back video and audio distributed by streaming.

例えば、学校の授業において、教師が使用する端末装置に出力される映像及び音声と同一の映像及び音声を教室内に設置された大型の表示装置に遠隔再生(ミラーリング)する遠隔再生システムが知られている(例えば、特許文献1)。かかる遠隔再生システムでは、端末装置が自装置で出力している映像及び音声を取り込み映像データ及び音声データを生成し、これらのデータを例えば無線通信により送信する。無線LAN(Local Area Network)のアクセスポイント等の再生装置がこれらのデータを受信して再生し、再生装置に接続された表示装置に映像及び音声が出力される。 For example, there is known a remote playback system for remotely playing back (mirroring) the same video and audio as the video and audio output to a terminal device used by a teacher in a class on a large display device installed in the classroom. (for example, Patent Document 1). In such a remote playback system, a terminal device captures video and audio output by its own device, generates video data and audio data, and transmits these data by, for example, wireless communication. A reproducing device such as an access point of a wireless LAN (Local Area Network) receives and reproduces these data, and video and audio are output to a display device connected to the reproducing device.

特開2016-213541号公報JP 2016-213541 A

ところで、低通信量と高画質とを両立するために、画質は低いが単位時間当たりに処理されるデータ量が小さい映像再生処理と、高画質だが単位時間当たりに処理されるデータ量が大きい映像再生処理とを切り替えることが考えられる。しかしながら、このような映像再生処理の切り替えでは、前者に対して後者の再生負荷が高く、データの受信から映像の再生までの遅れ時間が大きい。その一方で、音声の再生負荷は低く再生の遅れ時間が短いため、前者から後者に切り替えた場合に音声に対して映像に遅れが生じるという問題がある。 By the way, in order to achieve both low communication traffic and high image quality, there is a video playback process with low image quality but a small amount of data processed per unit time, and a video playback process with high image quality but a large amount of data processed per unit time. It is conceivable to switch to playback processing. However, in such switching of video reproduction processing, the reproduction load of the latter is higher than that of the former, and the delay time from reception of data to reproduction of video is long. On the other hand, since the reproduction load of audio is low and the delay time of reproduction is short, there is a problem that when the former is switched to the latter, the video is delayed with respect to the audio.

本発明は斯かる事情に鑑みてなされたものであり、その主たる目的は、上記課題を解決できる再生装置、遠隔再生システム、再生方法、及びコンピュータプログラムを提供することにある。 SUMMARY OF THE INVENTION The present invention has been made in view of such circumstances, and its main object is to provide a playback device, a remote playback system, a playback method, and a computer program that can solve the above problems.

上述した課題を解決するために、本発明の一の態様の再生装置は、音声時刻情報が付加された音声データ、時間的に前後する2つのフレーム間の差分データ、および動画時刻情報が付加された動画データを受信する通信部と、前記差分データと、前記2つのフレームのうちの前のフレームとに基づいて生成された後のフレームにより映像を再生する第1映像再生部と、前記動画データに基づいて生成された時間的に連続する複数のフレームにより映像を再生する第2映像再生部と、前記音声データに基づいて音声を再生するとともに、前記第2映像再生部が前記映像を再生している場合には、前記動画時刻情報と前記音声時刻情報とに基づいて前記音声を前記映像に同期させる音声再生部とを備える。 In order to solve the above-described problems, a reproducing apparatus according to one aspect of the present invention provides audio data to which audio time information is added, difference data between two temporally preceding and following frames, and video time information to which video time information is added. a communication unit that receives the moving image data obtained from the video data; a first video reproducing unit that reproduces video using a subsequent frame generated based on the difference data and the previous frame of the two frames; and the moving image data. a second video reproduction unit that reproduces video from a plurality of temporally continuous frames generated based on the above; and reproduces audio based on the audio data, and the second video reproduction unit reproduces the video. and an audio reproducing unit for synchronizing the audio with the video based on the moving image time information and the audio time information.

また、本発明の他の態様の遠隔再生システムは、音声時刻情報が付加された音声データ、時間的に前後する2つのフレーム間の差分データ、および動画時刻情報が付加された動画データを送信するコンテンツ送信装置と、上記態様の再生装置とを備える。 A remote playback system according to another aspect of the present invention transmits audio data to which audio time information is added, differential data between two temporally preceding and following frames, and moving image data to which moving image time information is added. A content transmission device and a playback device according to the aspect described above are provided.

また、本発明の他の態様の再生方法は、音声時刻情報が付加された音声データと、時間的に前後する2つのフレーム間の差分を示す差分データとを受信し、受信された前記差分データと、前記2つのフレームのうちの前のフレームとに基づいて生成された後のフレームにより映像を再生し、受信された音声データに基づいて、前記映像と同時に音声を再生し、前記差分データによる映像から、時間的に連続する複数のフレームを生成するための動画データによる映像へ切り替える場合に、音声時刻情報が付加された音声データと、動画時刻情報が付加された動画データとを受信し、前記差分データによる映像の再生を停止し、受信された前記動画データに基づいて生成された時間的に連続する複数のフレームにより映像を再生し、受信された音声データに基づいて音声を再生すると共に、前記動画時刻情報と前記音声時刻情報とに基づいて前記音声を前記映像に同期させる。 Further, a reproduction method according to another aspect of the present invention receives audio data to which audio time information is added and difference data indicating a difference between two temporally preceding and succeeding frames, and reproduces the received difference data. and a frame generated based on the previous frame of the two frames, reproduces the audio simultaneously with the video based on the received audio data, and reproduces the audio according to the difference data. receiving audio data to which audio time information is added and video data to which video time information is added when switching from video to video data for generating a plurality of temporally continuous frames; stopping reproduction of video based on the differential data, reproducing video with a plurality of temporally continuous frames generated based on the received moving image data, and reproducing audio based on the received audio data; and synchronizing the audio with the video based on the moving image time information and the audio time information.

また、本発明の他の態様のコンピュータプログラムは、コンピュータを、映像及び音声を含むコンテンツを送信するコンテンツ送信装置として機能させるためのコンピュータプログラムであって、時間的に前後する2つのフレーム間の差分を示す差分データを送信する第1映像送信手段、動画時刻情報が付加された動画データを送信する第2映像送信手段、音声時刻情報が付加された音声データを送信する音声送信手段、及び前記差分データ及び前記動画データの一方から他方へ映像再生を切り替える場合に、前記第1映像送信手段及び前記第2映像送信手段の一方から他方へ実行対象を切り替える切替手段として前記コンピュータを機能させる。 A computer program according to another aspect of the present invention is a computer program for causing a computer to function as a content transmission device that transmits content including video and audio, the computer program comprising: a first video transmission means for transmitting differential data indicating the difference, a second video transmission means for transmitting video data to which video time information is added, an audio transmission means for transmitting audio data to which audio time information is added, and the difference When video reproduction is switched from one of the data and the video data to the other, the computer functions as switching means for switching the execution target from one of the first video transmission means and the second video transmission means to the other.

本発明によれば、低通信量と高画質とを両立しつつ、映像と音声とのずれを抑制することができる。 ADVANTAGE OF THE INVENTION According to this invention, the gap of an image|video and an audio|voice can be suppressed, making both low traffic and high image quality compatible.

実施の形態に係る遠隔再生システムの構成を示す模式図。1 is a schematic diagram showing the configuration of a remote playback system according to an embodiment; FIG. 実施の形態に係るコンテンツ送信装置の構成を示すブロック図。1 is a block diagram showing the configuration of a content transmission device according to an embodiment; FIG. 実施の形態に係るコンテンツ送信装置の機能を示す機能ブロック図。FIG. 2 is a functional block diagram showing functions of the content transmission device according to the embodiment; 実施の形態に係る再生装置の構成を示すブロック図。1 is a block diagram showing the configuration of a playback device according to an embodiment; FIG. 実施の形態に係る表示装置の構成を示すブロック図。1 is a block diagram showing the configuration of a display device according to an embodiment; FIG. 実施の形態に係る再生装置の機能を示す機能ブロック図。FIG. 3 is a functional block diagram showing functions of the playback device according to the embodiment; 実施の形態に係る遠隔再生システムによるコンテンツの遠隔再生の手順を示すフローチャート(その1)。4 is a flowchart (Part 1) showing a procedure for remote playback of content by the remote playback system according to the embodiment; 実施の形態に係る遠隔再生システムによるコンテンツの遠隔再生の手順を示すフローチャート(その2)。4 is a flowchart (part 2) showing a procedure for remote playback of content by the remote playback system according to the embodiment; 実施の形態に係る遠隔再生システムによるコンテンツの遠隔再生の手順を示すフローチャート(その3)。3 is a flowchart (part 3) showing a procedure for remote playback of content by the remote playback system according to the embodiment; 実施の形態に係る遠隔再生システムによるコンテンツの遠隔再生の手順を示すフローチャート(その4)。4 is a flowchart (part 4) showing a procedure for remote playback of content by the remote playback system according to the embodiment; 差分データの生成処理を説明するための図。FIG. 4 is a diagram for explaining a difference data generation process; 差分モードから動画モードへ切り換える場合における第1透過率α1及び第2透過率α2の変化を示すグラフ。5 is a graph showing changes in the first transmittance α1 and the second transmittance α2 when switching from the difference mode to the moving image mode; 差分モードから動画モードへ切り換える場合における音声出力レベルSLの変化を示すグラフ。4 is a graph showing changes in the audio output level SL when switching from the difference mode to the moving image mode; 動画モードから差分モードへ切り換える場合における第1透過率α1及び第2透過率α2の変化を示すグラフ。7 is a graph showing changes in the first transmittance α1 and the second transmittance α2 when switching from the moving image mode to the differential mode;

以下、本発明の好ましい実施の形態を、図面を参照しながら説明する。なお、以下に示す各実施の形態は、本発明の技術的思想を具体化するための方法及び装置を例示するものであって、本発明の技術的思想は下記のものに限定されるわけではない。本発明の技術的思想は、特許請求の範囲に記載された技術的範囲内において種々の変更を加えることができる。 Preferred embodiments of the present invention will be described below with reference to the drawings. It should be noted that each of the embodiments shown below exemplifies a method and apparatus for embodying the technical idea of the present invention, and the technical idea of the present invention is not limited to the following. Absent. Various modifications can be made to the technical idea of the present invention within the technical scope described in the claims.

本実施の形態では、教師が用いる端末装置であるコンテンツ送信装置において出力される映像及び音声(コンテンツ)と同一の映像及び音声を遠隔再生(ミラーリング)する遠隔再生システムについて説明する。 In this embodiment, a remote playback system for remotely playing (mirroring) the same video and audio as the video and audio (content) output from a content transmission device, which is a terminal device used by a teacher, will be described.

[遠隔再生システムの構成]
図1は、本実施の形態に係る遠隔再生システムの構成を示す模式図である。本実施の形態に係る遠隔再生システムは、例えば、学校、企業の社屋、病院、公民館等の公共施設等に設置される。本実施の形態では、遠隔再生システムが学校に設置された例について説明する。図1に示すように、遠隔再生システム100は、コンテンツ送信装置200と、再生装置300と、表示装置400とを備える。再生装置300は、教室内に設置される。コンテンツ送信装置200はタブレットであり、教師が使用する。コンテンツ送信装置200は無線LAN規格IEEE802.11a/b/g/n/acによる無線通信が可能であり、再生装置300は同無線LAN規格による無線通信が可能なアクセスポイントである。各教室及び校長室では再生装置300により無線LAN450が構成される。また、再生装置300は各教室及びその他の部屋(校長室、職員室等)に亘って敷設された有線LAN460及びインターネット(図示せず)に接続されており、有線LAN460及びインターネットに接続された通信機器との間で通信が可能である。
[Configuration of remote playback system]
FIG. 1 is a schematic diagram showing the configuration of a remote playback system according to this embodiment. The remote playback system according to this embodiment is installed, for example, in public facilities such as schools, company buildings, hospitals, and public halls. In this embodiment, an example in which a remote playback system is installed in a school will be described. As shown in FIG. 1, the remote playback system 100 includes a content transmission device 200, a playback device 300, and a display device 400. FIG. A playback device 300 is installed in a classroom. The content transmission device 200 is a tablet used by the teacher. The content transmission device 200 is capable of wireless communication according to the wireless LAN standard IEEE802.11a/b/g/n/ac, and the playback device 300 is an access point capable of wireless communication according to the wireless LAN standard. A wireless LAN 450 is configured by the reproducing device 300 in each classroom and the principal's office. In addition, the playback device 300 is connected to a wired LAN 460 laid over each classroom and other rooms (principal's office, staff room, etc.) and the Internet (not shown), and communication connected to the wired LAN 460 and the Internet is performed. Communication with the device is possible.

なお、コンテンツ送信装置200は、無線LANによる無線通信が可能であれば、ラップトップ型のパーソナルコンピュータ、スマートフォン、携帯電話機などであってもよい。 Note that the content transmission device 200 may be a laptop personal computer, a smart phone, a mobile phone, or the like, as long as wireless communication is possible using a wireless LAN.

コンテンツ送信装置200の構成について説明する。図2は、コンテンツ送信装置200の構成を示すブロック図である。コンテンツ送信装置200は、無線通信部201と、表示部202と、スピーカ203と、入力部204と、記憶部205と、制御部206とを備える。 A configuration of the content transmission device 200 will be described. FIG. 2 is a block diagram showing the configuration of the content transmission device 200. As shown in FIG. The content transmission device 200 includes a wireless communication section 201 , a display section 202 , a speaker 203 , an input section 204 , a storage section 205 and a control section 206 .

無線通信部201は、IEEE802.11a/b/g/n/acによる無線通信を可能とし、無線通信用のアンテナ207を有している。表示部202は、LCD(liquid crystal display)又は有機EL(Electro Luminescence)により構成される。また、入力部204は、感圧式又は静電容量式の透明なタッチパッド等の位置入力装置である。入力部204は表示部202の表面に貼付されており、表示部202及び入力部204が一体型のタッチパネルとして構成される。記憶部205は、フラッシュメモリ又はハードディスクなどの不揮発性記憶装置であり、コンテンツ送信用のコンピュータプログラムであるコンテンツ送信プログラム210と、動画再生ソフトウェア及びプレゼンテーションソフトウェア等の教育用プログラム230とを記憶している。制御部206は、CPU261及びメモリ262を備えており、上述した各部を制御する。 The wireless communication unit 201 enables wireless communication according to IEEE802.11a/b/g/n/ac, and has an antenna 207 for wireless communication. The display unit 202 is configured by an LCD (liquid crystal display) or an organic EL (Electro Luminescence). The input unit 204 is a positional input device such as a pressure-sensitive or capacitive transparent touch pad. The input unit 204 is attached to the surface of the display unit 202, and the display unit 202 and the input unit 204 are configured as an integrated touch panel. The storage unit 205 is a nonvolatile storage device such as a flash memory or a hard disk, and stores a content transmission program 210, which is a computer program for content transmission, and an educational program 230 such as video playback software and presentation software. . The control unit 206 includes a CPU 261 and a memory 262, and controls each unit described above.

CPU261がコンテンツ送信プログラム210を実行することにより、タブレットがコンテンツ送信装置200として機能し、コンテンツ送信装置200に後述するような動作を実現させる。 By executing the content transmission program 210 by the CPU 261, the tablet functions as the content transmission device 200 and causes the content transmission device 200 to realize operations described later.

図3は、本実施の形態に係るコンテンツ送信装置200の機能を示す機能ブロック図である。図3に示すように、コンテンツ送信装置200は、通信部211と、表示部212と、スピーカ213と、コンテンツ再生部214と、映像取込部215と、音声取込部216と、変化量検出部217と、入力検出部218と、切替指示受付部219と、送信対象切替部220と、切替要求部221との各機能を有する。 FIG. 3 is a functional block diagram showing functions of content transmission device 200 according to the present embodiment. As shown in FIG. 3, the content transmission device 200 includes a communication unit 211, a display unit 212, a speaker 213, a content reproduction unit 214, a video capture unit 215, an audio capture unit 216, and a variation detection unit. It has the functions of a section 217 , an input detection section 218 , a switching instruction reception section 219 , a transmission target switching section 220 and a switching request section 221 .

通信部211は、上述した無線通信部201であり、再生装置300へコンテンツのデータを送信する。具体的には、通信部211は、時間的に前後する2つのフレーム間の差分を示す差分データ、及び時間的に連続する複数のフレームを生成するための動画データを選択的に送信する。また、通信部211は、上記の差分データ及び動画データと同時に、音声データを送信する。また、動画データ及び音声データのそれぞれには、タイムスタンプである動画時刻情報及び音声時刻情報のそれぞれが付加される。 The communication unit 211 is the wireless communication unit 201 described above, and transmits content data to the reproduction device 300 . Specifically, the communication unit 211 selectively transmits difference data indicating the difference between two temporally consecutive frames and moving image data for generating a plurality of temporally consecutive frames. Further, the communication unit 211 transmits audio data at the same time as the difference data and moving image data. Further, moving image time information and audio time information, which are time stamps, are added to each of the moving image data and the audio data.

表示部212は上述した表示部202であり、スピーカ213は上述したスピーカ203である。コンテンツ再生部214は、動画、プレゼンテーション資料、音声等のコンテンツを再生し、表示部212が映像を、スピーカ213が音声を出力する。 The display unit 212 is the display unit 202 described above, and the speaker 213 is the speaker 203 described above. The content reproduction unit 214 reproduces content such as moving images, presentation materials, and audio, the display unit 212 outputs video, and the speaker 213 outputs audio.

映像取込部215は、表示部212に表示された映像を取り込み、映像データを生成する。かかる映像取込部215は、映像データとして2つのフレームの差分データを生成する機能と、時間的に連続した複数フレームを所定の動画圧縮方法によりエンコードした動画データを生成する機能とを有する。音声取込部216は、スピーカ213から出力された音声を取り込み、リニアPCM形式の音声データを生成する。 The video capture unit 215 captures the video displayed on the display unit 212 and generates video data. The video capture unit 215 has a function of generating differential data between two frames as video data, and a function of generating video data by encoding a plurality of temporally continuous frames by a predetermined video compression method. The voice capture unit 216 captures the voice output from the speaker 213 and generates voice data in linear PCM format.

映像取込部215により生成された差分データ又は動画データ、及び音声取込部により生成された音声データは、通信部211により送信される。再生装置300がこれらのコンテンツを再生することにより、表示装置400が映像を表示し、音声を出力する。また、表示装置400では、後述するようにスタイラス又は指等による入力が可能であり、ユーザから与えられた入力情報が再生装置300から送信される。通信部211は、上記のように差分データ又は動画データ、及び音声データを送信すると共に、かかる入力情報を受信する。 The communication unit 211 transmits the differential data or moving image data generated by the video capturing unit 215 and the audio data generated by the audio capturing unit. As the reproduction device 300 reproduces these contents, the display device 400 displays video and outputs audio. Further, the display device 400 allows input with a stylus, finger, or the like, as will be described later, and input information given by the user is transmitted from the playback device 300 . The communication unit 211 transmits difference data or moving image data and audio data as described above, and receives such input information.

変化量検出部217は、フレーム間における映像の時間的な変化量、即ち前回のフレームから変化した画素数を検出する。入力検出部218は、通信部211によって受信された入力情報を監視し、表示される映像に対してユーザから与えられる入力を検出する。例えば、スタイラス又はユーザの指で表示装置400に対して入力があった場合は、入力検出部218がこの入力を検出する。切替指示受付部219は、ユーザが表示装置400に対して差分データ及び動画データの間で映像再生の切替を指示する特定の操作を行った場合に、通信部211によって受信された入力情報を通じてこの指示を受け付ける。本実施の形態では、変化量検出部217による所定の変化量の検出、入力検出部218による所定の入力の検出、及び切替指示受付部219による映像の切替指示の受付のそれぞれを、差分データ及び動画データの切替条件とする。つまり、上記の切替条件の何れかが満たされた場合に、送信対象が差分データ及び動画データの一方から他方へ切り替えられる。 The change amount detection unit 217 detects the temporal change amount of the video between frames, that is, the number of pixels changed from the previous frame. The input detection unit 218 monitors input information received by the communication unit 211 and detects input given by the user to the displayed image. For example, when an input is made to the display device 400 with a stylus or a user's finger, the input detection section 218 detects this input. When the user performs a specific operation to instruct the display device 400 to switch video reproduction between difference data and moving image data, the switching instruction receiving unit 219 receives the switching instruction through the input information received by the communication unit 211 . accept instructions. In the present embodiment, the detection of a predetermined amount of change by the change amount detection unit 217, the detection of a predetermined input by the input detection unit 218, and the reception of the video switching instruction by the switching instruction reception unit 219 are each performed using difference data and This is used as a switching condition for video data. That is, when any one of the above switching conditions is satisfied, the transmission target is switched from one of the difference data and the moving image data to the other.

切替条件は、差分データから動画データへ送信対象を切り替えるための条件である第1切替条件と、動画データから差分データへ送信対象を切り替えるための条件である第2切替条件とを含む。第1切替条件及び第2切替条件については後述する。 The switching conditions include a first switching condition for switching the transmission target from the difference data to the moving image data, and a second switching condition for switching the transmission target from the moving image data to the difference data. The first switching condition and the second switching condition will be described later.

送信対象切替部220は、切替条件が満たされた場合に、再生装置300への送信対象を差分データ及び動画データの一方から他方へと切り替える。つまり、コンテンツ送信装置200が差分データを送信している場合において、第1切替条件が満たされたときには、映像取込部215により生成される映像データが差分データから動画データへと切り替わり、送信対象が差分データから動画データへと切り替わる。他方、コンテンツ送信装置200が動画データを送信している場合において、第2切替条件が満たされたときには、映像取込部215により生成される映像データが動画データから差分データへと切り替わり、送信対象が動画データから差分データへと切り替わる。 The transmission target switching unit 220 switches the transmission target to the reproduction device 300 from one of the difference data and the moving image data to the other when the switching condition is satisfied. That is, when the content transmission device 200 is transmitting difference data, when the first switching condition is satisfied, the video data generated by the video capturing unit 215 is switched from the difference data to the moving image data, and the transmission target data is changed from the difference data to the moving image data. is switched from differential data to video data. On the other hand, when the content transmission device 200 is transmitting moving image data, when the second switching condition is satisfied, the image data generated by the image capturing unit 215 is switched from moving image data to difference data, and the image data to be transmitted is changed from moving image data to difference data. is switched from video data to differential data.

切替要求部220は、切替条件が満たされた場合に、再生装置300に対して、差分データ及び動画データの一方から他方へ受信対象の切替を要求する。つまり、コンテンツ送信装置200が差分データを送信している場合において、第1切替条件が満たされたときには、切替要求部220が動画データへの受信対象の切替要求を通信部211に送信させる。他方、コンテンツ送信装置200が動画データを送信している場合において、第2切替条件が満たされたときには、切替要求部220が動画データへの受信対象の切替要求を通信部211に送信させる。 The switching request unit 220 requests the playback device 300 to switch the reception target from one of the difference data and the moving image data to the other when the switching condition is satisfied. That is, when the content transmission device 200 is transmitting difference data and the first switching condition is satisfied, the switching request unit 220 causes the communication unit 211 to transmit a request to switch the reception target to video data. On the other hand, when the content transmission device 200 is transmitting moving image data and the second switching condition is satisfied, the switching request unit 220 causes the communication unit 211 to transmit a request to switch the reception target to moving image data.

ここで、再生装置300では、映像再生の切替において、差分データ及び動画データの一方により生成される映像から他方より生成される映像へと段階的に変化させる移行再生処理が行われる。この処理では差分データと動画データの両方が同時に使用される。このため、通信部211は、切替条件が満たされてから一定の切替期間、差分データと動画データ(それぞれ同一のフレームを含む)を同時に送信し、切替期間経過後に、切替後の映像再生に使用されるデータのみを送信する。移行再生処理の詳細は後述する。 Here, in the playback device 300, when switching video playback, a transition playback process is performed in which the video generated by one of the difference data and the moving image data is changed step by step to the video generated by the other. Both differential data and video data are used simultaneously in this process. Therefore, the communication unit 211 simultaneously transmits the difference data and the video data (including the same frame) for a certain switching period after the switching condition is satisfied, and after the switching period has passed, the data is used for video playback after switching. Send only data that is Details of the transition reproduction process will be described later.

次に、再生装置300の構成について説明する。図3は、再生装置300の構成を示すブロック図である。図4に示すように、再生装置300は、無線通信部301と、有線通信部302と、制御部303と、外部出力部304と、外部接続端子305とを備える。 Next, the configuration of the playback device 300 will be described. FIG. 3 is a block diagram showing the configuration of the playback device 300. As shown in FIG. As shown in FIG. 4 , playback device 300 includes wireless communication section 301 , wired communication section 302 , control section 303 , external output section 304 , and external connection terminal 305 .

無線通信部301は、IEEE802.11a/b/g/n/acによる無線通信を可能とし、無線通信用のアンテナ306を有している。有線通信部302は、Ethernetの通信インタフェースであり、有線LAN460に接続されている。制御部303は、CPU331及びメモリ332を備えており、無線通信部301及び有線通信部302による通信を制御する。また、メモリ332には、第1フレームメモリ341と第2フレームメモリ342との2つのフレームメモリが含まれる。 The wireless communication unit 301 enables wireless communication according to IEEE802.11a/b/g/n/ac, and has an antenna 306 for wireless communication. The wired communication unit 302 is an Ethernet communication interface and is connected to the wired LAN 460 . The control unit 303 includes a CPU 331 and a memory 332 and controls communication by the wireless communication unit 301 and the wired communication unit 302 . The memory 332 also includes two frame memories, a first frame memory 341 and a second frame memory 342 .

外部出力部304は、HDMI(登録商標、High-Definition Multimedia Interface)端子であり、表示装置400に接続され、表示装置400に映像信号及び音声信号を出力して映像及び音声を出力させることができる。外部接続端子405は、USB(Universal Serial Bus)端子である。かかる外部接続端子405もまた、表示装置400に接続される。 The external output unit 304 is an HDMI (registered trademark, High-Definition Multimedia Interface) terminal, is connected to the display device 400, and can output a video signal and an audio signal to the display device 400 to output video and audio. . The external connection terminal 405 is a USB (Universal Serial Bus) terminal. Such an external connection terminal 405 is also connected to the display device 400 .

図5は、表示装置400の構成を示すブロック図である。表示装置400は、表示部401と、スピーカ402と、入力部403と、外部入力部404と、外部接続端子405と、制御部406とを備える。表示部401は大型のLCD又は有機ELパネルであり、かかる表示部401により映像を、スピーカ402により音声を出力することによりクラスの全員がコンテンツを視聴できる。入力部403は、感圧式又は静電容量式の透明なタッチパッド等の位置入力装置である。入力部403は表示部401の表面に貼付されており、表示部401及び入力部204が一体型のタッチパネルとして構成される。 FIG. 5 is a block diagram showing the configuration of the display device 400. As shown in FIG. The display device 400 includes a display section 401 , a speaker 402 , an input section 403 , an external input section 404 , an external connection terminal 405 and a control section 406 . The display unit 401 is a large LCD or an organic EL panel, and by outputting video from the display unit 401 and audio from the speaker 402, everyone in the class can view the content. The input unit 403 is a position input device such as a pressure-sensitive or capacitive transparent touch pad. The input unit 403 is attached to the surface of the display unit 401, and the display unit 401 and the input unit 204 are configured as an integrated touch panel.

外部入力部404はHDMI端子であり、外部接続端子405はUSB端子である。外部入力部404及び外部接続端子405は再生装置300の外部出力部304及び外部接続端子305のそれぞれに接続される。外部入力部404は、再生装置300から出力された映像信号及び音声信号を受信し、外部接続端子405は、入力部403からの出力信号を再生装置300へ送信する。 The external input unit 404 is an HDMI terminal, and the external connection terminal 405 is a USB terminal. The external input section 404 and the external connection terminal 405 are connected to the external output section 304 and the external connection terminal 305 of the playback device 300, respectively. The external input unit 404 receives the video signal and audio signal output from the reproducing device 300 , and the external connection terminal 405 transmits the output signal from the input unit 403 to the reproducing device 300 .

制御部406は、CPU及びメモリ又はASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)等の半導体回路を有しており、上記の各部を制御する機能を有する。かかる制御部406は、外部入力部404に入力された映像信号及び音声信号に基づいて表示部401に映像を表示させ、スピーカ402に音声を出力させる。 The control unit 406 has a CPU and a memory or a semiconductor circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array), and has a function of controlling each of the above units. The control unit 406 causes the display unit 401 to display video and the speaker 402 to output audio based on the video signal and audio signal input to the external input unit 404 .

図6は、本実施の形態に係る再生装置の機能を示す機能ブロック図である。図6に示すように、再生装置300は、通信部311と、第1映像再生部312と、第2映像再生部313と、音声再生部314と、移行再生部315との各機能を有する。 FIG. 6 is a functional block diagram showing the functions of the playback device according to this embodiment. As shown in FIG. 6 , the playback device 300 has functions of a communication section 311 , a first video playback section 312 , a second video playback section 313 , an audio playback section 314 , and a transition playback section 315 .

通信部311は、上述した無線通信部301であり、コンテンツ送信装置200からコンテンツのデータを受信する。具体的には、通信部311は、時間的に前後する2つのフレーム間の差分を示す差分データ、及び時間的に連続する複数のフレームを生成するための動画データを選択的に受信する。また、通信部311は、上記の差分データ及び動画データと同時に、音声データを受信する。また、動画データ及び音声データのそれぞれには、時刻情報であるタイムスタンプが付加される。 The communication unit 311 is the wireless communication unit 301 described above, and receives content data from the content transmission device 200 . Specifically, the communication unit 311 selectively receives difference data indicating the difference between two temporally consecutive frames and moving image data for generating a plurality of temporally consecutive frames. Also, the communication unit 311 receives the audio data at the same time as the difference data and the moving image data. A time stamp, which is time information, is added to each of the moving image data and the audio data.

第1映像再生部312は、2つのフレームの差分データと、2つのフレームのうちの前のフレームとに基づいて後のフレームを生成し、出力することにより映像を再生する。第2映像再生部313は、動画データに基づいて複数のフレームを生成し、これらのフレームを時間的に連続して出力することにより映像を再生する。音声再生部314は、音声データに基づいて音声を再生する。なお、ここでいう「再生」とは、差分データ及び動画データ、並びに音声データを処理して映像信号及び音声信号を生成し、生成された映像信号及び音声信号を出力することをいう。以下の説明では、第1映像再生部312による映像再生、即ち、差分データによる映像再生を行う動作モードを「差分モード」といい、第2映像再生部313による映像再生、即ち、動画データによる映像再生を行う動作モードを「動画モード」という。 The first video reproduction unit 312 reproduces the video by generating and outputting the subsequent frame based on the difference data of the two frames and the preceding frame of the two frames. The second video reproducing unit 313 generates a plurality of frames based on the moving image data, and reproduces the video by outputting these frames continuously in terms of time. The audio reproduction unit 314 reproduces audio based on the audio data. It should be noted that the term "reproduction" as used herein means processing differential data, moving image data, and audio data to generate a video signal and an audio signal, and outputting the generated video signal and audio signal. In the following description, the operation mode in which video reproduction by the first video reproduction unit 312, that is, video reproduction based on difference data is performed will be referred to as a “difference mode”. An operation mode in which reproduction is performed is called a "moving image mode".

音声再生部314は、差分モードで映像を再生している場合には、時刻情報を用いずに、音声データが受信される都度、音声データを処理して音声を再生する。他方、動画モードで映像を再生している場合、音声再生部314は、動画データに付加されたタイムスタンプと、音声データに付加されたタイムスタンプとに基づいて、映像に同期させて音声を再生する。音声再生部314は、共通の音声データを使用して、差分モード及び動画モードのそれぞれで音声を再生する。 When the video is reproduced in the differential mode, the audio reproducing unit 314 processes the audio data and reproduces the audio each time the audio data is received without using the time information. On the other hand, when the video is being played back in the video mode, the audio playback unit 314 reproduces the audio in synchronization with the video based on the time stamp added to the video data and the time stamp added to the audio data. do. The audio reproduction unit 314 uses common audio data to reproduce audio in each of the difference mode and the moving image mode.

上述したように、差分データ及び動画データの一方による映像再生から他方による映像再生へと切り替える場合に、コンテンツ再生装置300が受信対象の切替要求を送信する。通信部311は、この切替要求を受信すると、差分データ及び動画データの一方から他方へと受信対象を切り替える。 As described above, when video playback is switched from one of difference data and moving image data to video playback of the other, the content playback device 300 transmits a reception target switching request. Upon receiving this switching request, the communication unit 311 switches the reception target from one of the difference data and the moving image data to the other.

コンテンツ送信装置200は、切替条件が満たされてから一定の切替期間、差分データと動画データを同時に送信し、通信部311がこれらを同時に受信する。移行再生部315は、同時に受信された差分データ及び動画データの一方により生成される映像から他方より生成される映像へと段階的に変化させて再生する移行再生処理を実行する。以下、この移行再生処理を実行する動作モードを「移行モード」という。具体的には、移行モードでは、移行再生部315は、差分データから生成されたフレームに第1透過率α1に基づく透過処理を施して第1透過画像を生成し、動画データから生成されたフレームに第1透過率α1の補数である第2透過率α2(つまり、α2=1-α1)に基づく透過処理を施して第2透過画像を生成し、第1透過画像と第2透過画像とを合成して合成画像を生成、つまりαブレンドを実行する。切替期間の始期から終期にわたって第1透過率α1を1から0へ、又は0から1へ(つまり、第2透過率α2を0から1へ、又は1から0へ)と変化させることで、差分データ及び動画データの一方により生成される映像から、他方により生成される映像へと段階的に変化する。 The content transmission device 200 simultaneously transmits the difference data and the moving image data for a certain switching period after the switching condition is satisfied, and the communication section 311 receives them simultaneously. The transition reproduction unit 315 performs a transition reproduction process of gradually changing the image generated by one of the difference data and the moving image data received at the same time to the image generated by the other. Hereinafter, an operation mode for executing this transition reproduction process is referred to as a "transition mode". Specifically, in the transition mode, the transition reproducing unit 315 performs transparency processing based on the first transmittance α1 on the frames generated from the difference data to generate the first transparent images, and the frames generated from the moving image data. is subjected to transparency processing based on a second transmittance α2 (that is, α2=1−α1) that is the complement of the first transmittance α1 to generate a second transmitted image, and the first transmitted image and the second transmitted image are generated. Synthesize to generate a synthetic image, that is, perform alpha blending. By changing the first transmittance α1 from 1 to 0 or from 0 to 1 (that is, the second transmittance α2 from 0 to 1 or from 1 to 0) from the beginning to the end of the switching period, the difference The image generated by one of the data and moving image data changes stepwise to the image generated by the other.

移行再生部315は、上記の移行再生処理を、第1映像再生部312及び第2映像再生部313の一方が映像を再生する第1期間と、他方が映像を再生する第2期間との間に設けられた切替期間に実行する。つまり、差分モードから動画モードへと切り替える場合、第1期間の終期、即ち切替期間の始期において、第1透過率α1を1とし、第2透過率α2を0としてαブレンドを開始し、徐々に第1透過率α1を0へ、第2透過率α2を1へと近づけながらαブレンドを逐次実行し、切替期間の終期、即ち第2期間の始期において第1透過率α1を0とし、第2透過率α2を1としてαブレンドを実行する。他方、動画モードから差分モードへと切り替える場合、第1期間の終期、即ち切替期間の始期において、第1透過率α1を0とし、第2透過率α2を1としてαブレンドを開始し、徐々に第1透過率α1を1へ、第2透過率α2を0へと近づけながらαブレンドを逐次実行し、切替期間の終期、即ち第2期間の始期において第1透過率α1を1とし、第2透過率α2を0としてαブレンドを実行する。 The transition reproduction unit 315 performs the transition reproduction process between the first period during which one of the first video reproduction unit 312 and the second video reproduction unit 313 reproduces the video and the second period during which the other reproduces the video. is executed during the switching period provided in That is, when switching from the difference mode to the moving image mode, at the end of the first period, that is, at the beginning of the switching period, the first transmittance α1 is set to 1, the second transmittance α2 is set to 0, and α-blending is started. The first transmittance α1 is brought close to 0 and the second transmittance α2 is brought close to 1, and α-blending is performed sequentially. The transmittance α2 is set to 1 and α-blending is performed. On the other hand, when switching from the moving image mode to the difference mode, at the end of the first period, that is, at the beginning of the switching period, the first transmittance α1 is set to 0, the second transmittance α2 is set to 1, and α-blending is started. The first transmittance α1 is brought close to 1 and the second transmittance α2 is brought close to 0, and the α-blending is sequentially executed. α-blending is performed with the transmittance α2 set to 0.

音声再生部314は、上記の切替期間の間、第1映像再生部及び第2映像再生部の一方によって再生される映像に伴って再生される音声のレベルを段階的に小さくし、他方によって再生される映像に伴って再生される音声のレベルを段階的に大きくする。つまり、第1期間に再生されていた映像に伴って再生される音声を切替期間においてフェードアウトさせ、第2期間に再生される映像に伴って再生される音声を切替期間においてフェードインさせる。 During the switching period, the audio reproducing unit 314 gradually reduces the level of the audio reproduced along with the video reproduced by one of the first video reproducing unit and the second video reproducing unit, and reproduces the audio by the other. The level of the sound reproduced along with the video being played is increased step by step. That is, the sound reproduced with the video reproduced in the first period is faded out during the switching period, and the sound reproduced with the video reproduced during the second period is faded in during the switching period.

[遠隔再生システムの動作]
次に、本実施の形態に係る遠隔再生システム100の動作について説明する。本実施の形態に係る遠隔再生システム100では、コンテンツ送信装置200と、再生装置300とがコネクション型プロトコルであるTCP(Transmission Control Protocol))及びコネクションレス型プロトコルであるUDP(User Datagram Protocol)を用いて無線LANによりコンテンツの送受を行う。音声データの送受にはUDPが用いられ、差分データ及び動画データの送受にはTCPが用いられる。再生装置300が受信されたコンテンツを再生し、映像及び音声を表示装置400に出力させる。
[Operation of remote playback system]
Next, the operation of remote playback system 100 according to the present embodiment will be described. In the remote playback system 100 according to the present embodiment, the content transmission device 200 and the playback device 300 use TCP (Transmission Control Protocol), which is a connection-oriented protocol, and UDP (User Datagram Protocol), which is a connectionless protocol. Contents are transmitted and received via a wireless LAN. UDP is used for sending and receiving audio data, and TCP is used for sending and receiving differential data and video data. The reproduction device 300 reproduces the received content and causes the display device 400 to output video and audio.

図7A~図7Dは、本実施の形態に係る遠隔再生システムによるコンテンツの遠隔再生の手順を示すフローチャートである。例として、学校の教師(以下、「ユーザ」という)が授業を行う場合を考える。ユーザはコンテンツ送信装置200のコンテンツ送信プログラム210を起動し、また、教育用プログラム230を起動する。教育用プログラム230を実行すると、動画が再生されたり、プレゼンテーションのスライドが再生されたりして、映像が再生装置200の表示部202に表示される。また、動画又はスライドに付属する音声がスピーカ203から出力される。 7A to 7D are flowcharts showing procedures for remote playback of content by the remote playback system according to the present embodiment. As an example, let us consider a case where a school teacher (hereinafter referred to as a “user”) teaches a class. The user activates the content transmission program 210 of the content transmission device 200 and also activates the educational program 230 . When the educational program 230 is executed, a moving image or a presentation slide is reproduced, and images are displayed on the display unit 202 of the reproduction device 200 . Also, audio attached to the moving image or slide is output from the speaker 203 .

コンテンツ送信プログラム210が実行されると、まず、CPU261は差分モードで動作する。CPU261は、表示部202に表示されている映像を取り込み、最初の1フレーム又は数フレーム分の映像データを生成する(ステップS101)。次にCPU261は、生成された映像データによってTCPパケットを生成する。このとき、非圧縮の映像データにTCPヘッダが付加されて、TCPパケットが生成される。さらにCPU261は、TCPパケットにIPヘッダを付加してIPパケットを生成し、さらにMACヘッダ、物理ヘッダ等を付加して映像データを含む無線LANフレーム(以下、「初期映像パケット」という)を生成する(ステップS102)。なお、この初期映像パケットの宛先は再生装置300のIPアドレスとされる。CPU261は、生成された初期映像パケットを無線通信部201にTCPにより送信させる(ステップS103)。送信された初期映像データは、再生装置300によって受信される(ステップS104)。 When the content transmission program 210 is executed, the CPU 261 first operates in difference mode. The CPU 261 captures the image displayed on the display unit 202 and generates image data for the first one frame or several frames (step S101). Next, the CPU 261 generates TCP packets from the generated video data. At this time, a TCP packet is generated by adding a TCP header to the uncompressed video data. Further, the CPU 261 adds an IP header to the TCP packet to generate an IP packet, and further adds a MAC header, a physical header, etc. to generate a wireless LAN frame containing video data (hereinafter referred to as "initial video packet"). (Step S102). Note that the destination of this initial video packet is the IP address of the playback device 300 . The CPU 261 causes the wireless communication unit 201 to transmit the generated initial video packet by TCP (step S103). The transmitted initial video data is received by the playback device 300 (step S104).

次にCPU261は、表示部202に表示されている映像及びスピーカ203から出力されている音声を取り込み、映像データ及び音声データを生成する(ステップS105)。CPU261は、前回のフレーム(つまり、前回送信された映像データ。以下、「前回フレーム」という。)と今回取り込まれたフレーム(以下、「今回フレーム」という。)の差分データを生成する(ステップS106)。この処理では、前回フレームと今回フレームとの対応する画素同士の輝度値(RGB値)の差分が演算され、その演算結果に基づいて差分データが生成される。図8は、差分データの生成処理を説明するための図である。前回フレーム501と今回フレーム502とでは、差異部503を除き各画素の輝度値は同一である。したがって、前回フレーム501と今回フレーム502との間で各画素の輝度値の差を取ると、差異部503を除きその値が0となる。CPU261は、輝度の差が0の画素の情報を取り除いて差分データを生成する。このため、差分データには、差異部503の情報のみが含まれることになり、情報量が抑制される。 Next, the CPU 261 captures the video displayed on the display unit 202 and the audio output from the speaker 203, and generates video data and audio data (step S105). The CPU 261 generates differential data between the previous frame (that is, video data transmitted last time, hereinafter referred to as the "previous frame") and the frame captured this time (hereinafter referred to as the "current frame") (step S106). ). In this process, differences in luminance values (RGB values) between corresponding pixels in the previous frame and the current frame are calculated, and difference data is generated based on the calculation results. FIG. 8 is a diagram for explaining the process of generating difference data. The previous frame 501 and the current frame 502 have the same luminance value of each pixel except for the difference portion 503 . Therefore, when the difference in the luminance value of each pixel between the previous frame 501 and the current frame 502 is taken, the value becomes 0 except for the difference portion 503 . The CPU 261 generates difference data by removing information on pixels with a luminance difference of 0. FIG. Therefore, the difference data contains only the information of the difference part 503, and the amount of information is suppressed.

CPU261は、生成された差分データによってTCPパケットを生成する。このとき、非圧縮の差分データにTCPヘッダが付加されて、TCPパケットが生成される。さらにCPU261は、TCPパケットにIPヘッダを付加してIPパケットを生成し、さらにMACヘッダ、物理ヘッダ等を付加して差分データを含む無線LANフレーム(以下、「差分パケット」という)を生成する(ステップS107)。差分パケットの宛先もまた再生装置300のIPアドレスとされる。CPU261は、生成された差分パケットを無線通信部201にTCPにより送信させる(ステップS108)。 The CPU 261 generates TCP packets from the generated difference data. At this time, a TCP header is added to the uncompressed differential data to generate a TCP packet. Furthermore, the CPU 261 adds an IP header to the TCP packet to generate an IP packet, and further adds a MAC header, a physical header, etc. to generate a wireless LAN frame containing differential data (hereinafter referred to as a "differential packet"). step S107). The destination of the differential packet is also the IP address of the playback device 300 . The CPU 261 causes the wireless communication unit 201 to transmit the generated difference packet by TCP (step S108).

また、CPU261は、リニアPCM(Pulse Code Modulation)形式の音声データにUDPヘッダを付加し、UDPパケットを生成する。リニアPCM形式は非圧縮の音声データ形式である。CPU261は、かかるUDPパケットにIPヘッダを付加してIPパケットを生成し、さらにMACヘッダ、物理ヘッダ等を付加して音声データを含む無線LANフレーム(以下、「音声パケット」という)を生成する(ステップS109)。かかる音声パケットには、時刻情報であるタイムスタンプが含まれる。また、音声パケットの宛先は再生装置300のIPアドレスとされる。CPU261は、生成された音声パケットを無線通信部201にUDPにより送信させる(ステップS110)。 The CPU 261 also adds a UDP header to the audio data in linear PCM (Pulse Code Modulation) format to generate a UDP packet. The linear PCM format is an uncompressed audio data format. The CPU 261 adds an IP header to the UDP packet to generate an IP packet, and further adds a MAC header, a physical header, etc. to generate a wireless LAN frame containing audio data (hereinafter referred to as "audio packet") ( step S109). Such voice packets contain time stamps, which are time information. Also, the destination of the voice packet is the IP address of the playback device 300 . The CPU 261 causes the wireless communication unit 201 to transmit the generated voice packet by UDP (step S110).

再生装置300は、コンテンツ送信装置200から送信された差分パケット及び音声パケットを受信する(ステップS111,S112)。再生装置300のCPU331は、受信された差分パケットから差分データを抽出し、差分データがある箇所(画素)を前回フレームから差分データに置き換えて今回フレームの映像データを生成し(ステップS113)、映像を再生する(ステップS114)。具体的には、CPU261は、生成された映像データを第1フレームメモリ341に書き込み、第1フレームメモリ341の映像データを映像信号として外部出力部304から表示装置400へ出力する。これにより、差分モードでの映像再生が行われる。 The reproduction device 300 receives the difference packet and the audio packet transmitted from the content transmission device 200 (steps S111 and S112). The CPU 331 of the playback device 300 extracts the difference data from the received difference packet, replaces the locations (pixels) with the difference data from the previous frame with the difference data, and generates video data of the current frame (step S113). is reproduced (step S114). Specifically, CPU 261 writes the generated video data to first frame memory 341 and outputs the video data in first frame memory 341 to display device 400 from external output unit 304 as a video signal. As a result, video reproduction is performed in the difference mode.

また、CPU331は、受信された音声パケットから音声データを抽出し、音声を再生する(ステップS115)。つまり、CPU261は音声データから音声信号を生成し、外部出力部304から表示装置400へ出力する。以上により、表示装置400の表示部401に映像が表示され、スピーカ402から音声が出力される。 Also, the CPU 331 extracts audio data from the received audio packet and reproduces the audio (step S115). That is, the CPU 261 generates an audio signal from the audio data and outputs it from the external output unit 304 to the display device 400 . As described above, video is displayed on the display unit 401 of the display device 400 and audio is output from the speaker 402 .

表示装置400において、ユーザはスタイラス又は指で画面に対して入力を行うことがある。このようにしてユーザから与えられた入力を入力部403が受け付け、外部接続端子405を通じて再生装置300へと入力情報を送信する。再生装置300のCPU331は、ユーザから入力が与えられたか否かを判定し(ステップS116)、入力が与えられた場合には(ステップS116においてYES)、入力情報をコンテンツ送信装置200へ送信する(ステップS117)。他方、ユーザから入力が与えられていない場合には(ステップS116においてNO)、CPU331はステップS120へと処理を移す。 In display device 400, a user may provide input to the screen with a stylus or finger. The input unit 403 accepts the input given by the user in this way, and transmits the input information to the playback device 300 through the external connection terminal 405 . CPU 331 of reproduction device 300 determines whether or not an input has been given by the user (step S116), and if an input has been given (YES in step S116), the input information is transmitted to content transmission device 200 ( step S117). On the other hand, if the user has not given an input (NO in step S116), CPU 331 moves the process to step S120.

コンテンツ送信装置200は、入力情報を受信すると、ユーザによる入力を映像に反映させて表示する。例えば、表示装置400においてユーザが画面に手書き入力を行った場合は、入力された文字を含む映像が再生装置200の表示部202に表示される。 Upon receiving the input information, the content transmission device 200 reflects the input by the user in the image and displays it. For example, when the user performs handwriting input on the screen of the display device 400 , an image including the input characters is displayed on the display unit 202 of the playback device 200 .

コンテンツ送信装置200のCPU261は、差分データから動画データへの送信対象の切替条件である第1切替条件を満足しているか否かを判定する(ステップS118)。 The CPU 261 of the content transmission device 200 determines whether or not a first switching condition, which is a switching condition for transmission from difference data to moving image data, is satisfied (step S118).

ここで、第1切替条件について説明する。第1切替条件には、以下の(1)~(2)の2つの条件を含み、これらの条件のうちのどちらかが満たされた場合に、第1切替条件が満たされたとされる。
(1)映像変化量が所定の基準値を超える。
(2)ユーザから動画モードへの切替指示が与えられる。
Here, the first switching condition will be explained. The first switching condition includes the following two conditions (1) to (2), and the first switching condition is considered to be satisfied when one of these conditions is satisfied.
(1) The image change amount exceeds a predetermined reference value.
(2) The user gives an instruction to switch to the moving image mode.

条件(1)について説明する。コンテンツ送信装置200のCPU261は、前回フレームと今回フレームとの間で輝度値(RGB値)に差異がある画素を検出し、その画素数を計数して映像変化量とする。差分モードでは、データ通信量が少ないが、滑らかに動画を表示することは困難である。他方、動画モードでは、データ圧縮処理に必要な時間が大きくなる。このため、時間的に大きく変化する映像は動画モードが適しており、時間的な変化が少ない映像は差分モードが適している。したがって、コンテンツ送信装置200は映像変化量を検出し、この映像変化量が所定の基準値を超える場合には、送信対象を差分データから動画データに切り換える。 Condition (1) will be explained. The CPU 261 of the content transmission device 200 detects pixels having different luminance values (RGB values) between the previous frame and the current frame, counts the number of pixels, and obtains the amount of video variation. In difference mode, the amount of data communication is small, but it is difficult to display moving images smoothly. On the other hand, in moving picture mode, the time required for data compression processing increases. For this reason, the moving image mode is suitable for images that change greatly over time, and the differential mode is suitable for images that change less over time. Therefore, the content transmission device 200 detects the amount of change in the image, and if the amount of change in the image exceeds a predetermined reference value, switches the object of transmission from difference data to moving image data.

条件(2)について説明する。本実施の形態では、差分モードから動画モードへの切替を指示するためのユーザ操作が規定されている。例えば、当該ユーザ操作は、画面(つまり、入力部403)を特定の方向になぞる操作、又は、表示画面に含まれる差分モードから動画モードへの切替を選択するための選択部を選択する操作等で実現される。入力部403にこの操作入力が与えられると、コンテンツ送信装置200のCPU261には差分モードから動画モードへの切替指示が与えられる。 Condition (2) will be explained. In this embodiment, a user operation for instructing switching from difference mode to moving image mode is defined. For example, the user operation is an operation of tracing the screen (that is, the input unit 403) in a specific direction, an operation of selecting a selection unit for selecting switching from the difference mode to the video mode included in the display screen, or the like. is realized by When this operation input is given to the input unit 403, the CPU 261 of the content transmission device 200 is given an instruction to switch from the differential mode to the video mode.

上記の第1切替条件が満足されていない場合(ステップS118においてNO)、CPU261は、ステップS105へ処理を戻す。これにより、ステップS105~S110及びステップS118の処理が繰り返され、継続して差分データ及び音声データの送信が行われる。他方、第1切替条件が満足されている場合(ステップS118においてYES)、CPU261は、差分データから動画データへの受信対象の切替要求(以下、「受信対象切替要求」という)を再生装置300に送信する(ステップS119)。 If the above first switching condition is not satisfied (NO in step S118), CPU 261 returns the process to step S105. As a result, the processes of steps S105 to S110 and step S118 are repeated, and the difference data and the voice data are continuously transmitted. On the other hand, if the first switching condition is satisfied (YES in step S118), CPU 261 sends a request for switching the reception target from differential data to video data (hereinafter referred to as "reception target switching request") to playback device 300. It transmits (step S119).

再生装置300のCPU331は、受信対象切替要求を受信したか否かを判定する(ステップS120)。再生装置300が受信対象切替要求を受信していない場合(ステップS120においてNO)、CPU331は、ステップS111に処理を戻す。これにより、ステップS111~S117及びステップS120の処理が繰り返され、差分データによる映像再生及び音声データによる音声再生が継続して実行される。 The CPU 331 of the playback device 300 determines whether or not a reception target switching request has been received (step S120). If reproduction device 300 has not received a reception target switching request (NO in step S120), CPU 331 returns the process to step S111. As a result, the processes of steps S111 to S117 and step S120 are repeated, and video reproduction based on the difference data and audio reproduction based on the audio data are continuously performed.

コンテンツ送信装置200のCPU261は、受信対象切替要求を送信した後、以下のようにして、所定の切替期間において差分データと動画データとの両方を再生装置300へ送信する。まず、CPU261は切替期間を開始する(ステップS121)。次にCPU261は、表示部202に表示されている映像及びスピーカ203から出力されている音声を取り込み、映像データ及び音声データを生成する(ステップS122)。 After transmitting the receiving target switching request, the CPU 261 of the content transmitting device 200 transmits both the difference data and the moving image data to the reproducing device 300 in a predetermined switching period as follows. First, the CPU 261 starts a switching period (step S121). Next, the CPU 261 captures the video displayed on the display unit 202 and the audio output from the speaker 203, and generates video data and audio data (step S122).

CPU261は、ステップS106~108と同様にして、差分データを生成し(ステップS123)、差分パケットを生成し(ステップS124)、差分パケットをTCPにより無線通信部201に送信させる(ステップS125)。 Similar to steps S106 to S108, CPU 261 generates difference data (step S123), generates a difference packet (step S124), and causes the difference packet to be transmitted to wireless communication section 201 by TCP (step S125).

また、CPU261は、時間的に連続する複数のフレームを動画圧縮規格であるH.264に規定される動画圧縮方法によってエンコードし、動画データを生成する(ステップS126)。なお、本実施の形態ではH.264形式の動画データを生成する構成について述べるが、これに限定されるものではなく、他の動画圧縮形式、例えば、Divx、Xvid、VP9、MPEG-4等の動画データを生成する構成としてもよい。 Also, the CPU 261 converts a plurality of temporally continuous frames into H.264, which is a video compression standard. The video data is encoded by the video compression method defined in H.264 to generate video data (step S126). Note that in this embodiment, the H.264 standard is used. 264 format video data is described, but the present invention is not limited to this, and may be configured to generate video data in other video compression formats, such as Divx, Xvid, VP9, MPEG-4, etc. .

CPU261は、生成された動画データによってTCPパケットを生成する。さらにCPU261は、TCPパケットにIPヘッダを付加してIPパケットを生成し、さらにMACヘッダ、物理ヘッダ等を付加して動画データを含む無線LANフレーム(以下、「動画パケット」という)を生成する(ステップS127)。かかる動画パケットには、動画時刻情報であるタイムスタンプが含まれる。また、動画パケットの宛先もまた再生装置300のIPアドレスとされる。CPU261は、生成された動画パケットを無線通信部201にTCPにより送信させる(ステップS128)。 The CPU 261 generates TCP packets from the generated video data. Furthermore, the CPU 261 adds an IP header to the TCP packet to generate an IP packet, and further adds a MAC header, a physical header, etc. to generate a wireless LAN frame containing moving image data (hereinafter referred to as a "moving image packet"). step S127). The moving picture packet includes a time stamp, which is moving picture time information. Also, the destination of the moving picture packet is the IP address of the playback device 300 . The CPU 261 causes the wireless communication unit 201 to transmit the generated video packet by TCP (step S128).

またCPU261は、ステップS109~110と同様にして、音声パケットを生成し(ステップS129)、音声パケットをUDPにより無線通信部201に送信させる(ステップS130)。 CPU 261 also generates voice packets (step S129) in the same manner as in steps S109 to 110, and causes wireless communication section 201 to transmit the voice packets by UDP (step S130).

CPU261は、切替期間が終了したか否かを判定し(ステップS131)、終了していない場合には(ステップS131においてNO)、ステップS122へ処理を戻す。これにより、切替期間が終了するまで差分データ及び動画データの両方がコンテンツ送信装置200から継続して送信される。 CPU 261 determines whether or not the switching period has ended (step S131), and if not (NO in step S131), returns the process to step S122. As a result, both the difference data and the video data are continuously transmitted from the content transmission device 200 until the switching period ends.

一方、再生装置300において受信対象切替要求が受信された場合(ステップS120においてYES)、CPU331が切替期間を開始する(ステップS132)。さらに再生装置300は、コンテンツ送信装置200から送信された差分パケット、動画パケット、及び音声パケットのそれぞれを受信する(ステップS133~S135)。CPU331は、第1透過率α1及び第2透過率α2、並びに音声出力レベルSLを設定する(ステップS136)。差分モードから動画モードへ切り換えられる場合の第1透過率α1の初期値は「1」であり、第2透過率α2の初期値は「0」である。また、音声出力レベルSLの初期値は、差分モードにおける音声出力レベルと同一値である。 On the other hand, if the reception target switching request has been received by playback device 300 (YES in step S120), CPU 331 starts the switching period (step S132). Further, the reproducing device 300 receives each of the difference packet, moving image packet, and audio packet transmitted from the content transmitting device 200 (steps S133 to S135). The CPU 331 sets the first transmittance α1, the second transmittance α2, and the audio output level SL (step S136). The initial value of the first transmittance α1 is "1" and the initial value of the second transmittance α2 is "0" when switching from the difference mode to the moving image mode. Also, the initial value of the audio output level SL is the same value as the audio output level in the difference mode.

次にCPU331は、受信された差分パケットから差分データを抽出し、前回フレームと差分データとの輝度値を画素毎に加算して今回フレームの映像データを生成する(ステップS137)。生成された映像データは第1フレームメモリ341に書き込まれる。さらにCPU331は、第1フレームメモリ341に記憶された映像データの各画素の輝度値に第1透過率α1を乗じ、第1透過画像を生成する(ステップS138)。 Next, the CPU 331 extracts difference data from the received difference packet, adds the luminance values of the previous frame and the difference data for each pixel, and generates video data of the current frame (step S137). The generated video data is written to the first frame memory 341 . Furthermore, the CPU 331 multiplies the luminance value of each pixel of the video data stored in the first frame memory 341 by the first transmittance α1 to generate a first transparent image (step S138).

また、CPU331は、受信された動画パケットから動画データを抽出し、動画データをデコードしてフレームの映像データを生成する(ステップS139)。生成された映像データは第2フレームメモリ342に書き込まれる。さらにCPU331は、第2フレームメモリ342に記憶された映像データの各画素の輝度値に第2透過率α2を乗じ、第2透過画像を生成する(ステップS140)。 Further, the CPU 331 extracts moving image data from the received moving image packet, decodes the moving image data, and generates frame image data (step S139). The generated video data is written to the second frame memory 342 . Furthermore, the CPU 331 multiplies the luminance value of each pixel of the video data stored in the second frame memory 342 by the second transmittance α2 to generate a second transparent image (step S140).

CPU331は、第1透過画像と第2透過画像とを合成し、合成画像の映像信号を外部出力部304から表示装置400へ出力する(ステップS141)。これにより、移行モードでの映像再生が行われる。 CPU 331 synthesizes the first transparent image and the second transparent image, and outputs a video signal of the synthesized image from external output unit 304 to display device 400 (step S141). As a result, video playback is performed in the transition mode.

またCPU331は、受信された音声パケットから音声データを抽出し、設定された音声出力レベルSLで音声を再生する(ステップS142)。つまり、CPU261は音声データから音声信号を生成し、外部出力部304から表示装置400へ出力する。 The CPU 331 also extracts audio data from the received audio packet and reproduces the audio at the set audio output level SL (step S142). That is, the CPU 261 generates an audio signal from the audio data and outputs it from the external output unit 304 to the display device 400 .

次にCPU331は、切替期間が終了したか否かを判定し(ステップS143)、切替期間が終了していない場合には(ステップS143においてNO)、ステップS133へ処理を戻す。これにより、ステップS133~S143の処理が繰り返され、映像のαブレンドが継続して実行される。この切替期間において、第1透過率α1及び第2透過率α2、並びに音声出力レベルSLは徐々に変更される。 Next, CPU 331 determines whether or not the switching period has ended (step S143), and if the switching period has not ended (NO in step S143), the process returns to step S133. As a result, the processing of steps S133 to S143 is repeated, and the α-blending of the video is continuously executed. During this switching period, the first transmittance α1, the second transmittance α2, and the audio output level SL are gradually changed.

図9は、差分モードから動画モードへ切り換える場合における第1透過率α1及び第2透過率α2の変化を示すグラフである。図9において、縦軸は透過率を示し、横軸は時間を示す。図9に示すように、切替期間の始期において第1透過率α1は1であり、第2透過率α2は0である。切替期間が進行するにしたがい、第1透過率α1は漸減し、第2透過率α2は漸増する。切替期間の終期においては、第1透過率α1は0になり、第2透過率α2は1になる。このように第1透過率α1及び第2透過率α2を変化させることにより、切替期間において差分データによる映像から動画データによる映像へと徐々に切り替わる。 FIG. 9 is a graph showing changes in the first transmittance α1 and the second transmittance α2 when switching from the differential mode to the moving image mode. In FIG. 9, the vertical axis indicates transmittance and the horizontal axis indicates time. As shown in FIG. 9, the first transmittance α1 is 1 and the second transmittance α2 is 0 at the beginning of the switching period. As the switching period progresses, the first transmittance α1 gradually decreases and the second transmittance α2 gradually increases. At the end of the switching period, the first transmittance α1 becomes 0 and the second transmittance α2 becomes 1. By changing the first transmittance α1 and the second transmittance α2 in this manner, the image based on the differential data is gradually switched to the image based on the moving image data during the switching period.

図10は、差分モードから動画モードへ切り換える場合における音声出力レベルSLの変化を示すグラフである。図10において、縦軸は音声出力レベルSLを示し、横軸は時間を示す。図10に示すように、切替期間の始期において音声出力レベルSLは最大であり、切替期間が進行するにしたがって音声出力レベルSLが漸減し、切替期間の中間において、音声出力レベルSLが0となる。これにより、音声がフェードアウトする。また、切替期間の中間からさらに時間が進行すると、音声出力レベルSLは漸増し、切替期間の終期において音声出力レベルSLが最大となる。これにより、音声がフェードインする。また、CPU331は、音声データに付加されるタイムスタンプと動画データに付加されるタイムスタンプとにより、動画データによる映像に音声を同期させる。 FIG. 10 is a graph showing changes in the audio output level SL when switching from the differential mode to the moving image mode. In FIG. 10, the vertical axis indicates the audio output level SL, and the horizontal axis indicates time. As shown in FIG. 10, the audio output level SL is maximum at the beginning of the switching period, gradually decreases as the switching period progresses, and becomes 0 in the middle of the switching period. . This causes the audio to fade out. Further, as the time progresses further from the middle of the switching period, the audio output level SL gradually increases and reaches the maximum at the end of the switching period. This causes the audio to fade in. Also, the CPU 331 synchronizes the audio with the video of the moving image data by using the time stamp added to the audio data and the time stamp added to the moving image data.

図7Bを参照する。コンテンツ送信装置200は、切替期間が終了した場合(ステップS131においてYES)、以下のようにして動画パケット及び音声パケットを再生装置300へ送信する。まず、CPU261は、表示部202に表示されている映像及びスピーカ203から出力されている音声を取り込み、映像データ及び音声データを生成する(ステップS144)。さらにCPU261は、ステップS126~S128と同様にして、動画データを生成し(ステップS145)、動画パケットを生成し(ステップS146)、動画パケットをTCPにより無線通信部201に送信させる(ステップS147)。 See FIG. 7B. When the switching period has ended (YES in step S131), content transmission device 200 transmits moving image packets and audio packets to reproduction device 300 as follows. First, the CPU 261 captures the video displayed on the display unit 202 and the audio output from the speaker 203, and generates video data and audio data (step S144). Furthermore, CPU 261 generates moving image data (step S145), generates moving image packets (step S146), and causes the moving image packets to be transmitted to wireless communication unit 201 by TCP (step S147), in the same manner as steps S126 to S128.

またCPU261は、ステップS109~110と同様にして、音声パケットを生成し(ステップS148)、音声パケットをUDPにより無線通信部201に送信させる(ステップS149)。 CPU 261 also generates voice packets (step S148) in the same manner as in steps S109-110, and causes wireless communication section 201 to transmit the voice packets by UDP (step S149).

他方、再生装置300において切替期間が終了した場合(ステップS143においてYES)、再生装置300は、コンテンツ送信装置200から送信された動画パケット及び音声パケットを受信する(ステップS150,S151)。再生装置300のCPU331は、受信された動画パケットから動画データを抽出し、動画データをデコードしてフレームの映像データを生成し(ステップS152)、映像を再生する(ステップS153)。具体的には、CPU261は、生成された映像データを第2フレームメモリ342に書き込み、第2フレームメモリ342の映像データを映像信号として外部出力部304から表示装置400へ出力する。これにより、動画モードでの映像再生が行われる。 On the other hand, if the switching period has ended in reproduction device 300 (YES in step S143), reproduction device 300 receives the moving image packets and audio packets transmitted from content transmission device 200 (steps S150 and S151). The CPU 331 of the reproduction device 300 extracts the moving image data from the received moving image packet, decodes the moving image data to generate frame image data (step S152), and reproduces the image (step S153). Specifically, CPU 261 writes the generated video data to second frame memory 342 and outputs the video data in second frame memory 342 to display device 400 from external output unit 304 as a video signal. As a result, video reproduction is performed in the moving picture mode.

また、CPU331は、受信された音声パケットから音声データを抽出し、音声を再生する(ステップS154)。つまり、CPU261は音声データから音声信号を生成し、外部出力部304から表示装置400へ出力する。このとき、CPU331は、動画データに付加されたタイムスタンプと、音声データに付加されたタイムスタンプとを用いて、音声を映像に同期させる。以上により、表示装置400の表示部401に映像が表示され、スピーカ402から音声が出力される。 CPU 331 also extracts audio data from the received audio packet and reproduces the audio (step S154). That is, the CPU 261 generates an audio signal from the audio data and outputs it from the external output unit 304 to the display device 400 . At this time, the CPU 331 uses the time stamp added to the moving image data and the time stamp added to the audio data to synchronize the audio with the video. As described above, video is displayed on the display unit 401 of the display device 400 and audio is output from the speaker 402 .

CPU331は、入力部403に対してユーザから入力が与えられたか否かを判定し(ステップS155)、入力が与えられた場合には(ステップS155においてYES)、入力情報をコンテンツ送信装置200へ送信する(ステップS156)。他方、ユーザから入力が与えられていない場合には(ステップS155においてNO)、CPU331はステップS159へと処理を移す。 CPU 331 determines whether or not an input has been given by the user to input unit 403 (step S155), and if an input has been given (YES in step S155), the input information is transmitted to content transmission device 200. (step S156). On the other hand, if the user has not given an input (NO in step S155), CPU 331 shifts the process to step S159.

コンテンツ送信装置200のCPU261は、動画データから差分データへの送信対象の切替条件である第2切替条件を満足しているか否かを判定する(ステップS157)。 The CPU 261 of the content transmission device 200 determines whether or not a second switching condition, which is a switching condition for transmission from moving image data to differential data, is satisfied (step S157).

ここで、第2切替条件について説明する。第2切替条件には、以下の(3)~(5)の3つの条件を含み、これらの条件のうちのどちらかが満たされた場合に、第2切替条件が満たされたとされる。
(3)映像変化量が所定の基準値を超えないまま、所定の第1判定期間を超える。
(4)所定の第2判定期間以上継続して画面に対するユーザの入力が検出される。
(5)ユーザから差分モードへの切替指示が与えられる。
Here, the second switching condition will be explained. The second switching condition includes the following three conditions (3) to (5), and the second switching condition is satisfied when any one of these conditions is satisfied.
(3) The predetermined first determination period is exceeded without the image change amount exceeding the predetermined reference value.
(4) A user's input to the screen is detected continuously for a predetermined second determination period or longer.
(5) The user gives an instruction to switch to the differential mode.

条件(3)について説明する。上述したように、時間的大きく変化する映像は動画モードが適しており、時間的な変化が少ない映像は差分モードが適している。したがって、コンテンツ送信装置200は映像変化量を検出し、この映像変化量が継続して第1判定期間以上基準値を超えない場合には、送信対象を動画データから差分データに切り換える。 Condition (3) will be explained. As described above, the moving image mode is suitable for images that change greatly over time, and the difference mode is suitable for images that change less over time. Therefore, the content transmission device 200 detects the amount of video change, and if the amount of video change does not exceed the reference value continuously for the first determination period or longer, the transmission target is switched from moving image data to difference data.

条件(4)について説明する。コンテンツ送信装置200のCPU261は、再生装置300から与えられる入力情報により、入力部403に対する操作を監視する。CPU331は、第2判定期間以上継続して入力部403に対する操作が与えられている場合に、映像に対する所定の入力を検出する。例えば、ユーザが表示装置400を電子黒板として使用し、スタイラスによって画面に文字を描く、即ち手書き入力を行うことがある。このような手書き入力は、可能な限り遅延なくユーザの入力を表示に反映させることが重要である。このため、映像の再生に遅れが生じる動画データによる映像再生よりも、遅延が少ない差分データによる映像再生が適している。したがって、コンテンツ送信装置200は、第2判定期間以上継続して映像に対するユーザ入力を検出した場合には、送信対象を動画データから差分データに切り換える。 Condition (4) will be explained. CPU 261 of content transmission device 200 monitors operations on input unit 403 based on input information given from playback device 300 . The CPU 331 detects a predetermined input to the image when the input unit 403 is operated continuously for the second determination period or longer. For example, the user may use the display device 400 as an electronic blackboard and draw characters on the screen with a stylus, that is, perform handwriting input. For such handwritten input, it is important to reflect the user's input on display with as little delay as possible. For this reason, video playback using differential data with less delay is more suitable than video playback using moving image data that causes a delay in video playback. Therefore, when the content transmission device 200 detects a user input to the video continuously for the second determination period or longer, the content transmission device 200 switches the transmission target from the moving image data to the difference data.

条件(5)について説明する。本実施の形態では、動画モードから差分モードへの切替を指示するためのユーザ操作が規定されている。例えば、当該ユーザ操作は、画面(つまり、入力部403)を特定の方向になぞる操作、又は、表示画面に含まれる動画モードから差分モードへの切替を選択するための選択部を選択する操作等で実現される。入力部403にこの操作入力が与えられると、コンテンツ送信装置200のCPU261には動画モードから差分モードへの切替指示が与えられる。 Condition (5) will be explained. In this embodiment, a user operation for instructing switching from the moving image mode to the difference mode is defined. For example, the user operation is an operation of tracing the screen (that is, the input unit 403) in a specific direction, or an operation of selecting a selection unit for selecting switching from the moving image mode to the difference mode included in the display screen. is realized by When this operation input is given to the input unit 403, the CPU 261 of the content transmission device 200 is given an instruction to switch from the moving image mode to the differential mode.

上記の第2切替条件が満足されていない場合(ステップS157においてNO)、CPU261は、ステップS144へ処理を戻す。これにより、ステップS144~S149及びステップS157の処理が繰り返され、継続して動画データ及び音声データの送信が行われる。他方、第2切替条件が満足されている場合(ステップS157においてYES)、CPU261は、動画データから差分データへの受信対象の切替要求(受信対象切替要求)を再生装置300に送信する(ステップS158)。 If the above second switching condition is not satisfied (NO in step S157), CPU 261 returns the process to step S144. As a result, the processes of steps S144 to S149 and step S157 are repeated, and moving image data and audio data are continuously transmitted. On the other hand, if the second switching condition is satisfied (YES in step S157), CPU 261 transmits a reception target switching request (reception target switching request) from moving image data to difference data to playback device 300 (step S158). ).

再生装置300のCPU331は、受信対象切替要求を受信したか否かを判定する(ステップS159)。再生装置300が受信対象切替要求を受信していない場合(ステップS159においてNO)、CPU331は、ステップS150に処理を戻す。これにより、ステップS150~S156及びステップS159の処理が繰り返され、動画データによる映像再生及び音声データによる音声再生が継続して実行される。 The CPU 331 of the playback device 300 determines whether or not the reception target switching request has been received (step S159). If reproducing device 300 has not received the reception target switching request (NO in step S159), CPU 331 returns the process to step S150. As a result, the processes of steps S150 to S156 and step S159 are repeated, and video reproduction based on moving image data and audio reproduction based on audio data are continuously performed.

コンテンツ送信装置200のCPU261は、受信対象切替要求を送信した後、ステップS121~S131と同様にして、所定の切替期間において差分データ及び動画データ、並びに音声データを再生装置300へ送信する(ステップS160~S170)。 After transmitting the reception target switching request, the CPU 261 of the content transmission device 200 transmits the difference data, the moving image data, and the audio data to the playback device 300 in a predetermined switching period in the same manner as in steps S121 to S131 (step S160 ~S170).

一方、再生装置300において受信対象切替要求が受信された場合(ステップS120においてYES)、CPU331が切替期間を開始する(ステップS171)。さらに再生装置300は、コンテンツ送信装置200から送信された差分パケット、動画パケット、及び音声パケットのそれぞれを受信する(ステップS172~S174)。CPU331は、第1透過率α1及び第2透過率α2、並びに音声出力レベルSLを設定する(ステップS175)。動画モードから差分モードへ切り換えられる場合の第1透過率α1の初期値は「0」であり、第2透過率α2の初期値は「1」である。また、音声出力レベルSLの初期値は、動画モードにおける音声出力レベルと同一値である。 On the other hand, if a reception target switching request is received by reproduction device 300 (YES in step S120), CPU 331 starts a switching period (step S171). Further, the reproducing device 300 receives each of the difference packet, moving image packet, and audio packet transmitted from the content transmitting device 200 (steps S172 to S174). The CPU 331 sets the first transmittance α1, the second transmittance α2, and the audio output level SL (step S175). When the moving image mode is switched to the difference mode, the initial value of the first transmittance α1 is "0" and the initial value of the second transmittance α2 is "1". Also, the initial value of the audio output level SL is the same value as the audio output level in the moving picture mode.

次にCPU331は、受信された差分パケットから差分データを抽出し、前回フレームと差分データとの輝度値を画素毎に加算して今回フレームの映像データを生成する(ステップS176)。生成された映像データは第1フレームメモリ341に書き込まれる。さらにCPU331は、第1フレームメモリ341に記憶された映像データの各画素の輝度値に第1透過率α1を乗じ、第1透過画像を生成する(ステップS177)。 Next, the CPU 331 extracts difference data from the received difference packet, adds the luminance values of the previous frame and the difference data for each pixel, and generates video data of the current frame (step S176). The generated video data is written to the first frame memory 341 . Furthermore, the CPU 331 multiplies the luminance value of each pixel of the video data stored in the first frame memory 341 by the first transmittance α1 to generate a first transparent image (step S177).

また、CPU331は、受信された動画パケットから動画データを抽出し、動画データをデコードしてフレームの映像データを生成する(ステップS178)。生成された映像データは第2フレームメモリ342に書き込まれる。さらにCPU331は、第2フレームメモリ342に記憶された映像データの各画素の輝度値に第2透過率α2を乗じ、第2透過画像を生成する(ステップS179)。 Further, CPU 331 extracts moving image data from the received moving image packet, decodes the moving image data, and generates frame image data (step S178). The generated video data is written to the second frame memory 342 . Furthermore, the CPU 331 multiplies the luminance value of each pixel of the video data stored in the second frame memory 342 by the second transmittance α2 to generate a second transparent image (step S179).

CPU331は、第1透過画像と第2透過画像とを合成し、合成画像の映像信号を外部出力部304から表示装置400へ出力する(ステップS180)。これにより、移行モードでの映像再生が行われる。 CPU 331 synthesizes the first transparent image and the second transparent image, and outputs a video signal of the synthesized image from external output unit 304 to display device 400 (step S180). As a result, video playback is performed in the transition mode.

またCPU331は、受信された音声パケットから音声データを抽出し、設定された音声出力レベルSLで音声を再生する(ステップS181)。つまり、CPU331は音声データから音声信号を生成し、外部出力部304から表示装置400へ出力する。 The CPU 331 also extracts audio data from the received audio packet and reproduces the audio at the set audio output level SL (step S181). In other words, the CPU 331 generates an audio signal from the audio data and outputs it from the external output unit 304 to the display device 400 .

次にCPU331は、切替期間が終了したか否かを判定し(ステップS182)、切替期間が終了していない場合には(ステップS182においてNO)、ステップS172へ処理を戻す。これにより、ステップS172~S182の処理が繰り返され、映像のαブレンドが継続して実行される。この切替期間において、第1透過率α1及び第2透過率α2、並びに音声出力レベルSLは徐々に変更される。 Next, CPU 331 determines whether or not the switching period has ended (step S182), and if the switching period has not ended (NO in step S182), the process returns to step S172. As a result, the processing of steps S172 to S182 is repeated, and the α-blending of the video is continuously executed. During this switching period, the first transmittance α1, the second transmittance α2, and the audio output level SL are gradually changed.

図11は、動画モードから差分モードへ切り換える場合における第1透過率α1及び第2透過率α2の変化を示すグラフである。図11において、縦軸は透過率を示し、横軸は時間を示す。図11に示すように、切替期間の始期において第1透過率α1は0であり、第2透過率α2は1である。切替期間が進行するにしたがい、第1透過率α1は漸増し、第2透過率α2は漸減する。切替期間の終期においては、第1透過率α1は1になり、第2透過率α2は0になる。このように第1透過率α1及び第2透過率α2を変化させることにより、切替期間において動画データによる映像から差分データによる映像へと徐々に切り替わる。 FIG. 11 is a graph showing changes in the first transmittance α1 and the second transmittance α2 when switching from the moving image mode to the difference mode. In FIG. 11, the vertical axis indicates transmittance and the horizontal axis indicates time. As shown in FIG. 11, the first transmittance α1 is 0 and the second transmittance α2 is 1 at the beginning of the switching period. As the switching period progresses, the first transmittance α1 gradually increases and the second transmittance α2 gradually decreases. At the end of the switching period, the first transmittance α1 becomes 1 and the second transmittance α2 becomes 0. By changing the first transmittance α1 and the second transmittance α2 in this manner, the image based on the moving image data is gradually switched to the image based on the differential data during the switching period.

動画モードから差分モードへの切替期間においては、差分モードから動画モードへ切替期間と同様に音声出力レベルSLが変化する。即ち、切替期間の始期において音声出力レベルSLは最大であり、切替期間が進行するにしたがって音声出力レベルSLが漸減し、切替期間の中間において、音声出力レベルSLが0となる。これにより、音声がフェードアウトする。また、切替期間の中間からさらに時間が進行すると、音声出力レベルSLは漸増し、切替期間の終期において音声出力レベルSLが最大となる。これにより、音声がフェードインする。また、CPU331は、音声データに付加されるタイムスタンプと動画データに付加されるタイムスタンプとにより、動画データによる映像に音声を同期させる。 During the switching period from the moving image mode to the difference mode, the sound output level SL changes similarly to the switching period from the difference mode to the moving image mode. That is, the audio output level SL is maximum at the beginning of the switching period, gradually decreases as the switching period progresses, and becomes 0 in the middle of the switching period. This causes the audio to fade out. Further, as the time progresses further from the middle of the switching period, the audio output level SL gradually increases and reaches the maximum at the end of the switching period. This causes the audio to fade in. Also, the CPU 331 synchronizes the audio with the video of the moving image data by using the time stamp added to the audio data and the time stamp added to the moving image data.

図7Dを参照する。コンテンツ送信装置200のCPU261は、切替期間が終了した場合(ステップS170においてYES)、ステップS105へ処理を戻す。これにより、送信対象が動画パケットから差分パケットに切り替わり、差分パケット及び音声パケットが再生装置300へ送信される(ステップS105~S110)。 See FIG. 7D. When the switching period has ended (YES in step S170), CPU 261 of content transmission device 200 returns the process to step S105. As a result, the transmission target is switched from the moving image packet to the differential packet, and the differential packet and the audio packet are transmitted to the playback device 300 (steps S105 to S110).

他方、再生装置300において切替期間が終了した場合(ステップS182においてYES)、再生装置300のCPU331は、ステップS111へ処理を戻す。これにより、差分モードに移行し、差分データによる映像が再生される。 On the other hand, if the switching period has ended in reproducing device 300 (YES in step S182), CPU 331 of reproducing device 300 returns the process to step S111. As a result, the mode is shifted to the difference mode, and the video is reproduced by the difference data.

以上のように構成することにより、画質は低いが単位時間当たりに処理されるデータ量が小さい差分モードと、高画質だが単位時間当たりに処理できるデータ量が大きい動画モードとを切り替えることで、低通信量と高画質とを両立することができる。また、映像と音声とのずれが生じやすい動画モードにおいて、映像と音声とを同期させるため、映像と音声とのずれを抑制することができる。なお、差分モードでは、データ量が小さく、映像再生処理の再生不可が小さいため、同期を取らなくても映像と音声とのずれは小さい。 With the above configuration, switching between the difference mode in which the image quality is low but the amount of data processed per unit time is small and the video mode in which the image quality is high but the amount of data processed per unit time is large can be switched. Both communication volume and high image quality can be achieved. In addition, since the video and the audio are synchronized in the moving image mode where the video and the audio are likely to be out of sync, the video and the audio can be prevented from being out of sync. In the difference mode, the amount of data is small, and the possibility of reproduction of video reproduction processing is small. Therefore, even if synchronization is not performed, the difference between video and audio is small.

また、コンテンツ送信装置200は、差分パケット及び動画パケットとは別に、音声パケットを生成し、差分パケット及び動画パケットのそれぞれを送信する場合に音声パケットを送信する。つまり、音声データは差分モード及び動画モードで共用されており、差分モード専用の音声データ、動画モード専用の音声データは生成されない。このため、同一の音声を再生するための音声データが重複することがなく、通信量を軽減し、それと共に、差分モード及び動画モードのそれぞれのために互いに異なる形式の音声データを生成する必要がなく、コンテンツ送信装置200の構成が簡略化される。同様に、再生装置300においても、互いに異なる形式の音声データを処理する必要がなく、構成が簡略化される。 In addition, the content transmission device 200 generates audio packets separately from the differential packets and the video packets, and transmits the audio packets when transmitting the differential packets and the video packets. That is, the audio data is shared between the difference mode and the moving image mode, and the audio data dedicated to the difference mode and the audio data dedicated to the moving image mode are not generated. Therefore, it is necessary to reduce the amount of communication without duplication of audio data for reproducing the same audio, and to generate audio data in different formats for each of the difference mode and the video mode. Therefore, the configuration of the content transmission device 200 is simplified. Similarly, the playback device 300 does not need to process different formats of audio data, and the configuration is simplified.

(その他の実施の形態)
上述した実施の形態においては、差分モードと動画モードとの間で動作モードを切り換えるための切替期間を設け、この切替期間において差分データ及び動画データの一方による映像再生から、他方による映像再生に徐々に切り換える構成について述べたが、これに限定されるものではない。切替期間を設けず、差分モードから動画モードへ、又は動画モードから差分モードへ直接切り換える構成とすることもできる。
(Other embodiments)
In the above-described embodiment, a switching period is provided for switching the operation mode between the difference mode and the moving image mode, and during this switching period, the image reproduction by one of the difference data and the moving image data is gradually switched to the image reproduction by the other. Although the configuration for switching to is described, it is not limited to this. It is also possible to adopt a configuration in which the difference mode is directly switched to the moving image mode, or the moving image mode is directly switched to the difference mode without providing a switching period.

また、上述した実施の形態においては、切替期間においてコンテンツ送信装置200が差分データと動画データとの両方を再生装置300へ送信する構成について述べたが、これに限定されるものではない。例えば、送信対象が切り換えられる場合に、切替前の送信対象のデータを送信せず、切替後の送信対象のデータを送信する構成とすることもできる。この場合、切替前のデータにより再生された最後の1フレームの映像と、切替後に受信される新たな送信対象のデータにより生成される映像とを切替期間においてαブレンドによって徐々に切り換える構成とすることができる。 Also, in the above-described embodiment, the configuration in which the content transmission device 200 transmits both the difference data and the moving image data to the reproduction device 300 during the switching period has been described, but the configuration is not limited to this. For example, when the transmission target is switched, the data of the transmission target before switching may not be transmitted, and the data of the transmission target after switching may be transmitted. In this case, the video of the last one frame reproduced by the data before switching and the video generated by the new data to be transmitted received after switching are gradually switched by α-blending during the switching period. can be done.

また、上述した実施の形態においては、第1切替条件に条件(1)及び(2)が含まれ、第2切替条件に条件(3)~(5)が含まれる構成について述べたが、これに限定されるものではない。第1切替条件は、条件(1)及び(2)の何れか一方のみを含んでいてもよく、第2切替条件は、条件(3)~(5)の1つ又は2つのみを含んでいてもよい。また、第1切替条件及び第2切替条件は、条件(1)及び(2)、並びに条件(3)~(5)以外の条件を含んでいてもよい。 In the above-described embodiment, the first switching condition includes conditions (1) and (2), and the second switching condition includes conditions (3) to (5). is not limited to The first switching condition may include only one of the conditions (1) and (2), and the second switching condition includes only one or two of the conditions (3) to (5). You can Also, the first switching condition and the second switching condition may include conditions other than conditions (1) and (2) and conditions (3) to (5).

また、上述した実施の形態においては、切替期間において、差分データ及び動画データの一方により再生される映像に伴って再生される音声をフェードアウトさせ、他方により再生される映像に伴って再生される音声をフェードインさせる構成について述べたが、これに限定されるものではない。差分データ及び動画データのそれぞれにより再生される映像に伴って再生される音声の出力レベルSLを増減させることなく、切替期間内の1つの時点において音声を切り換える構成とすることもできる。但し、音声をフェードアウト、フェードインさせる構成の方が、視聴者に与える違和感を抑制できるため好ましい。 Further, in the above-described embodiment, during the switching period, the audio reproduced with the video reproduced by one of the difference data and the moving image data is faded out, and the audio reproduced with the video reproduced by the other is faded out. has been described, but the configuration is not limited to this. It is also possible to adopt a configuration in which the sound is switched at one point in the switching period without increasing or decreasing the output level SL of the sound reproduced along with the video reproduced by the difference data and the moving image data. However, the configuration in which the audio is faded out and faded in is preferable because it can suppress the viewer's sense of discomfort.

また、上述した実施の形態においては、コンテンツ送信装置200に変化量検出部217、入力検出部218、切替指示受付部219、送信対象切替部220、及び切替要求部221の各機能を設ける構成について述べたが、これに限定されるものではない。再生装置300に、変化量検出部、入力検出部、切替指示受付部、及び切替要求部の各機能を設け、再生装置300が再生する映像の変化量の検出、ユーザからの映像に対する入力の検出、及びユーザからの映像再生の切替指示の受付の何れかが生じた場合に、送信対象の切替要求をコンテンツ送信装置200に送信し、コンテンツ送信装置300が、切替要求を受信すると送信対象を差分データ及び動画データの一方から他方へ切り替える構成とすることもできる。 In addition, in the above-described embodiment, the content transmission device 200 is provided with the functions of the change amount detection unit 217, the input detection unit 218, the switching instruction reception unit 219, the transmission target switching unit 220, and the switching request unit 221. Although stated, it is not limited to this. The reproduction device 300 is provided with the functions of a change amount detection unit, an input detection unit, a switching instruction reception unit, and a switching request unit, and detects the amount of change in the video reproduced by the reproduction device 300 and the input to the video from the user. , or when an instruction to switch video reproduction from the user is received, a request for switching the transmission target is transmitted to the content transmission device 200, and when the content transmission device 300 receives the switching request, the transmission target is changed. It is also possible to switch from one of the data and the video data to the other.

また、上述した実施の形態においては、音声データをUDPにより送信し、差分データ及び動画データをTCPにより送信する構成について述べたが、これに限定されるものではない。音声データをTCPにより送信してもよいし、差分データ及び動画データの一方又は両方をUDPにより送信してもよい。但し、差分データ及び動画データを応答確認及び再送処理が行われるTCPにより送信することにより、映像の途切れ又は乱れを抑制し、高画質な映像を再生することができるため、差分データ及び動画データの送信にはTCPを用いることが好ましい。 Also, in the above-described embodiment, a configuration has been described in which audio data is transmitted by UDP, and difference data and video data are transmitted by TCP, but the present invention is not limited to this. Audio data may be transmitted by TCP, and one or both of differential data and video data may be transmitted by UDP. However, by transmitting the difference data and video data by TCP, which performs response confirmation and retransmission processing, it is possible to suppress the interruption or disturbance of the video and reproduce high-quality video, so the difference data and video data Preferably, TCP is used for transmission.

また、上述した実施の形態においては、非圧縮形式の差分データ及び音声データを送信し、圧縮形式の動画データを送信する構成について述べたが、これに限定されるものではない。差分データ及び音声データの一方又は両方を圧縮形式としてもよいし、動画データを非圧縮形式としてもよい。但し、差分データ及び音声データを非圧縮形式とすることで、再生装置における解凍処理が必要なく、再生負荷が小さいためコンテンツ送信装置200と表示装置400との間における映像及び音声の遅れを抑制することができる。また、動画データを圧縮形式とすることで、映像のビットレートを向上させることができ、通信量を抑制しつつ高画質な映像を再生することができる。 Also, in the above-described embodiment, a configuration has been described in which non-compressed difference data and audio data are transmitted, and compressed moving image data is transmitted, but the present invention is not limited to this. One or both of the difference data and the audio data may be in compressed format, and the moving image data may be in non-compressed format. However, since the difference data and the audio data are in non-compressed format, there is no need for decompression processing in the playback device, and the playback load is small, so delays in video and audio between the content transmission device 200 and the display device 400 are suppressed. be able to. Also, by compressing the moving image data, the bit rate of the video can be improved, and high-quality video can be reproduced while suppressing the amount of communication.

また、上述した実施の形態においては、再生装置300を無線アクセスポイントとする構成について述べたが、これに限定されるものではない。例えば、コンテンツの再生専用の再生装置を、上述した動作を実行可能な構成としてもよい。また、再生装置と表示装置400とを各別に設け、これらを接続する構成ではなく、表示部を備える再生装置とすることも可能である。コンテンツ送信装置200と再生装置300とが無線LANにより通信する構成でなくてもよく、有線通信を行う構成としてもよい。 Also, in the above-described embodiment, a configuration in which playback device 300 is used as a wireless access point has been described, but the present invention is not limited to this. For example, a playback device dedicated to playback of content may be configured to be capable of executing the above-described operations. Further, it is also possible to provide a playback device and a display device 400 separately, and instead of connecting them together, the playback device may include a display unit. The content transmission device 200 and the playback device 300 may not be configured to communicate via a wireless LAN, and may be configured to perform wired communication.

本発明の再生装置、遠隔再生システム、再生方法、及びコンピュータプログラムは、ストリーミングにより配信された映像及び音声を再生する再生装置、遠隔再生システム、再生方法、及びコンピュータを再生装置として機能させるコンピュータプログラムとして有用である。 A playback device, a remote playback system, a playback method, and a computer program according to the present invention are a playback device, a remote playback system, a playback method, and a computer program that make a computer function as a playback device for playing back video and audio distributed by streaming. Useful.

100 遠隔再生システム
200 コンテンツ送信装置
201 無線通信部
205 記憶部
206 制御部
210 コンテンツ送信プログラム
217 変化量検出部
218 入力検出部
219 切替指示受付部
220 送信対象切替部
261 CPU
262 メモリ
300 再生装置
301 無線通信部
303 制御部
311 通信部
312 第1映像再生部
313 第2映像再生部
314 音声再生部
315 移行再生部
331 CPU
341 第1フレームメモリ
342 第2フレームメモリ
400 表示装置


REFERENCE SIGNS LIST 100 remote playback system 200 content transmission device 201 wireless communication unit 205 storage unit 206 control unit 210 content transmission program 217 change amount detection unit 218 input detection unit 219 switching instruction receiving unit 220 transmission target switching unit 261 CPU
262 memory 300 playback device 301 wireless communication unit 303 control unit 311 communication unit 312 first video playback unit 313 second video playback unit 314 audio playback unit 315 transition playback unit 331 CPU
341 first frame memory 342 second frame memory 400 display device


Claims (12)

時間的に前後する2つのフレーム間の差分データ、および動画データを受信する通信部と、
前記差分データと、前記2つのフレームのうちの前のフレームとに基づいて生成された後のフレームにより映像を再生する第1映像再生部と、
前記動画データに基づいて生成された時間的に連続する複数のフレームにより映像を再生する第2映像再生部と、
を備え、
前記通信部は、さらに前記差分データ及び前記動画データの送信元から、前記差分データ及び前記動画データの一方から他方への受信対象の切替要求を受信し、
前記第1映像再生部及び前記第2映像再生部は、さらに前記通信部によって前記切替要求が受信された場合に、前記第1映像再生部及び第2映像再生部の一方から他方へ映像の再生を切り替え
前記通信部は、前記差分データを、コネクション型プロトコルにより受信し、
前記通信部は、非圧縮の前記差分データを受信する、
再生装置。
a communication unit that receives difference data between two temporally preceding and following frames and moving image data;
a first video reproduction unit that reproduces video from a subsequent frame generated based on the difference data and the previous frame of the two frames;
a second video reproduction unit that reproduces video from a plurality of temporally continuous frames generated based on the moving image data;
with
The communication unit further receives a request to switch a reception target from one of the differential data and the moving image data to the other from a transmission source of the difference data and the moving image data,
The first video reproducing unit and the second video reproducing unit further reproduce video from one of the first video reproducing unit and the second video reproducing unit to the other when the switching request is received by the communication unit. toggling the
The communication unit receives the differential data using a connection-oriented protocol,
The communication unit receives the uncompressed difference data.
playback device.
前記通信部は、前記動画データを、コネクション型プロトコルにより受信する、
請求項に記載の再生装置。
The communication unit receives the video data using a connection-oriented protocol.
2. The playback device according to claim 1 .
前記通信部は、圧縮された前記動画データを受信する、
請求項に記載の再生装置。
The communication unit receives the compressed video data,
3. The playback device according to claim 2 .
時間的に前後する2つのフレーム間の差分データ、および動画データを受信する通信部と、
前記差分データと、前記2つのフレームのうちの前のフレームとに基づいて生成された後のフレームにより映像を再生する第1映像再生部と、
前記動画データに基づいて生成された時間的に連続する複数のフレームにより映像を再生する第2映像再生部と、
を備え、
前記通信部は、さらに前記差分データ及び前記動画データの送信元から、前記差分データ及び前記動画データの一方から他方への受信対象の切替要求を受信し、
前記第1映像再生部及び前記第2映像再生部は、さらに前記通信部によって前記切替要求が受信された場合に、前記第1映像再生部及び第2映像再生部の一方から他方へ映像の再生を切り替え、
前記通信部は、前記映像の再生が切り替えられる場合に、前記差分データ及び前記動画データの両方を同時に受信し、
前記第1映像再生部及び前記第2映像再生部の一方が映像を再生する第1期間と、他方が映像を再生する第2期間との間に設けられた所定の切替期間において、同時に受信された前記差分データ及び前記動画データの一方により生成される映像から他方より生成される映像へと段階的に変化させて再生する移行再生部をさらに備え
第1フレームメモリ及び第2フレームメモリを有し、
前記移行再生部は、前記差分データにより生成される画像に対して所定の第1透過率に基づいた透過処理を施して得た第1透過画像を前記第1フレームメモリに格納し、前記動画データにより生成される画像に対して前記第1透過率の補数である第2透過率に基づいた透過処理を施して得た第2透過画像を前記第2フレームメモリに格納し、前記第1透過画像と前記第2透過画像とを合成する、
再生装置。
a communication unit that receives difference data between two temporally preceding and following frames and moving image data;
a first video reproduction unit that reproduces video from a subsequent frame generated based on the difference data and the previous frame of the two frames;
a second video reproduction unit that reproduces video from a plurality of temporally continuous frames generated based on the moving image data;
with
The communication unit further receives a request to switch a reception target from one of the differential data and the moving image data to the other from a transmission source of the difference data and the moving image data,
The first video reproducing unit and the second video reproducing unit further reproduce video from one of the first video reproducing unit and the second video reproducing unit to the other when the switching request is received by the communication unit. toggling the
the communication unit receives both the difference data and the moving image data at the same time when playback of the video is switched;
are simultaneously received in a predetermined switching period provided between a first period during which one of the first video reproducing unit and the second video reproducing unit reproduces video and a second period during which the other reproduces video; further comprising a transition reproducing unit that reproduces an image generated by one of the difference data and the moving image data while gradually changing the image generated by the other to an image generated by the other ;
having a first frame memory and a second frame memory,
The transition reproduction unit stores in the first frame memory a first transparent image obtained by performing transparency processing based on a predetermined first transmittance on an image generated from the difference data, and stores the moving image data. storing in the second frame memory a second transparent image obtained by performing transparency processing based on a second transmittance, which is a complement of the first transmittance, on the image generated by and the second transmission image,
playback device.
時間的に前後する2つのフレーム間の差分データ、および動画データを送信するコンテンツ送信装置と、
生装置と
を備え
前記再生装置は、
前記差分データ、および前記動画データを受信する通信部と、
前記差分データと、前記2つのフレームのうちの前のフレームとに基づいて生成された後のフレームにより映像を再生する第1映像再生部と、
前記動画データに基づいて生成された時間的に連続する複数のフレームにより映像を再生する第2映像再生部と、
を備え、
前記通信部は、さらに前記コンテンツ送信装置から、前記差分データ及び前記動画データの一方から他方への受信対象の切替要求を受信し、
前記第1映像再生部及び前記第2映像再生部は、さらに前記通信部によって前記切替要求が受信された場合に、前記第1映像再生部及び第2映像再生部の一方から他方へ映像の再生を切り替え、
前記コンテンツ送信装置は、
再生される映像の時間的な変化量を検出する変化量検出部と、
前記変化量検出部によって検出された前記映像の時間的な変化量に基づいて、前記差分データ及び前記動画データの一方から他方へ送信対象を切り替える送信対象切替部と、
前記再生装置に対して、前記差分データ及び前記動画データの一方から他方への受信対象の切替を要求する切替要求部と
を有する、
遠隔再生システム。
a content transmission device that transmits differential data between two temporally preceding and following frames and moving image data;
with a playback device and
The playback device
a communication unit that receives the difference data and the video data;
a first video reproduction unit that reproduces video from a subsequent frame generated based on the difference data and the previous frame of the two frames;
a second video reproduction unit that reproduces video from a plurality of temporally continuous frames generated based on the moving image data;
with
The communication unit further receives from the content transmission device a request to switch a reception target from one of the difference data and the moving image data to the other,
The first video reproducing unit and the second video reproducing unit further reproduce video from one of the first video reproducing unit and the second video reproducing unit to the other when the switching request is received by the communication unit. toggling the
The content transmission device is
a change amount detection unit that detects a temporal change amount of the reproduced video;
a transmission target switching unit that switches a transmission target from one of the difference data and the video data to the other based on the temporal change amount of the video detected by the change amount detection unit;
a switching request unit that requests the playback device to switch a reception target from one of the differential data and the video data to the other;
having
Remote playback system.
前記コンテンツ送信装置は、
表示される前記映像に対する入力を検出する入力検出部と、
前記入力検出部による前記入力の検出に基づいて、前記差分データ及び前記動画データの一方から他方へ送信対象を切り替える送信対象切替部と、
前記再生装置に対して、前記差分データ及び前記動画データの一方から他方への受信対象の切替を要求する切替要求部と
を有する、
請求項に記載の遠隔再生システム。
The content transmission device is
an input detection unit that detects an input to the image to be displayed;
a transmission target switching unit that switches a transmission target from one of the difference data and the video data to the other based on detection of the input by the input detection unit;
a switching request unit that requests the playback device to switch a reception target from one of the differential data and the video data to the other;
6. The remote playback system of claim 5 .
前記コンテンツ送信装置は、
前記差分データによる映像再生及び前記動画データによる映像再生の間での切替指示を受け付ける切替指示受付部と、
前記切替指示受付部によって受け付けられた前記切替指示に基づいて、前記差分データ及び前記動画データの一方から他方へ送信対象を切り替える送信対象切替部と、
前記再生装置に対して、前記差分データ及び前記動画データの一方から他方への受信対象の切替を要求する切替要求部と
を有する、
請求項に記載の遠隔再生システム。
The content transmission device is
a switching instruction reception unit that receives a switching instruction between video reproduction based on the difference data and video reproduction based on the moving image data;
a transmission target switching unit that switches a transmission target from one of the difference data and the video data to the other based on the switching instruction accepted by the switching instruction accepting unit;
a switching request unit that requests the playback device to switch a reception target from one of the differential data and the video data to the other;
6. The remote playback system of claim 5 .
時間的に前後する2つのフレーム間の差分を示す差分データを受信し、
受信された前記差分データと、前記2つのフレームのうちの前のフレームとに基づいて生成された後のフレームにより映像を再生し、
前記差分データによる映像から、時間的に連続する複数のフレームを生成するための動画データによる映像へ切り替える場合に、動画データを受信し、
前記差分データによる映像の再生を停止し、
受信された前記動画データに基づいて生成された時間的に連続する複数のフレームにより映像を再生する、
再生方法であって、
前記差分データの受信は、前記差分データを、コネクション型プロトコルにより受信し、
前記差分データの受信は、非圧縮の前記差分データを受信する、
再生方法。
receiving difference data indicating a difference between two temporally preceding and succeeding frames;
Reproduce video with a later frame generated based on the received difference data and the previous frame of the two frames;
receiving moving image data when switching from the image based on the difference data to the image based on moving image data for generating a plurality of temporally continuous frames;
Stopping the reproduction of the video by the difference data,
playing back video from a plurality of temporally consecutive frames generated based on the received video data;
A playback method comprising:
receiving the differential data includes receiving the differential data using a connection-oriented protocol;
receiving the differential data includes receiving the uncompressed differential data;
how to play.
時間的に前後する2つのフレーム間の差分を示す差分データを受信し、
受信された前記差分データと、前記2つのフレームのうちの前のフレームとに基づいて生成された後のフレームにより映像を再生し、
前記差分データによる映像から、時間的に連続する複数のフレームを生成するための動画データによる映像へ切り替える場合に、動画データを受信し、
前記差分データによる映像の再生を停止し、
受信された前記動画データに基づいて生成された時間的に連続する複数のフレームにより映像を再生する、
再生方法であって、
前記映像の再生が切り替えられる場合に、前記差分データ及び前記動画データの両方を同時に受信し、
前記差分データによる映像を再生する第1期間と、前記動画データによる映像を再生する第2期間との間に設けられた所定の切替期間において、前記差分データによる映像から前記動画データによる映像へと段階的に変化させて再生し、
前記段階的に変化させる再生は、前記差分データにより生成される画像に対して所定の第1透過率に基づいた透過処理を施して得た第1透過画像を第1フレームメモリに格納し、前記動画データにより生成される画像に対して前記第1透過率の補数である第2透過率に基づいた透過処理を施して得た第2透過画像を第2フレームメモリに格納し、前記第1透過画像と前記第2透過画像とを合成する、
再生方法。
receiving difference data indicating a difference between two temporally preceding and succeeding frames;
Reproduce video with a later frame generated based on the received difference data and the previous frame of the two frames;
receiving moving image data when switching from the image based on the difference data to the image based on moving image data for generating a plurality of temporally continuous frames;
Stopping the reproduction of the video by the difference data,
playing back video from a plurality of temporally consecutive frames generated based on the received video data;
A playback method comprising:
receiving both the difference data and the moving image data at the same time when playback of the video is switched;
During a predetermined switching period provided between a first period during which the image based on the difference data is reproduced and a second period during which the image based on the moving image data is reproduced, the image based on the difference data is changed to the image based on the moving image data. Playback with gradual changes,
The step-by-step reproduction includes storing in a first frame memory a first transparent image obtained by performing transparency processing based on a predetermined first transmittance on an image generated from the differential data, and storing in a second frame memory a second transparent image obtained by performing transparency processing based on a second transmittance, which is a complement of the first transmittance, on an image generated from moving image data; compositing the image with the second transmission image;
how to play.
映像の時間的に前後する2つのフレーム間の差分データ、および動画データを受信し、
前記差分データ及び前記動画データの送信元から、前記差分データ及び前記動画データの一方から他方への受信対象の切替要求を受信し、
前記差分データと、前記2つのフレームのうちの前のフレームとに基づいて生成された後のフレームによる第1映像の再生と、前記動画データに基づいて生成された時間的に連続する複数のフレームによる第2映像の再生とを、前記切替要求が受信された場合に、一方から他方へ映像の再生を切り替える、
再生方法であって、
前記差分データの受信は、前記差分データを、コネクション型プロトコルにより受信し、
前記差分データの受信は、非圧縮の前記差分データを受信する、
再生方法。
Receiving differential data between two temporally preceding and following video frames and video data,
receiving a request to switch a reception target from one of the differential data and the moving image data to the other from a transmission source of the difference data and the moving image data;
Reproduction of a first video image by a subsequent frame generated based on the difference data and the previous frame of the two frames, and a plurality of temporally continuous frames generated based on the moving image data. and switching playback of the video from one to the other when the switch request is received.
A playback method comprising:
receiving the differential data includes receiving the differential data using a connection-oriented protocol;
receiving the differential data includes receiving the uncompressed differential data;
how to play.
映像の時間的に前後する2つのフレーム間の差分データ、および動画データを受信し、
前記差分データ及び前記動画データの送信元から、前記差分データ及び前記動画データの一方から他方への受信対象の切替要求を受信し、
前記差分データと、前記2つのフレームのうちの前のフレームとに基づいて生成された後のフレームによる第1映像の再生と、前記動画データに基づいて生成された時間的に連続する複数のフレームによる第2映像の再生とを、前記切替要求が受信された場合に、一方から他方へ映像の再生を切り替える、
再生方法であって、
前記映像の再生が切り替えられる場合に、前記差分データ及び前記動画データの両方を同時に受信し、
前記第1映像を再生する第1期間と、前記第2映像を再生する第2期間との間に設けられた所定の切替期間において、前記第1映像及び前記第2映像の一方から他方へと段階的に変化させて再生し、
前記段階的に変化させる再生は、前記第1映像の画像に対して所定の第1透過率に基づいた透過処理を施して得た第1透過画像を第1フレームメモリに格納し、前記第2映像の画像に対して前記第1透過率の補数である第2透過率に基づいた透過処理を施して得た第2透過画像を第2フレームメモリに格納し、前記第1透過画像と前記第2透過画像とを合成する、
再生方法。
Receiving differential data between two temporally preceding and following video frames and video data,
receiving a request to switch a reception target from one of the differential data and the moving image data to the other from a transmission source of the difference data and the moving image data;
Reproduction of a first video image by a subsequent frame generated based on the difference data and the previous frame of the two frames, and a plurality of temporally continuous frames generated based on the moving image data. and switching playback of the video from one to the other when the switch request is received.
A playback method comprising:
receiving both the difference data and the moving image data at the same time when playback of the video is switched;
One of the first video and the second video is switched to the other in a predetermined switching period provided between a first period during which the first video is reproduced and a second period during which the second video is reproduced. Playback with gradual changes,
In the stepwise change reproduction, a first transmission image obtained by performing transparency processing based on a predetermined first transmittance on the image of the first video is stored in a first frame memory, and the second transmission is performed. A second transparent image obtained by performing transparency processing based on a second transmittance, which is a complement of the first transmittance, on a video image is stored in a second frame memory. Combining the 2 transmission images,
how to play.
コンピュータを、映像を含むコンテンツを送信するコンテンツ送信装置として機能させるためのコンピュータプログラムであって、
時間的に前後する2つのフレーム間の差分を示す差分データを送信する第1映像送信手段、
動画データを送信する第2映像送信手段、
送信先で再生される映像の時間的な変化量を検出する変化量検出部と、
前記変化量検出部によって検出された前記映像の時間的な変化量に基づいて、前記差分データ及び前記動画データの一方から他方へ送信対象を切り替える送信対象切替手段、及び
前記差分データ及び前記動画データの一方から他方への受信対象の切替を要求する切替要求手段
として前記コンピュータを機能させる、
コンピュータプログラム。
A computer program for causing a computer to function as a content transmission device that transmits content including video,
a first video transmission means for transmitting difference data indicating a difference between two temporally preceding and following frames;
second video transmission means for transmitting video data;
a change amount detection unit that detects a temporal change amount of video played back at a transmission destination;
Transmission target switching means for switching transmission targets from one of the difference data and the moving image data to the other based on the temporal change amount of the video detected by the change amount detection unit ; and functioning the computer as switching request means for requesting switching of the receiving target from one of the
computer program.
JP2021138022A 2017-12-25 2021-08-26 Playback device, remote playback system, playback method, and computer program Active JP7200313B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021138022A JP7200313B2 (en) 2017-12-25 2021-08-26 Playback device, remote playback system, playback method, and computer program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017247480A JP6993869B2 (en) 2017-12-25 2017-12-25 Playback device, remote playback system, playback method, and computer program
JP2021138022A JP7200313B2 (en) 2017-12-25 2021-08-26 Playback device, remote playback system, playback method, and computer program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017247480A Division JP6993869B2 (en) 2017-12-25 2017-12-25 Playback device, remote playback system, playback method, and computer program

Publications (2)

Publication Number Publication Date
JP2021182780A JP2021182780A (en) 2021-11-25
JP7200313B2 true JP7200313B2 (en) 2023-01-06

Family

ID=67222908

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2017247480A Active JP6993869B2 (en) 2017-12-25 2017-12-25 Playback device, remote playback system, playback method, and computer program
JP2021138022A Active JP7200313B2 (en) 2017-12-25 2021-08-26 Playback device, remote playback system, playback method, and computer program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2017247480A Active JP6993869B2 (en) 2017-12-25 2017-12-25 Playback device, remote playback system, playback method, and computer program

Country Status (2)

Country Link
JP (2) JP6993869B2 (en)
CN (1) CN110035309B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352603A (en) * 2020-03-11 2020-06-30 北京文香信息技术有限公司 Split screen display method and device, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002165201A (en) 2000-11-27 2002-06-07 Nippon Hoso Kyokai <Nhk> Video processor using tcp/ip packet format
JP2006325156A (en) 2005-05-20 2006-11-30 Earnet Co Ltd Remote distribution system
JP2009089157A (en) 2007-10-01 2009-04-23 Yamaha Corp Distribution system and method
JP2015518350A (en) 2012-04-24 2015-06-25 ヴィド スケール インコーポレイテッド Method and apparatus for smooth stream switching in MPEG / 3GPP-DASH
JP2016163111A (en) 2015-02-27 2016-09-05 キヤノンマーケティングジャパン株式会社 Information processing device, information processing method, and program

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE60031905T2 (en) * 1999-04-02 2007-04-12 Matsushita Electric Industrial Co., Ltd., Kadoma Devices for transmission and reception of moving images and recording medium for moving images
KR20050085344A (en) * 2002-12-04 2005-08-29 코닌클리즈케 필립스 일렉트로닉스 엔.브이. Synchronization of signals
JP5026167B2 (en) * 2007-07-02 2012-09-12 パナソニック株式会社 Stream transmission server and stream transmission system
JP4555365B2 (en) * 2008-06-09 2010-09-29 晴樹 上野 Distance education system and multimedia content display control method
US20100103183A1 (en) * 2008-10-23 2010-04-29 Hung-Ming Lin Remote multiple image processing apparatus
JP5262888B2 (en) * 2009-03-19 2013-08-14 富士ゼロックス株式会社 Document display control device and program
JP2012252381A (en) * 2011-05-31 2012-12-20 Fujifilm Corp Image distribution server, image distribution control method, and program
JP5914126B2 (en) * 2012-04-16 2016-05-11 シャープ株式会社 Information synchronization apparatus, recording medium, and information synchronization method
JP5994473B2 (en) * 2012-08-13 2016-09-21 株式会社リコー Image processing apparatus, image processing method, program, and recording medium
CN203482319U (en) * 2013-05-31 2014-03-12 江西省电力设计院 Video monitoring and analysis system for power station workshops
DE112014005296B4 (en) * 2013-11-20 2018-10-25 Mitsubishi Electric Corporation Radio communication system, transmitting device, receiving device and communication terminal
JP2016015597A (en) * 2014-07-01 2016-01-28 株式会社リコー Distribution control system, distribution control method, and program
US9866734B2 (en) * 2014-08-26 2018-01-09 Dolby Laboratories Licensing Corporation Scene-change detection using video stream pairs
DE112014007242T5 (en) * 2014-12-12 2017-09-28 Mitsubishi Electric Corporation INFORMATION PROCESSING DEVICE; PLAYBACK PROCEDURE FOR MOVING PICTURES AND PLAYBACK PROGRAM FOR MOVING PICTURES

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002165201A (en) 2000-11-27 2002-06-07 Nippon Hoso Kyokai <Nhk> Video processor using tcp/ip packet format
JP2006325156A (en) 2005-05-20 2006-11-30 Earnet Co Ltd Remote distribution system
JP2009089157A (en) 2007-10-01 2009-04-23 Yamaha Corp Distribution system and method
JP2015518350A (en) 2012-04-24 2015-06-25 ヴィド スケール インコーポレイテッド Method and apparatus for smooth stream switching in MPEG / 3GPP-DASH
JP2016163111A (en) 2015-02-27 2016-09-05 キヤノンマーケティングジャパン株式会社 Information processing device, information processing method, and program

Also Published As

Publication number Publication date
JP2019114941A (en) 2019-07-11
JP2021182780A (en) 2021-11-25
JP6993869B2 (en) 2022-01-14
CN110035309A (en) 2019-07-19
CN110035309B (en) 2022-05-03

Similar Documents

Publication Publication Date Title
US10097787B2 (en) Content output apparatus, mobile apparatus, and controlling methods thereof
JP6460228B2 (en) Information processing apparatus, information processing method, and information processing program
JP6172610B2 (en) Video conferencing system
US20080288992A1 (en) Systems and Methods for Improving Image Responsivity in a Multimedia Transmission System
US11272224B2 (en) Information processing device and method
JP2012169739A (en) Video division reproduction method, video reproduction method, video division reproduction system and video division reproduction program
JP2020197688A (en) Image transmission system, transmission control device, and transmission control method
US20130166769A1 (en) Receiving device, screen frame transmission system and method
JP7200313B2 (en) Playback device, remote playback system, playback method, and computer program
JP2020197687A (en) Image display system, display control device, and display control method
CN107147887B (en) Wireless display method and device
WO2016065514A1 (en) Image display method, user terminal and video receiving equipment
US20180048866A1 (en) Videoconference communication device
TWI740208B (en) Image transmission device, image display system with remote screen capture function, and remote screen capture method
JP2015188204A (en) Information processing apparatus, information processing method, and its program
JP6481937B2 (en) Communication device for video conference
JP6499582B2 (en) SENDING COMPUTER, RECEIVING COMPUTER, METHOD EXECUTED BY THE SAME, AND COMPUTER PROGRAM
JP6606251B2 (en) SENDING COMPUTER, RECEIVING COMPUTER, METHOD EXECUTED BY THE SAME, AND COMPUTER PROGRAM
JP6485352B2 (en) Receiving apparatus, method, computer program
US20170374368A1 (en) Video Processor, Method, Computer Program
JP6431301B2 (en) Movie processing apparatus, method, and computer program
CN117792810A (en) Window sharing method, device, electronic equipment and storage medium
CN116456137A (en) Screen projection method and electronic equipment
WO2016163557A1 (en) Transmitting device, receiving device, and method implemented thereby, and computer program
CN117632065A (en) Screen-throwing display system, method and display equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210903

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220809

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221004

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221121

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221221

R150 Certificate of patent or registration of utility model

Ref document number: 7200313

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150