Current time: 11-21-2019, 05:17 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How is the current status of moving video logic to server
09-12-2014, 08:04 PM
Post: #1
How is the current status of moving video logic to server
How is the status of moving the video logic from urlblast to server? Is this feature planned for one of the next releases?

If it is not planned for the next releases we are thinking about implementing it on our own. Therefore, I would like to know if you already have started or if we have to start from the scratch?
Find all posts by this user
Quote this message in a reply
09-12-2014, 11:43 PM
Post: #2
RE: How is the current status of moving video logic to server
I haven't started - got derailed working on my presentation for Velocity next week.

It's at the top of my priorities so if you don't have something in the next week or so I'll be starting it then (when I get back from velocity).

If you are running wptdriver (and not just a mobile environment) I can port the urlblaster code to wptdriver as a placeholder and that would only take an hour or so.
Visit this user's website Find all posts by this user
Quote this message in a reply
09-15-2014, 06:37 PM
Post: #3
RE: How is the current status of moving video logic to server
Thanks for the offer but moving the logic to wptdriver won't be a quick solution for us. Since we are still using version 2.13 we would have to merge many manual changes first if we switch to the newest version. Thus, we prefer the direct integration to the server code even if it lasts a little longer.

However, we can offer you help at moving the video functionality to the server. Do you already have an idea which library you wan't to use and where the best position for integration is?
Find all posts by this user
Quote this message in a reply
09-15-2014, 09:48 PM
Post: #4
RE: How is the current status of moving video logic to server
The plan is to draw individual frames manually using GD, write them out to a temp location as a series of png's and then use ffmpeg (or x264) to convert the png's into a video.

The main issues are going to be:

- Doing it efficiently. You don't want to re-draw the whole frame every frame, particularly if it's only the clock changing. Need to keep one image and just update the relevant parts.

- Fonts for the timer. The built-in GD fonts suck so it will be a matter of finding a goot, free font that can be used with GD for the clock. Another option would be to have pre-rendered numbers and just scale those but the kerning won't be right.

- Frame rate. Initially it makes sense to just keep the 10fps and get it working but it would be nice to be able to support the 60fps that we get from mobile video capture.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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