Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
53 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
0 votes
1 answer
82 views

ffmpeg creates out-of-sync and glitchy audio when using concatenate filter to cut segments of video

I have created an artificial test case where I want to have red + middle C, green + middle D, and blue + middle E each for 2.5 seconds, cut down to each for 1.5 seconds. This is a simplification of ...
grendell's user avatar
0 votes
0 answers
65 views

Flutter error in Ffmpeg, "Unhandled Exception: ProcessException: No such file or directory" in macOS desktop version

I'm trying video trim video using ffmpeg, for macOS desktop application. I have downloaded ffmpeg from here for macOS. Here is my code String mainPath = 'Users/apple/Workspace/User/2024/Project/...
pratik vekariya's user avatar
2 votes
0 answers
196 views

How to quick record system audio in background on macOS?

On macOS Monterey I want to achieve what can be done on Windows with ShareX: record system audio with a global hotkey and have the audio file automatically copied to the clipboard – all in the ...
user0145's user avatar
0 votes
0 answers
69 views

HDR Metadata Tag for MacOS TV App / Apple TV

When importing Media in the MacOS TV App there have to be certain Tags in the Metadata of the Mp4/M4v file so that TV registers it as 4K. I want to have imported Movies with HDR10, HDR10+ or Dolby ...
Omega3komma3's user avatar
1 vote
1 answer
75 views

How to apply Grain in FFMPEG like CAPCUT Grain adjustment

I'm trying to find information about how to apply grain in video using ffmpeg, but unfortunally i couldn't find a viable solution. I need to apply a grain like Capcut. Here screenshot I was reading ...
domicoder's user avatar
3 votes
1 answer
304 views

How to escape file path for burned-in text-based subtitles with FFmpeg?

I'm trying to burn text-based subtitles into a video using ffmpeg, via the command line option -vf followed by subtitles=(filename):si=(subtitle index). I need this to work for both Windows and macOS. ...
kshetline's user avatar
  • 165
0 votes
0 answers
24 views

Skipped lines reading series of ffmpeg commands [duplicate]

I have a text file that contains these lines: ffmpeg -ss 00:00 -i TGP.mp4 -ss 00:00:00 -to 00:44:01 -c copy '01_Myles_Burnyeat_on_Plato.mp4' ffmpeg -ss 00:00 -i TGP.mp4 -ss 00:43:57 -to 01:27:26 -c ...
Scott's user avatar
  • 1
1 vote
0 answers
295 views

FFMPEG with AVFoundation on MacOS 12.3.1 - USB capture device not recorded at full framerate

I have been trying to get my USB capture device working with FFMPEG 6.0 so that I can have a little more flexibility than OBS offers. I have been running in to some issues with the framerate at any ...
psvg200's user avatar
  • 11
1 vote
0 answers
256 views

Stream an MP4 file via HTTP in a QuickTime-compatible format using FFmpeg

QuickTime supports streaming from an HTTP server, for instance try opening https://ia801307.us.archive.org/18/items/kontikipart2/kontikipart2.mp4 via File -> Open Location. However, streaming the ...
yari's user avatar
  • 11
1 vote
2 answers
800 views

How to batch convert .mkv to .mp4 using ffmpeg in macOS?

I am using this command to convert from .mkv to .mp4 in macOS: > ffmpeg -i input/*.mkv -codec copy mp4/%~n.mp4 zsh: no matches found: input/*.mkv > ffmpeg -i "input/*.mkv" -codec copy ...
Dolphin's user avatar
  • 197
1 vote
0 answers
278 views

yt-dlp turns off my Telegram and Discord when I use --download-sections

I'm getting this problem on a macOS Monterey. When I run yt-dlp --download-sections, it takes a few seconds to reach the frame downloading part, but when it does get there, my Discord gets stuck on ...
Daviti Shalikiani's user avatar
1 vote
0 answers
445 views

ffmpeg input/output error when using mac system temp file path

I've got an ffmpeg command that is supposed to output a thumbnail for a given video at a resolution of [W]x720. The input videos are uploaded and stored temporarily in the /var/folders directory on OS ...
GROVER.'s user avatar
  • 131
1 vote
1 answer
2k views

ffmpeg transparent HEVC video from alpha matte and color video on macOS

I have an alpha.mp4 (alpha matte video) and a color.mp4 (color video). How do I use ffmpeg to make a transparent HEVC (.mov) video? I can combine with ffmpeg to make a .webm file following the ...
James's user avatar
  • 11
0 votes
1 answer
346 views

I've uninstalled FFMpeg, but it still exists when I type "ff" + Tab in terminal window

➜ ~ brew uninstall ffmpeg Uninstalling /opt/homebrew/Cellar/ffmpeg/4.4.1... (276 files, 48.2MB) ➜ ~ ffmpeg ffmpeg:55: command not found: .mp4 ➜ ~ which ffmpeg ffmpeg () { .mp4 } ➜ ~ ...
Dr. Octopus's user avatar
1 vote
2 answers
2k views

Why does hardware encoding in FFMPEG result in lower quality when using CRF, which is supposed to be quality-based?

I've recently been encoding videos using FFMPEG through the Shutter Encoder GUI. I've been using CRF as a quality indicator, since I don't care about filesize as long as it is encoded as efficiently ...
Southpaw1496's user avatar
0 votes
0 answers
259 views

How do I make this ffmpeg command work on mac?

Works on Linux but I have a mac for work. I need to replace alsa and possibly x11grab so it works on MacOS: screencap() { file=`date +%Y-%m-%d-%H.%M.%S` ffmpeg -f alsa -i pulse -f x11grab -...
chovy's user avatar
  • 1,165
2 votes
0 answers
1k views

Retrieving per-frame time difference from ffmpeg/ffprobe

I am attempting to reconstruct velocity information of an object from iPhone videos, and so I am interested in determining the time difference between frames. From what I understand, iPhone (HEVC ...
ereastin's user avatar
0 votes
0 answers
651 views

Play two audio files at the same time on different devices

How can I use a single ffmpeg or ffplay command to play two audio files at the same time, but through different output devices? As is documented, this command plays a single audio through the output ...
minseong's user avatar
  • 1,018
1 vote
1 answer
210 views

Split folder of multipage TIFFs into frames and join into movie on MacOS command line

I'm using a FLIR Boson thermal imaging camera, whose 'video' output consists of sequences of 'one-second long' multipage TIFF files. The frame rate is variable, but averages 8.6 fps. So, each TIFF can ...
pajul's user avatar
  • 11
1 vote
0 answers
641 views

FFMPEG - merge (NOT concatenate) multiple sets of 2 videos in for loop

I have a folder A with mp4 audio. Folder B has mp4 video. The filenames match, expect that they are in different folders. These are movie files that when they were downloaded came in two separate ...
Fred Nickler's user avatar
1 vote
0 answers
2k views

Handbrake & FFMpeg Encoding Performance: M1 vs M1 Pro (older M1 is faster) - Why?

The older and slower M1 MacMini is 2 to 2.5x faster currently on the same tasks using the latest and same versions of HandBrake or FFmpeg (with M1 patch for VideoToolBox) as compared to the M1 Pro ...
rajs's user avatar
  • 11
0 votes
0 answers
616 views

How to split a video into very small equal chunks using FFMPEG?

I'm trying to split a video file into 0.5s chunks. The closest command I've found is here (see command below): https://stackoverflow.com/questions/34249159/how-to-get-equal-segment-times-using-ffmpeg ...
EllipsenPark's user avatar
0 votes
1 answer
385 views

Why host OS should install ffmpeg too, after npm installed?

I follow this tutorial ffmpeg. you see the npm install fluent-ffmpeg, there have installed it by node. but why it still needs to be installed on host OS? brew install ffmpeg I mean whether the ...
244boy's user avatar
  • 615
0 votes
0 answers
870 views

How to build FFMPEG with a certain OpenSSL path [duplicate]

I want to build FFMPEG 4.4 on my Mac with OpenSSL 3.0. This is because I have a program that needs to be built with FFMPEG, which needs to have symbols from OpenSSL 3.0, such as _BN_Copy. When I build ...
Meh.'s user avatar
  • 113
1 vote
1 answer
3k views

How to get AVFoundation devices to have a consistent playback rate (1.0x) W/ FFMPEG on MacOS

Some background: I've been recording my "camera" with QuickTime, but it only allows for two quality options, low quality (720p60fps), or high quality (1080p60fps encoded with ProRes422), as ...
SENTINELITE's user avatar
0 votes
1 answer
226 views

FFmpeg multi input remux multi output...no such file or directory error

I've been trying to use this to remove the audio from multiple files in the same directory and remux them back in a different location. Hoevewer I keep getting the "'/myfolder/stuff/*.mkv'" &...
Sup Kafu's user avatar
0 votes
1 answer
708 views

FFMPEG Multiple task for converting video to image sequence for MacOS

I need help to make multiple task of that on MacOS: ffmpeg -i file.mp4 -r 0.1 output_%04d.jpg I have basically 200 video files to do that action and I want to create a single code that I can send to ...
Gabriel Moraes Aquino's user avatar
0 votes
0 answers
155 views

app crashed while trim audio in react native error - video:0kB audio:476kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:

I'm trying to trim audio file, don't get any error but app is crashed. Last line of process is video:0kB audio:476kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: Please help
Preeti Solanki's user avatar
3 votes
3 answers
4k views

record application audio only with ffmpeg on macOS

I’m trying to record the audio produced by the system (i.e. from the OS and other running apps) using ffmpeg. I first create a virtual input/output device using Blackhole or Loopback. I then start ...
Eric's user avatar
  • 181
1 vote
1 answer
114 views

macOS preview and ffmpeg report different video sizes

I have a video which is 886x1920, as I can see from the ffmpeg output: ffmpeg -i en_scaled_2.mp4 ffmpeg version 4.3.1 Copyright (c) ...
artem's user avatar
  • 168
0 votes
0 answers
1k views

Convert .wav to .mp3 with specific codec using LAME

I have two audio files, One is .mp3 format ( extension is .wav but the file is .mp3 ) and other is actual .wav format. I am trying to convert actual .wav format same as first .mp3 file. First .mp3 ...
Aaditya Ura's user avatar
1 vote
1 answer
180 views

Automating an fmpeg task

I'm looking for help automating a FFMPEG workflow on OSX. I want to have a hotfolder where when I drop an .mp4 and it starts a merge. It adds a card to the front, and one to the back. The front card ...
Mar's user avatar
  • 13
0 votes
0 answers
319 views

ffmpeg hangs every two times on Mac

I want to use ffmpeg for video recording The list using ffmpeg -f avfoundation -list_devices true -i "" is: [AVFoundation input device @ 0x7f837dc0f180] AVFoundation video devices: [AVFoundation ...
xfish's user avatar
  • 1
1 vote
1 answer
651 views

Does ffmpeg support conversion of .psv video format to Mp4?

I am trying to convert a .psv file like, ffmpeg -i 0a02ec7f158a4f14914edda139230652.psv output.mp4 i get error, Invalid data found when processing input. Is this because ffmpeg does not support ...
Mats_invasion's user avatar
1 vote
1 answer
1k views

ffmpeg command line error in MacOS Mojave: dyld: BIND_OPCODE_DO_BIND

I have a problem with the command line ffmpeg throwing an error whenever it is run. I'm a long time video / mac / occasional linux user so I'm at home in CLI, but have very definite limits to my ...
Ja5on's user avatar
  • 11
1 vote
0 answers
2k views

FFMPEG - Why doesn't this ffmpeg converted video play on LG TV while another does?

I have two files created from same big mp4 file. One (A.mp4) plays fine on my LG TV while the TV complains about the other (B.mp4). A.mp4 is of 5 seconds while B.mp4 is of 10 minutes. The first one ...
RNP's user avatar
  • 11
0 votes
1 answer
2k views

Compile ffmpeg-4.2.2 on macOS with Haivision-SRT 1.4.1 >>> ERROR: srt >= 1.3.0 not found using pkg-config

I got following error while compiling ffmpeg-4.2.2 on MacOS 10.14.6 with the Haivision-SRT 1.4.1 package: ERROR: srt >= 1.3.0 not found using pkg-config First, I tried it with the srt package ...
saltarob's user avatar
0 votes
0 answers
2k views

"Error splitting the argument list: Option not found" or "At least one output file must be specified" depending on the arguments I choose

I'm running into ffmpeg giving me errors when trying to pass arguments to it using an interface I'm creating in XCode/Swift for converting audiobooks. What ffmpeg should be receiving is: inputPath = ...
NCrusher's user avatar
0 votes
1 answer
67 views

Unable to set arguments to convert image files to video

I've a bunch of files in a folder with the following format: center_2016_12_01_13_%2d_%2d_%3d.jpg I'm trying to use FFmpeg to convert into a video with this command: ffmpeg -n -i "...
goelakash's user avatar
  • 135
0 votes
2 answers
1k views

Why is the results of this FFmpeg command a broken MP4 file?

I have a YouTube video that I would like to add 30 second intros and outtros to. The three files are saved as MP4s. I am using macOS. Following instructions on this offical FFmpeg page I used these ...
Joe's user avatar
  • 3,470
1 vote
1 answer
3k views

ffmpeg install with libmp3lame fails on Mojave and high Sierra

I have tried installing ffmpeg using brew install ffmpeg --enable-libmp3lame as well as brew install ffmpeg --with-libmp3lame and both versions fail. The error I receive is Error: invalid option: --...
user1043193's user avatar
0 votes
1 answer
1k views

Use Automator to perform a FFmpeg command (two .SRT in one .MP4)

I have the script below which I'm used to running from Terminal and it works perfectly. I just need to have one single .mp4 file and two .srt files in my user directory and it will automatically input ...
user1041098's user avatar
0 votes
1 answer
293 views

mono audio in audioSprite / ffmpeg has the same bitrate as stereo

I'm using audioSprite that uses ffmpeg for encoding. I need to make mono files in order to reduce (halve) file sizes. As an audio professional, I thought this was a simple job. Downmix, encode the ...
thx1138's user avatar
4 votes
2 answers
52k views

How do I specify ffmpeg video directory?

I'm sure this is a very basic question so I apologise but I couldn't find it being asked on here before. I've just downloaded and installed ffmpeg for Mac OSX and the main thing I want to use it for ...
Arron's user avatar
  • 43
0 votes
1 answer
241 views

How to discard a part of a MP4 with ffmpeg

Is there a way to slice out a 5 minute portion of an MP4 file with ffmpeg? My attempt at running the following gives me the section I want to remove in hateley2.mp4. ffmpeg -ss 01:02:00.000 -i ...
crmpicco's user avatar
  • 315
2 votes
0 answers
4k views

FFMPEG not found on MACOS 10.13.6 after a brew install

I want to use ffmpeg to convert a video into a gif. I have installed it with brew using brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-...
LBes's user avatar
  • 123
3 votes
1 answer
1k views

How can I trim a fraction of a second off of the beginning of an already encoded MP3 file without transcoding the MP3 again?

I am using macOS 10.3.6 (High Sierra) and while ago I had a 4 CD box set of some music, ripped the tracks to MP3 and simply stored the files on my system. I had to manually tag and add metadata to ...
Giacomo1968's user avatar
2 votes
1 answer
3k views

Ffmpeg: Arguments for optimizing video stream?

I'm using ffmpeg from a debian machine on my local network. This machine is listening from incoming streams: $ ffmpeg -i udp://192.168.1.3:8080 /path/to/out.avi And from my macbook, sending the ...
user909737's user avatar
2 votes
0 answers
485 views

FFmpeg: Symbol not found: _clock_gettime

I distributed the FFmpeg file built on Mac High Sierra. When I tried to run it on OS X El Capitan, I got this error: dyld: lazy symbol binding failed: Symbol not found: _clock_gettime Referenced ...
Ives's user avatar
  • 355