小编use*_*787的帖子

FFMPEG命令问题

我遇到了FFMPEG的问题.确切地说,我正试图从视频文件中生成许多"有意义的"缩略图.我在互联网上找到了这个命令:

ffmpeg -ss 3 -i input.mp4 -vf "select=gt(scene\,0.4)" -frames:v 5 -vsync vfr fps=fps=1/600 out%02d.jpg
Run Code Online (Sandbox Code Playgroud)

可悲的是,它对我来说不起作用,因为我得到了:

[NULL @ 0x86c2420] Unable to find a suitable output format for 'fps=fps=1/600'
fps=fps=1/600: Invalid argument
Run Code Online (Sandbox Code Playgroud)

我试过在-vf中包含"fps = fps = 1/600",这导致只生成一张图片.我究竟做错了什么?

编辑:

这是完整输出的示例:

$ ffmpeg -ss 3 -i video.ogg -vf "select=gt(scene\,0.4)" -frames:v 5 -vsync vfr fps=fps=1/600 out%02d.jpg
ffmpeg version 2.5.3 Copyright (c) 2000-2015 the FFmpeg developers
  built on Jan 10 2015 23:26:13 with gcc 4.9.2 (GCC) 20141224 (prerelease)
  configuration: --prefix=/usr --disable-debug --disable-static …
Run Code Online (Sandbox Code Playgroud)

linux command ffmpeg transcoding

2
推荐指数
1
解决办法
1602
查看次数

标签 统计

command ×1

ffmpeg ×1

linux ×1

transcoding ×1