I am searching for a reliable way to download a specific FFmpeg revision for the vlc guide that I run. Currently running with the nightly snapshot but of course this will change every 24 hours and potentially lead to breakages when compiling with vlc. I have been looking at something like the following:
and of course this will be able to be checked directly from git-web with the following address:Code:wget "http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=fbf9837;sf=tgz" -O \ ffmpeg.fbf9837.tgz
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=fbf9837
What I am a little unsure about is:
- Is there a better way to do this?
- Is it safe enough to use the short hash rather than the long?
- More importantly will this gather the correct versions of libavcodec / libavformat / libavfilter / libavutil / libswscale / libswresample etc even when this particular revision is weeks old?
Thanks for any input...
Bookmarks