RTMPDump Windows Builds
RTMPDump Windows Builds
RTMPDump Windows Builds
Here are Win32 and Win64 static builds for RTMPDump
The source code for the builds can be download here: rtmpdump-20140302-git-79459a2.tar.xz
Both builds are licenesed under the GPL 2 and gpl-2.0.txt can be found within the archives.
UPDATED: 2014-04-08
Here are Win32 and Win64 static builds for RTMPDump
The source code for the builds can be download here: rtmpdump-20140302-git-79459a2.tar.xz
Both builds are licenesed under the GPL 2 and gpl-2.0.txt can be found within the archives.
UPDATED: 2014-04-08
Re: RTMPDump Windows Builds
I would be interested in your build script.
Re: RTMPDump Windows Builds
You'll need to slightly modify it to fit your own computer.
Code: Select all
#!/bin/bash
working_dir="$(pwd)"
pkg_dir='/home/kyle/software/ffmpeg/pkgs'
pkg='rtmpdump'
gnutls_ver='3.1.9'
nettle_ver='2.6'
gmp_ver='5.1.1'
zlib_ver='1.2.7'
yes_no_sel () {
unset usr_input
question="$1"
shift
while [[ "$usr_input" != [YyNn] ]]; do
echo -n "$question"
read usr_input
if [[ "$usr_input" != [YyNn] ]]; then
echo 'Your selection was not vaild, please try again.'
fi
done
case "$usr_input" in
[Yy] ) return 0 ;;
[Nn] ) return 1 ;;
esac
}
mkdir -p './source'
cd "./source" || exit 1
if [[ -d "./$pkg-git" ]]; then
cd "./$pkg-git" || exit 1
read -rn 7 git_pre_hash < './.git/refs/heads/master'
git pull
read -rn 7 git_hash < './.git/refs/heads/master'
read -r git_date < <(git log --date=iso --pretty=fuller | grep -o [0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] | head -n 2 | tail -n 1)
if [[ "$git_pre_hash" = "$git_hash" ]]; then
if ! yes_no_sel "$pkg is the latest version, rebuild? "; then
exit 1
fi
fi
else
git clone git://git.ffmpeg.org/rtmpdump $pkg-git
cd "./$pkg-git"
read -rn 7 git_hash < './.git/refs/heads/master'
read -r git_date < <(git log --date=iso --pretty=fuller | grep -o [0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] | head -n 2 | tail -n 1)
fi
ver="${git_date//-/}-git-$git_hash"
cd ..
rm -frv "./$pkg-$ver" "./$pkg-$ver.tar.xz"
cp -r "./$pkg-git" "./$pkg-$ver"
rm -frv "./$pkg-$ver/.git"*
tar -vcJf "$pkg-$ver.tar.xz" "$pkg-$ver/" || exit 1
rm -frv "./$pkg-$ver"
cd "./$pkg-git" || exit 1
clean_build () {
if [[ "$(ls -A .)" ]]; then
cd ..
rm -frv './build' || return 1
mkdir './build' || return 1
cd './build' || return 1
else
echo "build is already empty."
return 0
fi
}
compile_command () {
make_type="$1"
shift
local prefix="$working_dir/$pkg-$ver-$arch"
rm -frv "$prefix"
pwd
CROSS_COMPILE=$cross- make XLDFLAGS="-L$pkg_dir/gnutls/gnutls-$gnutls_ver-$arch/lib -L$pkg_dir/nettle/nettle-$nettle_ver-$arch/lib -L$pkg_dir/gmp/gmp-$gmp_ver-$arch/lib -L$pkg_dir/zlib/zlib-$zlib_ver-$arch/lib" XCFLAGS="-I$pkg_dir/gnutls/gnutls-$gnutls_ver-$arch/include -I$pkg_dir/nettle/nettle-$nettle_ver-$arch/include -I$pkg_dir/gmp/gmp-$gmp_ver-$arch/include -I$pkg_dir/zlib/zlib-$zlib_ver-$arch/include" prefix="$prefix" SYS=mingw CRYPTO=GNUTLS SHARED= XLIBS='-lcrypt32' $make_type
}
build_pkg () {
cross="$1-w64-mingw32"
case "$1" in
'i686' ) arch='win32' ;;
'x86_64' ) arch='win64' ;;
esac
shift
compile_command clean
compile_command || exit 1
compile_command install || exit 1
}
build_pkg 'i686' || exit 1
build_pkg 'x86_64' || exit 1
Re: RTMPDump Windows Builds
Why do you prefer GnuTls over PolarSSL?
Re: RTMPDump Windows Builds
FFmpeg supports GnuTLS as an external library, so it was convenient. Also, polarssl failed to compile several times for me.
Re: RTMPDump Windows Builds
Here is my script if you are interested
github.com/svnpenn/a/blob/master/scripts/install-rtmpdump.sh
github.com/svnpenn/a/blob/master/scripts/install-rtmpdump.sh
Re: RTMPDump Windows Builds
Have you tried using my MingGW-w64 Build Script for your cross toolchain?
Re: RTMPDump Windows Builds
Why would I want to build MinGW-w64, when its already built?Zeranoe wrote:Have you tried using my MingGW-w64 Build Script for your cross toolchain?
cygwin.com/packages/mingw64-i686-gcc-core
Re: RTMPDump Windows Builds
Those builds are rather old, and there is a lot to benefit from keeping a updated cross toolchain.
Re: RTMPDump Windows Builds
Hey bro, your builds do not work with Hulu URLs, notice
32
64
mine
32
Code: Select all
$ rtmpdump-20121209-git-3a1e20c-win32/rtmpdump -W http://download.hulu.com/huludeskto
p.swf -r rtmpe://hulu-863.fcod.llnwd.net/a2461/o23 -a 'a2461/o23?as=adobe-hmac-sha256
&av=1&te=connect&mp=863/50005863&et=1364227912&fmta-token=d5f73583ea259c172ab12cf8ce3
7bc36181f2074dba31db9f41c8276423b8592&hgt=OZU7Pvs7j27-nhteNno7wtM8_5tBYzoMh1Z58EIu4RZ
_UEylAeebpDB0Kr38Y64MGPQsa-ygkdaJNyUhN7zRxqneB7Cix-MHXlUTl4r-3VX1SFTdPvMjayPlhKKjgMEn
WOwbyVunCyntnUUXivFZMkHlwB5U6LvH62z97-BfknJRU4nx3NUvNbh6oCJ_Mp2bK4y3MNGws2yNcKaZodXRC
WmtJ6imdoc3Tpd1CQSQCiYasvj_ELBUgnDkB5gdkosH4tRV_Div9PZ4r2CVxNSLBuaZoNXaRzDB-LQYTLhBVe
k=&hgt_ver=331370278' -y mp4:863/50005863/agave50005863_738559_H264_1000.mp4 -o 'Rick
Steves'\'' Europe 1x13 The Best of Sicily.flv'
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Segmentation fault
Code: Select all
$ rtmpdump-20121209-git-3a1e20c-win64/rtmpdump -W http://download.hulu.com/huludeskto
p.swf -r rtmpe://hulu-863.fcod.llnwd.net/a2461/o23 -a 'a2461/o23?as=adobe-hmac-sha256
&av=1&te=connect&mp=863/50005863&et=1364227912&fmta-token=d5f73583ea259c172ab12cf8ce3
7bc36181f2074dba31db9f41c8276423b8592&hgt=OZU7Pvs7j27-nhteNno7wtM8_5tBYzoMh1Z58EIu4RZ
_UEylAeebpDB0Kr38Y64MGPQsa-ygkdaJNyUhN7zRxqneB7Cix-MHXlUTl4r-3VX1SFTdPvMjayPlhKKjgMEn
WOwbyVunCyntnUUXivFZMkHlwB5U6LvH62z97-BfknJRU4nx3NUvNbh6oCJ_Mp2bK4y3MNGws2yNcKaZodXRC
WmtJ6imdoc3Tpd1CQSQCiYasvj_ELBUgnDkB5gdkosH4tRV_Div9PZ4r2CVxNSLBuaZoNXaRzDB-LQYTLhBVe
k=&hgt_ver=331370278' -y mp4:863/50005863/agave50005863_738559_H264_1000.mp4 -o 'Rick
Steves'\'' Europe 1x13 The Best of Sicily.flv'
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Segmentation fault
Code: Select all
$ rtmpdump -W http://download.hulu.com/huludesktop.swf -r rtmpe://hulu-863.fcod.llnwd
.net/a2461/o23 -a 'a2461/o23?as=adobe-hmac-sha256&av=1&te=connect&mp=863/50005863&et=
1364227912&fmta-token=d5f73583ea259c172ab12cf8ce37bc36181f2074dba31db9f41c8276423b859
2&hgt=OZU7Pvs7j27-nhteNno7wtM8_5tBYzoMh1Z58EIu4RZ_UEylAeebpDB0Kr38Y64MGPQsa-ygkdaJNyU
hN7zRxqneB7Cix-MHXlUTl4r-3VX1SFTdPvMjayPlhKKjgMEnWOwbyVunCyntnUUXivFZMkHlwB5U6LvH62z9
7-BfknJRU4nx3NUvNbh6oCJ_Mp2bK4y3MNGws2yNcKaZodXRCWmtJ6imdoc3Tpd1CQSQCiYasvj_ELBUgnDkB
5gdkosH4tRV_Div9PZ4r2CVxNSLBuaZoNXaRzDB-LQYTLhBVek=&hgt_ver=331370278' -y mp4:863/500
05863/agave50005863_738559_H264_1000.mp4 -o 'Rick Steves'\'' Europe 1x13 The Best of
Sicily.flv'
RTMPDump v2.4-81-g2872601
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 1567.63
INFO: moovPosition 36.00
INFO: width 640.00
INFO: height 480.00
INFO: videocodecid avc1
INFO: audiocodecid mp4a
INFO: avcprofile 100.00
INFO: avclevel 30.00
INFO: aacaot 2.00
INFO: videoframerate 29.97
INFO: audiosamplerate 22050.00
INFO: audiochannels 2.00
INFO: tags:
INFO: ©too Hulu v1.3
INFO: trackinfo:
INFO: length 47027981.00
INFO: timescale 30000.00
INFO: language und
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 69132288.00
INFO: timescale 44100.00
INFO: language und
INFO: sampledescription:
INFO: sampletype mp4a
1764.173 kB / 18.22 sec (1.1%)
'