Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Video Widget
#51
Oh, yeh, I did, but I got lost in VLC land. I've been around and around and I still can't find a solid answer for how to get the SDK. They they just don't make it available for download I have no idea. It's not filling me with confidence.
Dean Roddey
Explorans limites defectum
Reply
#52
(04-05-2017, 01:28 PM)Mark Stega Wrote: This site has an open source rtsp client: Live555

That doesn't look too promising either, at least for for our needs.
Dean Roddey
Explorans limites defectum
Reply
#53
OK, I think I finally got the right files for LibVLC. I'll see what I can figure out.
Dean Roddey
Explorans limites defectum
Reply
#54
OK, I just got a little test program displaying the camera output. I went ahead and just started with the web browser widget helper and modified that so that, if it went well, it would already be in the form required. It kind of freaked me out because it enabled the mic and the mic was picking up the speakers and it went into this recursive audio freak-out, and I'd not implemented any exit handler since normally this little probably has no user input. It wasn't feedback but more of an industrial noise meets hip-hop beat recursion, and it was getting more and more intense as I scrambled to shut it down via other means.

Of course this is far from industrial strength. I'm not dealing with any sort of errors or anything. I have no idea what will happen if it loses the network connection or anything like that, and how to recover. So there's a good bit more work to do.

But, it obviously works. You'll have to have VLC 32 bit installed and you'll have to make sure the main VLC directory is included in the system's PATH environment variable, since this helper program will otherwise fail to load because it won't find the required DLLs or the plugins (which apparently it uses based on the type of content it's told to play.)

I'll bang on it some more tomorrow. And I'll have to add a new interface widget to support it, which will let you provide the required configuration data. That's not a trivial undertaking either, but not enormous.

I'll see if it's reasonable to get this into 5.1, which would be a nice thing if possible. It would be another nice brick in our wall.
Dean Roddey
Explorans limites defectum
Reply
#55
(04-05-2017, 06:40 PM)Dean Roddey Wrote: OK, I just got a little test program displaying the camera output. I went ahead and just started with the web browser widget helper and modified that so that, if it went well, it would already be in the form required. It kind of freaked me out because it enabled the mic and the mic was picking up the speakers and it went into this recursive audio freak-out, and I'd not implemented any exit handler since normally this little probably has no user input. It wasn't feedback but more of an industrial noise meets hip-hop beat recursion, and it was getting more and more intense as I scrambled to shut it down via other means.

Of course this is far from industrial strength. I'm not dealing with any sort of errors or anything. I have no idea what will happen if it loses the network connection or anything like that, and how to recover. So there's a good bit more work to do.

But, it obviously works. You'll have to have VLC 32 bit installed and you'll have to make sure the main VLC directory is included in the system's PATH environment variable, since this helper program will otherwise fail to load because it won't find the required DLLs or the plugins (which apparently it uses based on the type of content it's told to play.)

I'll bang on it some more tomorrow. And I'll have to add a new interface widget to support it, which will let you provide the required configuration data. That's not a trivial undertaking either, but not enormous.

I'll see if it's reasonable to get this into 5.1, which would be a nice thing if possible. It would be another nice brick in our wall.

Why does simply pressing "reply" act exactly like hitting "quote"??

Anyway, I am very interested.  Let me know if you need some testing completed.  I have four cameras and not one of the same manufacturer and they all display well in VLC.
Thanks,
Dave Bruner
Cool
Reply
#56
Count me in as helping test if needed too.  I use Zoneminder and I can display feeds from it in VLC via Open Network Stream.  This would be a great addition as I currently have to jump through hoops to get my cameras to display and they frequently freeze up in the web widget.
Reply
#57
Great news. Tremendous progress.
Reply
#58
Outstanding! So, with the HTML 5 client that is being developed, could this also work with that? (I know you are just getting your feet wet, just throwing the idea out there)
Reply
#59
(04-05-2017, 07:10 PM)DaveB Wrote: Why does simply pressing "reply" act exactly like hitting "quote"??
Use the "New Reply" button at the bottom of the thread screen instead of the Reply button in the post in question. Quote button is additive and can be used to quote more than one message.  Reply button in message will quote that message only.
Reply
#60
I seem to have it able now to recover if I unplug the camera or the ethernet cable. I've got a little state machine setup in the helper program and it watches for errors and resets itself back to trying to start playback. Then it starts waiting to see a playback event. If that doesn't happen within 10 seconds, it restarts the process again, until it reconnects.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Door locks and door video rhosch 24 5,387 11-07-2019, 12:35 PM
Last Post: rhosch
  New tutorial video Dean Roddey 2 1,648 11-27-2018, 07:15 PM
Last Post: ellisr63
  An idea for a new widget Dean Roddey 5 3,636 03-13-2017, 02:47 PM
Last Post: potts.mike
  Web browser widget Trioxide 7 4,609 02-25-2017, 06:30 AM
Last Post: Trioxide
  Security video with CQC bryanb 19 7,621 04-22-2016, 05:13 PM
Last Post: Dean Roddey
  Slider Widget potts.mike 1 1,791 04-19-2016, 04:59 PM
Last Post: Dean Roddey
  Field Incr/Decr Button Widget khill 15 6,508 05-17-2015, 01:04 PM
Last Post: dlmorgan999
  Overlay in an Overlay triggered by Widget Deane Johnson 4 3,159 11-09-2014, 10:29 AM
Last Post: Deane Johnson
  Load personal video files into repository? brathnach 7 4,165 05-14-2013, 02:06 PM
Last Post: wuench
  Set up a hardware DVD video library yarwoob 15 9,930 04-07-2013, 04:29 AM
Last Post: Bugman

Forum Jump:


Users browsing this thread: 1 Guest(s)