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
74 views

cut the video at certain time and add another video at end , repeat this whole process for full video and make every video has seperate video parts

I have two videos. If one video length is 42 minutes 35 seconds and another video length is 46 seconds, now I need to add this 46 second video after every three minutes 50 seconds so that the added ...
Jaga G's user avatar
  • 11
0 votes
0 answers
22 views

How to install discord ffmpeg to aws ec2 instance (running Windows)

I have ffmpeg installed locally onto my computer, on my computer it is configured correctly, ffmpeg is installed into the path. But I wish to install ffmpeg onto aws ec2 instance. I have WinSCP ...
Roy Eastman-Kodak's user avatar
0 votes
0 answers
59 views

how to generate video with video, images, audio and text file using ffmpeg

I want to generate video using video, audio, images and text. and there will be sequence for all the inputs. According to those sequence new generated video will play. Like if, video1 - sequence1, ...
vinod's user avatar
  • 1
0 votes
1 answer
57 views

Using ffmpeg and blend to compare two videos, how to I make no difference show up as medium gray, not green?

To check the effects of additional compression on a video file, I found this useful ffmpeg trick: ffmpeg -i orig.mkv -i compressed.mkv -filter_complex "blend=all_mode=difference" -c:v ...
kshetline's user avatar
  • 165
1 vote
0 answers
93 views

D3D11 hardware screen recording with ffmpeg using Intel H264 QSV hardware encoding

I'm trying to screen record using ffmpeg and having it all done via hardware on my Intel integrated graphics. Specs For reference, here are my specs: Windows 11 Pro Version 10.0.22631 Build 22631 ...
Cactus's user avatar
  • 11
0 votes
0 answers
61 views

Please help me ffmpeg and ffprobe update

Should I use XUI.one for ffmpeg 7.0 version? Does that ffmpeg 7.0 version support the XUI.one? I am using XUI Dashboard to use ffmpeg. I upgraded the ffmpeg version to 7.0. However, testing cannot be ...
simba dream's user avatar
0 votes
2 answers
70 views

FFmpeg is not using some images as frames

I've a series of 400 images here a selection and I want to make a video. The images are are basically the original images or some transofrmations of that (i.e. desaturated and inverted, or with a red ...
SteZano's user avatar
0 votes
1 answer
108 views

FFmpeg image swipe animation

I want to animate with ffmpeg as in the picture. The animation must be 3 seconds long. Zoom in for 0.5 seconds at the beginning of the video Swipe left for 1 second Swipe right for 1 second Zoom out ...
zetrabit's user avatar
0 votes
0 answers
64 views

Split Videos using File Size in ffmpeg

How do I split videos by file size using ffmpeg? For example, I have a 1.92GB video and I want to split it into 200MB videos. There are two ways how I want to split them: Losslessly by using the -c ...
David Pilling's user avatar
0 votes
2 answers
69 views

Will FFmpeg continue encoding, converting when sleep mode?

Will it run? I was curious so I could make a 24 hour video. It doesn't even matter what my space is, but is it possible? For example I take my live video and put FFmpeg, then I will leave it overnight....
Micery999's user avatar
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, ...
fady taher's user avatar
0 votes
0 answers
19 views

FFmpeg fps detection bug?

I have ffmpeg setup which produces rtmp stream from remote rtsp stream. The rtsp stream comes from ip camera which support multiple profiles. Each profile has 1080p 30 fps, 1080p 15 fps. The weird ...
I have 10 fingers's user avatar
0 votes
0 answers
38 views

Is there a way to select the video parts you want and automatically include the audio?

I was guessing if there is way to select only the video parts you want in ffmpeg but automatically include the audio for the selected parts without having to use aselect ex: ffmpeg -i input.mp4 -vf &...
Ricardo Bohner's user avatar
1 vote
0 answers
34 views

VMAF Quality Loss when applying bicubic interpolation to a video when upscaling with ffmpeg

First of all, I'm a bit of a beginner to this specific topic therefore any advice would be greatly appreciated! For a project that I've currently been working on, I've been essentially trying to ...
Solomon Williams's user avatar
2 votes
1 answer
118 views

Difference between crf and cq settings in ffmpeg

What is the difference between -crf and -cq parameters of ffmpeg? I am trying to compress 1080p h264 videos into 1080p h265 videos with high quality and low size. I have noticed that in some guides ...
jamana's user avatar
  • 75
1 vote
0 answers
69 views

Out-of-order frames when using FFmpeg to download DASH stream

I'm trying to use ffmpeg to download a DASH stream. It works OK but it seems like in the output file there are some frames that are out-of-order (e.g. for some frames the pts value is lower than the ...
Danj's user avatar
  • 11
0 votes
1 answer
20 views

MKV Audio track stop playing

I have a show with two sources, Blu-Ray and DVD. Blu-Ray doesn't contain the correct audio language but DVD does. I want to add the DVD audio track to the Blu-Ray. So I have decided to rip them. Using ...
Meslam's user avatar
  • 1
0 votes
0 answers
29 views

ffmpeg -c:s dvdsub continues processing after writing the outuput

When running ffmpeg -y -t 20 -i test-in.ts -c:s dvdsub test-out.mp4 ffmpeg continues to use CPU after writing the 20 seconds of output. Observed with versions 6.1.1 and 7.0. There is no such problem ...
Peter's user avatar
  • 11
0 votes
1 answer
45 views

FFMPEG cant render from transparent webm a transparent png frame

I want export every frame like original source, in webm video is alpha/transparent video track, and if I try export with my base command will export with black background. ffmpeg \ -hide_banner \ -...
aClassicKoder's user avatar
1 vote
0 answers
99 views

ffmpeg extremely slow HEVC without any major changes in the system

I have the same dedicated NAS machine for a while now with AMD Ryzen 7 3700X 8-Core it's not the strongest but more than enough for my home NAS usage. I also use the same machine to re-encode h264 and ...
kali's user avatar
  • 379
0 votes
0 answers
45 views

How to use -map to pick certain tracks based on english/5.1 etc

Good day all. Using ffmpeg I'm trying to auto select audio tracks based on language and type of stream but not sure on the syntax. Below is an extract from my batch file, this relies on me feeding the ...
Griff's user avatar
  • 1
0 votes
0 answers
61 views

Automatically synchronize two audio streams with ffmpeg

Say I have a video of a talk but the soundtrack is bad, and I happen to have an audio recording of the same talk made with a good mike. Is there a way, with ffmpeg, to replace the bad audio with the ...
Sulli's user avatar
  • 137
0 votes
0 answers
101 views

FFmpeg RTSP Recording: Video Timestamp Does not Match With Recorded MP4 File Timestamp

I'm currently testing by streaming a 30 fps example flv video using a local Happy-Time RTSP server. This is the flv file i am streaming with RTSP: I recorded the video with below ffmpeg command: ...
lastpeony4's user avatar
0 votes
0 answers
82 views

Having multiple issues when attempting to convert h.264 files to h.265 using HEVC

I am using RiaanAspeling's script for the conversion of my library that I currently have, most of it is H264 and I want to convert it to H265 to reduce the size of the files that I have hosted on my ...
tito-willis's user avatar
0 votes
1 answer
64 views

How to convert videos of any format to MP4 and only take the first minute of the video

I'm working on a project, essentially a social media app for the traveler community. In this application, users can upload videos in any format, but I need to save them in MP4 format so that any ...
thecoderscamp's user avatar
1 vote
2 answers
191 views

ffmpeg scale2ref with overlay complex filters returning audio only mp4 output

I am trying to find out why the result of using scale2ref with overlay complex filters is returning audio-only mp4 output. ffmpeg -i input.mp4 -i watermark.png -filter_complex "[1][0]scale2ref=w=...
Sushil's user avatar
  • 111
2 votes
1 answer
265 views

QSV hardware acceleration does not work with ffmpeg 7.0

I've been using Intel Quick Sync (QSV) hardware acceleration for several years with ffmpeg for decoding, encoding, and filtering. I've been using only 4.4-full_build-www.gyan.dev on Windows 7 and 10 ...
Bart Lederman's user avatar
1 vote
0 answers
36 views

ffmpeg enables subtitles even when copying a video

I'm trying to work out why the subtitles are enabled after copying a video. Given the following: ffmpeg -i "in.mkv" -c:v copy -c:a copy -c:s copy -map_metadata 0 -map 0 out.mkv Then out.mkv ...
Tom B's user avatar
  • 111
0 votes
0 answers
61 views

Can't stream two rtmp streams simultaneously on nginx server

I'm having a problem streaming two streams at the same time using nginx/1.22.1 and ffmpeg on raspberrypi 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux nginx....
Dinamo's user avatar
  • 1
1 vote
0 answers
37 views

Can anyone help e with FFMPEG on Centos 7

I have a script that requires FFMPEG but I cant seem to get it working on my Centos 7 server the script gives the following error: ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers ...
Nick Eyre's user avatar

15 30 50 per page