All Questions
220
questions
1
vote
1
answer
6k
views
FFmpeg h264_qsv: Error initializing an internal MFX session: unsupported (-3)
Im using ffmpeg build for Windows from gyan.dev: release ffmpeg-5.0-full-build with hardware-support.
I need to capture a video from a USB video device, compress it and write it to a file.
I am using ...
0
votes
1
answer
267
views
FFmpeg : Some blend filter options are missing
FFmpeg gets the following error when I use interpolate or softdifference options of blend filter :
[blend @ 000001cc06193640] [Eval @ 0000000477dfe5e0] Undefined constant or missing '(' in '...
2
votes
1
answer
1k
views
ffmpeg hangs when camera powers off, 'q' doesn't exit
I am using ffmpeg on Windows to record video from my 3D printer. When the printer loses power, ffmpeg hangs and does not respond when I press q.
ffmpeg -i "http://ultimakersystem:8080/?action=...
0
votes
1
answer
455
views
combine two ffmpeg -vf filters into one in Windows batch file
I have two video filters that work as long as I use them in separate batch files and I can't find a way to combine them. The first filter resizes JPG images and then creates a slideshow of them incl. ...
1
vote
1
answer
1k
views
create slideshow video using ffmpeg and batch file (Windows) and have all images resized to 1080 height and crossfaded
I'm trying to create a 1920x1080 slideshow from images in a folder using a batch file and ffmpeg. The batch file references a txt file containing the list of files to be concatenated. The images have ...
0
votes
1
answer
78
views
can ffmpeg video bit rate option use a multiplier from a txt file as an argument?
I have a plain txt file containing a single number (either 1 or 2) and I wanna create a batch file that takes that number as a multiplier in -b:v 3000k so that the batch file will create a video with ...
4
votes
1
answer
5k
views
Cut off from beginning to key frame using FFMPEG
How to cut away a piece at the start of video from beginning to the next key frame?
I know the -ss option
ffmpeg -y -noaccurate_seek -ss 00:00:30 -i "%%~ni.mp4" -avoid_negative_ts make_zero -...
2
votes
1
answer
159
views
ffmpeg : Not keeping original codec for Audio Track
I have 3 versions of the ffmpeg command and none of them are perfect... I am stuck.
Below are the examples I have and the issues I face with each version:
ffmpeg -i "%%a" -map 0:v:0 -map 0:a:...
0
votes
1
answer
203
views
FFmpeg&FFPlay: Option `start`&`end` of filter `trim` have trouble parsing time duration string but `-ss`&`-to` works perfectly
I'm tring to preview cut video before process it on Windows, this Cut.bat is what I tried:
@echo off
@cd/d %~dp0
REM Entered by user
set startTime1=5
REM Entered by user
set startTime2=00:05
REM ...
1
vote
1
answer
1k
views
Is there a way to pass an ffmpeg command from a text file in Windows?
I was wondering if there was a way to pass one (or multiple) arguments from a text file for ffmpeg.
I tried a bit here with this in powershell (expecting it to work like linux but to no avail
ffmpeg -...
0
votes
0
answers
110
views
audio and video not correctly sync after concatenation
totally new to video editing in general and in need of some help =)
command that I'm using (windows batch):
(echo file cucca.jpg.mp4 & echo file cucca.fade.mp4 & echo file cucca.jpg.mp4)>...
0
votes
2
answers
2k
views
how to batch-mux many audio and video files with ffmpeg if batch file is triggered via context menu (Windows)?
I'm using the following command in a batch file that I double-click in the folder containing the resp. webm video and m4a audio files:
for %%a in ("*.webm") do "C:\AVConvert\ffmpeg.exe&...
2
votes
0
answers
2k
views
FFmpeg -shortest not working when using -filter_complex with audio and video filters
Pretty much the exact same issue was described here several years ago, but the 'solution' given, while it works, is more inconvenient and doesn't explain why the actual command in question does not ...
0
votes
1
answer
224
views
Add single pixel to .gif file using ffmpeg
I have several thousand .gif files (with alpha channels) and I want to add a single red pixel (no transparency) in the bottom left hand corner of each .gif file. Each one has different dimensions.
How ...
0
votes
1
answer
51
views
How to keep the first minute of a batch of videos without reencoding with FFMPEG?
I have ~90 videos that I'd like to keep only the first minute of. I've seen answers that do this for individual videos, but not batches.