videosnap icon indicating copy to clipboard operation
videosnap copied to clipboard

AVFoundation/Pipes?

Open hpux735 opened this issue 10 years ago • 4 comments

This is a useful application. I forked it because I need pipes support. While I'm digging around, I noticed that QTKit is deprecated. I'm just about done moving it to AVFoundation. Do you want me to do a pull request when I'm done?

hpux735 avatar Mar 23 '14 23:03 hpux735

hi @hpux735, yes please do, that would be great.

I'm not familiar with AVFoundation yet, how far does support for that go? (in terms of the major OSX releases)..

matthutchinson avatar Mar 24 '14 00:03 matthutchinson

As for piping, thats a welcome feature and something I've been meaning to look into, but haven't had the time for yet.

matthutchinson avatar Mar 24 '14 00:03 matthutchinson

AVFoundation starts at OSX 10.7. I'm working on an ATSC transmitter https://github.com/Nuand/bladeRF/wiki/ATSC-Transmitter and I really need the pipes. I just need to figure out whether the AVCaptureMovieFileOutput (virtually identical to the QT variant) can give me the bytes in the callback rather than putting them into a file. I tried using a named pipe (using mkfifo) with videosnap, but it wouldn't write to it streaming.

hpux735 avatar Mar 24 '14 02:03 hpux735

I've recently updated VideoSnap to use the AVFoundation framework and (finally) released v0.0.2 - I hope to have some time free to add new features to the command soon, will update here if I can get piped output to work...

matthutchinson avatar Jul 10 '16 12:07 matthutchinson