# 動画ファイルをムービーイベントとして使用したい

**URL:** <https://forums.unrealengine.com/t/topic/311037>\
**Category:** Rendering\
**Tags:** unreal-engine, UE4, question, Blueprint\
**Created:** [March 15, 2015, 7:57am UTC](https://forums.unrealengine.com/t/topic/311037 "2015-03-15T07:57:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![leopardon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@leopardon](https://forums.unrealengine.com/u/leopardon)\
**Post date:** [March 15, 2015, 7:57am UTC](https://forums.unrealengine.com/t/topic/311037/1 "2015-03-15T07:57:17Z")

</div>

ムービーイベントを作ろうと思ってます  
そこでAfterEffectsなどで作った動画をUE4のイベントとして使用したいです。

ゲームでも冒頭の企業ロゴだったり、オープニング映像などでよく見かけますが  
そういったイベントを作りたいです。  
まだUE4を使用し始めて１ヶ月、ほとんどのチートリアルもやっていますので、複雑な方法でもかまいません。  
Blueprintで何とか作れたら良いなっと思ってます。  
動画をマテリアルとして使う方法はもう実践積みです。

---

<div class="post-metadata">

**Author:** ![alwei](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alwei/32/1194579_2.png) [@alwei](https://forums.unrealengine.com/u/alwei)\
**Post date:** [March 16, 2015, 9:53am UTC](https://forums.unrealengine.com/t/topic/311037/2 "2015-03-16T09:53:13Z")

</div>

ムービーイベントというのはなんでしょう？フルスクリーン映像ということでしょうか？

もし既にMediaTextureとしての再生が出来ているのならやること自体は単純です。

> **[Media Framework](https://docs.unrealengine.com/5.0/ja/media-framework-in-unreal-engine/)**
>
> UE 4 の Media Playback 機能の使用方法

ここを参考にWidgetブループリントにMediaTextureをマテリアルとして割り当てて、スクリーンサイズも解像度に合わせて調整します。例として出ているブループリントのようにボタンイベントで再生、巻き戻し、一時停止なども出きます。これで一通りの事が出来ると思いますがどうでしょう？

---

<div class="post-metadata">

**Author:** ![leopardon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@leopardon](https://forums.unrealengine.com/u/leopardon)\
**Post date:** [March 20, 2015, 11:32am UTC](https://forums.unrealengine.com/t/topic/311037/3 "2015-03-20T11:32:44Z")

</div>

ありがとうございます、指示通り研究したところマップを移動したときのカットシーンなどでは映像が流せました。  
おかげさまで助かりました。

しかしイントロムービーはちょっと複雑のようで  
ゲームを起動→イントロムービー→メニュー　見たいな行程を作ろうと思ったのですが  
結構ややこしいみたいで、英語版のほうのアンサーハブでも同じように取り上げていましたが、残念ながら私の英語能力ではちょっとどうにもなりませんでしたので  
引き続きいろいろと研究します

> **[How can I play a .mp4 intro movie?](https://forums.unrealengine.com/questions/61933/how-can-i-play-a-mp4-intro-movie.html)**
>
> Hi, I want to play a .mp4 movie before starting a level. I tried to use the Movies tab in the Project Settings, but when I click the Launch button, and all content is cooked, I see a white window, and then my level loaded, but I don’t see my .mp4...

ありがとうございます。
