Graphics

 View Only
Expand all | Collapse all

Video Headshots all in 1 Scene

  • 1.  Video Headshots all in 1 Scene

    Posted 10-08-2019 19:06

    For a goal summary scene I have data keys setup to populate information. The goal scorer will have an animated headshot. The problem I am having is not overloading the performance when taking it to air. I have tried placing all of the headshots in its own scene director, I have also tried placing all of the headshots as a layer in material and use visual logic to enable and disable that layer. I still have the performace issue though. 

     

    Any one have any advice or thoughts how I can make this work in one scene and not have each player in there own scene?



  • 2.  RE: Video Headshots all in 1 Scene

    Posted 10-08-2019 19:12

    Did you convert the videos into the Xpression codec using the video coder on the system?  I would also encourage you that anything that can be still to be still.  So like if it is an animated headshot, but most of the background is static, I would build the background into the scene and then have the video as a different quad.


    #XPression


  • 3.  RE: Video Headshots all in 1 Scene

    Posted 10-08-2019 19:14

    Can you give us more information about headshots number, video resolution and file size?


    #XPression


  • 4.  RE: Video Headshots all in 1 Scene

    Posted 10-08-2019 19:46

    The number of headshots is 26 total. Video Resolution is 1920x1080 and has been converted to the Xpression AVI codec as I do with any video I receive. I have attached the project package. 

     

    https://pmieg-my.sharepoint.com/:u:/g/personal/jeff_bins_pmiwi_com/EVtu-_zPbIBNkuyXnbJpJJkBTQXUlKzcOlbUan0dVgHKNQ?e=gFBEjs


    #XPression


  • 5.  RE: Video Headshots all in 1 Scene

    Posted 10-08-2019 19:56

    @garretthall That is how it is all built out. The background is its own layer which is a video material. Then the headshots are on it own quad.


    #XPression


  • 6.  RE: Video Headshots all in 1 Scene

    Posted 10-08-2019 19:59

    @Jeff.  I will try to download this project tonight and look at it.  Just something that came to mind that affected us at Boston College last year.  We were a 1080 house but running a 720 project, so it put extra stress on the machine to up convert inside of the software.  So are you a 1080 house and then need 1080 videos?  Or are you a 720 house and could down convert the videos a little?


    #XPression


  • 7.  RE: Video Headshots all in 1 Scene

    Posted 10-08-2019 20:10

    @Garrett 1080i house. Same as the project.


    #XPression


  • 8.  RE: Video Headshots all in 1 Scene

    Posted 10-09-2019 06:17

    Hey Jeff!

    Hope you don't mind, I've been toying around with doing some Xpression tutorials, so I figured I'd respond to you in Video format!

    https://youtu.be/eZjvzvOiKpE

    Here's the script in the code block:

    dim Headshot as xpQuadObject
    dim Material as xpMaterial

    Scene.GetObjectByName("Headshot", Headshot)
    Headshot.GetMaterial(0, Material)
    Material.SetPlayMode(PlayMode.pm_Once)
    Material.Play()

    Let me know if that's not how it's supposed to look or if I should define something differently!


    #XPression


  • 9.  RE: Video Headshots all in 1 Scene

    Posted 10-09-2019 13:40

    @Zachary Definitely what I am looking for. What type of datalinq source is that, ADODB? I have tried this and when I put in the SELECT function on the table it does not work. 


    #XPression


  • 10.  RE: Video Headshots all in 1 Scene

    Posted 10-09-2019 13:41

    @Zachary Note I am running 8.5 (4611)


    #XPression


  • 11.  RE: Video Headshots all in 1 Scene

    Posted 10-09-2019 13:45

    @Zachary NVM. I forgot to label my table. All good now.


    #XPression


  • 12.  RE: Video Headshots all in 1 Scene

    Posted 10-09-2019 16:15

    Glad it worked!

    Just to recap, ADODB datalinq source with Excel (I used XLSX, though it's harder to work concurrently on a sheet with that source).

    To name a table, select all the values you need (including headers), go to the Formulas tab, and hit "Define Name" (or Name Manager)


    #XPression