New Forum system requires email address which you used to apply for your account to replace your original username. Password stays the same.Please see this post for more details
http://forum.yealink.com/forum/showthread.php?tid=40344


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
T46G - Display IP Cam Picture or MJPG Video Stream via DSS Key
Author Message
jolouis Offline
Moderator
*****

Posts: 100
Joined: Oct 2013
Reputation: 0
Post: #9
RE: T46G - Display IP Cam Picture or MJPG Video Stream via DSS Key
(04-07-2017 07:07 AM)dialog-se Wrote:  That's almost exactly how we tried to do it....

It turned out that the whole process from pressing the DSS button to actually seeing the picture would take almost 10 seconds, and most of that was not caused by ffmpeg having to connect to the camera first (also it didn't look nice as the screen would flash multiple times)

Not suggesting this is a proper solution at all, but in our test we solved the delay problem by basically turning the script into a small daemon and leaving it running on the background of our Asterisk box (linux server). Same sort of idea as you had, except it was on a loop to grab a new frame every second or two, resize it and save it to the same file in a tmp ram drive directory over and over. That way the Yealink XML just had to pull in the already generated file which was no slower than loading any other image.

(We actually reduced the overhead even more because the Hikvision camera we were using supported multiple output streams, so we were able to configure a lower resolution one for this specific application, which meant it took almost no processing power to leave our "interpretter script" running all the time).

Native MJPEG support (or at least grabbing and just displaying the first frame of an MJPEG stream) would be much easier of course, but I wouldn't be surprised if there'd still be a delay incurred during stream start up...
(This post was last modified: 04-07-2017 01:29 PM by jolouis.)
04-07-2017 01:29 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
RE: T46G - Display IP Cam Picture or MJPG Video Stream via DSS Key - jolouis - 04-07-2017 01:29 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  2 T46G Phones; Different BLF behavior phoneguy797 8 9,109 04-13-2017 09:33 AM
Last Post: auch
  T29G Display ghosting Chris708 2 304 03-14-2017 01:18 PM
Last Post: Chris708
  t46g: intercom over speaker rather than headset? asinshesq 19 10,058 01-17-2017 04:31 PM
Last Post: cm21
Sad Updating Network on phone display ebrahimkarimi 4 1,236 11-16-2016 01:43 PM
Last Post: Yealink_Karl
  T46G - Disable Line Key Configuration ? timalex 11 5,712 11-09-2016 06:39 PM
Last Post: raphaps
  T46G - 28.72.0.25+26 wallpaper bug ? timalex 12 10,221 08-28-2016 11:27 PM
Last Post: sfrazier
  T46G LLDP-MED VLAN Issue joebocop 24 18,092 08-03-2016 03:14 AM
Last Post: PavlovsPuppy
  Cannot sign in to Skype for Business T46G WerVermaak2 1 609 07-12-2016 02:26 PM
Last Post: WerVermaak2
  WAN Failover Re-Registration Failure with F/W 28.80.0.95 on T46G Alpha_Link 2 1,614 07-11-2016 06:24 AM
Last Post: thebitguru
  Wireless Headset will not passing ring with T46G mwb12345 3 1,140 04-28-2016 02:54 PM
Last Post: Horence

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication