protonemedia / laravel-ffmpeg

This package provides an integration with FFmpeg for Laravel. Laravel's Filesystem handles the storage of the files.
https://protone.media/en/blog/how-to-use-ffmpeg-in-your-laravel-projects
MIT License
1.63k stars 194 forks source link

using rtsp #426

Open Waiker opened 2 years ago

Waiker commented 2 years ago

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')
    ->getFrameFromSeconds(1)
    ->export()
    ->save('FrameAtCamera.png');

with the rtsp link I get a white screen in the browser and no file is created on the server. But if the link to the mp4 file is from the Internet, everything is fine

Waiker commented 2 years ago

@pascalbaljet I ask for your help