[JAVA] A story when I tried to make a video by linking Processing and Resolume

Hello. VJ talks ...! !! !!

I feel that the popularity of the word VJ (Visual Jockey) itself has passed a little, but In recent years, music and video have become more integrated, and it can be said that it is becoming a common technology.

One of the famous applications for doing such VJ is ** "Resolume" **.

An application from the Netherlands that allows you to edit video in real time, perform projection mapping, and more.

Many other famous VJ tools are only compatible with Mac, but Resolume is also compatible with Win, so even people who only have Win can do VJ with this.

By the way, this time, I will send the video created by ** Processing ** to Resolume in real time.

Siphon (Mac) and Spout (Win) are used for interlocking, but this can be linked with many applications such as Unity, MadMapper, vvvv, openFrameworks, Processing, etc.

I have a 3D app on Windows, and Resolume is also on Win, so I'll use Spout. Spout can be downloaded from here.

First, start Processing and download the Spout library ** "Spout for Processing" **.

スクリーンショット 2017-12-18 23.54.38.png

First, import spout.

import spout.*;

Let's also create a Spout class variable.

Spout spout;

Create an instance of spout and create a sender in the setup method that defines the processing.

void setup()
{
 size(1920, 1080, P2D);
 frameRate(30);
 fill(0, 60);
 .
 .
abridgement
 .
 .
 spout = new Spout(this);
 spout.createSender("SP")
}

Then, in the draw method that describes the description content, describe the method for transmission.

void draw()
{
・
・
abridgement
・
・
 spout.sendTexture();
}

After completing the Processing program, start Resolume and execute the Processing code.

Then, you will be able to select the data received by Spout in Sources as shown in the figure below.

Res_Pro_Spout.png

All you have to do is apply an effect.

Well then, today around here

Recommended Posts

A story when I tried to make a video by linking Processing and Resolume
[Java] I tried to make a maze by the digging method ♪
[iOS] I tried to make a processing application like Instagram with Swift
I made a virtual currency arbitrage bot and tried to make money
[Small story] I tried to make the java ArrayList a little more convenient
I tried to make a login function in Java
A story I was addicted to when getting a key that was automatically tried on MyBatis
I tried to make an app that allows you to post and chat by genre ~ Where I had a hard time ~
I want to make a list with kotlin and java!
I want to make a function with kotlin and java!
I tried using Hotwire to make Rails 6.1 scaffold a SPA
I tried to make Java Optional and guard clause coexist
I tried to make a client of RESAS-API in Java
I tried to make an app that allows you to post and chat by genre ~ App overview ~
[Unity] I tried to make a native plug-in UniNWPathMonitor using NWPathMonitor
I tried to make a group function (bulletin board) with Rails
I tried to make a parent class of a value object in Ruby
I tried migrating Processing to VS Code
A story I was addicted to when testing the API using MockMVC
I tried to make a machine learning application with Dash (+ Docker) part1 ~ Environment construction and operation check ~
I tried to make a Web API that connects to DB with Quarkus
I tried to make my own transfer guide using OpenTripPlanner and GTFS
I tried to make a talk application in Java using AI "A3RT"
When internationalizing is supported by Spring Boot, a specific locale is not translated and I am addicted to it
[LINE @] I tried to make a Japanese calendar Western calendar conversion BOT [Messaging API]
I tried to make a machine learning application with Dash (+ Docker) part3 ~ Practice ~
What I tried when I wanted to get all the fields of a bean
I tried to make a simple game with Javafx ① "Let's find happiness game" (unfinished)
[Android] I tried to make a material list screen with ListView + Bottom Sheet
When I tried to use a Wacom tablet with ubuntu 20.04, I didn't recognize it.
Introducing what I made when I wanted to add a header and footer to RecyclerView
I tried to make Basic authentication with Java
java I tried to break a simple block
I tried to link grafana and postgres [docker-compose]
I tried to develop a man-hour management tool
I did Java to make (a == 1 && a == 2 && a == 3) always true
I tried to develop a DUO3.0 study website.
I wanted to make (a == 1 && a == 2 && a == 3) true in Java
I tried to create a LINE clone app
I tried to link JavaFX and Spring Framework.
I tried to develop a website to record expenses.
I tried to implement a server using Netty
I tried to break a block with java (1)
I tried to create a shopping site administrator function / screen with Java and Spring
I tried to make a new sorting algorithm, but I don't know if it's really new
How to make a Vagrant Plugin that you learned when you forked and published vagrant-mutagen
I stumbled when I tried using neo4j in the jenv environment, so make a note
A memo that I was addicted to when making batch processing with Spring Boot
When making a personal app, I was wondering whether to make it using haml
I called YouTube video from DB with haml and tried to embed and display it
Bad Gateway came out when I tried to connect Grafana and InfluxDB on Docker
I tried using Wercker to create and publish a Docker image that launches GlassFish 5.
I tried to make a message function of Rails Tutorial extension (Part 1): Create a model
The story that did not disappear when I tried to delete mysql on ubuntu
A story that failed when connecting to CloudSQL by running Sprint-boot with kubernetes (GKE)
I tried to operate home appliances by holding a smartphone over the NFC tag
I tried to read and output CSV with Outsystems
I tried to develop a ramen shop sharing website.
I tried to decorate the simple calendar a little
I started MySQL 5.7 with docker-compose and tried to connect
I tried to integrate AWS I oT button and Slack