Deprecated Function Alchemy Error Appears in Multiple locations.

Created on 10 February 2023, almost 2 years ago
Updated 22 December 2023, 11 months ago

So I get the following error first on Drupal configuration page admin/config repeated 5 times (after installing patch from https://www.drupal.org/files/issues/2022-06-24/symfony-drupal-cache-adap... β†’ ) prior to patch config page wouldn't load.
- This same error is also on /admin/reports/status page repeated 5 times.

Deprecated function: Return type of Alchemy\BinaryDriver\Configuration::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 14 of /var/www/html/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php).
include('/var/www/html/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php') (Line: 571)
Composer\Autoload\includeFile('/var/www/html/vendor/composer/../alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Alchemy\BinaryDriver\Configuration') (Line: 42)
FFMpeg\Driver\FFProbeDriver::create(Array, Object) (Line: 226)
FFMpeg\FFProbe::create(Array, Object, Object) (Line: 76)
Drupal\php_ffmpeg\PHPFFMpegFactory->getFFMpegProbe() (Line: 63)
Drupal\php_ffmpeg\PHPFFMpegFactory->getFFMpeg()
call_user_func_array(Array, Array) (Line: 255)
Drupal\Component\DependencyInjection\Container->createService(Array, 'php_ffmpeg') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('php_ffmpeg') (Line: 197)
Drupal::service('php_ffmpeg') (Line: 21)
php_ffmpeg_requirements('runtime')
call_user_func_array(Object, Array) (Line: 426)
Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object, 'php_ffmpeg') (Line: 405)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('requirements', Object) (Line: 433)
Drupal\Core\Extension\ModuleHandler->invokeAll('requirements', Array) (Line: 109)
Drupal\system\SystemManager->listRequirements() (Line: 93)
Drupal\system\SystemManager->checkRequirements() (Line: 124)
Drupal\system\Controller\SystemController->overview('system.admin_config')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 57)
Drupal\advban\AdvbanMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 713)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Then I get this similar error on node created page from uploading a video with a video field repeated 5 times: (which may also be related to local video thumbnail module because of it's difference in relation to some of the line numbers in the error)

Deprecated function: Return type of Alchemy\BinaryDriver\Configuration::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 14 of /var/www/html/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php).
include('/var/www/html/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php') (Line: 571)
Composer\Autoload\includeFile('/var/www/html/vendor/composer/../alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Alchemy\BinaryDriver\Configuration') (Line: 42)
FFMpeg\Driver\FFProbeDriver::create(Array, Object) (Line: 226)
FFMpeg\FFProbe::create(Array, Object, Object) (Line: 76)
Drupal\php_ffmpeg\PHPFFMpegFactory->getFFMpegProbe() (Line: 63)
Drupal\php_ffmpeg\PHPFFMpegFactory->getFFMpeg()
call_user_func_array(Array, Array) (Line: 255)
Drupal\Component\DependencyInjection\Container->createService(Array, 'php_ffmpeg') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('php_ffmpeg', 1) (Line: 434)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array) (Line: 237)
Drupal\Component\DependencyInjection\Container->createService(Array, 'local_video_thumbnail.thumbnail_provider') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('local_video_thumbnail.thumbnail_provider') (Line: 95)
Drupal\local_video_thumbnail\Plugin\Field\FieldFormatter\Thumbnail::create(Object, Array, 'local_video_thumbnail', Array) (Line: 64)
Drupal\Core\Field\FormatterPluginManager->createInstance('local_video_thumbnail', Array) (Line: 126)
Drupal\Core\Field\FormatterPluginManager->getInstance(Array) (Line: 207)
Drupal\Core\Entity\Entity\EntityViewDisplay->getRenderer('field_test_video_test') (Line: 238)
Drupal\Core\Entity\Entity\EntityViewDisplay->buildMultiple(Array) (Line: 340)
Drupal\Core\Entity\EntityViewBuilder->buildComponents(Array, Array, Array, 'full') (Line: 24)
Drupal\node\NodeViewBuilder->buildComponents(Array, Array, Array, 'full') (Line: 282)
Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array) (Line: 239)
Drupal\Core\Entity\EntityViewBuilder->build(Array)
call_user_func_array(Array, Array) (Line: 101)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725 β†’ ', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 788)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 374)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 243)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 57)
Drupal\advban\AdvbanMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 713)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

When I used composer to install php-ffmeg/php-ffmpeg (required) I had to install as: composer require php-ffmpeg/php-ffmpeg:*
- as composer returned this:
Problem 1
- Root composer.json requires php-ffmpeg/php-ffmpeg ^1.1 -> satisfiable by php-ffmpeg/php-ffmpeg[v1.1.0].
- php-ffmpeg/php-ffmpeg v1.1.0 requires symfony/process ^5.4 || ^6.0 -> found symfony/process[v5.4.0, ..., v5.4.19, v6.0.0, ..., v6.2.5] but these were not loaded, likely because it conflicts with another require.
Problem 2
- php-ffmpeg/php-ffmpeg v1.1.0 requires symfony/process ^5.4 || ^6.0 -> found symfony/process[v5.4.0, ..., v5.4.19, v6.0.0, ..., v6.2.5] but these were not loaded, likely because it conflicts with another require.
- drupal/php_ffmpeg 1.1.0 requires php-ffmpeg/php-ffmpeg * -> satisfiable by php-ffmpeg/php-ffmpeg[v1.1.0].
- drupal/php_ffmpeg is locked to version 1.1.0 and an update of this package was not requested.

You can also try re-running composer require with an explicit version constraint, e.g. "composer require php-ffmpeg/php-ffmpeg:*" to figure out if any version is installable, or "composer require php-ffmpeg/php-ffmpeg:^2.1" if you know which you need.

Per composer.lock version 0.19 of php-ffmpeg/php-ffmpeg installed and why I ran the patch listed above.

I'm just testing various ffmpeg modules for Drupal 9 (in an effort to convert a Drupal 7 with working video ffmpeg transcoding with thumbnails on video upload to Drupal 9)
- PHP 8.1.13 on Debian Apache 2.4.38
- with ffmpeg version 4.1.10-0+deb10u1 same for ffprobe.
(on Debian 8 and higher ffmpeg is available as a repo install using apt install ffmpeg)

As far as I can tell not a single contributed Drupal module that is supposed to work with ffmpeg is working for Drupal 9 or 10 (frustrating)

Any help getting php-ffmpeg to work would be appreciated. If you feel I need to open an issue against local video thumbnail module let me know and I will do so.

πŸ› Bug report
Status

Closed: won't fix

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States sidgrafix

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @sidgrafix
  • πŸ‡¨πŸ‡ΏCzech Republic kryber

    Hello, I am having the same problem. Trying to use media-thumbnails and having the right binary files in place, the only appearing problem is this.

    
    Deprecated function: Return type of Alchemy\BinaryDriver\Configuration::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice ve funkci include() (Ε™Γ‘dek 14 souboru /app/docroot/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php)
    #0 /app/docroot/core/includes/bootstrap.inc(347): _drupal_error_handler_real(8192, 'Return type of ...', '/app/docroot/ve...', 103)
    #1 /app/docroot/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php(14): _drupal_error_handler(8192, 'Return type of ...', '/app/docroot/ve...', 103)
    #2 /app/docroot/vendor/composer/ClassLoader.php(578): include('/app/docroot/ve...')
    #3 /app/docroot/vendor/composer/ClassLoader.php(432): Composer\Autoload\ClassLoader::Composer\Autoload\{closure}('/app/docroot/ve...')
    #4 /app/docroot/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php(42): Composer\Autoload\ClassLoader->loadClass('Alchemy\\BinaryD...')
    #5 /app/docroot/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/FFProbe.php(226): FFMpeg\Driver\FFProbeDriver::create(Array, NULL)
    #6 /app/docroot/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/FFMpeg.php(132): FFMpeg\FFProbe::create(Array, NULL, Object(Symfony\Component\Cache\Adapter\ArrayAdapter))
    #7 /app/docroot/modules/contrib/media_thumbnails_video/src/Plugin/MediaThumbnail/MediaThumbnailVideo.php(39): FFMpeg\FFMpeg::create(Array)
    #8 /app/docroot/modules/contrib/media_thumbnails/src/Plugin/MediaThumbnailManager.php(103): Drupal\media_thumbnails_video\Plugin\MediaThumbnail\MediaThumbnailVideo->createThumbnail('public://2023-0...')
    #9 /app/docroot/modules/contrib/media_thumbnails/src/Plugin/MediaThumbnailManager.php(119): Drupal\media_thumbnails\Plugin\MediaThumbnailManager->createThumbnail(Object(Drupal\media\Entity\Media))
    #10 /app/docroot/modules/contrib/media_thumbnails/media_thumbnails.module(36): Drupal\media_thumbnails\Plugin\MediaThumbnailManager->updateThumbnail(Object(Drupal\media\Entity\Media))
    #11 [internal function]: media_thumbnails_media_presave(Object(Drupal\media\Entity\Media))
    #12 /app/docroot/core/lib/Drupal/Core/Extension/ModuleHandler.php(426): call_user_func_array(Object(Closure), Array)
    #13 /app/docroot/core/lib/Drupal/Core/Extension/ModuleHandler.php(405): Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object(Closure), 'media_thumbnail...')
    #14 /app/docroot/core/lib/Drupal/Core/Extension/ModuleHandler.php(433): Drupal\Core\Extension\ModuleHandler->invokeAllWith('media_presave', Object(Closure))
    #15 /app/docroot/core/lib/Drupal/Core/Entity/EntityStorageBase.php(249): Drupal\Core\Extension\ModuleHandler->invokeAll('media_presave', Array)
    #16 /app/docroot/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(903): Drupal\Core\Entity\EntityStorageBase->invokeHook('presave', Object(Drupal\media\Entity\Media))
    #17 /app/docroot/core/lib/Drupal/Core/Entity/EntityStorageBase.php(563): Drupal\Core\Entity\ContentEntityStorageBase->invokeHook('presave', Object(Drupal\media\Entity\Media))
    #18 /app/docroot/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(756): Drupal\Core\Entity\EntityStorageBase->doPreSave(Object(Drupal\media\Entity\Media))
    #19 /app/docroot/core/lib/Drupal/Core/Entity/EntityStorageBase.php(517): Drupal\Core\Entity\ContentEntityStorageBase->doPreSave(Object(Drupal\media\Entity\Media))
    #20 /app/docroot/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(804): Drupal\Core\Entity\EntityStorageBase->save(Object(Drupal\media\Entity\Media))
    #21 /app/docroot/core/modules/media/src/MediaStorage.php(29): Drupal\Core\Entity\Sql\SqlContentEntityStorage->save(Object(Drupal\media\Entity\Media))
    #22 /app/docroot/core/lib/Drupal/Core/Entity/EntityBase.php(339): Drupal\media\MediaStorage->save(Object(Drupal\media\Entity\Media))
    #23 /app/docroot/modules/contrib/media_thumbnails/src/Batch/RefreshBatch.php(72): Drupal\Core\Entity\EntityBase->save()
    #24 /app/docroot/core/includes/batch.inc(295): Drupal\media_thumbnails\Batch\RefreshBatch::process(Array, Array)
    #25 /app/docroot/core/includes/batch.inc(137): _batch_process()
    #26 /app/docroot/core/includes/batch.inc(93): _batch_do()
    #27 /app/docroot/core/modules/system/src/Controller/BatchController.php(55): _batch_page(Object(Symfony\Component\HttpFoundation\Request))
    #28 [internal function]: Drupal\system\Controller\BatchController->batchPage(Object(Symfony\Component\HttpFoundation\Request))
    #29 /app/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
    #30 /app/docroot/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
    #31 /app/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
    #32 /app/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
    #33 /app/docroot/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
    #34 /app/docroot/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
    #35 /app/docroot/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
    #36 /app/docroot/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
    #37 /app/docroot/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
    #38 /app/docroot/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
    #39 /app/docroot/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
    #40 /app/docroot/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
    #41 /app/docroot/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
    #42 /app/docroot/core/lib/Drupal/Core/DrupalKernel.php(713): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
    #43 /app/docroot/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
    #44 {main}
    .
    
    
  • πŸ‡¨πŸ‡ΏCzech Republic kryber

    I corrected it by adding a #[\ReturnTypeWillChange] before all the functions in a file vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php.

    <?php
    
    /*
     * This file is part of Alchemy\BinaryDriver.
     *
     * (c) Alchemy <info@alchemy.fr>
     *
     * For the full copyright and license information, please view the LICENSE
     * file that was distributed with this source code.
     */
    
    namespace Alchemy\BinaryDriver;
    
    class Configuration implements ConfigurationInterface
    {
    
        private $data;
        #[\ReturnTypeWillChange]
        public function __construct(array $data = array())
        {
            $this->data = $data;
        }
    
        /**
         * {@inheritdoc}
         */
        #[\ReturnTypeWillChange]
        public function getIterator()
        {
            return new \ArrayIterator($this->data);
        }
    
        /**
         * {@inheritdoc}
         */
        #[\ReturnTypeWillChange]
        public function get($key, $default = null)
        {
            return isset($this->data[$key]) ? $this->data[$key] : $default;
        }
    
        /**
         * {@inheritdoc}
         */
        #[\ReturnTypeWillChange]
        public function set($key, $value)
        {
            $this->data[$key] = $value;
    
            return $this;
        }
    
        /**
         * {@inheritdoc}
         */
        #[\ReturnTypeWillChange]
        public function has($key)
        {
            return array_key_exists($key, $this->data);
        }
    
        /**
         * {@inheritdoc}
         */
        #[\ReturnTypeWillChange]
        public function remove($key)
        {
            $value = $this->get($key);
            unset($this->data[$key]);
    
            return $value;
        }
    
        /**
         * {@inheritdoc}
         */
        #[\ReturnTypeWillChange]
        public function all()
        {
            return $this->data;
        }
    
        /**
         * {@inheritdoc}
         */
        #[\ReturnTypeWillChange]
        public function offsetExists($offset)
        {
            return $this->has($offset);
        }
    
        /**
         * {@inheritdoc}
         */
        #[\ReturnTypeWillChange]
        public function offsetGet($offset)
        {
            return $this->get($offset);
        }
    
        /**
         * {@inheritdoc}
         */
        #[\ReturnTypeWillChange]
        public function offsetSet($offset, $value)
        {
            $this->set($offset, $value);
        }
    
        /**
         * {@inheritdoc}
         */
        #[\ReturnTypeWillChange]
        public function offsetUnset($offset)
        {
            $this->remove($offset);
        }
    }
    
  • πŸ‡ΊπŸ‡ΈUnited States sidgrafix

    @kryber

    Nice.. I will try this myself when I'm back in the office! Did you test for thumbnails yet, do they generate after this modification to vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/Configuration.php ?

  • πŸ‡¨πŸ‡ΏCzech Republic kryber

    Yes, absolutely! They are nice and smooth :)

    The other part was to connect the right libraries for the server. On my local mac machine I needed to use the linux64. https://ffbinaries.com/downloads

  • πŸ‡ΊπŸ‡ΈUnited States sidgrafix

    @kryber

    Tested and works! Thank you for this...
    Now I just have to get actual video transcoding working, but this takes care of some of the thumbnail part of the battle. Seems both "Local Video Thumbnail and Media Thumbnails with Media Thumbnails Video" are still fairly limited providing just 1 thumbnail - multiple with options to choose which one in a video situation would be nice (when video is uploaded instead of when saved) but this gives me something to build on.

    Most appreciative!

  • πŸ‡¦πŸ‡·Argentina foxrip

    #4 works well for me.
    I added the patch, just in case someone want to use it.

  • πŸ‡ͺπŸ‡ΈSpain saesa

    @foxrip the patch doesn't work for me wit drupal 9.5.3 and php_ffmpeg 8.x-1.1

    Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2023-03-15/3340962-deprecated-function-alchemy.patch

  • Status changed to Needs review over 1 year ago
  • Status changed to Closed: won't fix 11 months ago
  • πŸ‡¨πŸ‡­Switzerland berdir Switzerland

    Those errors happen in a dependency of our dependency, you need to report it there, not in this project. I added a note to the project page, but this isn't something we can fix.

Production build 0.71.5 2024