Hello,

I'm using Media Thumbnails Video with ffmpeg version N-53650-g9c0beaf0d3-static and when trying to refresh video thumbnails got this:
FFMpeg\Exception\RuntimeException: Unable to save frame în FFMpeg\Media\Frame->save() (linia 132 din /home/public_html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Media/Frame.php).

The server is using php 7.4.

The video is an mp4 downloaded from Facebook

Thanks.

Comments

gge created an issue. See original summary.

gge’s picture

Issue summary: View changes
lamp5’s picture

Check this and your directory permission https://github.com/PHP-FFMpeg/PHP-FFMpeg/issues/223

lamp5’s picture

Status: Active » Postponed (maintainer needs more info)
eduardo.heuvel’s picture

I have the same problem. I don't think it's a folder permissions issue. As far as I can tell with my very limited programming knowledge, it looks like the frame should be saved to the database and not to a file.
If I try to save a single video media entity I get a WSOD with the following message: Drupal\Core\Entity\EntityStorageException: Unable to save frame in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 846 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

  • lamp5 committed 0183e53 on 8.x-1.x
    Issue #3163736: FFMpeg\Exception\RuntimeException: Unable to save frame...
lamp5’s picture

Version: 8.x-1.0-alpha1 » 8.x-1.x-dev
Status: Postponed (maintainer needs more info) » Fixed

I improved catch exception because we had incorrect class for exception.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

dangreenman’s picture

I had this error and it was due to dns resolving to an ip without ssl for the probed address.