2

The intended worklflow is following:

  1. my program produces 1080p frames (possibly not constantly if picture isn't changing) 30 or 60 fps
  2. some external program captures them locally
  3. overlays on some other video
  4. saves locally (infinite playable video) or sends to youtube-like service real-time

I've tried to find some ways for the 1st step to save video real-time in small chunks like in web DASH protocol, but now I think just frameserving is better for exchanging between 2 programs on one computer.

I'm thinking of using ffmpeg's libav api in my program. Seems real after trying.

Some standard way for saving encoded infinite video stream (so that one could simultaneously play or transmit it) is still needed in the 4th step, though. See this question.

2nd and 3rd steps are likely solvable with ffmpeg.

So for the 1st step is there any standard/widely supported (by recieving processing software) format for frameserving? Thanks for any help!

  • What are you actually trying to accomplish? This sounds a lot like a programming question that would fit better on StackOverflow than a Video Production question. – AJ Henderson Jul 11 '17 at 17:51
  • @AJHenderson this whole task requires programming indeed, but here I'm looking for some practices or formats that would allow to use existing software for processing output of my prog – Alexey Orekhov Jul 11 '17 at 18:53
1

Have you looked at OBS Studio? It sounds like it can do all four of your steps for you, and it's free and open-source too. If not, then it could also just do step 1, depending on what your original video source is. OBS can use these sources:

  • Webpages
  • Displays/monitors
  • Video games
  • Local files
    • Text files
  • Webcams & video capture devices
  • Windows on your computer
  • A few others, like audio, plain colors, images, and slide shows
| improve this answer | |
  • Thank you for advice, worth checking. Now how would I produce the initial video sequence for the program to consume? Just continuous plain yuv frames? – Alexey Orekhov Jul 13 '17 at 8:17
  • I'm not really sure what your trying to make a video from (a camera or something rendered), but this should help you: github.com/jp9000/obs-studio/wiki/Sources-Guide – PunctualEmoticon Jul 14 '17 at 8:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.