ffmpeg -i filename.mp4 display" Segmentation fault(core dumped)"错误

时间:2015-03-25 05:16:07

标签: linux ubuntu ffmpeg

每当我执行

ffmpeg -i filename.mp4

它返回分段错误(核心转储)错误。

我在这里附上快照

enter image description here

1 个答案:

答案 0 :(得分:-1)

嗯,不是相同的用例,但应该使用avconv来代替。顺便说一句,到目前为止,我对avconv没有太多运气,但我怀疑是因为我使用的是Raspberry Pi,可能存在编解码器问题。

ffmpeg -i *-00.jpg -r 25 movie.mp4
ffmpeg version 0.8.17-6:0.8.17-1+rpi1, Copyright (c) 2000-2014 the Libav developers
  built on Mar 25 2015 00:39:58 with gcc 4.6.3
The ffmpeg program is only provided for script compatibility and will be removed
in a future release. **It has been deprecated in the Libav project to allow for
incompatible command line syntax improvements in its replacement called avconv**
(see Changelog for details). Please use avconv instead.
Input #0, image2, from '01-20150528100343-00.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: mjpeg, yuvj420p, 1024x576, 25 tbr, 25 tbn, 25 tbc
Segmentation fault