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

Unhandled Exception: ProcessException: The specified file could not be found. #3

Open
poka-IT opened this issue May 4, 2022 · 2 comments
Assignees
Labels
bounty_donation p2 Definitely want it, but timing isn't important

Comments

@poka-IT
Copy link

poka-IT commented May 4, 2022

On windows, I just want to convert webm audio file to mp3.
But ffmpeg never find the input file, even the file exist:

[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: ProcessException: The specified file could not be found.
  Command: ffmpeg -i E:\Download/test.webm -ab 320 -ar 44100 -filter_complex "  " E:\Download/test.mp3

Same with files in assets folder.

@abhay-s-rawat
Copy link

Bro use paths like below, So that pathing is clear to OS. It automatically uses backslash for windows.

That error was due to that empty filter complex, worry not I made it optional to have it. Soon will submit pull request.

import 'package:path/path.dart' as path;

String inputfile = path.join("E:", "Download","test.webm");

@matthew-carroll
Copy link
Collaborator

It looks like the issue here is that either the user is using the wrong path separator, or the package is internally using the wrong path separator. For this ticket, audit the package and ensure that all path separators are platform agnostic.

@matthew-carroll matthew-carroll added bounty_donation p2 Definitely want it, but timing isn't important labels Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty_donation p2 Definitely want it, but timing isn't important
Projects
None yet
Development

No branches or pull requests

4 participants