[FFmpeg-user] FFMPEG 3.0.1

Reindl Harald h.reindl at thelounge.net
Thu Apr 7 00:08:30 CEST 2016



Am 06.04.2016 um 23:53 schrieb Moritz Barsnick:
> On Wed, Apr 06, 2016 at 23:37:34 +0200, Reindl Harald wrote:
>> - if you look in the list archives i posted my rpm-spec surely multiple
>> times
>
> Indeed. I was going to ask: Could you kindly provide
> ffmpeg-snapshot-latest.sh and x264-snapshot-latest.sh? (Even if they
> are semi-trivial.)

attached with .txt extension because some inboundfilters (like ours) 
reject executeable extensions

in the meantime i switched to generate .xz instead tar.bz2 to make the 
archived src.rpm files smaller

-------------- next part --------------
#!/bin/bash

set -e

tmp=$(mktemp -d)

trap cleanup EXIT
cleanup() {
    set +e
    [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
}

unset CDPATH
pwd=$(pwd)
date=$(date +%Y%m%d)
echo "$tmp"
cd "$tmp"

git clone git://git.videolan.org/ffmpeg.git
mv ffmpeg ffmpeg-$date
cd ffmpeg-$date
pushd libswscale
popd
./version.sh . version.h
find . -type d -name .git -print0 | xargs -0r rm -rf
sed -i -e '/^\.PHONY: version\.h$/d' Makefile
cat version.h
cd ..
tar Jcf "$pwd"/ffmpeg-$date.tar.xz ffmpeg-$date
cd - >/dev/null
-------------- next part --------------
#!/bin/bash

set -e

tmp=$(mktemp -d)

trap cleanup EXIT
cleanup() {
    set +e
    [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
}

unset CDPATH
pwd=$(pwd)
git=$(date +%Y%m%d)

pushd "$tmp"
git clone git://git.videolan.org/x264.git x264-$git
pushd x264-$git
./version.sh .
find . -type d -name .git -print0 | xargs -0r rm -rf
popd
tar Jcf "$pwd"/x264-$git.tar.xz x264-$git
popd >/dev/null
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-latest.spec
Type: text/x-rpm-spec
Size: 7388 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20160407/a3706582/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264-latest.spec
Type: text/x-rpm-spec
Size: 4008 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20160407/a3706582/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20160407/a3706582/attachment.sig>


More information about the ffmpeg-user mailing list