Using Video Embed and Video Embed HTML 5
Ran > composer require 'drupal/php_ffmpeg:^1.0'
Enabled module
Entered a url to an mp4 on my server
Saved
When trying to view the page this is on, I get the following error:
The website encountered an unexpected error. Please try again later.FFMpeg\Exception\ExecutableNotFoundException: Unable to load FFProbe in FFMpeg\Driver\FFProbeDriver::create() (line 50 of /Library/WebServer/Documents/git/acquia/d8usporg/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php).
FFMpeg\Driver\FFProbeDriver::create(Array, Object) (Line: 226)
FFMpeg\FFProbe::create(Array, Object, Object) (Line: 77)
Drupal\php_ffmpeg\PHPFFMpegFactory->getFFMpegProbe() (Line: 63)
Drupal\php_ffmpeg\PHPFFMpegFactory->getFFMpeg()
call_user_func_array(Array, Array) (Line: 248)
Drupal\Component\DependencyInjection\Container->createService(Array, 'php_ffmpeg') (Line: 171)
Drupal\Component\DependencyInjection\Container->get('php_ffmpeg') (Line: 158)
Drupal::service('php_ffmpeg') (Line: 53)
Drupal\video_embed_html5\Plugin\video_embed_field\Provider\Html5->__construct(Array, 'html_5', Array, Object, Object, Object, Object) (Line: 77)
Drupal\video_embed_html5\Plugin\video_embed_field\Provider\Html5::create(Object, Array, 'html_5', Array) (Line: 21)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('html_5', Array) (Line: 84)
Drupal\Component\Plugin\PluginManagerBase->createInstance('html_5', Array) (Line: 71)
Drupal\video_embed_field\ProviderManager->loadProviderFromInput('http://dev.usp.org/sites/default/files/usp/video/addressing-the-problem-of-food-fraud.mp4') (Line: 94)
Drupal\video_embed_field\Plugin\Field\FieldFormatter\Video->viewElements(Object, 'en') (Line: 80)
Drupal\Core\Field\FormatterBase->view(Object, NULL) (Line: 259)
Drupal\Core\Entity\Entity\EntityViewDisplay->buildMultiple(Array) (Line: 238)
Drupal\views\Entity\Render\EntityFieldRenderer->buildFields(Array) (Line: 125)
Drupal\views\Entity\Render\EntityFieldRenderer->render(Object, Object) (Line: 819)
Drupal\views\Plugin\views\field\EntityField->getItems(Object) (Line: 1139)
Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender(Object) (Line: 226)
template_preprocess_views_view_field(Array, 'views_view_field', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render(Array, Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 1738)
Drupal\views\Plugin\views\field\FieldPluginBase->theme(Object) (Line: 761)
Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow(Array)
call_user_func(Array, Array) (Line: 378)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 709)
Drupal\views\Plugin\views\style\StylePluginBase->renderFields(Array) (Line: 576)
Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping(Array, Array, 1) (Line: 469)
Drupal\views\Plugin\views\style\StylePluginBase->render(Array) (Line: 2112)
Drupal\views\Plugin\views\display\DisplayPluginBase->render() (Line: 1530)
Drupal\views\ViewExecutable->render() (Line: 117)
Drupal\views\Plugin\views\display\Block->execute() (Line: 1627)
Drupal\views\ViewExecutable->executeDisplay('related', Array) (Line: 77)
Drupal\views\Element\View::preRenderViewElement(Array) (Line: 59)
Drupal\views\Plugin\Block\ViewsBlock->build() (Line: 203)
Drupal\block\BlockViewBuilder::preRender(Array)
call_user_func('Drupal\block\BlockViewBuilder::preRender', Array) (Line: 378)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 179)
__TwigTemplate_0b8320d655201e6d5960cba80692acd4bdec51406731c206f081734318650f6a->doDisplay(Array, Array) (Line: 432)
Twig_Template->displayWithErrorHandling(Array, Array) (Line: 403)
Twig_Template->display(Array) (Line: 411)
Twig_Template->render(Array) (Line: 64)
twig_render_template('themes/usporg/templates/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 184)
__TwigTemplate_35d316c47c24906a328694fd4a956a9efec4dc60d7a112845b5af4e4f503a85e->doDisplay(Array, Array) (Line: 432)
Twig_Template->displayWithErrorHandling(Array, Array) (Line: 403)
Twig_Template->display(Array) (Line: 411)
Twig_Template->render(Array) (Line: 64)
twig_render_template('themes/usporg/templates/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) (Line: 108)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 657)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)