laravel-ffmpeg icon indicating copy to clipboard operation
laravel-ffmpeg copied to clipboard

Unable to concat

Open erosguerrero opened this issue 2 years ago • 0 comments

Hi, im trying to concat 2 videos I have used this two codes

1--- Dont concat, just show the first video. Only when the two vídeos are the same vídeo works. 2 mp4 just get the first one. FFMpeg::fromDisk('local') ->open($array->toArray()) ->export() ->concatWithoutTranscoding() ->save($path); FFMpeg::cleanupTemporaryFiles();

----2 Trying to see if is a thing about transcoding, this just doesnt works (tried to change the encode, active audio, change lines order ...) FFMpeg::fromDisk('local') ->open($array->toArray()) ->export() ->concatWithTranscoding($hasVideo = true, $hasAudio = false) ->inFormat(new \FFMpeg\Format\Video\X264()) ->save($path);

erosguerrero avatar Mar 16 '23 15:03 erosguerrero