Skip to content

The count of side value array must be the same as the count of kilo bitrate array #79

Open
@wimil

Description

@wimil

Describe the bug
I'm trying to add kilobitrates to Auto Generated Representations and I'm getting this error: The count of the side value array should be the same as the count of the kilo bitrate array

To Reproduce
Steps to reproduce the behavior:

  1. Go to '/../AutoReps.php'
  2. On Line '109'
  3. The code:
$ffmpeg->open($video_path)
            ->hls()
            ->x264()
            ->autoGenerateRepresentations(
                [1080, 720, 360],
                [6000, 4000, 1000]
            )
            //->addRepresentations($rep)
            ->save(storage_path('app/videos/test2/test.m3u8'));
  1. See error: The count of side value array must be the same as the count of kilo bitrate array

Desktop/Server (please complete the following information):

  • OS: Centos
  • Version 7
  • FFmpeg vesion: 4.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions