Questions tagged [fluent-ffmpeg]

Fluent ffmpeg is a Node.js library (A fluent API to FFMPEG)

This library abstracts the complex command-line usage of ffmpeg into a fluent, easy to use node.js module. In order to be able to use this module, make sure you have ffmpeg installed on your system (including all necessary encoding libraries like libmp3lame or libx264).

github repo

369 questions
0
votes
0 answers

ffmpeg header how to allow certain domain

so im new to ffmpeg , i want to restrict my streams be allowed only to my website stream server is nginx and mywebsite is written in php , the stream server is different from mywebsite host , so i want to restrict stream requests only to my website…
0
votes
1 answer

Fluent-ffmpeg randomly doesn't add the text I want to the video, even though it's in the filters

I am making a simple script to add some text to a 4 seconds video, it all works fine, but sometimes it randomly doesn't add some of the text. You can find here the relevant parts of my code: const video = ffmpeg('path/to/video.mp4') let index =…
0
votes
0 answers

ffmpeg command for overlaying a video onto am image with blend

I have these requirements but cant seem to get this even close : ffmpeg to produce a mp4 video inputs : an image of varying size, an audio wav of X length, a video for the overlay such as particles or dust create an mp4 with the image as the final…
0
votes
0 answers

ffmpeg filter_complex single source input

Qustions from ffmpeg newbie, after googling for answers with no luck. I guess I am missing very basics. Is there a way to apply filter_complex (add transition) to the **single ** input source? I would like to apply a xfade=transition effect at the…
danunafig
  • 1
  • 1
0
votes
1 answer

How to trim a video stored in another sever via our node.js server

Trinning a video in Node.js is as easy as: const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path const ffmpeg = require('fluent-ffmpeg') ffmpeg.setFfmpegPath(ffmpegPath) ffmpeg('path_to_video_on_server/video.mp4') …
Sara Ree
  • 3,417
  • 12
  • 48
0
votes
0 answers

how to use multiple videos with background in it with color correction

Hey i am try to create a batch input output file with that so i can easliy add my video in to a frame with top header and footer GIF for youtube subscribe and credit in the right side my logo and card should be display and the left the actual video…
0
votes
0 answers

FFmpeg split videos into smaller chunks of 15 second each with a stride of 10 seconds

I want to split a 1 hour video into chunks of 15 seconds each. But after every 15 seconds I want to skip 10 seconds. For eg:- I want a clip from first 0-15 seconds save it, then skip 10 seconds, the second clip should be from 25-40 th second from…
a mau5
  • 1
  • 1
0
votes
1 answer

fluent-ffmpeg performance - Taking screenshot for a huge amount of file on a network drive

I'm trying to scan all the videos inside a specific folder and create a thumbnail for each of them. Here is the relevant code: public async scan(): Promise { const files = await this.readFile(this._directoryPath); const result:…
Robouste
  • 3,020
  • 4
  • 33
  • 55
0
votes
0 answers

How to fix ffmpeg format to fluent-ffmpeg format?

How do I convert the original ffmpeg command to fluent-ffmpeg's command? I found the solution how do I trim audio file. So I got 2 files trimmed what I want. And then I merged again. [ok] ffmpeg -i ./Desktop/input1.mp3 -y -t 3…
0
votes
0 answers

fluent-ffmpeg wrong output duration

I'm trying to stream a video using fluent-ffmpeg and without save it. I use this code but the output video was cut (12s instead of the 20s of the original video). I tried many output options but without success. Precision : I want to get the stream…
Floz42
  • 29
  • 5
0
votes
0 answers

FFMPEG in node: random corrupted video

I use ffmpeg to transcode videos in a express application. I've a test script that transcode the same file, when I call the endpoint that start the script multiple times (2/3 time simultaneously) randomly one of that transcoded file is end up to be…
red
  • 1,529
  • 1
  • 12
  • 33
0
votes
1 answer

Can't resolve fs, child_process

I know there are many other questions reporting very similar situations, but not exactly, and none helped me. I'm trying to use the 'ffmpeg-static-electron' dependency on Angular Electron. On my yt-dl branch on my forked…
Arco Voltaico
  • 860
  • 13
  • 29
0
votes
0 answers

How do I queue file for ffmpeg on Node.js?

I need to encode/convert many videos on my (linux) server. And FFMPEG is resource intensive. I am running Node.js and using fluent-ffmpeg const Ffmpeg = require("fluent-ffmpeg"); videos.forEach(video=> { covertVideo(filename,…
Hall45
  • 1
  • 2
0
votes
0 answers

ffmpeg Node Screen recording does not have audio

I am building a screen recording application using fluent-ffmpeg. let command = ffmpeg({ source: '1:0'…
user2500558
  • 73
  • 3
  • 10
0
votes
1 answer

Input format "highpass=f=300, is not available fluent ffmpeg npm

I am using [fluent-ffmpeg][1] package to convert mp3 to wav. I have installed ffmpeg on my machine as well. Now in nodejs, I am trying following commands with options ffmpeg(mp3FilePath) .inputOptions([ '-af', '"highpass=f=300,…
Sunil Garg
  • 14,608
  • 25
  • 132
  • 189