Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
7 views

Cannot detect iPhone using FFmpeg avfoundation

I want to programmatically record the screen of an iPhone through the CLI. I have my iPhone 13 running iOS 17.5.1 connected to a Mac running macOS 14.5. I can see it connects in Xcode and I can record ...
migu's user avatar
  • 111
-1 votes
0 answers
12 views

I want to convert the video into circle shape with also background video like streaming in ffmpeg [closed]

I want that in start my first video of me speaking front of camera is play about 10 seconds with full screen then this video convert to circle shape and placed at bottom right with smooth transition ...
Abdul Wahab Abbasi's user avatar
1 vote
0 answers
40 views

FFmpeg Screen Recording Clock Out of Sync with Real Time

I'm using FFmpeg to record a virtual X11 screen in automated tests. I've added a timestamp to the video to align it with log file times, but the clock in the video becomes out of sync with real time ...
Gellweiler's user avatar
0 votes
0 answers
32 views

How to directly save video from camera (of linux machine A) to another machine B over ssh

I am using a camera on my Linux-based computer. I want to store the camera feed directly into my Synology Network attached storage (NAS) which I am accessing through SSH over an ethernet cable. I am ...
Sparsh Sharma's user avatar
0 votes
0 answers
29 views

How to use ffmpeg to convert a flac file to alac and preserving all metadatas?

I use this loop to convert flac to alac : for i in *.flac; do ffmpeg -i "$i" -y -vn -c:a alac "${i%.flac}".m4a; done But some tags are not exported. I tried to use the -...
AxZxP's user avatar
  • 1
0 votes
0 answers
21 views

Ffmpeg LUFS Loudnorm normalization results

I use the Loundnorm filter in Ffmpeg to normalize LUFS in a folder containing three audios, Music1.mp3, Music2.mp3 and Music3.mp3 using the double-pass method. The LUFS and True Peak values are the ...
Clamarc's user avatar
  • 657
0 votes
0 answers
27 views

extracting DTS-HD MA tracks from mkv files

I’d like to extract the DTS-HD MA tracks from several mkv files ripped from Blu-rays, and I’m looking to preserve to original audio quality. I’ve extracted the tracks with FFMPEG and MKVToolNix. For ...
Rip's user avatar
  • 1
1 vote
1 answer
64 views

Install newest FFmpeg version on Ubuntu?

I cannot, for the life of me, figure out how to get a non-depreciated version of FFmpeg on an Ubuntu installed. (Side note: I'm using crostini) I tried following FFmpeg's docs on getting all the ...
The_ Game12's user avatar
1 vote
1 answer
39 views

FFMPEG - Set custom PTS on mp4 file

I have an ffmpeg command setting custom pts on an input video. It works fine for .mkv file but not on .mp4 file. When running the following command on an mp4 file, most of frames are dropped. ...
legeba's user avatar
  • 11
1 vote
0 answers
33 views

ffmpeg concat rotates MP4 videos

I have some MP4 video files that were created with a cell phone. Some of them were taken in landscape, others not. It happens that by concatenating them using ffmpeg the ones that are not landscape ...
Israel's user avatar
  • 11
1 vote
0 answers
23 views

ffmpeg not recording frames [migrated]

I am using Python to record 5 second videos from 3 webcams at once using ffmpeg. The recordings repeat at intervals of ~25 seconds. The code seems to work except intermittently a recording from one of ...
RCam's user avatar
  • 11
0 votes
0 answers
16 views

360 video issue ffmpeg video cuts in half

as you see below its in half and rotated I tried ffmpeg command "-vf "v360=eac:equirect"" and it made it cut to 4 different pics with diff rotation please help and thank you I ...
adam abutaya's user avatar
0 votes
0 answers
28 views

Artifacts on Video of 143 images combined into a video by ffmpeg

Left side is from video, and right is original still The video was created from 143 images from the same camera taken over some months. Processed using :- ffmpeg -framerate 1 -pattern_type glob -i '*....
NT4Boy's user avatar
  • 1
-1 votes
1 answer
53 views

How to run an .exe file in command line without adding PATH variable in Windows?

I've recently downloaded ffmpeg and I need to run it through command line. I'm not able to do that because I don't have admin rights. How do I work around that?
Jahnavi Vempati's user avatar
-4 votes
0 answers
45 views

What is the fastest video codec for testing with ffmpeg [closed]

I would like to know what the fastest codec is, that I could use for testing to see how the video would look like without long waiting time before using the codec that I really want to use... Maybe ...
Ricardo Bohner's user avatar
0 votes
0 answers
27 views

How to show long text into video using ffmpeg?

I am trying to show text on a video using ffmpeg using below command. ffmpeg -i output_video.mp4 -vf "drawtext=fontfile=/fa-solid-900.ttf:textfile='long_text.txt':fontcolor=white:fontsize=24:box=...
user3526766's user avatar
0 votes
0 answers
13 views

After using concat and scale2ref filter only part of video is encoded

I'm trying to select some parts of an video, concat them, and apply an overlay that should have 1/6 of the video width: ffmpeg -reinit_filter 0 -i "input.mp4" -t 12 -loop 1 -i flag.webp -an -...
Ricardo Bohner's user avatar
0 votes
0 answers
10 views

An unknown encoding error occurred while using ffmpeg

ffmpeg -i D:\test.mp4 -threads 5 -c:a amr_wb -ar 16000 -ac 1 -y D:\test_wb.amr error:Unknown encoder 'amr_wb' When I see configuration:--enable-libopencore-amrwb, why do I still get an error
shijian Dong's user avatar
1 vote
0 answers
34 views

Encode and Decode Decklink SDI with FFMPEG

Has anyone ever setup a encode/decode pair using FFMPEG and Decklink SDI Cards? (or any other capture cards). The end goal is to bring in a remote camera feed into the studio switcher so quality and ...
John Munoz's user avatar
0 votes
1 answer
43 views

FFmpeg fell into a cycle at concatenation on Ubuntu Desktop i386 16.04.4

I use FFmpeg at 2016 but I need concat much short video from 4 to 180 sec. This is on a notebook with Windows 7 and Ubuntu Desktop i386 16.04.4. If tool can read filter script from file it cannot ...
Nick's user avatar
  • 13
1 vote
0 answers
29 views

How can I get exact frame count when export video to image?

When using labling tools, the count frame count by duration*fps, but for ffmpeg export, I get different frame count. e.g. Metadata: major_brand : isom minor_version : 512 ...
wener's user avatar
  • 113
0 votes
0 answers
38 views

How to create1080p and 4k black png background text in center using ffmpeg?

I’m trying to create a png black background with text in center using ffmpeg I left an image example from Canva. Please someone help by giving command line/parameters example for 1080p and 4K?
Eddie Valentin's user avatar
0 votes
0 answers
44 views

Rotating WMV videos without reencoding

I'm open to any tool, but I know that ffmpeg can do this for .mp4 files. Also tools like exiftool. I have tried something like this: ffmpeg -i LEFT_OUTBOARD.wmv -c copy -metadata:s:v:0 rotate=180 tmp....
Blindy's user avatar
  • 121
0 votes
1 answer
26 views

"Bitrate" function in udp out don't working if more than 1.35 Mbps

"Bitrate" function in udp out don't working if more than 1.35 Mbps on Windows with differents versions of ffmpeg. I see similar question on Internet without solution ex: with option -Muxate ...
Dominique's user avatar
0 votes
0 answers
37 views

ffmpeg: Apply an expression to dynamically control intensity of lowpass, highpass, aphaser, or aecho

I'm fading in and out two sources, intertwined in the output. Now I want to apply lowpass, highpass, aphaser, and/or aecho to the transitions using a time-based expr. I've already succeeded using the ...
Wes Modes's user avatar
  • 171
0 votes
1 answer
65 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
-1 votes
0 answers
47 views

How to install ffmpeg, ffmpeg-discord to AWS EC2-USER instance (nextcord.py)

Trying to install ffmpeg, ffmpeg-discord to aws ec2-user instance but it's failing, not working. I connect to ec2 console through powershell and run the following "pip install ffmpeg", "...
Roy Eastman-Kodak's user avatar
0 votes
0 answers
15 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
34 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
39 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
37 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
-1 votes
0 answers
83 views

m3u8 playlist files that are PNG but have MP4 data and converting it

So I have this m3u8 file. I will call it 1080.m3u8 and in this file it doesn't have standard ts files you would normally see it has a bunch of PNG files. I downloaded a few of those PNG files and ...
kryptic knight's user avatar
0 votes
0 answers
35 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
53 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
62 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
42 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
43 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
46 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
-1 votes
0 answers
29 views

How can I burn/add emoji on a video?

it doesn't seem there is away to burn an emoji on a video using ffmpeg and ass files, How does klap.app or captions.ai do it ?
fady taher's user avatar
0 votes
0 answers
15 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
29 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
27 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
1 vote
1 answer
66 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
  • 65
1 vote
0 answers
39 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
16 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
25 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
29 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
58 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
39 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
44 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

1
2 3 4 5
142