Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Malarious
(4 posts) bio
|
| Date |
Mon 20 Sep 2010 05:04 AM (UTC) [ quote
] |
| Message |
Is it possible to stream video into a miniwindow inside of mush if you somehow provide the link of the video to Mushclient?
If so any tips or clues? | top |
|
| Posted by |
Twisol
USA (2,230 posts) bio
|
| Date |
Reply #1 on Mon 20 Sep 2010 05:12 AM (UTC) [ quote
] |
| Message |
Not really, no. There's no encoder/decoder built into MUSHclient for videos. The best you could do is run an external application that encodes/decodes each frame, and use UdpListen and UdpSend in a MUSHclient plugin to communicate the frames to the plugin.
And then you'll need to be able to draw each frame. Timers have a minimum period of only 100ms, meaning you'll only get 10fps (frames per second), which is discernibly laggy. You can define an OnPluginTick callback to draw frames, which is called every 40ms, but even then you only get 25fps (at best).
But you definitely wouldn't want to draw immediately every time you get a frame over the UDP socket because the decoder could easily decode faster (or slower) than you expect. This would make playback look weird, slowing and speeding seemingly arbitrarily. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | top |
|
| Posted by |
Worstje
Netherlands (867 posts) bio
|
| Date |
Reply #2 on Mon 20 Sep 2010 05:25 AM (UTC) [ quote
] |
| Message |
| Let me turn that into a hard NO. Video's as we know them nowadays require hardware acceleration to play smoothly. MUSHclient has no such support. I know from experience that animating something with 10FPS already causes a huge load, since MUSHclient is simply not made for animated things. It's just meant for scrolling text. | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
1,259 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )