quicktime

How to read the bit rate information from a .mov video file header (QuickTime File Format)?

隐身守侯 提交于 2019-12-03 21:58:11
I've been trying to read some values out of the metadata of a .mov file (QuickTime File Format) with limited success. I've been using the following link as a reference: Introduction to QuickTime File Format Specification I've managed to correctly locate and read out/calculate the media duration, but I can't seem to find which Atom the Bit Rate information is stored in. (Atoms are the internal blocks of metadata inside the file). If anyone can point me to the correct Atom to read, I'll be alright reading it... I just can't seem to find it in the documentation even. "Bit Rate" is only mentioned

Capture video from camera in Mac OS X

一个人想着一个人 提交于 2019-12-03 14:12:49
问题 How I can filter video stream from camera in MacOS X. I write quicktime sequence grabber channel component, but it`s work only if app used SG API. If app used QTKit Capture the component is not worked. Somebody know how I can implement it? 回答1: You could use OpenCV for video processing, it's a cross platform image/video processing library: http://opencv.willowgarage.com Your code would look something like this: CvCapture* capture = NULL; if ((capture = cvCaptureFromCAM(-1)) == NULL) { std:

iOS detect/block screen recording using QuickTime player

三世轮回 提交于 2019-12-03 09:15:50
I want to block screen recording or video output per my app using QuickTime Player. I had detected hdmi output and airplay with UIScreen . But QuickTime Player video recording was no detect. How to detect QuickTime Player? Thanks. Thus don't know detect QuickTime Player recording. But I Found a solution with some trick. If QuickTime Player recording is running, AVAudioSession's output portType has been changed to HDMIOutput. So I coding as follows...(Swift 2.2) func checkOutputPortType() { let asRoute = AVAudioSession.sharedInstance().currentRoute for output in asRoute.outputs { if output

Cross-Platform webcam access [closed]

ε祈祈猫儿з 提交于 2019-12-03 06:23:38
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I'm looking for a cross-platform video capture library, for webcam access. One that wraps V4L/V4L2 on Linux, DirectShow on Windows, and QuickTime on the Mac. C or C++ is preferred, but I can work in Java or Python if those have better options for libraries. The OpenCV (Open Source Computer Vision) works under Linux, Windows and Mac OS X. I use OpenCV under Mac OS X and it works very well with the built-in iSight of my

Capture video from camera in Mac OS X

若如初见. 提交于 2019-12-03 04:03:07
How I can filter video stream from camera in MacOS X. I write quicktime sequence grabber channel component, but it`s work only if app used SG API. If app used QTKit Capture the component is not worked. Somebody know how I can implement it? You could use OpenCV for video processing, it's a cross platform image/video processing library: http://opencv.willowgarage.com Your code would look something like this: CvCapture* capture = NULL; if ((capture = cvCaptureFromCAM(-1)) == NULL) { std::cerr << "!!! ERROR: vCaptureFromCAM No camera found\n"; return -1; } cvNamedWindow("webcam", CV_WINDOW

How to use CoreFoundation in QuickTime SDK for Windows?

匿名 (未验证) 提交于 2019-12-03 01:36:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Anybody can help me for compile this code in Cygwin / MingW / VS20(05|08|10)? Indeed i want to use CoreFoundation Framework in QuickTime SDK 7.3 for Windows. #include <stdio.h> #include <CoreFoundation.h> int main () { CFStringRef hello = CFSTR("Hello, world."); return 0; } i used this MakeFile for compile it, in Cygwin/MingW, but i get an error :( CC = gcc LDFLAGS = -L"C:/Program Files/QuickTime SDK/Libraries" -lQTMLClient CFLAGS = -Wall -mwindows -I"C:/Program Files/QuickTime SDK/CIncludes" all: StringExample.c $(CC) $(CFLAGS) $(LDFLAGS)

Installing just Quicktime libraries on Windows

柔情痞子 提交于 2019-12-02 10:17:25
问题 There's Quicktime SDK for Windows, but any application that uses it needs quicktime runtime libraries to be installed on the system (SDK itself just has headers and library stubs, and not the actual DLLs). If my application uses Quicktime, I'd like to install the necessary libraries with it's installer, thus not requiring user to install Quicktime separately. What I'm looking for is some sort of "quicktime redistributable". As of now (quicktime 7.x), I can't find a way to do that. I could

Installing just Quicktime libraries on Windows

一世执手 提交于 2019-12-02 04:15:39
There's Quicktime SDK for Windows, but any application that uses it needs quicktime runtime libraries to be installed on the system (SDK itself just has headers and library stubs, and not the actual DLLs). If my application uses Quicktime, I'd like to install the necessary libraries with it's installer, thus not requiring user to install Quicktime separately. What I'm looking for is some sort of "quicktime redistributable". As of now (quicktime 7.x), I can't find a way to do that. I could bundle whole quicktime installer (about 20 MiB), and launch it with MSI's silent/unattended flag. However,

How to get the Start Timecode (SMPTE) of a Quicktime-Movie in Objective-C in 64-bit?

南笙酒味 提交于 2019-11-30 15:57:09
I've been pulling my hair out over this. I've found a few things here, but nothing actually seems to work. And the documentation is really limited. What I'm trying to figure out here is how to get the start time code of a Quicktime movie in Objective-C from the timecode track, and getting a human-readable output from that. I've found this: SMPTE TimeCode from Quick Time It works perfectly in 32-bit mode. But it doesn't work in 64-bit mode because of the Quicktime API. The software I need to incorporate it into already has been and must continue to run 64-bit. I'm losing my mind here. Anyone

How to get the Start Timecode (SMPTE) of a Quicktime-Movie in Objective-C in 64-bit?

╄→гoц情女王★ 提交于 2019-11-29 23:06:38
问题 I've been pulling my hair out over this. I've found a few things here, but nothing actually seems to work. And the documentation is really limited. What I'm trying to figure out here is how to get the start time code of a Quicktime movie in Objective-C from the timecode track, and getting a human-readable output from that. I've found this: SMPTE TimeCode from Quick Time It works perfectly in 32-bit mode. But it doesn't work in 64-bit mode because of the Quicktime API. The software I need to