python执行ffmpeg 报错:at least one output file must be specified

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python执行ffmpeg 报错:at least one output file must be specified相关的知识,希望对你有一定的参考价值。

求助如何解决

参考技术A 你执行ffmpeg的语句有问题,没有指明输出文件,你可以把你的语句贴出来看看。 参考技术B 通常ffmpeg要写明输出文件
比如命令
ffmpeg -i 输入文件.avi -c copy 输出文件.mkv
后面“输出文件.mkv”是必要写的。本回答被提问者和网友采纳
参考技术C 处理之后要输出到 目标文件
ffmpeg -i input.avi -c copy output.mkv

在springboot启动报错:No qualifying bean of type 'javax.sql.DataSource' available: expected at lea

1.

@SpringBootApplication
@EnableAutoConfiguration(exclude = { DataSourceAutoConfiguration.class })
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}

  这种情况 会报错 

No qualifying bean of type ‘javax.sql.DataSource‘ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

2.

@SpringBootApplication
@EnableAutoConfiguration
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}

  这种情况会报错:Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).

 

 

正确的应该是:

@SpringBootApplication
@EnableAutoConfiguration(exclude = { DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class })
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}

  

以上是关于python执行ffmpeg 报错:at least one output file must be specified的主要内容,如果未能解决你的问题,请参考以下文章

python安装pyffmpeg,cython报错:ImportError: No module named Cython.Distutils

lea 0x4(%esp),%ecx 在 AT&T 语法中是啥意思?

汇编中中括号[]作用以及lea和mov指令的区别

ffmpeg 开发-初级

在hive中查询导入数据表时FAILED: SemanticException [Error 10096]: Dynamic partition strict mode requires at lea

ffmpeg_python报错:FileNotFoundError: [Errno 2] No such file or directory: ‘ffmpeg‘