Skip to main content

Questions tagged [ffmpeg]

Media tool with support for multiple codecs, filters, and containers. Include your actual command and the complete console output when asking questions involving FFmpeg tools. An easy way to do this is by adding `-report` to your command and pasting the contents of the logfile generated. For help with CLI use only of ff* binaries - ffmpeg, ffprobe, ffplay. For help with API usage, post on Stack Overflow.

0 votes
1 answer
18 views

Concatenating audio with image for video in ffmpeg causes infinite video

I'm attempting to concatenate 2 audio files, with a 5 second silence between them. This will also have a still image for the video. I'm following the example of the same thing here How can I add ...
0 votes
0 answers
27 views

To make 'trim' and 'atrim' work synchronously

The following command trims a video using the trim video filter: ffmpeg -y -i input.mp4 -vf "trim='00\:00\:05':'00\:00\:10',setpts=PTS-STARTPTS" output.mp4 But if the video also contains ...
2 votes
0 answers
59 views

ffmpeg not rendering all characters

am trying to burn captions on a video using below ass file [Script Info] ; // 此字幕由爱幕生成 Synch Point:1 ScriptType:v4.00+ Collisions:Normal [V4+ Styles] Format: Name, Fontname, Fontsize, PrimaryColour, ...
0 votes
0 answers
14 views

Adding custom tags to AVI video file

I use software that accepts another AVI file, but not mine. I converted my file to have similar properties, and currently, there is not much difference between the files, I think the only thing I have ...
0 votes
0 answers
41 views

Green screen on RTSP stream from USB camera using mediamtx (ffmpeg)

I need to cast a stream from a USB camera via RTSP as stable as possible (at any moment i need to be able to get a static picture on a remote host, reflecting the real state of affairs in front of the ...
-1 votes
0 answers
18 views

Can you give some advice to young noob [closed]

For a student who has just learned c++ and ffmpeg for a year and a half, looking for audio and video development work that can be written on the resume, do you have any good project recommendations?
24 votes
3 answers
51k views

How many instances of FFmpeg commands can I run in parallel?

I tired running 8 commands in parallel to fully utilize the CPU and speed up Video conversions, something like this: ffmpeg -i input.mp4 -t 60 -f mp4 /mnt/a.mp4 > /dev/null 2>&1 & ...
0 votes
1 answer
71 views

How much and what data is lost in ffmpeg transcoding? [closed]

I'm a ffmpeg noob, I don't know much about it except for a basic idea about encoding/decoding and a few videos I watched over youtube about it's usage. I also don't have a big background in digital ...
1 vote
1 answer
4k views

Add custom time to video frames using ffmpeg

I am using ffmpeg to encode raw pixels data (bgr32) into a video file. Pixels data is being sent from java application to ffmpeg stdin pipe. I am looking for a way to add a timestamp overlay to each ...
1 vote
1 answer
75 views

FFmpeg: To trim a video using 'trim' and specify time using HH:MM:SS format

FFmpeg 7.0.1. I want to understand whether it is possible to trim a video using trim and to specify start and end time using the HH:MM:SS format instead of just seconds. That is, the following command ...
0 votes
0 answers
19 views

How to change output to timestamps for ffmpeg freezedtect?

ffmpeg -i demo.mp4 -vf "freezedetect=n=-60dB:d=5" -map 0:v:0 -f null - Will output: lavfi.freezedetect.freeze_start: 324.266667 lavfi.freezedetect.freeze_duration: 5.066667 lavfi....
1 vote
2 answers
4k views

Ffmpeg drawtext on top of scaled video regardless of image size

I am making a video from single image using ffmpeg and draw text on top of the video. How can I drawtext that will overlay on top of the scaled video size instead of the image scale? Right now when ...
1 vote
1 answer
53 views

FFmpeg -ss option and keyframes

I would like to clarify that I understand how to use -ss, -t, -to, stream copy, and the difference between stream copying and reencoding/transcoding. What I don't understand, is how the seeking/...
1 vote
0 answers
32 views

Best settings to compress a 4K 60fps ProRes 422HQ video to ~50GB HEVC using FFmpeg? [closed]

I recently upscaled a 1080p 60fps 90-minute video to 4K using Topaz. The output was set to ProRes 422HQ, resulting in a file size of 1.2TB. Naturally, I don’t want to keep the file this large and aim ...
1 vote
1 answer
80 views

Ffmpeg image parameter for YouTube

Is there any image png command equivalent to parameter below? ffmpeg -loop 1 -framerate 2 -i input.png -i audio.m4a -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt ...

15 30 50 per page