Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

How to kill a process within my program

$
0
0

@Antonio_Castles wrote:

Hi, I’ve been working on a project lately to communicate a Blackmagic Decklink capture card with an arduino through ffmpeg. What I need is basically capture some frames from the video stream of the capture card, which are triggered via an arduino through the serial port thanks to a filter of ffmpeg. In other words, a function of the program that I’m writing is to initiate ffmpeg with the necessary parameters to start capturing with this trigger functionality. However, before that I need to have access to the live feed of the Blackmagic camera, which I managed to get with ofxBlackmagic. I thought that a normal workflow would be to close the camera (it has a method .close) before opening ffmpeg, because devices can only be used once while capturing video. However, the camera seems to be still active after closing because ffmpeg fails to start capturing. Any idea on how to close the camera?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles