Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Video capture  (Read 2014 times)

0 Members and 1 Guest are viewing this topic.

Cheery

  • Newbie
  • *
  • Posts: 5
    • View Profile
Video capture
« on: January 10, 2011, 10:09:07 am »
Linux has terrible screen scraping availability so I'd like to implement one directly into my program.

You only allow screenshots, though would there be a way to construct video out of them through some library?

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Video capture
« Reply #1 on: January 10, 2011, 11:05:48 am »
Capture several images in succession? There's a video Class in the wiki. Maybe that can give you some pointers.
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

Cheery

  • Newbie
  • *
  • Posts: 5
    • View Profile
Easy approach
« Reply #2 on: January 11, 2011, 06:23:47 pm »
I found this easy approach: I'll output pngs numbered from 0 upwards and then use ffmpeg to convert it into video.

This is working for my current screen scraping needs. Though a friend said that if I ever want to avoid jitter, I should either get help from GPU at video encoding or then make an unencoded flatfile. He also said that I'd need to pick 60fps images and interpolate them down to 30fps to get smooth, nice high-definition video.

The video class in wiki seems to bother only with decoding video. I don't know how to apply that one to encoding and saving videos.

There's another question I've got: where the heck ffmpeg keeps its documentation about libavcodec and such? I only found something about decoding videos with those. Didn't tell how to encode. :?

 

anything