mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
variuos test to gst-ffmpeg (not working)
This commit is contained in:
parent
7ae047f895
commit
beb3e82476
5150
packages/linux/patches/drm_via_chrome9.diff
Normal file
5150
packages/linux/patches/drm_via_chrome9.diff
Normal file
File diff suppressed because it is too large
Load Diff
2875
packages/multimedia/ffmpeg/10_mt-decode.diff
Normal file
2875
packages/multimedia/ffmpeg/10_mt-decode.diff
Normal file
File diff suppressed because it is too large
Load Diff
65
packages/multimedia/ffmpeg/build
Executable file
65
packages/multimedia/ffmpeg/build
Executable file
@ -0,0 +1,65 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build zlib
|
||||||
|
$SCRIPTS/build faad2
|
||||||
|
|
||||||
|
if [ "$DEBUG" = yes ]; then
|
||||||
|
DEBUG_CONFIG="--enable-debug --disable-stripping"
|
||||||
|
else
|
||||||
|
DEBUG_CONFIG="--disable-debug --enable-stripping"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$OPTIMIZATIONS" = size ]; then
|
||||||
|
OPTIM_CONFIG="--enable-small"
|
||||||
|
else
|
||||||
|
OPTIM_CONFIG="--disable-small"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$DEVTOOLS" = "yes" ]; then
|
||||||
|
DEVTOOLS_CONFIG="--enable-ffmpeg"
|
||||||
|
else
|
||||||
|
DEVTOOLS_CONFIG=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd $PKG_BUILD
|
||||||
|
./configure --enable-cross-compile \
|
||||||
|
--cross-prefix=$TARGET_PREFIX \
|
||||||
|
--arch=$TARGET_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--extra-cflags="$CFLAGS" \
|
||||||
|
--cpu=$TARGET_CPU \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-gpl \
|
||||||
|
--disable-ffplay \
|
||||||
|
--disable-ffserver \
|
||||||
|
$DEVTOOLS_CONFIG \
|
||||||
|
--enable-postproc \
|
||||||
|
--enable-swscale \
|
||||||
|
--disable-avfilter \
|
||||||
|
--disable-avfilter-lavf \
|
||||||
|
--enable-pthreads \
|
||||||
|
--disable-x11grab \
|
||||||
|
--disable-ipv6 \
|
||||||
|
$OPTIM_CONFIG \
|
||||||
|
--enable-encoders \
|
||||||
|
--enable-decoders \
|
||||||
|
--enable-muxers \
|
||||||
|
--enable-demuxers \
|
||||||
|
--enable-parsers \
|
||||||
|
--enable-bsfs \
|
||||||
|
--enable-protocols \
|
||||||
|
--disable-indevs \
|
||||||
|
--disable-outdevs \
|
||||||
|
--disable-devices \
|
||||||
|
--enable-filters \
|
||||||
|
--enable-zlib \
|
||||||
|
--enable-libfaad \
|
||||||
|
$DEBUG_CONFIG \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
$MAKEINSTALL
|
19
packages/multimedia/ffmpeg/install
Executable file
19
packages/multimedia/ffmpeg/install
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/install zlib
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -P $PKG_BUILD/libavcodec/libavcodec.so* $INSTALL/usr/lib
|
||||||
|
cp -P $PKG_BUILD/libavformat/libavformat.so* $INSTALL/usr/lib
|
||||||
|
cp -P $PKG_BUILD/libavutil/libavutil.so* $INSTALL/usr/lib
|
||||||
|
cp -P $PKG_BUILD/libswscale/libswscale.so.* $INSTALL/usr/lib
|
||||||
|
cp -P $PKG_BUILD/libpostproc/libpostproc.so.* $INSTALL/usr/lib
|
||||||
|
cp -P $PKG_BUILD/libswscale/libswscale.so.* $INSTALL/usr/lib
|
||||||
|
|
||||||
|
if [ "$DEVTOOLS" = "yes" ]; then
|
||||||
|
mkdir -p $INSTALL/usr/bin
|
||||||
|
cp -P $PKG_BUILD/ffmpeg $INSTALL/usr/bin
|
||||||
|
cp -P $PKG_BUILD/libavdevice/libavdevice.so.* $INSTALL/usr/lib
|
||||||
|
fi
|
1
packages/multimedia/ffmpeg/url
Normal file
1
packages/multimedia/ffmpeg/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://ffmpeg.org/releases/ffmpeg-0.5.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user