Skip to content

Unable to Probe video #57

Closed
Closed
@fusigabs

Description

@fusigabs

Each time I try to encode, I get a Runtime error message unable to probe <video path>. This for instance gives that error:

$lowBitrateFormat  = (new X264('libmp3lame', 'libx264'))->setKiloBitrate(500);
$midBitrateFormat  = (new X264('libmp3lame', 'libx264'))->setKiloBitrate(1500);
$highBitrateFormat = (new X264('libmp3lame', 'libx264'))->setKiloBitrate(3000);
        
FFMpeg::fromDisk('server')
    ->open('videos/'.$this->filename)
    ->exportForHLS()
    ->toDisk('streamable_videos')
    ->addFormat($lowBitrateFormat)
    ->addFormat($midBitrateFormat)
    ->addFormat($highBitrateFormat)
    ->save('test.m3u8');

Any idea why? I even changed the folder permissions to 777 just in case, but still have the same problem. I'm using version ^1.3.

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