duankuaizhe8257 2014-11-26 07:16
浏览 12

Symfony2 PHP FFMpeg服务安装“没有扩展能够加载'dubture_f_fmpeg'的配置”

I'm running Ubuntu 14.04. FFMpeg is installed and both ffmpeg and ffprobe are under /usr/bin/ and work when called from command line.

I have added the requirement to the composer.json file of my symfony project

"require": { "pulse00/ffmpeg-bundle": "0.5.2" }

I ran composer update, and the extension was installed so I have the pulse00/ffmpeg-bundle directory under 'vendor', but when I run -

"php app/console config:dump-reference DubtureFFmpegBundle"

I get -

[LogicException]
  No extensions with configuration available for "DubtureFFmpegBundle"

And if I add the config for dubture_f_fmpeg I get -

There is no extension able to load the configuration for "dubture_f_fmpeg"

I've found another person asking about this on a french forum, but it has no answer.

I've added some scaffolding code to the class files but they're not being executed at all. I'm hoping that someone can offer some troubleshooting steps or ideas on how to figure out why the extension code isn't being seen.

  • 写回答

1条回答 默认 最新

  • duanhe6464 2015-10-01 18:29
    关注

    sorry to be late the solution is to add the bundle in the AppKernel by adding the next line :

    new \Dubture\FFmpegBundle\DubtureFFmpegBundle()
    
    评论

报告相同问题?

悬赏问题

  • ¥15 yolov8边框坐标
  • ¥15 matlab中使用gurobi时报错
  • ¥15 WPF 大屏看板表格背景图片设置
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥16 mybatis的代理对象无法通过@Autowired装填
  • ¥15 可见光定位matlab仿真