Skip to content

process remote url's ? #31

Closed
Closed
@MJunaidAhmad

Description

@MJunaidAhmad

I want to confirm that, is there any way around that I can give a remote url to the ffmpeg object and it will then download the file in the specified format. Something like that:

FFMpeg::fromDisk('remoteURL')
    ->open('www.someyrl.com/sdfsd/sdsd/sd/ds/yesterday.mp3')
    ->export()
    ->toDisk('converted_songs')
    ->inFormat(new \FFMpeg\Format\Audio\Flac)
    ->save('yesterday.flac');

If so then what will be the syntax for that I mean fromDisk or fromFileStorage and what argument to provide this.
One last question, is .flac format supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions