video-processing

FRAPS alternative: Where to look and what for? [closed]

你说的曾经没有我的故事 提交于 2019-12-11 04:37:12
问题 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 3 years ago . later this year I'm going to have a lot of time on my hands, and I thought I'd start a "small" project for myself and release it as open source. I'd like to code my own Fraps alternative. (or continue with Taksi http://taksi.sourceforge.net ). Fraps is a video & sound recording programm, which captures the

2 source videos in FFMPEG… how to map audio?

雨燕双飞 提交于 2019-12-11 04:23:12
问题 i am currently placing 2 videos side by side in FFMPEG. Here is the command: ffmpeg -i input.mov -vf "[in] scale=1280:720, pad=2*1280:720 [left]; movie=right.mov, scale=1280:720 [right]; [left][right] overlay=1280:0 [out]" -b:v 1000k -vcodec libx264 -an sidebyside.mp4 I now need to manage the audio. I keep trying to specify: -acodec libfaac -ac 2 -map 0:1 -map 0:2 to take the 2 audio channels from the first input and use them. I keep getting the error: [aformat @ 0x7febf2e01fc0] auto

ffmpeg watermarking processing is very slow

眉间皱痕 提交于 2019-12-11 03:46:53
问题 I am working on a video processing project and using ffmpeg for watermarking. I achieve exactly what i want but the problem is that the process is very very slow. I am using a Intel Smart 2nd gen family Core-i5 Processor with 4GB RAM on a 32 bit operating system Microsoft Windows-8 on a 64-bit CPU. I tried watermarking a video [mp4] of length 1:30 Min. size of file is 1.5GB Whole process accomplish in 3 Hrs to watermark my video file and what i noticed while process is that ffmpeg was

Strange “pause” in video after concatenation of two mp4 videos

≡放荡痞女 提交于 2019-12-11 03:38:00
问题 I am concatenating two mp4 videos. The problem is that first video (intro.mp4) lasts 5 seconds, second video (output.mp4) lasts 2 seconds and video created by concatenating them lasts 9 seconds (and should last 5+2 = 7 seconds). In final.mp4 video the last frame from first video (intro.mp4) i shown for additional 2 seconds before second video (output.mp4) is played. It looks like a lag when watching video. What I am doing wrong? list.txt: file 'data/intro.mp4' file 'output.mp4' command: ./bin

ImageProcessing MatLab

余生颓废 提交于 2019-12-11 03:33:42
问题 I have a video of a welding procedure, and for every frame I need to take all the contours of the welded area, and detect all the edges. Unfortunately, the images I got aren't the best quality, I tried to put several filters and make image enhacement and it didn't work to take the sharp edges. Image Below: I managed to make the following code, but the results were terrible. clc clear all vid = VideoReader('home/simulation/V6_008.avi'); h=ones(3,3)/9; for i=1 : mov.NumberOfFrames thisframe =

MPEG-TS file audio and video frame length

五迷三道 提交于 2019-12-11 02:17:28
问题 Can I discover byte length of each video(I,P,B) and audio frame in MPEG2 TS file not reading frame content byte by byte (from NAL unit header for example)? 回答1: in MPEG-TS files, in the PES layer, there is a field called "PES length" which includes all the data but without the PES headers. To extract this information accurately you must understand if there is a PES header per frame or not. Alas, in video mostly, this field is often left 0, and the only true way to count the bytes per frame is

Editing/Decoding AVI files using system-installed proprietary codecs

狂风中的少年 提交于 2019-12-11 01:43:41
问题 I've been searching for this for a few days now, but nothing seems to quite answer or work for me, so please forgive me if I'm asking a stupid question or one that seems to have been answered elsewhere. I have an AVI file encoded using the GMP4 video codec, currently installed on my computer so I can PLAY the file in Windows Media Player for instance. What I'm trying to do is open/decode the file for editing purposes, in order to be able to stitch two video files together. I do not require it

Looking for python video editing/processing capabilities that will work with Google App Engine

梦想与她 提交于 2019-12-10 21:52:25
问题 Does know any python video editing/processing libraries or frameworks that work with Google App Engine? I need to pro grammatically edit video files (adding a soundtrack, layering video clips on top etc.) on my App Engine site. 回答1: With most video/audio codecs written in C for maximum portability, and any muxing libraries being written in C for speed working with large byte streams, finding these features in pure python libraries is going to be difficult. If you could tie yourself down to

Java - Opencv VideoCapture.read - Exception in thread java.lang.exception : Unknown Exception

不羁岁月 提交于 2019-12-10 19:35:04
问题 I have a java program that runs a webcam and capture images with the use of opencv libraries. My camera is working and eventually stops taking frames. It throws an exception. Exception in thread "Thread-11" java.lang.Exception: unknown exception at org.opencv.highgui.VideoCapture.read_0(Native Method) at org.opencv.highgui.VideoCapture.read(VideoCapture.java:341) at projectana.VideoThread.run(VideoThread.java:59) at java.lang.Thread.run(Thread.java:745) Here is my code: (VideoThread.java)