Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

multi-purpose moviePlayer

Share your components here. First one to 100 wins!

multi-purpose moviePlayer

Postby greg » Tue Sep 12, 2017 4:33 am

moviePlayer is a standalone TouchDesigner component for playing and exploring movie files, setting cue points and presenting sections of movies. Movie playback can be externally controlled with ramps and python commands.

The latest doc for moviePlayer is now in the wiki: moviePlayer wiki page.

It's a mix of features like in QuickTime or VLC Media Player and has features for making and playing cues and sub-clips, It is useful for playing live or when giving presentations in TouchDesigner networks (an alternate to using PowerPoint or Keynote) because of the ease of jumping around long movies. It works well with a touch screen.

moviePlayer.4.jpg
moviePlayer.4.jpg (43.98 KiB) Viewed 2859 times


moviePlayer.11.tox uploaded on Dec 9 switches movies faster by re-using cue components.

moviePlayer.12.tox uploaded on Dec 20 has a much simpler parameter UI for getting started. It also allows "Movie Spec" components to be used externally to specify movies/cues and then be assigned to moviePlayer. A Movie Spec template is in moviePlayer/mvspec1. Copy/paste it outside moviePlayer, edit it and assign to moviePlayer.

NOTE: moviePlayer.11.tox is in the December 15, 2017 Experimental palette.
moviePlayer.12.tox will be in next Experimental.
Attachments
moviePlayer.12.tox
(91.87 KiB) Downloaded 42 times
User avatar
greg
Staff
 
Posts: 493
Joined: Tue Nov 13, 2007 1:08 am

Re: multi-purpose moviePlayer

Postby greg » Sun Sep 24, 2017 11:56 pm

Numerous improvements including ability to make loops with end-start crossfades, and driving the movie with ramps or python. Works with latest Official.

The .tox is at the end of the first post of this thread. Doc is updated in the first post.

Updated again on Oct 2 and again Oct 8.
User avatar
greg
Staff
 
Posts: 493
Joined: Tue Nov 13, 2007 1:08 am

Re: multi-purpose moviePlayer

Postby Timesquid » Mon Oct 09, 2017 1:09 pm

This is amazing greg thank you, Ive got a show coming up that needs very organic and flexible movie playbacks, and this will help immensely.

Although some things I found myself wanting right away were :

1. A filter on the scrubber, that disables itself (which I added)
2. crossfade to a cue? I would not know how to best add this myself.
3. Is that filter chop "filtercontrolson" just there to fade the ui on? seems like disabling it cuts alot of ui cooking out.
Timesquid
 
Posts: 112
Joined: Wed Jan 04, 2012 8:08 pm

Re: multi-purpose moviePlayer

Postby greg » Thu Oct 12, 2017 1:12 am

Re: 1. A filter on the scrubber, that disables itself

You mean a Filter CHOP on the scrubber value to smooth index?

Re: 2. crossfade to a cue? I would not know how to best add this myself.

Yes, this component isn't designed for that as it needs two Movie File In TOPs to do a cross-fade. It really depends what UI you need around that, like is your application fully automated, or improvised? In the Palette, movieBlender and moviePlaylist do that, with differing capabilities. In OP Snippets for Timer CHOP, example22 has automated overlapping movies with a fixed crossfade time.

Or you have 2 moviePlayers and a small python script to start a crossfade and start the movie at the same time.

Re:

3. Is that filter chop "filtercontrolson" just there to fade the ui on? seems like disabling it cuts alot of ui cooking out.

ugh yes, the Filter CHOP keeps cooking. If you follow it with a Null CHOP set to Selective, it stops propagating when the value hits a constant 0. Or just bypass it to make it instant 0n/off.
User avatar
greg
Staff
 
Posts: 493
Joined: Tue Nov 13, 2007 1:08 am

Re: multi-purpose moviePlayer

Postby Timesquid » Mon Oct 16, 2017 1:31 pm

Thanks Greg!

Im going to use it per longer movie file and export my content in longer sections. Then use a separate transitions system for when I change moviefiles.

I don't know if I will need to optimize it just yet but will find out as the system gets flushed out.

Thanks again!
Timesquid
 
Posts: 112
Joined: Wed Jan 04, 2012 8:08 pm

Re: multi-purpose moviePlayer

Postby greg » Mon Oct 23, 2017 1:58 am

lots of small improvements in moviePlayer.8.tox. among them:

  • You can force the movie resolution and aspect ratio to any specific width/height.
  • You can change the moviePlayer component panel width/height to anything and the buttons/text scale appropriately.
  • rollover the time code to get the movie length.
  • If in Perform mode, press space bar and arrow keys to pause/play and step.
  • UI is simpler when you start up.
  • new ui for scrub bar (drag up to play, drag down to pause)
  • cues are temporally ordered.
  • There is a simple cue list mode where you can see your cue comments and play cues, via Setup -> Upper Display Area.
  • new Help.
Download and doc are in the first post of this thread.
User avatar
greg
Staff
 
Posts: 493
Joined: Tue Nov 13, 2007 1:08 am

Re: multi-purpose moviePlayer

Postby vertexshining » Sun Nov 26, 2017 10:46 am

about Mult-moviePlayers:

To manage multiple movies, duplicate moviePlayer in the network and alter the duplicates. This will preserve all the cues and settings you make for a movie.


is this the best approach or it is possible to save the cue playlist for every movie on a DAT and recall along with the nominated file?

It would be less heavy than duplicate the moviePlayer, let's say, 10 times within a single project?
vertexshining
 
Posts: 36
Joined: Fri Mar 24, 2017 7:17 am

Re: multi-purpose moviePlayer

Postby greg » Mon Nov 27, 2017 12:52 pm

EDITED RESPONSE TO vertexshining ABOVE.

Now you can hold movie data outside an moviePlayer in a set of lightweight mvspec components, where for each movie you can have multiple cues and settings.

To switch movies you just drag-drop mvpec components to moviePlayer. Or with a script or typing, you simply change the Movie Spec parameter of moviePlayer or movieEngine.

See below re movieEngine which plays movies with no panel UI.
User avatar
greg
Staff
 
Posts: 493
Joined: Tue Nov 13, 2007 1:08 am

Re: multi-purpose moviePlayer

Postby greg » Wed Dec 20, 2017 5:55 am

moviePlayer now has a simpler UI for getting started. It is now more optimized and reliable.

MoviePlayer.2140.toe contains version 12 of moviePlayer, movieEngine and movieSpec, plus numerous test components. It uses the latest Experimental build 35560 or later on the DOWNLOAD page. (The older version 11 of moviePlayer is in the 35560 palette.)

The movieEngine component is a stripped-down lightweight moviePlayer (without a panel UI) that can be buried anywhere and controlled externally.

The MovieSpec component just contains the movie data and is used by moviePlayer and movieEngine.

See the full wiki page, covering cues, external controls, panel UI and more: moviePlayer wiki.

Basic Usage:

On moviePlayer1, choose a movie via the File Path parameter. You can drag-drop files onto the moviePlayer, or drag-drop a Movie File In TOP onto the moviePlayer panel. (the Source Type menu set to File Path.)

Alternately for each movie you have, you can define your settings in a very lightweight "Movie Spec" component . Then in moviePlayer ypu set Source Type to Movie Spec, set its Movie Spec parameter to be a Movie Spec component, and you adjust mvspec's parameters. For example, drag any of mvspec3 to mvspec8 to moviePlayer1. A default mvspec1 can be found inside moviePlayer and copied outside.

This method allows you to have 1 or 2 players and a multitude of movie specs, each mvspec etc can have cues, special movie-adjustment settings and metadata.
Attachments
MoviePlayer.2140.toe
(122.15 KiB) Downloaded 47 times
User avatar
greg
Staff
 
Posts: 493
Joined: Tue Nov 13, 2007 1:08 am


Return to Shared .tox Components

Who is online

Users browsing this forum: No registered users and 1 guest