Skip to content

How to address input and output files? #3

@arasrezaei

Description

@arasrezaei

I am using Capacitor which is Ionics Cordova alternative.
I tried code below:

ffmpeg.exec(
      "-i storage/emulated/0/Documents/digipro/video/video_one.mp4 -vn -c:a copy storage/emulated/0/out.mp3",
      (s: any) => console.log(s),
      (e: any) => console.log(e)
    );

it throws error code 1.
I changed input and output path (with file:// or http://localhost/_capacitor_file_/ scheme) but neither working

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions