Questions tagged [video-processing]

Video processing deals mostly with filtering video frames. Most common filters are noise removal, contrast and color modifications. For questions related to trimming and modifying videos use [video-editing], and [video-encoding] for questions related to editing videos into any format.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
35 views

Feature extraction of video dataset

I am using this code that I got from github to extract features from the video to use it for training. But the thing is, for a 256kb video, I get 40MB of a file. So for a 1.8Gb dataset I get around ...
Time's user avatar
  • 95
0 votes
0 answers
26 views

I was trying to make a script that reads numbers in a video and then converts them into x,y,z co ordinates

but every time I run it it says "Neither CUDA nor MPS are available - defaulting to CPU. Note: This module is much faster with a GPU." and then doesn't print anything ( I already have CUDA ...
sigma skibidi's user avatar
2 votes
0 answers
38 views

Failed to load image Python extension : torchvision

I have a python project base on computer vision, I want to create .exe file. **I have successfully created .exe file but at the time of running .exe file it's not load image of live camera. ** 2023-12-...
Prash's user avatar
  • 49
0 votes
0 answers
18 views

Can not make a video using cv2.VideoWriter.write()

import cv2 def stich_video(frames): output_video_path = 'output_video.avi' out_size= (800, 480) out = cv2.VideoWriter(output_video_path, cv2.VideoWriter_fourcc('XVID'), 24, out_size) ...
Daim Abbas Kazmi's user avatar
1 vote
1 answer
43 views

Reading multiple videos in parallel with PySpark

I need to write a PySpark script in order to read in multiple video from mp4 files parallelly and then process it in PySpark. (These 4 video stream represent multiple RTSP video stream which I will ...
Lăng Khoa's user avatar
0 votes
0 answers
101 views

In ios, Frames extracted from FHD (1920 x 1080) video file is HD (1280 x 720) image

I am writing iphone app, which analyzes video. The target video is recorded with back camera of iphone at 240 fps in FHD. (1920 x 1080) First I extracted a frame from the video. The frame image is ...
Jeehoon Park's user avatar
0 votes
0 answers
24 views

Error in tf.data.Dataset after splitting frame and label data

I am working on video data load generator. Working with UCF-11 dataset at first I created a Frame_Generator where the code is: def format_frames(frame, output_size): frame = tf.image....
ABIR HASSAN 's user avatar
0 votes
0 answers
28 views

WebSocket Fails to Send Completion Message After Redis Event in python app (Cloud Run & VM)

I hope you are well, I'm new here, looking for help with a problem I can't seem to solve. I'm working on a Python web app that processes video files. It's deployed to cloud run and uses a vm for the ...
Peaceful Climber's user avatar
0 votes
0 answers
30 views

Muxing steps for Fragmented MP4 into Progressive MP4

I am creating an MP4 muxer app using isobmff Library. I have a fragmented MP4. Example structure: moof/mdat --> moof/mdat etc... Now I want to transmux the fragmented MP4 into being a progressive ...
Kundera's user avatar
  • 115
0 votes
0 answers
30 views

What languages and technologies are used to make professional video editors like Adobe Premiere Pro and Davinci Resolve?

Most professional video editors have features like color grading, motion capture, object tracking, video manipulation. What technologies are behind these functions? As far as I've researched, most ...
Sai Dongargaonkar's user avatar
0 votes
0 answers
14 views

Ziggeo JavaScript API aspect ratio does not adapt to a recently uploaded video

given aspect ratio settings has its default value or any specific value video upload is enabled video recording is enabled user uploads a file with aspect ratio that differs from initial value (640/...
Mx.Wolf's user avatar
  • 608
0 votes
0 answers
20 views

How to check vimeo video duration and pause video after some duration in flutter?

I have used vimeoplayer for playing videos in my flutter app. Now the issue is vimeoplayer package does not provide any other parameter except videoId. I want to check if a video is played 10 seconds ...
Ahsan Farooq's user avatar
0 votes
1 answer
31 views

Video with virtual background goes black when image src value comes from an different origin

I'm trying to load an image from different origin to use it as virtual background. First I fetch the image and I'm able to show it in another element in my page (looks like CORS is not the problem ??)...
Toki1117's user avatar
0 votes
0 answers
34 views

Problem: Why does cv2.VideoWriter() does not compile the frames read completely?

I encountered this problem when using detect.py from Ultralytics (YOLOv5). My input video that is 2 minutes and 37 seconds long became produces a video with bounding boxes that is only 1 minute and 19 ...
Jco's user avatar
  • 33
0 votes
1 answer
21 views

Detect image change from vp9 encoder (libvpx library)

I am using libvpx library for my screen sharing project where I used vp9 encoder along with svc technique to encode video and later decode it. I first capture the screen data (RGB) using third party ...
Nafiul Alam Fuji's user avatar
0 votes
0 answers
26 views

From Python, piping images to FFMPEG process with audio input, "-shortest" flag causes output file to contain only 1 frame of video and entire audio

From Python, I run FFMPEG and write images to its stdin via pipe, the FFMPEG process has an audio file as input too. Everything works fine like this: cmd = ['ffmpeg', '-hide_banner', '-y', '-loglevel',...
b_yang's user avatar
  • 109
0 votes
0 answers
40 views

Customizing Keyframe Naming using Katna Package in Python to Reflect Video Frame Times

I am using the Katna Python package to extract keyframes from a video. The package works well for my needs, but I am trying to customize the naming convention for the extracted keyframes. Specifically,...
ali noori's user avatar
0 votes
0 answers
14 views

How to prepare the data to train Convolutional Gated Recurrent Unit (CGRU)?

For context, a CGRU is a variation of a recurrent neural network that uses a convolutional kernel instead matrix multiplication within its respective defining recurrent relations (update and reset ...
EdwardGHPhy's user avatar
0 votes
1 answer
91 views

I got MoviePy Error: creation of None failed because of the following error,How can resolve this issues

Here is my code: import cv2 import numpy as np from PIL import ImageFont, ImageDraw, Image from moviepy.editor import VideoFileClip, TextClip, CompositeVideoClip os.environ["IMAGEMAGICK_BINARY&...
MrDumb's user avatar
  • 11
0 votes
0 answers
23 views

How to post a video file from React native camera component to Django

How can I post a video file (which format) from React native to a Django application so that after processing it the transformed video file is returned to the React native Component? In my Camera ...
Shahidavali Syed's user avatar
0 votes
0 answers
32 views

Python | Why does moviepy and cv2 give me different frames per second when compared to Windows Properties and VLC?

I have a video that was recorded at 120 fps. When I look at the video properties in Windows, it is confirmed to be 120 fps. And also in VLC: However, when I use either moviepy or cv2 in Python, I ...
Nev Pires's user avatar
  • 175
0 votes
1 answer
37 views

How do I implement parallel VideoTimeline in my android as in the kinemaster app?

Parallel VideoTimeline in Kinemaster app How to implement the above using recyclerview or any other technique to do the same ? I have implemented a single timeline using recyclerview for multiple ...
nervian tone's user avatar
0 votes
1 answer
91 views

How to write low quality video without anti-aliasing?

I have numpy array of grayscale pictures with shape (30,30). The problem is that, when i write it with cv2.VideoWriter(name + '.avi', cv2.VideoWriter_fourcc(*'FFV1'), fps=24, (30, 30), False) or ...
chicly's user avatar
  • 1
-1 votes
1 answer
38 views

ffmpeg: zoom a horizontal photo in a vertical video, fill the empty space at the top and bottom with a blurry photo

I'm using ffmpeg to create a vertical video of zoomming a horizontal (landscape) photo. I want the photo to fit the width of the video, so the top and bottom of the photo need to fill the empty space ...
Eugene Khyst's user avatar
  • 9,495
-1 votes
1 answer
36 views

Lua scrip: mpv-cut. change location for cut videos

While playing YouTube videos, the script saves the cut clips on the RAM rather than a C: directory, I believe. What line should I add to the config.lua file? I use mpv-cut, or there is another scrip ...
Your4Favorite0Agent's user avatar
1 vote
0 answers
16 views

Trouble with ffmpeg_movie_from_frames in MoviePy - TypeError

I'm encountering an issue when using the ffmpeg_movie_from_frames function in MoviePy. Here's my code: from moviepy.video.io.ffmpeg_tools import ffmpeg_movie_from_frames input_folder = r"C:\...
user22731523's user avatar
1 vote
0 answers
86 views

How can I process, stream a video and render the results in Django?

I'm currently involved in a real-time machine learning project that seamlessly integrates with Django. In this endeavor, I'm deeply immersed in processing and live-streaming video content. This ...
Shah Zeb's user avatar
1 vote
1 answer
81 views

Flutter realtime video overlay

I want to create a video player in Flutter that will highlight cars in the video something like this For every frame of the video I have info where the cars are located inside the frame but I'm not ...
Fran's user avatar
  • 79
0 votes
0 answers
20 views

temporal median in video

I have a video file for which I want to calculate the median of the whole sequence using Python. This is, take the median value for each pixel along all frames. I guess one option is loading the ...
terauser's user avatar
-1 votes
1 answer
26 views

Saying "Stop() called but track is not started or stopped" during merging a photo with a existing video by mediaMuxer

What is wrong in my code please help..... here is the total code at the end the execution its saying "Stop() called but track is not started or stopped" and the output path i am getting that ...
ANANDA SANTRA's user avatar
-1 votes
1 answer
144 views

ImageJ & ffmpeg: How to create a video from a set of images using ffmpeg that can be opened by ImageJ?

I have a set of PNG images and want to create a video file from them that can be opened by ImageJ or Fiji. To do so I use the following command: ffmpeg -i *.png -c:v ayuv -r 25 outvideo.avi It works ...
Ivan Z's user avatar
  • 1,553
0 votes
0 answers
35 views

Long time uploading video on FireBase using Flutter

I am creating an app like TikTok, and I have created the upload option, but it's taking a lot of time to upload the video, approximately 3-4 minutes. How can reduce this time, like it's done on ...
Nitu Pandel's user avatar
0 votes
0 answers
24 views

Calculating Fps-shift in two videos

I have two videos. One of them is a reaction video to a TV-series, the other is the episode they watched. The episode is 23.97 fps, the reaction video itself is 30 fps, but the episode they watch in ...
alternative4's user avatar
2 votes
1 answer
123 views

Read and display RAW10/V4L2_PIX_FMT_SRGGB10 ('RG10') media format in Python

The V4L2_PIX_FMT_SRGGB10 ('RG10') media format properties are as follows: Each color component is stored in a 16-bit word, with 6 unused high bits filled with zeros. so the depth is depth: 10 ( 10 ...
Sundar Giridharan's user avatar
1 vote
0 answers
33 views

Discrepancy in video duration when adjusting speeds using FFmpeg filters

I am working on a project that involves aligning dubbed audio with corresponding subtitles by manipulating video speeds. While I have been using FFmpeg (both directly and indirectly via MoviePy) for ...
awerks's user avatar
  • 11
0 votes
1 answer
158 views

ffmpeg-static error on gcp cloud functions

const ffmpegPath = require('ffmpeg-static'); const spawn = require('child_process').spawn; function extractFrames(inputFile, outputFile, fps = 0.1) { return new Promise((resolve, reject) => { ...
Minhaaz's user avatar
  • 11
2 votes
1 answer
165 views

Video Encoded using FFmpeg is not being played in Azure Kinect Viewer

I captured a video using a Kinect Azure SDK device and extracted the RGB (Color) track using MKVToolNIX. I could playback this RGB track using Azure Kinect Viewer (v.1.4.1). However, when I encode a ...
Ashutosh Singla's user avatar
0 votes
0 answers
28 views

Render video from Raw image in Unity

I have a Unity project for Android, which has a raw image, in which many elements are displayed that respond to a track that is played in a central audio source. And I want to export the video of the ...
Moshe Dayan's user avatar
0 votes
0 answers
38 views

How do I generate video with a particular resolution in RAD-NeRF?

I am currently working on the RAD-NeRF project. I want to generate images at a different resolution than the trained one. While using the Marco Rubio's pre-trained example, it generates videos at ...
sourabh gupta's user avatar
0 votes
0 answers
124 views

How can I optimize video reels in flutter

I have a problem with my Flutter app. I want to display the videos in the same way as the Reels section of TikTok. Here is a screenshot of my app. Problem: It contains video reels, but each video ...
Hafiz Muhammad Sufyan's user avatar
1 vote
1 answer
85 views

Extracting NALUs in MP4 files with audio

I am developing a WinForms application in VB.NET where I need to parse an MP4 file (specifically, MP4 Version 1 based on ISO_IEC_14496-12; and the H.264/AVC codec), extract frames as images, and store ...
Daniel's user avatar
  • 448
0 votes
0 answers
59 views

A content creation tool using Image processing in Android Studio

I recently came across an app with fascinating features that I would like to incorporate into my project in Android Studio. The app I found allows users to create short videos by inputting images with ...
najm's user avatar
  • 1
0 votes
0 answers
18 views

Why does Camgear youtube video download run normally but doesn't save any result in the path?

I am using the below code from github to download youtube videos with Camgear as frames and it runs normally but whenever I open the path it's still empty, any idea why this could be ? ### Capturing ...
Rana Diab's user avatar
0 votes
0 answers
60 views

How to get 3D points with both CMSampleBuffer and AVDepthData in iOS17 with video session?

I want to get 3D points by using VNDetectHumanBodyPose3DRequest and VNImageRequestHandler in video session. And I have succeed by using VNImageRequestHandler.init(cmSampleBuffer:options:) without ...
iOSFresher's user avatar
0 votes
1 answer
67 views

AWS Elemental MediaConvert fails to transcode some iOS videos that were transferred to MacBook

We have recently migrated from Telestream Flip to AWS Elemental MediaConvert as our video transcoding solution. Most of the functionality works as expected, but we are encountering an issue when ...
davidt's user avatar
  • 308
0 votes
0 answers
18 views

mmagic video super resulotion error about step_counter

I tried all of the following models ''' 'edvr' 'tdan' 'basicvsr' 'iconvsr' 'basicvsr_pp' 'real_basicvsr' ''' enter image description here enter image description here Is RTX3090 really not enough ...
DireWorker's user avatar
0 votes
0 answers
20 views

Parallelize (with tensorflow for GPU) the preprocessing of images

I am training a model to classify pictures as having or not having a specific object (I'm currently using a red pen as an example, but it could be any other thing). I am generating my own training ...
Raul Sofia's user avatar
0 votes
0 answers
47 views

Extracting Frame time-stamps from python based NVIDIA's VideoProcessingFramework

I am trying to replace our current video processing library (i.e decord - https://github.com/dmlc/decord ) with NVIDIA's VideoProcessingFramework (VPF) (i.e https://github.com/NVIDIA/...
xcrv669's user avatar
0 votes
0 answers
72 views

Add metadata to every video frame with GStreamer and save whole video

I have a pipeline as below in C++; GstElement* pipeline = gst_pipeline_new("video_pipeline"); GstElement* videoSrc = gst_element_factory_make("filesrc", "video_source&...
bobby's user avatar
  • 1
0 votes
0 answers
36 views

How to merge Two or more videos as overlay on main video using AVMutableComposition in iOS Swift

I am working on merging two or more videos as an overlay on the main background video with AVMutableComposition in Swift. This is my code for video overlay. func overlayOnBackVideo(mainVideoURL:...
iOSUser123's user avatar

1
2 3 4 5
61