laravel-ffmpeg
laravel-ffmpeg copied to clipboard
This package provides an integration with FFmpeg for Laravel. Laravel's Filesystem handles the storage of the files.
When using `getDurationInMiliseconds()` and `getDurationInSeconds()` PHP throws this message: > PHP Deprecated: Implicit conversion from float 10983.333 to int loses precision
I'm probing media files using `getDurationInSeconds()`, however it doesn't return the correct timestamp. Dashjs shows the correct timestamp `00:00:12`, this package `00:00:11`. If a rounded number is really needed, I...
Trying to convert this to wrapper (tested in console) ffmpeg \ -i https://rent-roll-devour-bucket-a1.s3.ap-southeast-2.amazonaws.com/videos/audits/conversion_rate_audit.mp4 \ -i https://rent-roll-devour-bucket-a1.s3.ap-southeast-2.amazonaws.com/videos/audits/john_ahern.mp4 \ -i https://rent-roll-devour-bucket-a1.s3.ap-southeast-2.amazonaws.com/videos/audits/outro_generic.mp4 \ -i https://rrdevours.monster/plain-assets/logos/small_tiger_vial.png \ -filter_complex " [0:v]scale=1152:720:force_original_aspect_ratio=decrease,pad=1152:720:(ow-iw)/2:(oh-ih)/2:violet,fps=30[a]; [1:v]scale=1152:720:force_original_aspect_ratio=decrease,pad=1152:720:(ow-iw)/2:(oh-ih)/2:violet,fps=30[b]; [2:v]scale=1152:720:force_original_aspect_ratio=decrease,pad=1152:720:(ow-iw)/2:(oh-ih)/2:violet,fps=30[c]; [a][0:a][b][1:a][c][2:a]concat=n=3:v=1:a=1[concat1]; [concat1]drawtext=text='Stack...
Hello. Thanks for your project. My task is to receive a stream via rstp and take a snapshot of the frame. The link to the camera is working. ``` FFMpeg::openUrl('rtsp://my_camera_link')...
I wonder how I can add "-movflags +faststart" parameter the encoding job.
How to use FFmpeg for removing watermarks in the existing video? Is this possible with this library? Any help.
Hi, in a chained process list, is there a way to execute some exports/save parts with a conditional syntax? As Example, in my chain i want to execute the second...
I have an audio file that I need to parse and remove/cut the silent parts. From FFmpeg docs it seems that I should be using a filter called [silenceremove](https://ffmpeg.org/ffmpeg-filters.html#silenceremove). But...
Hello, I tried in 3 way to get video duration in seconds but actully in 3 ways i got same error message: `Undefined array key "streams"` Source Codes: ` First...
Awesome wrapper and everything - but screwing up when I try to do it in scheduled jobs (vs. within Route for testing) ``` $video = $response['data']['video_url']; $path = 'videos/scripts/final/script_'.rand(0,1000).'.mp4'; \FFMpeg::openUrl($video)->addFilter(function...