diff --git a/make/configure-ffmpeg.sh b/make/configure-ffmpeg.sh index 6985cc7..61da5f2 100755 --- a/make/configure-ffmpeg.sh +++ b/make/configure-ffmpeg.sh @@ -20,7 +20,7 @@ include_directory="build/include" lib_directory="build/lib" build_directory="build/${source_directory}" install_directory="build" -install_library_directory="mp4" +install_library_directory="pyav" mkdir -p ${build_directory} mkdir -p ${install_directory} @@ -48,6 +48,8 @@ ${absolute_source_directory}/configure \ --disable-programs \ --disable-avdevice \ --disable-avfilter \ + --disable-swresample \ + --disable-swscale \ --disable-network \ --disable-manpages \ --disable-podpages \ diff --git a/make/make-all.sh b/make/make-all.sh new file mode 100755 index 0000000..7929dce --- /dev/null +++ b/make/make-all.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# People's Video Editor: high quality, GPU accelerated mp4 editor +# Copyright (C) 2025 Roz K +# +# This file is part of People's Video Editor. +# +# People's Video Editor is free software: you can redistribute it and/or modify it under the terms of the +# GNU General Public License as published by the Free Software Foundation, either version 3 of the License, +# or (at your option) any later version. +# +# People's Video Editor is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; +# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with People's Video Editor. +# If not, see . + +./make/make-x264.sh +./make/make-ffmpeg.sh diff --git a/pve.py b/pve.py index a865468..8d233b0 100644 --- a/pve.py +++ b/pve.py @@ -14,8 +14,8 @@ # You should have received a copy of the GNU General Public License along with People's Video Editor. # If not, see . -from mp4.demuxer import Demuxer -from mp4.decoder import Decoder +from pyav.demuxer import Demuxer +from pyav.decoder import Decoder demuxer = Demuxer('test.mp4') diff --git a/pve.sh b/pve.sh index 6dc6d90..e62c5ba 100755 --- a/pve.sh +++ b/pve.sh @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License along with People's Video Editor. # If not, see . -shared_library_path="./mp4" +shared_library_path="./pyav" absolute_shared_library_path=$(realpath ${shared_library_path}) LD_LIBRARY_PATH=${absolute_shared_library_path} \ diff --git a/mp4/__init__.py b/pyav/__init__.py similarity index 100% rename from mp4/__init__.py rename to pyav/__init__.py diff --git a/mp4/codec.py b/pyav/codec.py similarity index 100% rename from mp4/codec.py rename to pyav/codec.py diff --git a/mp4/decoder.py b/pyav/decoder.py similarity index 100% rename from mp4/decoder.py rename to pyav/decoder.py diff --git a/mp4/demuxer.py b/pyav/demuxer.py similarity index 100% rename from mp4/demuxer.py rename to pyav/demuxer.py diff --git a/mp4/frame.py b/pyav/frame.py similarity index 100% rename from mp4/frame.py rename to pyav/frame.py diff --git a/mp4/libav.py b/pyav/libav.py similarity index 100% rename from mp4/libav.py rename to pyav/libav.py diff --git a/mp4/packet.py b/pyav/packet.py similarity index 100% rename from mp4/packet.py rename to pyav/packet.py diff --git a/mp4/stream.py b/pyav/stream.py similarity index 100% rename from mp4/stream.py rename to pyav/stream.py