1
votes

Im trying to install ffmpeg,.. When I write comand:

git clone --depth 1 http://source.ffmpeg.org/git/ffmpeg.git

I got this error.. why??

Initialized empty Git repository in /root/ffmpeg_sources/ffmpeg/ffmpeg/.git/ fatal: dumb http transport does not support --depth

Installing from this source.. https://trac.ffmpeg.org/wiki/CompilationGuide/Centos

1
This has been fixed on the wiki. The git repo URL was changed, but the --depth was not removed. Also, consider accepting Bret''s answer since it provides a working solution for the specific issue in your question.llogan

1 Answers

2
votes

It's because the "dumb" http protocol doesn't support using the --depth tag. You need to use git://:

git clone --depth 1 git://source.ffmpeg.org/ffmpeg

More information here.