video-processing

GPUImage Video with transparency over UIView

自闭症网瘾萝莉.ら 提交于 2019-11-30 21:35:13
I am working on an iOS project that uses AV-Out to show contents in a 1280x720 window on a second screen. I have a MPMoviePlayerController 's view as background and on top of that different other elements like UIImages and UILabels . The background movie plays in a loop. Now I want to overlay the whole view including all visible elements with another fullscreen animation that has transparency so that only parts of the underlying view are visible. I first tried a png animation with UIImageView . I was surprised to find that actually works on iPhone5, but of course the pngs are so big in size

How to find object on video using OpenCV

自作多情 提交于 2019-11-30 19:34:36
To track object on video frame, first of all I extract image frames from video and save those images to a folder. Then I am supposed to process those images to find an object. Actually I do not know if this is a practical thing, because all the algorithm did this for one step. Is this correct? karlphillip Well, your approach will consume a lot of space on your disk depending on the size of the video and the size of the frames, plus you will spend a considerable amount of time reading frames from the disk. Have you tried to perform real-time video processing instead? If your algorithm is not

Create a binary file extension reader for mobile

ⅰ亾dé卋堺 提交于 2019-11-30 18:00:43
问题 It is an ancient binary file extension, actually a video file created by Inter-Tel Web Conference software. It contains a screen recording video and voice audio, and also can capture the keyboard chat log, attendees and the document manager window during a conference. It can be played with Inter-Tel Collaboration Player, a standalone application included with the Web Conference software package. What I am trying to do now is finding a way to play these files on mobile, although Inter-Tel

GPUImage Video with transparency over UIView

╄→尐↘猪︶ㄣ 提交于 2019-11-30 17:37:48
问题 I am working on an iOS project that uses AV-Out to show contents in a 1280x720 window on a second screen. I have a MPMoviePlayerController 's view as background and on top of that different other elements like UIImages and UILabels . The background movie plays in a loop. Now I want to overlay the whole view including all visible elements with another fullscreen animation that has transparency so that only parts of the underlying view are visible. I first tried a png animation with UIImageView

convert animated gif to video on linux server while preserving frame rate

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 15:39:54
how do I convert an animated gif to a video (e.g. h264@mp4) programmatically on a linux server? I need this to process user generated content which should be output as several defined video formats; therefore its possible, that users may want to process animated gif files. I already have a set of working php scripts to transcode videofiles to specific formats (like vpx@webm and h264@mp4, scaled to specific resolutions) using avconv, but herefore I need video input. Usual ways seem to be to extract the frames of the gif and then encode it, like convert file.gif file%03d.png avconv -i file%03d

What is a fast way to generate and draw video in WPF?

别等时光非礼了梦想. 提交于 2019-11-30 15:28:26
I am writing a video player to play back frames captured by our ASIC. They are in a custom format, and I have been provided with a function that decodes the ASIC states. The video can be any size from 640x480 to 2560x1200 (!!!). The output of each state cycle is a 16x16 blocks of pixels, which I have to get into a video on the screen. Every time the screen needs to be updated, I have the following information: Block width Block height X coordinate of block start Y coordinate of block start A 1-D array of RGB32 pixel color info Major limitations: .NET 3.5 No unsafe code I spent this morning

How to use FFMpeg -timestamp syntax

落爺英雄遲暮 提交于 2019-11-30 14:33:06
问题 Hi, All! ffMpeg -timstamp option works likes upper image? 07:21:54 07/07/05 white text in black box container. in ubuntu 12.04 typed the excute like this. ffmpeg -y -f video4linux2 -s vga -r 30 -fs 1M -i /dev/video0 -timestamp now -copyts ./USB1_Test_vga.mp4 but it doesn't work. is there any other option for display video recorded time? 回答1: There used to be a drawtext filter. ffmpeg -i in.mp4 -vf "drawtext=fontfile=/usr/share/fonts/truetype/DroidSans.ttf: timecode='09\:57\:00\:00': r=25: \ x

How to use hardware video scalers?

纵饮孤独 提交于 2019-11-30 12:47:11
Modern graphics cards have hardware video scalers, for example as part of AMD Avivo, NVIDIA PureVideo or Intel ClearVideo. For example, AMD's Avivo whitepaper says: "The image output scalers support up to 6 vertical filter taps and up to 10 horizontal filter taps. These scalers are high-precision polyphase scalers that are highly programmable; they are suitable for upscaling by practically any ratio, or for downscaling by up to 4:1." The question: How can the video scaler hardware be used from a Windows program? Assume there already exists a decoded video frame, for example in a

Reverse video in android

不羁岁月 提交于 2019-11-30 11:51:30
I have recorded a video from camera in my app and saved in device storage.Now I want to reverse the video such that it plays from backwards.i.e. if video is of 10 seconds then the last frame at 10th second will become first frame and it starts playing from there to 1st second first frame.I want to save the reversed video in a file.How should i proceed in that? Mick If you are prepared to use ffmpeg you can use this approach - it essentially breaks the video into frames and then builds it again in reverse order: https://stackoverflow.com/a/8137637/334402 There are several ways to use ffmpeg in

How to overlay one video on another in iOS?

房东的猫 提交于 2019-11-30 10:33:39
I am trying to crop an already taken video into a circle in iOS. How might I go about doing this. I know how I would do it with AVCaptureSession but I don't know to pass in an already taken video as an AVCaptureDevice? Is there a way to crop a video into a circle. I want to overlay it on top of another video so it has to have a transparent background as well. Thanks. I guess you want to produce something like this: You don't want an AVCaptureSession , because you're not capturing video. You want an AVMutableComposition . You need to read the “Editing” section of the AV Foundation Programming