diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2009-07-27 23:20:43 +0400 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2009-07-27 23:20:43 +0400 |
commit | f5b889b9b0ea7ef76c9ae5d36ba17cc2dab7cffe (patch) | |
tree | 40431bceefe950ca8c5dd77dde5745c8f4570c63 /src/filters/transform/mpcvideodec/ffmpeg_x64 | |
parent | d9e3ee3e78a54e960a8a15212737ca4a347fb85d (diff) |
Fixed : incorrect detection of H264 header by Mpeg splitter (remove escape code)
Fixed : reference time interpolation for mpeg stream without PTS
Fixed : incorrect frame order display on ATI
Fixed : macroblocks for H264 stream with filler data after slices
Changed : target OS changed for GCC x64 (need to upgrate to latest MingW64)
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1194 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/mpcvideodec/ffmpeg_x64')
-rw-r--r-- | src/filters/transform/mpcvideodec/ffmpeg_x64/buildffmpeg.sh | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/filters/transform/mpcvideodec/ffmpeg_x64/buildffmpeg.sh b/src/filters/transform/mpcvideodec/ffmpeg_x64/buildffmpeg.sh index 7a440de0a..46b7315f4 100644 --- a/src/filters/transform/mpcvideodec/ffmpeg_x64/buildffmpeg.sh +++ b/src/filters/transform/mpcvideodec/ffmpeg_x64/buildffmpeg.sh @@ -1,7 +1,8 @@ #!/bin/bash -e
+CC=x86_64-w64-mingw32-gcc
HST=i686-pc-mingw32
-TGT=x86_64-pc-mingw32
+TGT=x86_64-w64-mingw32
RT=root-$HST
PF=`pwd`/$RT
BD=`pwd`/build
@@ -61,6 +62,8 @@ done if [[ $updatemingw == "true" ]]; then
echo "Downloading Ming64 crt and headers.." && cd $BD/mingw
svn -q co https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk .
+ dest=$PF/$TGT/include
+ [ -d $dest ] && echo $dest already exists || ( cp -prf mingw-w64-headers/include $dest && find $dest -name ".svn" | xargs rm -rf )
fi
if [[ $compilewmingw == "true" ]]; then
@@ -68,14 +71,14 @@ if [[ $compilewmingw == "true" ]]; then ../mingw-w64-crt/configure --prefix=$PF --with-sysroot=$PF --host=$TGT || exit 1
# export CFLAGS="-fno-leading-underscore -mno-cygwin"
make CFLAGS="-fno-leading-underscore -mno-cygwin" -s && make install || exit 1
- cp /mingw/lib/gcc/x86_64-pc-mingw32/4.4.0/libgcc.a $BD/../../../../../../lib64/libgcc.a
- cp $PF/x86_64-pc-mingw32/lib/libmingwex.a $BD/../../../../../../lib64/libmingwex.a
+ cp /mingw/lib/gcc/x86_64-w64-mingw32/4.4.0/libgcc.a $BD/../../../../../../lib64/libgcc.a
+ cp $PF/x86_64-w64-mingw32/lib/libmingwex.a $BD/../../../../../../lib64/libmingwex.a
fi
-echo "Downloading ffmpeg for Mpc-hc" && cd $BD/ffmpeg
-svn -q co https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk/src/filters/transform/mpcvideodec/ffmpeg .
-
-echo "Compiling ffmpeg for Mpc-hc..."
-cd $BD/ffmpeg
-make 64BIT=yes
+#echo "Downloading ffmpeg for Mpc-hc" && cd $BD/ffmpeg
+#svn -q co https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk/src/filters/transform/mpcvideodec/ffmpeg .
+#
+#echo "Compiling ffmpeg for Mpc-hc..."
+#cd $BD/ffmpeg
+#make 64BIT=yes
|