Questions tagged [video]
Questions about playing, recording or creating video files in games.
98
questions
0
votes
0
answers
24
views
MediaPlayer looping video freezes after 1st or 2nd loop
I am trying to make a VHS effect for my game in UE5, using a looping MP4 video for the user interface. The video just freezes after the 1st or 2nd loop during test in viewport.
I tried to set ...
0
votes
1
answer
96
views
How do I play a video in Unity using input text
I'm trying to play a video when a text command is typed.
What I expect to happen is the user inputs "play video 1" in an input text box, and after the command is sent via a button press, the ...
0
votes
0
answers
52
views
Play Encrypted Video Files from Android Device's Local Storage
We are searching for ways to play encrypted video files on an Android device such that a user cannot extract the files via USB cable or other methods to a computer and play them. We'd like the ...
0
votes
0
answers
38
views
How to play back multiple 4K videos with resizing and cropping
I'm looking for playing multiple videos (source HD and 4k, 10 bits), between 3 and 12+ videos, which could be cropped and resized, and those be adjusted on the fly (as videos are being played), sent ...
0
votes
0
answers
61
views
How can I seamlessly loop a video (webm since it has transparencies) in javascript canvas?
I am trying to play a video from beginning to 10 seconds, then loop the video from second 3 to 10 untill a key "c" is pressed. if it is pressed once, play the video from where it is ...
0
votes
0
answers
620
views
Download a video to PersistentDataPath in Unity while also playing it as it downloads?
I am attempting to integrate a video function which will playback short looping videos (similar to YouTube Shorts or TikTok). I therefore want the videos to download to PersistentDataPath and be ...
1
vote
1
answer
665
views
Rendering Unreal Engine 4 sequence: character timeline animations don't show, and behave as if they are in play mode
I have a cinematic sequence with camera cuts set up that can be previewed properly. These scenes involve human skeletal character animations that I made frame by frame in the timeline. Everything ...
2
votes
1
answer
248
views
Unity- how to stream videos from external source?
I'm working on a Unity level for a VR project that requires displaying multiple 360 videos in a hall. These videos are large (8k and 60 minutes each) so cannot be contained in the app itself. Is it ...
0
votes
0
answers
402
views
Playing Video Files in Windows Forms with MediaPlayer
With the following encoding, only the audio part of the video is played, but the video itself is not shown:
...
1
vote
0
answers
18
views
Is it possible to automate the export of videos from Unreal Engine so that assets are swapped out dynamically?
Let's say I have an unreal project that features a character in an environment. I want to use Unreal to cycle through characters and environments and create a number of videos. Let's say for instance ...
2
votes
1
answer
1k
views
How can I stop the Unity Video Player on WebGL from starting each video with a frame of all black?
Description
I'm working on a system to seamlessly reconstruct and play numerous segments of a continuous video stream by playing one segment on the active Video Player while loading the next on the ...
1
vote
1
answer
2k
views
How to play videos in Gamemaker Studio 2?
I made a little cutscene in Adobe Animate. I was wondering what would be the best way to have it triggered in game-maker studio 2.
The Video is .mp4 but I could convert it as I have the .fla file ...
0
votes
0
answers
38
views
What is the best approach to using videos to animate a weapons' display screen in Unity?
My job is to create, model and animate sci-fi weapons', and create Unity assets out of them so they are ready to use.
This particular weapon has two side displays. I've animated some text in After ...
0
votes
0
answers
228
views
How can we stream the go pro video to Unity3D?
hi~ I want to render the go pro hero9's video on a texture in Unity3D. However, I can not visit go pro as a webcam according to the device index. Anyone know how to do this?
Thanks!
1
vote
0
answers
189
views
How can you play MPEG-2 Transport Stream (.ts) video files in a WebGL Unity build?
I'm trying to play an HLS live-stream within my Unity app.
I could write a script for fetching the short .ts video segments and enqueuing them, but I don't know how ...
2
votes
0
answers
84
views
How can we use an iPhone camera as a webcam on Windows?
I am developing a game on Windows and I want to use my iPhone 11p as a webcam (for video streaming).
I saw some tutorial videos on YouTube, yet they only work for development on iOS platform in Unity.
...
0
votes
1
answer
57
views
How can I improve the performance of my game that plays a video?
I have a level where I have embedded 5 short videos and the levels lags a little compared to the other levels, so it seems that adding videos in a Unity made game is expensive on its performance and ...
0
votes
0
answers
378
views
Unity Video Player: Resolution exceeds the Microsoft Media Foundation decoder limit
I'm using Unity's Video Player component to play a short intro video before the main menu.
The problem is that its resolution is 2560x1440, and on Windows 7 or earlier operating systems it says:
...
0
votes
0
answers
573
views
RGB sequence of day/night cycle
I'd like to simulate a day/night cycle, and am thinking to do this with two components:
an underlay to simulate sky color, accompanying either an alternating cloud or star rotation animation ...
0
votes
0
answers
34
views
3D visual effects on videos
I'm trying to get some hands-on experience with 3D visual effects on videos. Similar to those AR apps, I want to add a 3D model with effects, say a dragon, to a video. Something like this famous demo:
...
0
votes
0
answers
434
views
Playing Video for Splash screens etc using Monogame
I've been searching around on internet a way to display a video using XNA/Monogame. But everything tend to go in the direction of the class Microsoft.XNA.Framework.Media.Video. Unfortunatly, my xna ...
0
votes
1
answer
367
views
How to get/set specific properties of a video texture in pixi.js?
I managed to get a video to play in Pixi using the following line:
this._texture = PIXI.Texture.from(require("Images/video.mp4"));
The problem is that I can'...
0
votes
1
answer
932
views
How can you sync video files with animations within Unity?
I'm wondering if anyone might be able to offer some advice regarding an issue I am currently facing in trying to sync video files with animations within Unity.
Ideally my aim is to have a video file ...
1
vote
1
answer
952
views
Unity Material Override Video is too dark
I have made a TV in Blender, UV Wrapped a material and applied a video on it in Unity.
But the picture is too dark, and I would like to make it brighter.
How could I solve this problem?
The left ...
0
votes
1
answer
5k
views
Unity Error importing any video clip
When I try to import a video file to play in a VideoPlayer component, I get the following errors in the Console:
...
1
vote
0
answers
205
views
How to render decoded video that is on GPU memory without copying to CPU
I'm reading this example of ffmpeg hardware decoding: https://github.com/FFmpeg/FFmpeg/blob/release/4.2/doc/examples/hw_decode.c
At line 109 it does this:
...
0
votes
0
answers
181
views
Video Ads not showing correctly on iOS
I've got an annoying problem considering video ads. I've tried different networks and for all video placements (Rewarded and Interstitial) I've got same problem: the Ad shows 1 frame, then disappears, ...
0
votes
3
answers
7k
views
How Do I 'Reset' my Render Texture When I Stop a Video Player?
I have a Unity VideoPlayer where I use a render texture with an audio source to play the video. VideoPlayer.Stop pauses the video and resets the time to 0. I want ...
1
vote
1
answer
2k
views
Record video and sound from device camera and show it as a texture
I need to record and show video from a real camera device in iOS/Unity and show that video as a texture in RawImage (Image of what I want)
What I have tried so far:
Unity WebCamTexture API: It ...
1
vote
1
answer
2k
views
How to target specific material with Unity VideoPlayer?
I've modeled the following tv-monitor:
This monitor has two materials. The "frame" that makes up the monitor, called MonitorFrameMaterial and the black screen ...
4
votes
0
answers
57
views
Send mesh to a video card with the help of ngui instead of DragonBones in Unity
I am working at the project. It is pretty huge. And there is ngui at its core, so I can not go away from it (from ngui).
Now I am assigned to incorporate the DragonBones into the project. There are ...
0
votes
1
answer
7k
views
Unity: How to make an array of video clips and play them?
I have 26 video files which I have to put in an array and play for different objects. So far I have written this from what I know:
...
1
vote
1
answer
152
views
How to reduce the size occupied by my video animations?
I have a mobile game but my build size is currently 4gb. Furthermore, it crashes on open and I suspect it has something to do with the huge build size.
In my project are 10 animations made of a ...
5
votes
1
answer
492
views
Need an option to send camera output as video or frames in Unity3d 2017
Tools I've used in Unity 5.x are breaking my 2017 scene... and I do not see a way to output video or frames from Cinemachine (although I am trying to understand all of its features).
What is the best ...
1
vote
1
answer
47
views
Video recording and editing for game promo video [closed]
I would like to screen record a beta of an RPG I've created. The format will be narration over video with the ability to edit. It's an indie game I'm marketing, so the video quality and narration need ...
8
votes
3
answers
11k
views
How can I record gameplay footage as a video within Unity?
I am building a traffic simulator in Unity. I need to record my game as a video, so that I can use the video for machine learning purposes. I used fraps for the same but didn't find it worked for me ...
1
vote
3
answers
4k
views
Capturing video with sound, from cameras in Unity?
I want to capture video from cameras and save them in Unity. There is a function Application.CaptureScreenShot() but it only captures images. There is another ...
1
vote
2
answers
100
views
How to make a simple game based on navigating a set of videos?
I would like to create a simple video game as an interactive art piece.
The game goes like this:
A video (with sound!) loops while there are two options on the screen (text labels); when the player ...
1
vote
1
answer
467
views
Handheld video playback pauses when going to the home screen
Put an MP4 movie in your StreamingAssets folder and play it with
...
0
votes
1
answer
4k
views
How can I play a video in a Godot game?
I'd like to know if and how it is possible for me to play a video in my Godot game. Specifically I'd like to know what video file format I need to use and what code I have to write to play that video ...
0
votes
1
answer
251
views
Video playback on mobile: can't seek to the end
My Unity3D game needs to play videos on mobile devices (using Handheld.PlayFullscreenMovie()). Seeking works badly. If I tap the video progress bar near the end (...
1
vote
0
answers
705
views
Video play in unity3d skybox
I want to play 360 video in skybox. Is there any direct way avaiable to do this task. One long, boring, inefficient procedure which seems that
Convert 360 to frames
Convert frames into cubmap
Use ...
3
votes
1
answer
2k
views
Is it feasible to playback 4K video in Unity?
I'm starting work on a 360 VR video player, aimed at mobile devices (iOS/Android Cardboard + GearVR) and I'm evaluating whether it is possible to get video quality from 1080p to 4k in Unity or if I ...
0
votes
1
answer
94
views
Adding a video to a Level in a Portal 2 Mod
I'm currently working on my Portal 2 mod and I'd like to add a video to be displayed on a projector like the Dollar$ and SENSE video at the end of Portal 1. Currently what I have is a simple ...
0
votes
0
answers
126
views
Unreal Engine Ubuntu: Failed to import video, unknown file extension
I've been reading tutorials and guides on getting video file playback in Unreal. I have media player materials created and textures. I'm having issues importing video files to Content/Movies directory....
-7
votes
1
answer
183
views
Where to begin in game developing? [closed]
I have no experience with development, I have played many games and have great ideas but don't know where to start other then storyboards and ideas. I want to know what I'll need and how to start ...
9
votes
3
answers
15k
views
How do I play a video file in OpenGL?
Is there a library that will let me load a movie file and play it in an OpenGL application? Or maybe just a code sample that someone has lying around? I'm also using GLUT, if that makes a difference....
1
vote
0
answers
1k
views
Reverse Movie in Unity 5
guys! Is it possible to reverse video or apply a rewind in Unity 5? I searched in the web but could not find the solution.
-2
votes
2
answers
58
views
Game video - same content in different sizes [closed]
This is more on presenting your content on app store rather than coding.
I wonder how people can capture the same gameplay video in different format.
I mean, if I have iPad and iPhone, the logical ...
0
votes
0
answers
103
views
How to play a video and run content at the same time
Alright, so I have a video loaded, and other game content.
Earlier this morning, when I was just learning how to actually play a video, I magically happened to get the video running in the background,...