Quantcast

ffmpeg git server misconfigured

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

ffmpeg git server misconfigured

Andrew Robinson
Hi.

I have a slow internet connection with pay per megabyte.  I wanted to
git clone a single branch of ffmpeg to save myself, and ffmpeg.org  
bandwidth costs.

I was able to look up the branches available:

     bash-4.3$ git ls-remote http://git.ffmpeg.org/ffmpeg
     ...
     cfff8a663c2746f6aae3e102e562dcb46280381d        refs/tags/n3.2.1
     7facc70ee9483ca49d0dd114f387716cd46cefd5        refs/tags/n3.2.2
     b4c2500cd2c92e9c1cf2fac293723bf11c696e0d        refs/tags/n3.2.3


So, I know git is working.  But, when I tried to download a branch with
shallow copy .... the command fails.

    bash-4.3$  git clone --depth=1 --branch "n3.2.2" --single-branch
http://git.ffmpeg.org/ffmpeg ffmpeg

    Cloning into 'ffmpeg'...
    fatal: The remote end hung up unexpectedly
    fatal: protocol error: bad pack header

I upgraded my git tools, and it still fails.
When I try a shallow branch copy for other software, it works. The mode
is just broken with the ffmpeg site.
The ffmpeg site only allows a full clone, which is a very large file
transfer.

I did a lot of googling; apparently the bug is in recent versions of git
where the *server* side program does not have enough memory, and tries
to write a temporary file.
eg: it's misconfigured.  if the ramdrive or temporary drive has the
wrong permissions; the server crashes and the client gets the error
message I am receiving.

I tried to register with ffmpeg in order to make a bug report, but the
system captcha failed and I was blacklisted as a spammer.
That's very annoying.

If anyone cares about the ffmpeg's costs in hosting git, would you mind
trying to clone using --depth=1  and see if you get the same error as I do?
If you do, would you mind telling the appropriate system administrator
their server has a problem.

Thanks.




_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ffmpeg git server misconfigured

Moritz Barsnick
On Thu, Feb 09, 2017 at 01:49:04 -0800, Andrew Robinson wrote:
> So, I know git is working.  But, when I tried to download a branch with
> shallow copy .... the command fails.
>
>     bash-4.3$  git clone --depth=1 --branch "n3.2.2" --single-branch http://git.ffmpeg.org/ffmpeg ffmpeg
>
>     Cloning into 'ffmpeg'...
>     fatal: The remote end hung up unexpectedly
>     fatal: protocol error: bad pack header

I can confirm the issue.

To help yourself (but not the project), you can use the github mirror:

$ git clone --depth=1 --branch "n3.2.2" --single-branch https://github.com/FFmpeg/FFmpeg.git ffmpeg-branch

Cheers,
Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ffmpeg git server misconfigured

Carl Eugen Hoyos-2
In reply to this post by Andrew Robinson
2017-02-09 10:49 GMT+01:00 Andrew Robinson <[hidden email]>:
>    bash-4.3$  git clone --depth=1 --branch "n3.2.2" --single-branch
> http://git.ffmpeg.org/ffmpeg ffmpeg

Does it work with source.ffmpeg.org?

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ffmpeg git server misconfigured

Moritz Barsnick
On Fri, Feb 10, 2017 at 01:37:24 +0100, Carl Eugen Hoyos wrote:
> >    bash-4.3$  git clone --depth=1 --branch "n3.2.2" --single-branch
> > http://git.ffmpeg.org/ffmpeg ffmpeg
>
> Does it work with source.ffmpeg.org?

I can confirm it does; to be more precise, it works with
git://source.ffmpeg.org/ffmpeg (note the different protocol, not
http(s)).

source.ffmpeg.org is an alias for videolan.org, while git.ffmpeg.org
seems to be a server of its own, i.e. another mirror?

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ffmpeg git server misconfigured

Peter Gade
fuck you

2017-02-10 15:55 GMT+07:00 Moritz Barsnick <[hidden email]>:

> On Fri, Feb 10, 2017 at 01:37:24 +0100, Carl Eugen Hoyos wrote:
> > >    bash-4.3$  git clone --depth=1 --branch "n3.2.2" --single-branch
> > > http://git.ffmpeg.org/ffmpeg ffmpeg
> >
> > Does it work with source.ffmpeg.org?
>
> I can confirm it does; to be more precise, it works with
> git://source.ffmpeg.org/ffmpeg (note the different protocol, not
> http(s)).
>
> source.ffmpeg.org is an alias for videolan.org, while git.ffmpeg.org
> seems to be a server of its own, i.e. another mirror?
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ffmpeg git server misconfigured

Carl Eugen Hoyos-2
In reply to this post by Moritz Barsnick
2017-02-10 9:55 GMT+01:00 Moritz Barsnick <[hidden email]>:

> On Fri, Feb 10, 2017 at 01:37:24 +0100, Carl Eugen Hoyos wrote:
>> >    bash-4.3$  git clone --depth=1 --branch "n3.2.2" --single-branch
>> > http://git.ffmpeg.org/ffmpeg ffmpeg
>>
>> Does it work with source.ffmpeg.org?
>
> I can confirm it does; to be more precise, it works with
> git://source.ffmpeg.org/ffmpeg (note the different protocol, not
> http(s)).
>
> source.ffmpeg.org is an alias for videolan.org, while git.ffmpeg.org
> seems to be a server of its own, i.e. another mirror?

I thought source.ffmpeg.org is the official git server, I don't know
why the download page disagrees...

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Loading...