Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this package support URLs ? #46

Open
allMighto opened this issue Jan 12, 2018 · 10 comments
Open

Does this package support URLs ? #46

allMighto opened this issue Jan 12, 2018 · 10 comments

Comments

@allMighto
Copy link

allMighto commented Jan 12, 2018

Below is my code for trying to retrieve a video from an url and saving it as an adio file on my local disk. but it has an Error on input file. Does it mean that this package does not support urls ?

try {
	var process = new ffmpeg("http://www.url.mp4");
	process.then(function (video) {
		// Callback mode
    console.log('video', video);
		video.fnExtractSoundToMP3('localpath.mp3', function (error, file) {
      console.log('files is', file);
      if (error) console.log(error);
			if (!error)
				console.log('Audio file: ' + file);
		});
	}, function (err) {
		console.log('Error: ' + err);
	});
} catch (e) {
	console.log(e.code);
	console.log(e.msg);
}
@rf1804
Copy link

rf1804 commented Feb 22, 2018

same problem
Any updates?

@precociousmouse
Copy link

Also having this issue. I am using this to process files on an s3 bucket on an ec2 instance. I am creating a signed url to push to ffmpeg but am getting a 'Input file does not exist' error when I know this isn't the case.

@linzuk
Copy link

linzuk commented Jul 22, 2019

same problem.

@sureshtidbit
Copy link

any update on this?

@Tipwheal
Copy link

+1

3 similar comments
@davidseek
Copy link

davidseek commented Mar 16, 2020

+1

@jaankoppe
Copy link

+1

@T-S-Chikaka
Copy link

+1

@n4huel
Copy link

n4huel commented Oct 5, 2021

Seems this package is abandoned, @damianociarla could you confirm us?

This package doesn't support URLs, it checks the file exists on local filesystem. https://github.com/damianociarla/node-ffmpeg/blob/master/lib/ffmpeg.js#L199-L201

@ravaan
Copy link

ravaan commented Jan 12, 2022

There seems to be a PR #2 which solves this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests