522 questions
-2
votes
1
answer
42
views
avformat_write_header return error code when trying to write video with G711U audio avi file
I'm trying to make an avi file from a video/audio stream. When audio is AAC it works fine. But I cannot pack G711U audio.
av_register_all();
avcodec_register_all();
av_log_set_callback(nullptr);
...
0
votes
0
answers
144
views
How to extract video duration from AVI files using Apache Tika?
I've been working on a Java application where I need to extract metadata from various media files, including video files like .avi. Initially, I was using FFmpeg to handle this, but due to security ...
1
vote
0
answers
124
views
Adding custom tags to an AVI format file
I have a video (that was recorded in a specific software) and I saw it has tags that are not the regular AVI tags.
I'm looking for a way to change another video to have similar attributes (I changed ...
-1
votes
1
answer
282
views
How to play .avi videos stored on S3 in a web application (Node.js + React)?
I have a web application built with Node.js and React. Users upload videos in the .avi format to an AWS S3 bucket. I need to play these .avi videos on the web application, but .avi format is not ...
-1
votes
1
answer
351
views
When usg ffmpeg to convert from .mp4 to .avi, how do I get the .avi files to contain the correct (trimmed) frames from the .mp4?
I am using ffmpeg to convert a batch of .mp4 videos to the .avi format from the command line. The .mp4 videos are all trimmed videos that are sub-videos of a longer video. I have basically segmented ...
0
votes
1
answer
242
views
Discrepancy Between Frame Count Using OpenCV's cv2.VideoCapture and Manual Counting in Python
I am working on a video processing project using OpenCV in Python, and I've encountered a strange issue related to counting the number of frames in a video. I am using cv2.VideoCapture to read the ...
0
votes
1
answer
844
views
Formates (AVI, MPG, FLV, WMV) support issue in ExoPlayer-Android
Hay, I'm developing a video player in Android Kotlin using ExoPlayer. All works fine except some video formats ( AVI, MPG, FLV, WMV). Is there some workaround of making a decoder or codecs ,that can ...
-1
votes
1
answer
1k
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 ...
0
votes
0
answers
208
views
C# decode, edit and encode frames in an AVI file
I am developing a C# App to edit my AVI file. I want to decode, modify and encode it.
This is the process I would like:
load each frame from my AVI file into a temporary bitmap in memory.
modify the ...
0
votes
1
answer
515
views
Next JS impossible to play MKV or AVI on Safari?
I am currently developing a video player in Next JS on web browser, I can play whatever I want on Chrome, I am currently using react-player lib.
But on Safari, MKV or AVI videos cannot be played.
Do ...
0
votes
1
answer
397
views
How to play blob video (avi, mov) in Angular14?
I have had this issue for a while
but did not know how o fix it.
I have found this similar question: how to play blob video in angular.
But the problem is that even demo in the answear does noot ...
2
votes
2
answers
1k
views
How to record screen in Java, using newest MonteMedia ScreenRecorder?
I am trying to record screen in Java, using newest MonteMedia ScreenRecorder:
<dependency>
<groupId>ch.randelshofer</groupId>
<artifactId>org.monte.media</artifactId>
...
0
votes
0
answers
102
views
OpenCV VideoWriter writes a problematic video
My simplified codes:
fource = cv2.VideoWriter_fourcc(*'XVID')
resulte = cv2.VideoWriter('vidname.avi', fourcc, 200, (720, 540))
while record:
image = retrieve frame from camera with pypylon
...
-1
votes
1
answer
74
views
Welding arc's light saturate the image
Today i come to you to ask you for your help because this is not my domain. I am a computer vision engineer and i want to monitor a WAAM (wire arc additive manufacturing) process using an OPTRIS PI 1M ...
0
votes
1
answer
131
views
Exporting .avi video to Unity
I'm making an application with two windows, one a windows form that serves as a controller and the other an instance of unity that renders what the form says. Well the problem I have is when using ...