Author Topic: Playing Video for a projection mapping  (Read 3626 times)

Offline Scott

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Playing Video for a projection mapping
« Reply #15 on: October 13, 2019, 07:13:50 PM »
Thanks for the explanations.

I am using a fairly new HP laptop with an AMD Ryzen 7 2700U with Radeon Vega Mobile Gfx, 8 Gig of RAM.

Offline Scott

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Playing Video for a projection mapping
« Reply #16 on: October 13, 2019, 07:15:22 PM »
I should probably add that I am using an USB dongle to VGA to a 50foot VGA cable to my projector.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Playing Video for a projection mapping
« Reply #17 on: October 13, 2019, 07:40:27 PM »
I will pm you a test link later tonight.

Offline Scott

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Playing Video for a projection mapping
« Reply #18 on: October 14, 2019, 07:34:39 PM »
Thank you so much for doing that. Unfortunately, I see the same behavior that I was seeing with the regular version. With Video cache off, the lights on DMX work intermittently and the video displays a single frame about every 5s. If I turn video cache on, the DMX lights work perfectly, but I get a blank screen instead of any projection.

Thanks for all the help. Any ideas? What can I try next?

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Playing Video for a projection mapping
« Reply #19 on: October 14, 2019, 07:59:10 PM »
I need more time to work through the hardware acceleration.

Offline Scott

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Playing Video for a projection mapping
« Reply #20 on: October 15, 2019, 04:22:08 PM »
Thanks. I appreciate the help. Please let me know if you have any more ideas of things I should try or test.

Offline Scott

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Playing Video for a projection mapping
« Reply #21 on: October 16, 2019, 02:29:58 PM »
Sorry, just some more dumb questions. Aren't other people using Xschedule to do video? I am the first one to try?

If this doesn't work, I think I read that most people use FPP, should I try that?

Thanks again for all your help.

Offline Scott

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Playing Video for a projection mapping
« Reply #22 on: October 16, 2019, 05:31:31 PM »
Thanks for the new version. I just sent you a message. It is doing the same thing. With video caching on, the rest of the show (DMX lights and a pixel matrix) play great, but the video is just a black screen. With that off, everything plays, but sputters very badly, like showing a frame every couple of seconds.

CPU is only at 20%. What is causing the sputtering.

Thanks again for all your help.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Playing Video for a projection mapping
« Reply #23 on: October 16, 2019, 08:48:07 PM »
I need to see logs at this point. Once we have hardware acceleration on video there is not a lot more we can do unless there is something else going on.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Playing Video for a projection mapping
« Reply #24 on: October 18, 2019, 05:10:30 AM »
I have been through this Scott and I now know where the issue is and it is not great.

While I have accelerated the video decoding ... once we have decoded the video we need to resize it and convert it ready for display. Unfortunately on windows it is really difficult to offload this to hardware. I have a concept of how to do this but this could take several weeks to months to deliver.

So what are your options.

Realistically the only way to improve this on windows alone is to reduce the video size on the screen. Maybe drop the resolution ... smaller screen sizes will render fast.

The other option is to use a pi to display the video. The Pi uses a different mechanism to display videos which means it will work (even though the pi has less grunt).

I wont stop working on it but I want to give you options to go forward.