@@ -0,0 +1,129 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
import os
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
shelltools.system("./configure --prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--incdir=/usr/include/ffmpeg4.4 \
|
||||
--libdir=/usr/lib/ffmpeg4.4 \
|
||||
--disable-debug \
|
||||
--disable-static \
|
||||
--disable-stripping \
|
||||
--enable-version3 \
|
||||
--enable-nonfree \
|
||||
--enable-avfilter \
|
||||
--enable-avresample \
|
||||
--enable-frei0r \
|
||||
--enable-gpl \
|
||||
--enable-ladspa \
|
||||
--enable-libaom \
|
||||
--enable-libaribb24 \
|
||||
--enable-libass \
|
||||
--enable-libbluray \
|
||||
--enable-libbs2b \
|
||||
--enable-libcelt \
|
||||
--enable-libcdio \
|
||||
--enable-libcodec2 \
|
||||
--enable-libdav1d \
|
||||
--enable-libdavs2 \
|
||||
--enable-libdc1394 \
|
||||
--enable-libfdk-aac \
|
||||
--enable-libflite \
|
||||
--enable-libfontconfig \
|
||||
--enable-libfreetype \
|
||||
--enable-libfribidi \
|
||||
--enable-libgme \
|
||||
--enable-libgsm \
|
||||
--enable-libiec61883 \
|
||||
--enable-libilbc \
|
||||
--enable-libjack \
|
||||
--enable-libkvazaar \
|
||||
--disable-liblensfun \
|
||||
--enable-libmodplug \
|
||||
--enable-libmp3lame \
|
||||
--enable-libopencore_amrnb \
|
||||
--enable-libopencore_amrwb \
|
||||
--enable-libopenjpeg \
|
||||
--enable-libopus \
|
||||
--enable-libpulse \
|
||||
--enable-librsvg \
|
||||
--enable-librubberband \
|
||||
--enable-librtmp \
|
||||
--enable-libshine \
|
||||
--enable-libsnappy \
|
||||
--enable-libsoxr \
|
||||
--enable-libspeex \
|
||||
--enable-libtheora \
|
||||
--enable-libtwolame \
|
||||
--enable-libvidstab \
|
||||
--enable-libv4l2 \
|
||||
--enable-libvo-amrwbenc \
|
||||
--enable-libvorbis \
|
||||
--enable-libvpx \
|
||||
--enable-libwebp \
|
||||
--enable-libx264 \
|
||||
--enable-libx265 \
|
||||
--enable-libxavs \
|
||||
--enable-libxavs2 \
|
||||
--enable-libxcb \
|
||||
--enable-libxvid \
|
||||
--enable-libxml2 \
|
||||
--enable-libzmq \
|
||||
--enable-libzimg \
|
||||
--enable-pic \
|
||||
--enable-postproc \
|
||||
--enable-librav1e \
|
||||
--enable-runtime-cpudetect \
|
||||
--enable-shared \
|
||||
--enable-libsvtav1 \
|
||||
--enable-swresample \
|
||||
--enable-vdpau \
|
||||
--enable-opencl \
|
||||
--enable-openssl \
|
||||
--enable-libdrm \
|
||||
--enable-libmfx \
|
||||
--enable-vaapi \
|
||||
--enable-vdpau \
|
||||
--enable-omx \
|
||||
--enable-libsrt \
|
||||
--extra-ldflags='-lasound -lm'")
|
||||
# --enable-openal \
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
autotools.make('tools/qt-faststart')
|
||||
autotools.make("doc/ff{mpeg,play}.1")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s install-man" % get.installDIR())
|
||||
pisitools.dobin("tools/qt-faststart")
|
||||
|
||||
pisitools.dodoc("Changelog", "README.md", "LICENSE.md", "COPYING*")
|
||||
pisitools.removeDir("/usr/share")
|
||||
pisitools.removeDir("/usr/bin")
|
||||
|
||||
|
||||
# for libs in os.listdir("%s/usr/lib/ffmpeg4.4/*.so*" % get.installDIR()):
|
||||
# pisitools.dosym("/usr/lib/ffmpeg4.4/%s" % libs, "/usr/lib/%s" % libs)
|
||||
|
||||
for lib in shelltools.ls("%s/usr/lib/ffmpeg4.4" % get.installDIR()):
|
||||
pisitools.dosym("/usr/lib/ffmpeg4.4/%s" % lib, "/usr/lib/%s" % lib)
|
||||
|
||||
pisitools.remove("/usr/lib/pkgconfig")
|
||||
pisitools.remove("/usr/lib/libavutil.so")
|
||||
pisitools.remove("/usr/lib/libswscale.so")
|
||||
pisitools.remove("/usr/lib/libavcodec.so")
|
||||
pisitools.remove("/usr/lib/libpostproc.so")
|
||||
pisitools.remove("/usr/lib/libavdevice.so")
|
||||
pisitools.remove("/usr/lib/libavfilter.so")
|
||||
pisitools.remove("/usr/lib/libavformat.so")
|
||||
pisitools.remove("/usr/lib/libswresample.so")
|
||||
@@ -0,0 +1,25 @@
|
||||
From 37b8f54578ac1bcb7a63dc9038a5238fd6a58793 Mon Sep 17 00:00:00 2001
|
||||
From: Leigh Scott <leigh123linux@gmail.com>
|
||||
Date: Sat, 23 May 2020 12:32:44 +0100
|
||||
Subject: [PATCH] fix vmaf model path
|
||||
|
||||
---
|
||||
libavfilter/vf_libvmaf.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libavfilter/vf_libvmaf.c b/libavfilter/vf_libvmaf.c
|
||||
index 14c3216b3a..e7273b6d1d 100644
|
||||
--- a/libavfilter/vf_libvmaf.c
|
||||
+++ b/libavfilter/vf_libvmaf.c
|
||||
@@ -72,7 +72,7 @@ typedef struct LIBVMAFContext {
|
||||
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
|
||||
|
||||
static const AVOption libvmaf_options[] = {
|
||||
- {"model_path", "Set the model to be used for computing vmaf.", OFFSET(model_path), AV_OPT_TYPE_STRING, {.str="/usr/local/share/model/vmaf_v0.6.1.pkl"}, 0, 1, FLAGS},
|
||||
+ {"model_path", "Set the model to be used for computing vmaf.", OFFSET(model_path), AV_OPT_TYPE_STRING, {.str="/usr/share/model/vmaf_v0.6.1.pkl"}, 0, 1, FLAGS},
|
||||
{"log_path", "Set the file path to be used to store logs.", OFFSET(log_path), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 1, FLAGS},
|
||||
{"log_fmt", "Set the format of the log (xml or json).", OFFSET(log_fmt), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 1, FLAGS},
|
||||
{"enable_transform", "Enables transform for computing vmaf.", OFFSET(enable_transform), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS},
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -0,0 +1,243 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>ffmpeg4</Name>
|
||||
<Homepage>http://ffmpeg.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<License>GPLv3</License>
|
||||
<License>LGPLv2</License>
|
||||
<License>LGPLv3</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>A command-line tool to record, convert and stream audio and video</Summary>
|
||||
<Description>FFmpeg is a complete solution to record, convert and stream audio and video.</Description>
|
||||
<Archive sha1sum="1e863eff4a9830275298c2762645df3c1a7ef36b" type="tarxz">https://ffmpeg.org/releases/ffmpeg-4.4.5.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>srt-devel</Dependency>
|
||||
<Dependency>freetype-devel</Dependency>
|
||||
<Dependency>fontconfig-devel</Dependency>
|
||||
<!-- <Dependency>faac-devel</Dependency> -->
|
||||
<Dependency>lame-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>xz-devel</Dependency>
|
||||
<Dependency>x264-devel</Dependency>
|
||||
<Dependency>x265-devel</Dependency>
|
||||
<Dependency>xavs-devel</Dependency>
|
||||
<Dependency>xavs2-devel</Dependency>
|
||||
<Dependency>ffnvcodec</Dependency>
|
||||
<Dependency>libbs2b-devel</Dependency>
|
||||
<Dependency>libavc1394-devel</Dependency>
|
||||
<Dependency>libraw1394-devel</Dependency>
|
||||
<Dependency>svt-av1-devel</Dependency>
|
||||
<Dependency>libdrm-devel</Dependency>
|
||||
<Dependency>libmfx-devel</Dependency>
|
||||
<Dependency>rav1e-devel</Dependency>
|
||||
<Dependency>dav1d-devel</Dependency>
|
||||
<Dependency>davs2-devel</Dependency>
|
||||
<Dependency>aom-devel</Dependency>
|
||||
<Dependency>libva-devel</Dependency>
|
||||
<Dependency>libsdl2-devel</Dependency>
|
||||
<Dependency>libvpx-devel</Dependency>
|
||||
<Dependency>libass-devel</Dependency>
|
||||
<Dependency>libopus-devel</Dependency>
|
||||
<Dependency>libilbc-devel</Dependency>
|
||||
<Dependency>codec2-devel</Dependency>
|
||||
<Dependency>libfdk-aac-devel</Dependency>
|
||||
<Dependency>libgme-devel</Dependency>
|
||||
<Dependency>lensfun-devel</Dependency>
|
||||
<Dependency>libiec61883-devel</Dependency>
|
||||
<Dependency>kvazaar-devel</Dependency>
|
||||
<Dependency>libopenmpt-devel</Dependency>
|
||||
<Dependency>librsvg-devel</Dependency>
|
||||
<Dependency>rubberband-devel</Dependency>
|
||||
<Dependency>shine-devel</Dependency>
|
||||
<Dependency>flite-devel</Dependency>
|
||||
<Dependency>libsoxr-devel</Dependency>
|
||||
<Dependency>snappy-devel</Dependency>
|
||||
<Dependency>vid.stab-devel</Dependency>
|
||||
<Dependency>libxcb-devel</Dependency>
|
||||
<Dependency>libzimg-devel</Dependency>
|
||||
<!-- <Dependency>openal-devel</Dependency> -->
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>libvdpau-devel</Dependency>
|
||||
<Dependency>libtheora-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<!-- <Dependency>gnutls-devel</Dependency> -->
|
||||
<Dependency>celt-devel</Dependency>
|
||||
<Dependency>gsm-devel</Dependency>
|
||||
<Dependency>libbluray-devel</Dependency>
|
||||
<Dependency>opencore-amr-devel</Dependency>
|
||||
<Dependency>libmodplug-devel</Dependency>
|
||||
<Dependency>pulseaudio-libs-devel</Dependency>
|
||||
<!-- <Dependency>openjpeg-devel</Dependency> -->
|
||||
<Dependency>openjpeg2-devel</Dependency>
|
||||
<Dependency>frei0r-plugins-devel</Dependency>
|
||||
<Dependency>rtmpdump-devel</Dependency>
|
||||
<!-- <Dependency>schroedinger-devel</Dependency> -->
|
||||
<Dependency>speex-devel</Dependency>
|
||||
<Dependency>yasm-devel</Dependency>
|
||||
<Dependency>libv4l-devel</Dependency>
|
||||
<Dependency>pkgconfig</Dependency>
|
||||
<Dependency>libvo-amrwbenc-devel</Dependency>
|
||||
<!-- <Dependency>libvo-aacenc-devel</Dependency> -->
|
||||
<Dependency>xvid-devel</Dependency>
|
||||
<Dependency>libdc1394-devel</Dependency>
|
||||
<!-- <Dependency>libnut-devel</Dependency> -->
|
||||
<Dependency>libcdio-paranoia-devel</Dependency>
|
||||
<Dependency>libXv-devel</Dependency>
|
||||
<Dependency>wavpack-devel</Dependency>
|
||||
<Dependency>webp-devel</Dependency>
|
||||
<Dependency>ladspa-sdk-devel</Dependency>
|
||||
<Dependency>libaribb24-devel</Dependency>
|
||||
<Dependency>jack-audio-connection-kit-devel</Dependency>
|
||||
<Dependency>twolame-devel</Dependency>
|
||||
<Dependency>fribidi-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>opencl-icd-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>libomxil-bellagio-devel</Dependency>
|
||||
<Dependency>zeromq-devel</Dependency>
|
||||
<!-- <Dependency>llvm</Dependency> -->
|
||||
<!-- <Dependency>llvm-clang</Dependency> -->
|
||||
<!-- <Dependency>lld</Dependency> -->
|
||||
<!-- <Dependency>libidn-devel</Dependency> -->
|
||||
<!--Dependency versionFrom="4.4.0">opencv-devel</Dependency-->
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">fix-vmaf-model-path.patch</Patch>
|
||||
<!-- <Patch level="1">ffmpeg-4.4.4-fix-build-svt-av1-1.5.0.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>ffmpeg4</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>srt</Dependency>
|
||||
<Dependency>gsm</Dependency>
|
||||
<Dependency>celt</Dependency>
|
||||
<!-- <Dependency>faac</Dependency> -->
|
||||
<Dependency>lame</Dependency>
|
||||
<Dependency>x264</Dependency>
|
||||
<Dependency>x265</Dependency>
|
||||
<Dependency>xvid</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>bzip2</Dependency>
|
||||
<Dependency>speex</Dependency>
|
||||
<Dependency>libva</Dependency>
|
||||
<Dependency>libXv</Dependency>
|
||||
<!-- <Dependency>gnutls</Dependency> -->
|
||||
<Dependency>libX11</Dependency>
|
||||
<!-- <Dependency>libnut</Dependency> -->
|
||||
<Dependency>libsdl2</Dependency>
|
||||
<Dependency>libv4l</Dependency>
|
||||
<Dependency>libvpx</Dependency>
|
||||
<Dependency>libxcb</Dependency>
|
||||
<Dependency>libass</Dependency>
|
||||
<Dependency>libopus</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>alsa-lib</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>libvdpau</Dependency>
|
||||
<Dependency>openjpeg2</Dependency>
|
||||
<Dependency>xz</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>xavs</Dependency>
|
||||
<Dependency>xavs2</Dependency>
|
||||
<Dependency>libbs2b</Dependency>
|
||||
<Dependency>libavc1394</Dependency>
|
||||
<Dependency>libraw1394</Dependency>
|
||||
<Dependency>svt-av1</Dependency>
|
||||
<Dependency>libdrm</Dependency>
|
||||
<Dependency>libmfx</Dependency>
|
||||
<Dependency>rav1e</Dependency>
|
||||
<Dependency>dav1d</Dependency>
|
||||
<Dependency>davs2</Dependency>
|
||||
<Dependency>aom</Dependency>
|
||||
<Dependency>libva</Dependency>
|
||||
<Dependency>libsdl2</Dependency>
|
||||
<Dependency>libvpx</Dependency>
|
||||
<Dependency>libass</Dependency>
|
||||
<Dependency>libopus</Dependency>
|
||||
<Dependency>libilbc</Dependency>
|
||||
<Dependency>codec2</Dependency>
|
||||
<Dependency>libfdk-aac</Dependency>
|
||||
<Dependency>libgme</Dependency>
|
||||
<Dependency>lensfun</Dependency>
|
||||
<Dependency>libiec61883</Dependency>
|
||||
<Dependency>kvazaar</Dependency>
|
||||
<Dependency>libopenmpt</Dependency>
|
||||
<Dependency>librsvg</Dependency>
|
||||
<Dependency>rubberband</Dependency>
|
||||
<Dependency>shine</Dependency>
|
||||
<Dependency>flite</Dependency>
|
||||
<Dependency>libsoxr</Dependency>
|
||||
<Dependency>snappy</Dependency>
|
||||
<Dependency>vid.stab</Dependency>
|
||||
<Dependency>libxcb</Dependency>
|
||||
<Dependency>libzimg</Dependency>
|
||||
<!-- <Dependency>openal</Dependency> -->
|
||||
<Dependency>rtmpdump</Dependency>
|
||||
<Dependency>libbluray</Dependency>
|
||||
<Dependency>libdc1394</Dependency>
|
||||
<Dependency>libtheora</Dependency>
|
||||
<Dependency>libvorbis</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
<Dependency>libmodplug</Dependency>
|
||||
<Dependency>libvo-aacenc</Dependency>
|
||||
<Dependency>opencore-amr</Dependency>
|
||||
<!-- <Dependency>schroedinger</Dependency> -->
|
||||
<Dependency>libvo-amrwbenc</Dependency>
|
||||
<Dependency>pulseaudio-libs</Dependency>
|
||||
<Dependency>libcdio-paranoia</Dependency>
|
||||
<Dependency>wavpack</Dependency>
|
||||
<Dependency>webp</Dependency>
|
||||
<Dependency>ladspa-sdk</Dependency>
|
||||
<Dependency>libaribb24</Dependency>
|
||||
<Dependency>jack-audio-connection-kit</Dependency>
|
||||
<Dependency>twolame</Dependency>
|
||||
<Dependency>fribidi</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>opencl-icd</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>libomxil-bellagio</Dependency>
|
||||
<Dependency>zeromq</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/ffmpeg4.4</Path>
|
||||
<Path fileType="library">/usr/lib/*.so*</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/usr/share/ffmpeg</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>ffmpeg4-devel</Name>
|
||||
<Summary>Development files for ffmpeg</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">ffmpeg4</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/ffmpeg4.4</Path>
|
||||
<Path fileType="data">/usr/lib/ffmpeg4.4/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2024-08-31</Date>
|
||||
<Version>4.4.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>ffmpeg</Name>
|
||||
<Summary xml:lang="tr">FFmpeg ses ve görüntü dosyalarını kaydedebilen, dönüştürebilen ve açabilen yazılımdır</Summary>
|
||||
<Summary xml:lang="pl">FFmpeg to kompletne rozwiązanie nagrywania, konwersji i transmisji strumieni dźwięku i obrazu</Summary>
|
||||
<Description xml:lang="tr">FFmpeg ses ve görüntü dosyalarını kaydedebilen,dönüştürebilen ve açabilen komple bir çözüm. libavcodec ve birçok popüler ses/görüntü codeclerini içerir.</Description>
|
||||
<Description xml:lang="pl">FFmpeg to kompletne rozwiązanie nagrywania, konwersji i transmisji strumieni dźwięku i obrazu. Jest to działające z linii poleceń narzędzie do konwersji obrazu z jednego formatu do innego. Obsługuje także przechwytywanie i kodowanie w czasie rzeczywistym z karty telewizyjnej.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>ffmpeg-devel</Name>
|
||||
<Summary xml:lang="tr">ffmpeg için geliştirme dosyaları</Summary>
|
||||
<Summary xml:lang="pl">Pliki nagłówkowe ffmpeg</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
+1287
-496
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
42edf29fc880d64c36d9c38f1165f2c3ac362741
|
||||
fce4afb7f4869790daab9bd2aea607831d1c7565
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
8531f00f256534fc65de57871101abe482ecf4d4
|
||||
2fd289a63fae3de80992059625aa4177c1fb4318
|
||||
Reference in New Issue
Block a user