video-capture

transport stream - extracting information

半腔热情 提交于 2019-12-08 07:56:44
问题 I have entire mux with four channels dumped in a single *.ts file. I'm demultiplexing that and I can't find any info on how to extract the resolution, framerate, codec, language, channels, etc... Should I read macroblocks, or do something else? Thnx. 回答1: Here is the listing of where to look for the information: Number of programs, their description etc. : PAT and PMT. The number of Audio and languages and additional information : SDT, BAT etc. Codec - refer to PES header - stream_id and look

Get/set video resolution when capturing image

非 Y 不嫁゛ 提交于 2019-12-08 06:08:41
问题 I'm capturing images from my webcam with some code that mainly bases on this: Using the Sample Grabber. Here I only get the default resolution of 640x480 while the connected camera is able to show more (other capture applications show a bigger resolution). So, how can I: retrieve the list of available resolutions set one of these resolutions so that the captured image comes with it? 回答1: IAMStreamConfig interface lists capabilities and lets you select resolution of interest. enumerating media

High efficiency way to capture RGB video and display it in Windows 10 [closed]

瘦欲@ 提交于 2019-12-08 05:31:26
Closed . This question needs to be more focused . It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post . Closed 26 days ago . A 4K60Hz RGB video can have bandwith up to 2GB/s, PCs based on DDR3 have 25.6GB/s theoretical RAM bandwidth but the real performance can be far more lower like 10GB/s. If the video is first captured to system RAM than copied to VRAM for display, there will be 4GB/s bandwidth utilization on system RAM which consume too much bandwidth. To increase the efficiency, one-copy mode is

Record video with Accord.net (AForge)

拜拜、爱过 提交于 2019-12-08 05:15:39
问题 I used Accord.net (AForge) for connect to the webcam and record video But stored videos is slow motion ... this my project : using AForge.Video; using AForge.Video.DirectShow; using AForge.Video.FFMPEG; using System; using System.Drawing; using System.IO; using System.Threading; using System.Windows.Forms; namespace CaptureWebcam { public partial class Form1 : Form { private VideoCaptureDeviceForm captureDevice; private string path = Path.GetDirectoryName(Application.ExecutablePath) + @"

High efficiency way to capture RGB video and display it in Windows 10 [closed]

自闭症网瘾萝莉.ら 提交于 2019-12-08 04:14:01
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 26 days ago . A 4K60Hz RGB video can have bandwith up to 2GB/s, PCs based on DDR3 have 25.6GB/s theoretical RAM bandwidth but the real performance can be far more lower like 10GB/s. If the video is first captured to system RAM than copied to VRAM for display, there will be 4GB/s bandwidth

phonegap capture plugin captureVideo not working phonegap 3.0.0-0.14.3

末鹿安然 提交于 2019-12-08 02:25:35
问题 I have plugin org.apache.cordova.core.media-capture installed successfully. Which I did on my project with phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git navigator.device.capture.captureVideo function does not respond to the call. Nothing happens on the phone. If I put an alert in front of and in back of the call to it, the first alert pops but the second never happens. I would expect a failure to go to the captureError callback function and

Set maximum recording duration,while video recording from iphone app

烂漫一生 提交于 2019-12-07 13:31:04
问题 In my iPhone app,a user can record the video.I want to set the maximum allowed time of recording is to 30seconds.How to do that,any ideas ? using this code -(BOOL)startCameraControllerFromViewController:(UIViewController*)controller usingDelegate:(id )delegate { if (([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera] == NO) || (delegate == nil) || (controller == nil)) { return NO; } UIImagePickerController *cameraUI = [[UIImagePickerController alloc] init]

IOS UIImagePicker with mp4 format

痞子三分冷 提交于 2019-12-07 11:02:41
问题 Is it possible to save video and add it to custom ALAsset, captured from UIImagePicker in mp4 format? Or I have to save it in .mov and make compression by AVAssetExportSession? 回答1: Yes, you can compress video using AVAssetExportSession . Here you can specify video type, quality and output url for compress video. See below methods: - (void) saveVideoToLocal:(NSURL *)videoURL { @try { NSArray *documentsDirectory = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);

iOS AVFoundation Video Capture Orientation Options

三世轮回 提交于 2019-12-07 09:01:30
问题 I have an app that I would like to have video capture for the front-facing camera only. That's no problem. But I would like the video capture to always be in landscape, even when the phone is being held in portrait. I have a working implementation based on the AVCamDemo code that Apple published. And borrowing from the information in this tech note, I am able to specify the orientation. There's just one trick: while the video frame is oriented correctly, the contents still appear as though

Alternatives to DirectShow for video capture on Windows [closed]

陌路散爱 提交于 2019-12-07 07:41:38
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I am looking at updating a program that currently uses DirectShow for video capture. While DirectShow seems to work well, I was wondering if there were any more powerful or up to date SDKs or APIs that I should look into. Some features that would be helpful would be ones that will: Provide a consistent framerate