Projects
home:enzokiel
avidemux3
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 51
View file
avidemux3.changes
Changed
@@ -1,7 +1,7 @@ ------------------------------------------------------------------- -Thu Oct 29 19:24:32 UTC 2026 - enzokiel@kabelmail.de +Mon Nov 09 21:27:51 UTC 2026 - enzokiel@kabelmail.de -- Update to version 2.8.2.git20261029 +- Update to version 2.8.2.git20261103 - No changelog available -------------------------------------------------------------------
View file
avidemux3.spec
Changed
@@ -19,7 +19,7 @@ Name: avidemux3 Summary: Graphical video editing and transcoding tool License: GPL-2.0-only -Version: 2.8.2.git20261029 +Version: 2.8.2.git20261103 Release: 0 URL: https://github.com/mean00/avidemux2 ExclusiveArch: %ix86 x86_64
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux/common/gui_navigate.cpp -> avidemux2-2.8.2.git20261103.tar.xz/avidemux/common/gui_navigate.cpp
Changed
@@ -658,6 +658,12 @@ */ bool GUI_CoarseSeekByTime(int64_t time) { + /* We cannot seek during playback because pts we get from preview + during active playback are relative to where playback was started, + not to the start of the video. */ + if (playing) + return false; + uint64_t pts = admPreview::getCurrentPts(); if (time < 0 && pts < -time)
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux/common/gui_play.cpp -> avidemux2-2.8.2.git20261103.tar.xz/avidemux/common/gui_play.cpp
Changed
@@ -91,6 +91,8 @@ wavbuf = NULL; videoFilter = NULL; videoChain = NULL; + firstPts = 0; + lastPts = 0; vuMeterPts = 0; audioLatency = 0; videoLagTimer = 0; @@ -149,11 +151,13 @@ } delete playLoop; playLoop = NULL; - playing = 0; // Don't touch display on application exit if (exiting) + { + playing = 0; return; + } admPreview::deferDisplay(false); // Resize the output window to original size... @@ -174,6 +178,7 @@ if (false == admPreview::seekToTime(newTimeFrame)) admPreview::nextPicture(); } + playing = 0; UI_purge(); GUI_setCurrentFrameAndTime(); UI_purge();
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux/osxInstaller/CMakeLists.txt -> avidemux2-2.8.2.git20261103.tar.xz/avidemux/osxInstaller/CMakeLists.txt
Changed
@@ -49,8 +49,17 @@ # LIST(APPEND bundleDirs "${BUNDLE}/Contents/Resources/lib") IF(ENABLE_QT6) - # A gross hack to work around the failure to resolve @loader_path for libbrotli. - LIST(APPEND bundleDirs "/usr/local/lib") + # fixup_bundle needs the Homebrew lib directory to resolve @rpath/Qt*.framework + # references carried by Qt plugins, and @loader_path dependencies such as libbrotli. + # Hardcoding /usr/local/lib (Intel Homebrew) makes otool fail on Apple Silicon, + # where Homebrew lives in /opt/homebrew and /usr/local/lib usually does not exist. + # Only directories that exist are added: BundleUtilities invokes otool on the + # search path and aborts if a listed directory is missing. + FOREACH(brewlib /opt/homebrew/lib /opt/homebrew/opt/qtbase/lib /usr/local/lib) + IF(EXISTS "${brewlib}") + LIST(APPEND bundleDirs "${brewlib}") + ENDIF() + ENDFOREACH() ENDIF() # @@ -108,6 +117,13 @@ # LIST(APPEND all ${myPlugins}) LIST(APPEND all ${all_adm_plugin}) +# Helper executables are not the bundle's CFBundleExecutable, so fixup_bundle +# would otherwise leave them pointing at absolute build or Homebrew paths. +FOREACH(helper avidemux_cli avidemux_jobs) + IF(EXISTS "${BUNDLE}/Contents/MacOS/${helper}") + LIST(APPEND all "${BUNDLE}/Contents/MacOS/${helper}") + ENDIF() +ENDFOREACH() MESSAGE(STATUS "Plugin to fix : ${all}") # Create Qt.conf
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux/osxInstaller/cmake/admFixupBundle.cmake.in -> avidemux2-2.8.2.git20261103.tar.xz/avidemux/osxInstaller/cmake/admFixupBundle.cmake.in
Changed
@@ -50,25 +50,14 @@ FILE(REMOVE "${v}") ENDFOREACH(v ${vs}) -# Remove the copies of Qt lib in framework, we only keep "5" -FILE(GLOB frameworks "@BUNDLE@/Contents/Frameworks/*") -MESSAGE(STATUS "Frameworks to clean : ${frameworks}") -FOREACH(frame ${frameworks}) - MESSAGE(STATUS " Cleaning ${frame}") - FILE(REMOVE_RECURSE "${frame}/Headers") - FILE(GLOB qtop "${frame}/Qt*") - FOREACH(q ${qtop}) - MESSAGE(STATUS " >${q}") - FILE(REMOVE "${q}") - ENDFOREACH(q ${qtop}) - FILE(REMOVE_RECURSE "${frame}/Versions/Current") - FILE(REMOVE_RECURSE "${frame}/Versions/@ADM_QT_VERSION@/Headers") - # Create symlinks ? -ENDFOREACH(frame ${frameworks}) - -IF(ADM_CPU_ARM64) - MESSAGE(STATUS "") - MESSAGE(STATUS "Trying to adhoc-sign the app, script: @CMAKE_BINARY_DIR@/macos-adhoc-sign-app.sh") - MESSAGE(STATUS "") - EXECUTE_PROCESS(COMMAND bash "@CMAKE_BINARY_DIR@/macos-adhoc-sign-app.sh") -ENDIF(ADM_CPU_ARM64) +# Framework layout and ad-hoc signing happen in macos-adhoc-sign-app.sh +# after install_name changes. Do not delete Versions/Current or the top-level +# framework symlinks here: codesign --verify --strict requires them. +MESSAGE(STATUS "") +MESSAGE(STATUS "Repairing frameworks and ad-hoc signing: @CMAKE_BINARY_DIR@/macos-adhoc-sign-app.sh") +MESSAGE(STATUS "") +EXECUTE_PROCESS(COMMAND bash "@CMAKE_BINARY_DIR@/macos-adhoc-sign-app.sh" + RESULT_VARIABLE adm_sign_result) +IF(NOT adm_sign_result EQUAL 0) + MESSAGE(FATAL_ERROR "Ad-hoc signing failed with status ${adm_sign_result}") +ENDIF()
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux/osxInstaller/cmake/macos-adhoc-sign-app.sh.in -> avidemux2-2.8.2.git20261103.tar.xz/avidemux/osxInstaller/cmake/macos-adhoc-sign-app.sh.in
Changed
@@ -1,100 +1,202 @@ #!/bin/bash +# Turn the finished .app into a codesign-strict bundle. +# Called from admFixupBundle.cmake after install_name_tool rewrites. +# /bin/bash on macOS is 3.2, so this script avoids mapfile and other bash 4 syntax. +set -eu +set -o pipefail + +APP="@BUNDLE@" + fail() { - echo "** $1 **" + echo "** $1 **" >&2 exit 1 } -sign() + +if ! -d "${APP}/Contents" ; then + fail "directory \"${APP}/Contents\" does not exist" +fi + +echo "Repairing framework layout and modes in ${APP}" + +# Homebrew bottles and fixup_bundle leave files mode 0444. Owner write is +# required before we replace symlinks, and so later tools (xattr) succeed. +find "${APP}" -type d -exec chmod u+w {} + +find "${APP}" -type f -exec chmod u+w {} + + +repair_framework() { - /usr/bin/codesign --force -s - $1 || fail "Error ad-hoc signing $1" -} + fw="$1" + name=$(basename "${fw}" .framework) + versions="${fw}/Versions" + mkdir -p "${versions}" -BUNDLE_CONTENT="@BUNDLE@/Contents" + ver="" + if -d "${versions}/A" ; then + ver="A" + else + for d in "${versions}"/*; do + -e "${d}" || -L "${d}" || continue + base=$(basename "${d}") + if "${base}" = "Current" ; then + continue + fi + ver="${base}" + break + done + fi + if -z "${ver}" ; then + ver="A" + mkdir -p "${versions}/A" + fi -if ! -d "${BUNDLE_CONTENT}" -then - fail "Error: directory \"${BUNDLE_CONTENT}\" doesn't exist." -fi -# -# Qt frameworks -# -for fw in \ -QtCore \ -QtDBus \ -QtGui \ -QtNetwork \ -QtOpenGL \ -QtOpenGLWidgets \ -QtWidgets -do - sign ${BUNDLE_CONTENT}/Frameworks/${fw}.framework/Versions/A/${fw} -done -# -# Qt plugins -# -for folder in \ -platforms \ -styles -do - for lib in ${BUNDLE_CONTENT}/PlugIns/${folder}/*.dylib - do - sign ${lib} + # Keep the versioned copy when the top level is a real file, not a symlink. + for item in "${fw}"/*; do + -e "${item}" || -L "${item}" || continue + base=$(basename "${item}") + if "${base}" = "Versions" ; then + continue + fi + if -L "${item}" ; then + continue + fi + if ! -e "${versions}/${ver}/${base}" ; then + mv "${item}" "${versions}/${ver}/${base}" + fi done -done -# -# Other frameworks -# -for lib in ${BUNDLE_CONTENT}/Frameworks/*.dylib -do - sign ${lib} -done -# -# Avidemux plugins -# -PLUGDIR=${BUNDLE_CONTENT}/MacOS/ADM_plugins6 -for folder in \ -audioDecoder \ -audioDevices \ -audioEncoders \ -demuxers \ -muxers \ -scriptEngines \ -videoDecoders \ -videoEncoders \ -videoEncoders/qt6 \ -videoFilters \ -videoFilters/cli \ -videoFilters/qt6 -do - for lib in ${PLUGDIR}/${folder}/*.dylib - do - sign ${lib} + + # codesign --strict looks for Resources/Info.plist via Versions/Current. + if ! -f "${versions}/${ver}/Resources/Info.plist" ; then + mkdir -p "${versions}/${ver}/Resources" + cat > "${versions}/${ver}/Resources/Info.plist" <<PLIST +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleExecutable</key> + <string>${name}</string> + <key>CFBundleIdentifier</key> + <string>org.qt-project.Qt.${name}</string> + <key>CFBundleName</key> + <string>${name}</string> + <key>CFBundlePackageType</key> + <string>FMWK</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> +</dict> +</plist> +PLIST + fi + + rm -rf "${versions}/Current" + ln -s "${ver}" "${versions}/Current" + + for item in "${versions}/${ver}"/*; do + -e "${item}" || -L "${item}" || continue + base=$(basename "${item}") + if -e "${fw}/${base}" || -L "${fw}/${base}" ; then + rm -rf "${fw:?}/${base:?}" + fi + ln -s "Versions/Current/${base}" "${fw}/${base}" done + + if ! -e "${fw}/${name}" ; then + fail "framework ${fw} has no ${name} binary after layout repair" + fi +} + +for fw in "${APP}/Contents/Frameworks/"*.framework; do + if -d "${fw}" ; then + repair_framework "${fw}" + fi +done + +# Directories and Mach-O binaries are 0755. Other files are 0644. +find "${APP}" -type d -exec chmod 0755 {} + +find "${APP}" -type f -exec chmod 0644 {} + +find "${APP}" -type f -print0 | while IFS= read -r -d '' f; do + if file -b "${f}" | grep -q 'Mach-O'; then + chmod 0755 "${f}" + fi done -# -# Do JSON encoder presets, tinyPy scripts & Co. need a signature too? -# -for textfile in \ -${PLUGDIR}/autoScripts/*.py \ -${PLUGDIR}/autoScripts/lib/*.py \ -${PLUGDIR}/pluginSettings/x264/3/*.json \ -${PLUGDIR}/shaderDemo/1/*.shader -do - sign ${textfile} + +dangling=$(find "${APP}" -type l ! -exec test -e {} \; -print || true) +if -n "${dangling}" ; then + echo "Dangling symlinks:" >&2
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux/osxInstaller/macos-adhoc-sign-installed-app.sh -> avidemux2-2.8.2.git20261103.tar.xz/avidemux/osxInstaller/macos-adhoc-sign-installed-app.sh
Changed
@@ -1,100 +1,88 @@ #!/bin/sh +# Re-sign valid Avidemux app installed to the default location. +set -eu +set -o pipefail + +APP="/Applications/Avidemux-2.8.2.app" + fail() { - echo "** $1 **" + echo "** $1 **" >&2 exit 1 } + +if ! -d "${APP}/Contents" ; then + fail "directory \"${APP}/Contents\" does not exist" +fi + sign() { - codesign --force -s - $1 || fail "Error ad-hoc signing $1" + echo " codesign $1" + /usr/bin/codesign --force --sign - --timestamp=none "$1" || fail "ad-hoc signing $1" } -BUNDLE_CONTENT="/Applications/Avidemux-2.8.2.app/Contents" +# Deepest path first. Bundle paths do not contain newlines or tabs. +deepest_first() +{ + awk '{ n = split($0, parts, "/"); printf "%04d\t%s\n", n, $0 }' | sort -nr | cut -f 2- +} -if ! -d ${BUNDLE_CONTENT} -then - fail "Error: directory ${BUNDLE_CONTENT} doesn't exist." -fi -# -# Qt frameworks -# -for fw in \ -QtCore \ -QtDBus \ -QtGui \ -QtNetwork \ -QtOpenGL \ -QtOpenGLWidgets \ -QtWidgets -do - sign ${BUNDLE_CONTENT}/Frameworks/${fw}.framework/Versions/A/${fw} -done -# -# Qt plugins -# -for folder in \ -platforms \ -styles -do - for lib in ${BUNDLE_CONTENT}/PlugIns/${folder}/*.dylib - do - sign ${lib} - done -done -# -# Other frameworks -# -for lib in ${BUNDLE_CONTENT}/Frameworks/*.dylib -do - sign ${lib} -done -# -# Avidemux plugins -# -PLUGDIR=${BUNDLE_CONTENT}/MacOS/ADM_plugins6 -for folder in \ -audioDecoder \ -audioDevices \ -audioEncoders \ -demuxers \ -muxers \ -scriptEngines \ -videoDecoders \ -videoEncoders \ -videoEncoders/qt6 \ -videoFilters \ -videoFilters/cli \ -videoFilters/qt6 -do - for lib in ${PLUGDIR}/${folder}/*.dylib - do - sign ${lib} - done -done -# -# Do JSON encoder presets, tinyPy scripts & Co. need a signature too? -# -for textfile in \ -${PLUGDIR}/autoScripts/*.py \ -${PLUGDIR}/autoScripts/lib/*.py \ -${PLUGDIR}/pluginSettings/x264/3/*.json \ -${PLUGDIR}/shaderDemo/1/*.shader -do - sign ${textfile} +# Foo.framework/Versions/<ver>/Foo is sealed when the framework bundle is signed. +# Signing that Mach-O on its own makes codesign treat it as having no resources. +is_framework_main_binary() +{ + parent=$(dirname "$1") + grand=$(dirname "$parent") + if "$(basename "$grand")" != "Versions" ; then + return 1 + fi + fwdir=$(dirname "$grand") + fwname=$(basename "$fwdir" .framework) + "$(basename "$1")" = "$fwname" +} + +should_sign_file() +{ + base=$(basename "$1") + dir=$(dirname "$1") + if "$dir" = "${APP}/Contents/MacOS" ; then + case "$base" in + Avidemux*) return 1 ;; + esac + fi + if is_framework_main_binary "$1"; then + return 1 + fi + if file -b "$1" | grep -q 'Mach-O'; then + return 0 + fi + case "$1" in + "${APP}/Contents/MacOS/ADM_plugins6"/*) + case "$base" in + *.json|*.py|*.shader) return 0 ;; + esac + ;; + esac + return 1 +} + +echo "Ad-hoc signing ${APP} inside-out" + +# Nested Mach-O files, then presets / scripts / shaders, deepest first. +# find -type f skips symlinks. The main executable is signed with the .app. +find "${APP}" -type f -print | deepest_first | while IFS= read -r f; do + if should_sign_file "$f"; then + sign "$f" + fi done -# -# Executables -# -for exe in \ -avidemux_cli \ -avidemux_jobs -do - sign ${BUNDLE_CONTENT}/MacOS/${exe} + +find "${APP}" -type d -name '*.framework' -print | deepest_first | while IFS= read -r fw; do + sign "$fw" done -# -# Re-signing the main Avidemux executable is expected to return an error, the app should work nevertheless. -# -codesign --force -s - ${BUNDLE_CONTENT}/MacOS/Avidemux2.8 -echo "** Bundle format warning, if issued, should be ignored. **" -echo "** All done. **" -exit 0 \ No newline at end of file + +sign "${APP}" + +echo "Verifying ${APP}" +/usr/bin/codesign --verify --deep --strict --verbose=2 "${APP}" || fail "codesign --verify --deep --strict" + +echo "** Ad-hoc signing completed. **"
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux/qt4/ADM_userInterfaces/ADM_gui/T_preview.h -> avidemux2-2.8.2.git20261103.tar.xz/avidemux/qt4/ADM_userInterfaces/ADM_gui/T_preview.h
Changed
@@ -34,7 +34,7 @@ public: ADM_Qvideo(QFrame *z); ~ADM_Qvideo(); - void paintEvent(QPaintEvent *ev); + void paintEvent(QPaintEvent *ev) override; void setADMSize(int width, int height); bool eventFilter(QObject *obj, QEvent *event) override; void setDrawer(ADM_QvideoDrawer *d) @@ -43,7 +43,7 @@ } // This disables internal double buffer of Qt // Set it to false if the native Qt redraw system is used - QPaintEngine *paintEngine() const + QPaintEngine *paintEngine() const override { return NULL; // Disable } @@ -53,7 +53,7 @@ setAttribute(Qt::WA_PaintOnScreen, external); #endif } - QSize sizeHint() const + QSize sizeHint() const override { if (!_width || !_height) return QWidget::sizeHint();
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux_core/ADM_coreAudio/src/ADM_audioStreamBuffered.cpp -> avidemux2-2.8.2.git20261103.tar.xz/avidemux_core/ADM_coreAudio/src/ADM_audioStreamBuffered.cpp
Changed
@@ -63,7 +63,7 @@ uint64_t delta=labs((int64_t)newDts-(int64_t)lastDts); const char *sign="+"; if(newDts<lastDts) sign="-"; - printf("ADM_audioStreamBuffered::refill Warning skew in dts = %s%lu, ",sign,delta); + printf("ADM_audioStreamBuffered::refill Warning skew in dts = %s%llu, ",sign,delta); printf("lastDts = %s ",ADM_us2plain(lastDts)); printf("newDts = %s\n",ADM_us2plain(newDts)); setDts(newDts);
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux_core/ADM_coreUtils/src/ADM_bitstream.cpp -> avidemux2-2.8.2.git20261103.tar.xz/avidemux_core/ADM_coreUtils/src/ADM_bitstream.cpp
Changed
@@ -18,7 +18,7 @@ ADMBitstream::ADMBitstream(uint32_t size) { - memset(this,0,sizeof(*this)); + memset((void *)this, 0, sizeof(*this)); bufferSize=size; } ADMBitstream::~ADMBitstream()
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux_plugins/ADM_demuxers/Flv/ADM_flvIndex.cpp -> avidemux2-2.8.2.git20261103.tar.xz/avidemux_plugins/ADM_demuxers/Flv/ADM_flvIndex.cpp
Changed
@@ -25,7 +25,7 @@ flvTrak::flvTrak(int nb) { - memset(this,0,sizeof(flvTrak)); + memset((void *)this, 0, sizeof(flvTrak)); _index=new flvIndexnb; _indexMax=nb; }
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux_plugins/ADM_demuxers/Matroska/ADM_mkvIndexer.cpp -> avidemux2-2.8.2.git20261103.tar.xz/avidemux_plugins/ADM_demuxers/Matroska/ADM_mkvIndexer.cpp
Changed
@@ -514,7 +514,7 @@ uint8_t *begin=readBuffer; uint8_t *end=readBuffer+size-3+rpt; int frameType; - if(size + rpt > INT_MAX + 3) + if((uint64_t)size + rpt > (uint64_t)(INT_MAX) + 3) { ADM_warning("Index entry too large to determine VC1 frame type.\n"); } else if(ADM_VC1getFrameType(begin, (int)(end-begin), &frameType))
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux_plugins/ADM_demuxers/Mp4/ADM_mp4Analyzer.cpp -> avidemux2-2.8.2.git20261103.tar.xz/avidemux_plugins/ADM_demuxers/Mp4/ADM_mp4Analyzer.cpp
Changed
@@ -2466,7 +2466,7 @@ //*********************************** MPsampleinfo::MPsampleinfo(void) { - memset(this,0,sizeof( MPsampleinfo)); + memset((void *)this, 0, sizeof(MPsampleinfo)); } MPsampleinfo::~MPsampleinfo() {
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux_plugins/ADM_videoEncoder/x264/ADM_x264Plugin.cpp -> avidemux2-2.8.2.git20261103.tar.xz/avidemux_plugins/ADM_videoEncoder/x264/ADM_x264Plugin.cpp
Changed
@@ -30,7 +30,7 @@ { x264_encoder defaultConf = X264_DEFAULT_CONF; - memcpy(&x264Settings, &defaultConf, sizeof(x264_encoder)); + memcpy((void *)&x264Settings, &defaultConf, sizeof(x264_encoder)); } ADM_DECLARE_VIDEO_ENCODER_PREAMBLE(x264Encoder);
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux_plugins/ADM_videoEncoder/x265/ADM_x265Plugin.cpp -> avidemux2-2.8.2.git20261103.tar.xz/avidemux_plugins/ADM_videoEncoder/x265/ADM_x265Plugin.cpp
Changed
@@ -29,7 +29,7 @@ { x265_settings defaultConf = X265_DEFAULT_CONF; - memcpy(&x265Settings, &defaultConf, sizeof(x265_settings)); + memcpy((void *)&x265Settings, &defaultConf, sizeof(x265_settings)); } ADM_DECLARE_VIDEO_ENCODER_PREAMBLE(x265Encoder);
View file
avidemux2-2.8.2.git20261029.tar.xz/avidemux_plugins/ADM_videoEncoder/xvid4/ADM_xvid4.cpp -> avidemux2-2.8.2.git20261103.tar.xz/avidemux_plugins/ADM_videoEncoder/xvid4/ADM_xvid4.cpp
Changed
@@ -244,14 +244,8 @@ single. averaging_period; single. buffer; */ - break; - case COMPRESS_CQ: - - break; - case COMPRESS_SAME: - - break; - } + default:break; + } break; default: return false;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.