video-processing Questions

7

Solved

I am able to play a video on the command line with gstreamer's gst-launch like this: gst-launch gnlfilesource location=file:///tmp/myfile.mov start=0 duration=2000000000 ! autovideosink This pla...
Lathe asked 26/7, 2011 at 16:10

21

Example code: from moviepy.editor import * clip = VideoFileClip('video.mp4') clip.write_videofile('video2.mp4', fps=30) After showing the following messages, showing that the video is being built ...
Soredium asked 18/6, 2021 at 9:42

2

Solved

I am looking for a video scene detection algorithm implementation. Any programming language used for the implementation is acceptable. I found this implementation but it is very sensitive to small...
Purpose asked 26/1, 2011 at 2:55

1

I want to limit max fps when I process a video. For example: set limit up to 30 frames per second. If I process a video with 24 fps then I don't change fps but if I process the video with 60 fps th...
Krahmer asked 6/11, 2015 at 22:29

2

Solved

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 a...
Gulden asked 1/2, 2015 at 0:50

2

Solved

I have a video of people talking. I also have a transcript. I chunked the words into sentences so that I could display 1 sentence at a time on the screen, like normal subtitles in a movie. To do so...
Madness asked 8/4, 2021 at 17:58

1

I am looking through the docs for ffmpeg and am having a hard time finding my way around. Is there a way to add blurring to a video for a specific range in the video. Example: a 1 minute video. I...
Dania asked 11/9, 2013 at 0:33

2

Solved

Is there any way for a programmer to write data directly into video memory? I know OS's are very strict about this, but then how some types of applications (like videos players or computer games) c...
Wolfram asked 20/2, 2016 at 8:5

5

Solved

I have two MTS video files, each one 2 minutes long. I need to be able to join the files together and convert the format to MPEG4. I have a suitable command line for converting MTS to MP4 but don't...
Utterance asked 24/8, 2010 at 8:43

3

Solved

I am using mplayer to play videos... I wanted to know if there are command line options to play a specific interval of a video in mplayer? For example, if I want to play a video file from 56 secs f...
Puckett asked 26/3, 2012 at 19:4

2

I've integrated an IP camera with OpenCV in Python to get the video processing done frame by frame from the live stream. I've configured camera FPS as 1 second so that I can get 1 frame per second ...
Periwig asked 25/7, 2017 at 18:8

22

Solved

I'm looking for some kind of formula or algorithm to determine the brightness of a color given the RGB values. I know it can't be as simple as adding the RGB values together and having higher sums ...
Gerrilee asked 27/2, 2009 at 19:19

2

Is there a way by which i can remove the human voice from a audio/video. So ultimately the music is left on it. I want to do this using any software like adobe etc or with command line like ffmpeg...
Mccready asked 11/2, 2014 at 6:7

3

I'm tried to follow this example how to add subtitles to a movie clip: from moviepy.video.tools.subtitles import SubtitlesClip from moviepy.video.io.VideoFileClip import VideoFileClip subs = [((0,...
Silverpoint asked 16/4, 2016 at 17:59

3

I want to write my own camera filters for videochat, and ideally apply them in any/all of the popular videochat applications (Zoom, Hangouts, Skype, etc.). The way I imagine this working is to writ...

5

Solved

I am trying to save a video in a specific folder. but after running the code no output is saved. Could anyone help? Thanks. cap = cv2.VideoCapture(file_paths[0]) fgbg = cv2.bgsegm.createBackground...
Sheronsherourd asked 7/12, 2019 at 14:9

9

Solved

I am using AlAssetsGroup enumerateAssetsAtIndexes to list the assets in the Photos (Camera) app. For a given video asset I want to determine whether it was shot in portrait or landscape mode. In ...
Ramshackle asked 7/1, 2011 at 16:46

4

Solved

I have videos with different resolution. I want that all of them will be in resolution of 480x320. I tried the command: ffmpeg -i %s_ann.mp4 -vf scale=480x320,setsar=1:1 %s_annShrink.mp4' %(dstfil...
Calicut asked 21/12, 2015 at 8:25

1

Solved

Creating an application for image and video processing, where app requirement is set device Orientation according to selected video content orientation from the gallery. So I have used some line of...
Kalil asked 14/12, 2017 at 9:16

2

Solved

I need to convert videos to .mp4 format I used to ffmpeg but it converts for too long. Is there are a way to convert video to .mp4 in python without ffmpeg?
Proficient asked 4/8, 2019 at 5:38

16

Solved

I have been trying to figure out how to rotate videos with FFmpeg. I am working with iPhone videos taken in portrait mode. I know how to determine the current degrees of rotation using MediaI...
Joey asked 14/10, 2010 at 20:44

1

I intend to be able to play video via opencv while some other process runs in the background. My current working looks like this import cv2 async def function1(): cap = cv2.VideoCapture('vid...
Pavior asked 23/10, 2022 at 16:36

9

Solved

I'm looking for efficient way to reduce some video weight (as a File, for upload) and obvious answer for that is: lets reduce resolution! (fullHD or 4K not needed, simple HD is sufficient for me) I...

3

I'm using the following code to open a video stream: import cv2 video = cv2.VideoCapture() video.open("some_m3u8_link") success, image = video.read() However, even if the code works as i...
Mump asked 1/5, 2018 at 10:33

7

The idea is that, user should be able to load a video from their local machine and tell the program to take a screenshot from the video every 5sec or 30sec. Is there any library to help me with thi...
Unavoidable asked 4/9, 2019 at 15:5

© 2022 - 2025 — McMap. All rights reserved.