laravel-ffmpeg
laravel-ffmpeg copied to clipboard
EncodingException-Problem in creating timelapse
I want to make a timelapse just like the example given in the ffmpeg doc ( https://github.com/protonemedia/laravel-ffmpeg#create-a-timelapse). I can save video in wmv and ogg formats but I had problem in saving videos in mp4. the output is a file with 0kb size and 0 second duration. I receive this exception when I run the method:
`
{
$x = FFMpeg::open('test.jpg')
->export()
->asTimelapseWithFramerate(1)
->inFormat(new \FFMpeg\Format\Video\X264)
->save('timelapse.mp4');
return $x;
}

I'll be appreciate if anybody could help me.