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

"fluent-ffmpeg" in node.js to add background audio on a video

Scenario : I have a mp4 video of 30sec with no background Audio. Now I want to add 3 background audios(mp3) on this video i.e. - [0-10s] 1st Audio next [10-20s] 2nd Audio and then last [20-30s] 3rd Audio by using fluent-ffmpeg. I have been searching…
0
votes
1 answer

Merging videos with ffmpeg is not working

Merging is working but video is not running correctly. Only voice we can hear? What is the cause? mylist.txt file '/path/to/file1.mp4' file '/path/to/file2.mp4' file '/path/to/file3.mp4' ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4
simon
  • 359
  • 1
  • 14
0
votes
0 answers

How do I make a progress bar in React JS in fluent FFmpeg edit on Node.js?

I'm trying to create a progress bar in editing in fluent-ffmpeg video in node js I'm using React.js as frontend
0
votes
1 answer

How to make multiple file input command work in ffmpeg fluent

I cannot find any working solutions, already searched a lot. How to execute this command in ffmpeg fluent (nodejs) ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4 Inputing a List of Files for Concatenation with Node.js Module…
MBK
  • 2,589
  • 21
  • 25
0
votes
0 answers

Node js - Handle multiple post request with body as file

i have built a node js server which receives video file in request which is stored in public folder with the use of multer and then using ffmpeg i am trimming that video, creating poster and compressing the video and then delete main video.…
0
votes
1 answer

Losing audio when overlaying videos with fluent ffmpeg

I have one main video file and a dynamic number of smaller video files that need to be overlayed at specific times based on timestamps. I was able to get the video to overlay at the correct spots but now I don't have any audio. (Note: I only need…
0
votes
2 answers

ffmpeg - overlay multiple gifs and pngs and generate a new gif

I have a list of inputs (a combination of gifs and png) that I am trying to overlay and create a new gif. I was able to achieve this using this command and the following result: _ffmpeg .withOptions([ '-ss 1', '-i animated.gif', …
Gregory
  • 557
  • 6
  • 17
0
votes
1 answer

convert video without losing frames and have same fps and tbr using ffmpeg

My original video "test1.mp4" has following properties Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 283 kb/s, 34.55 fps, 50 tbr, 50k tbn, 50 tbc (default). I got it from running ffmpeg -i…
srinivast6
  • 309
  • 3
  • 8
0
votes
1 answer

How can I store thumbnails for videos I upload on AWS at the same time in nodejs without lambda function?

I am working on thumbnail creation with ffmpeg. I have successfully created thumbnail for uploaded video on AWS. For upload video/videos I have flow like: I have one API used for multiple type file uploading. Also I have used upload.array to pass…
0
votes
0 answers

Zoom effect based on audio levels using ffmpeg

I'm trying to create a zoom-in/shake effect based on how loud the audio stream's bass is. I've realized you can use showcqt to get a graph of the sound, but I can't figure out how to pipe that to some zoom function to do zoom based on that. Any…
FOLLGAD
  • 36
  • 1
  • 5
0
votes
1 answer

FFMPEG: How to combine video and image (video template)

Goal I have a video and an image (a template for the video) that I'm trying to combine into one output video (1080w x 1920h - 9:16 aspect ratio). Input video - 1920x1080 Input image - 1080x1920 Output video - 1080x1920 This image shows what I'm…
clo5ure
  • 90
  • 14
0
votes
0 answers

Node JS partial video streaming to safari

I'm trying to stream a video directly to a browser using node.js as the backend. I would like the video to be streamed from a specific time and would also like it to be partially streamed since it is a pretty large file. Right now I am doing this…
0
votes
0 answers

FFMPEG Video Editing on AWS LAMBDA NODE JS

I am trying to get video from s3 on lambda and save tmp folder. From tmp folder , video is being used to edit and again save on s3 object. I have uploaded executable file and set the FFMPEG_PATH enviroment variable. Here unable to overlay text on…
j sharma
  • 669
  • 1
  • 5
  • 7
0
votes
0 answers

URL inside ffmpeg(fs.createStreamReader(url))

I have been trying to read a video from an url inside ffmpeg in my node js application. My code goes like this. const ffmpeg = require('fluent-ffmpeg'); const fs = require('fs') var strm =…
sam kirubaharan
  • 155
  • 1
  • 9
0
votes
0 answers

Is is possible to create custom shapes with ffmpeg?

I am trying to create a xstack layout with ffmpeg commands and from what I have seen online it is only possible to create rectangles with all the videos merge them into one video. However, I am trying to create a layout with custom shapes with X and…
nardo
  • 149
  • 1
  • 8