Current time: 10-14-2019, 04:18 PM 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-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 


Messages In This Thread
RE: How is the current status of moving video logic to server - pmeenan - 09-15-2014 09:48 PM

Forum Jump:


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