Bug 249241

Summary: multimedia/avidemux: update to 2.7.6
Product: Ports & Packages Reporter: Vladimir Druzenko <vvd>
Component: Individual Port(s)Assignee: freebsd-multimedia (Nobody) <multimedia>
Status: Closed FIXED    
Severity: Affects Many People CC: j.foxpress, lhersch, tcberner
Priority: --- Keywords: needs-patch
Version: LatestFlags: tcberner: maintainer-feedback+
Hardware: Any   
OS: Any   
URL: http://avidemux.sourceforge.net/news.html#2020-07-07
Attachments:
Description Flags
patch for 2.7.6
none
Updated to 2.7.6 vvd: maintainer-approval?

Description Vladimir Druzenko freebsd_committer freebsd_triage 2020-09-10 22:17:25 UTC
2020-07-07: 2.7.6: Another nice release, completely done by Euma
* New Feature:Detect and warn when cut points in HEVC video streams may result in grave playback issues despite being on keyframes
* New Video Decoder:Add libaom-based AV1 decoder
* New Video Encoder:Add libvpx-based VP9 encoder
* New Video Filter:Add hardware accelerated deinterlacer and resizer based on VA-API (Linux only)
* FFmpeg:Update to the 4.2.3 release
* Core:Increase maximum supported resolution to 4096x4096
* Core:Fix crash on macOS with HW accel. decoding enabled and H.264 video streams containing both frame- and field-encoded slices
* Encoder:Extend configuration options for NVENC-based H.264 and HEVC encoders, add 2-pass mode
* Demuxer:Support MPEG-TS files with duration in excess of 13:15:36
* Demuxer:Use DTS core from DTS XLL audio in MPEG-TS files instead of rejecting the track
* Demuxer:Fix mono MP3 audio tracks in MP4 files misdetected as stereo
* Demuxer:Try to correct timestamp jitter in MP4 files produced by older Avidemux versions
* Muxer:Fix timestamp rounding which caused pseudo-VFR output from CFR sources
* Muxer:Fix saving to network shares on Windows using the Mp4 muxer when index should be moved to the start of the file
* Muxer:Support LPCM audio in the Mp4 muxer by silently switching to the MOV muxing mode
* Muxer:Add support for Vorbis audio to the Mp4 muxer
* Filter:Fix "Fade" and "Fade to black", broken on macOS
* Filter:Allow to toggle rubber band visibility in "Crop" and "Blacken Borders" video filters
* Filter:Fix keyboard input in "Resize" video filter by recalculating values only on moving focus to another field or on accepting dialog
* Audio:Add HE-AAC and HE-AACv2 profiles to the FDK AAC encoder plugin
* Audio:Support external audio tracks in DTS format
* UI:Fix navigation slider with RTL locales
* UI:Restore the shutdown option in encoding dialog on Windows
* Scripting:Add PTS query and keyframe seek methods to Python interface
* Miscellaneous:Allow user-defined fragment size for auto-append of chunked MPEG-TS files
* Miscellaneous:Improve handling of field-encoded video streams throughout the chain
* Miscellaneous:Improve handling of H.264 video streams with parameter sets changing on the fly
* Miscellaneous:Try to keep track of video time base throughout the chain
* Miscellaneous:Numerous other fixes and polish

I can try to create patch, but a bit later.
Comment 1 giftmax 2020-09-14 04:08:50 UTC
MARKED AS SPAM
Comment 2 Lars Herschke 2020-09-26 15:26:21 UTC
Created attachment 218329 [details]
patch for 2.7.6
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2020-09-26 16:40:01 UTC
(In reply to Lars Herschke from comment #2)
I'm working on it just now. :-D

You removed multimedia/avidemux/files/patch-avidemux_core-ffmpeg_package-patches-configure.patch, but this is better way: 
--- avidemux_core/ffmpeg_package/patches/configure.patch.orig
+++ avidemux_core/ffmpeg_package/patches/configure.patch
@@ -0,0 +1,11 @@
+--- configure.orig
++++ configure
+@@ -3671,6 +3671,8 @@
+     arch_default=$(uname -p)
+     strip_default="strip -X32_64"
+     nm_default="nm -g -X32_64"
++elif test "$target_os_default" = freebsd; then
++    arch_default=$(uname -p)
+ else
+     arch_default=$(uname -m)
+ fi

You can just replace current file multimedia/avidemux/files/patch-avidemux_core-ffmpeg_package-patches-configure.patch with this and make full patch again.
Comment 4 Tobias C. Berner freebsd_committer freebsd_triage 2020-09-26 16:52:46 UTC
Moin moin 

Very cool, thank you for the update!


mfg Tobias
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2020-09-26 16:55:28 UTC
One more: there are several files *.orig and one *.original in pkg-plist and in STAGE dir. If you want to remove these files from pkg-plist, then you must remove files during build in multimedia/avidemux/Makefile. Otherwise make check-list will fail.
Comment 6 Vladimir Druzenko freebsd_committer freebsd_triage 2020-09-26 16:55:49 UTC
(In reply to VVD from comment #5)
s/make check-list/make check-plist/
Comment 7 Vladimir Druzenko freebsd_committer freebsd_triage 2020-09-26 20:17:29 UTC
Created attachment 218339 [details]
Updated to 2.7.6

Patch based on patch form Lars Herschke.
Comment 8 commit-hook freebsd_committer freebsd_triage 2020-09-27 17:49:40 UTC
A commit references this bug:

Author: tcberner
Date: Sun Sep 27 17:49:37 UTC 2020
New revision: 550292
URL: https://svnweb.freebsd.org/changeset/ports/550292

Log:
  multimedia/avidemux: update to 2.7.6

  2020-07-07: 2.7.6: Another nice release, completely done by Euma
  * New Feature:Detect and warn when cut points in HEVC video streams may result in grave playback issues despite being on keyframes
  * New Video Decoder:Add libaom-based AV1 decoder
  * New Video Encoder:Add libvpx-based VP9 encoder
  * New Video Filter:Add hardware accelerated deinterlacer and resizer based on VA-API (Linux only)
  * FFmpeg:Update to the 4.2.3 release
  * Core:Increase maximum supported resolution to 4096x4096
  * Core:Fix crash on macOS with HW accel. decoding enabled and H.264 video streams containing both frame- and field-encoded slices
  * Encoder:Extend configuration options for NVENC-based H.264 and HEVC encoders, add 2-pass mode
  * Demuxer:Support MPEG-TS files with duration in excess of 13:15:36
  * Demuxer:Use DTS core from DTS XLL audio in MPEG-TS files instead of rejecting the track
  * Demuxer:Fix mono MP3 audio tracks in MP4 files misdetected as stereo
  * Demuxer:Try to correct timestamp jitter in MP4 files produced by older Avidemux versions
  * Muxer:Fix timestamp rounding which caused pseudo-VFR output from CFR sources
  * Muxer:Fix saving to network shares on Windows using the Mp4 muxer when index should be moved to the start of the file
  * Muxer:Support LPCM audio in the Mp4 muxer by silently switching to the MOV muxing mode
  * Muxer:Add support for Vorbis audio to the Mp4 muxer
  * Filter:Fix "Fade" and "Fade to black", broken on macOS
  * Filter:Allow to toggle rubber band visibility in "Crop" and "Blacken Borders" video filters
  * Filter:Fix keyboard input in "Resize" video filter by recalculating values only on moving focus to another field or on accepting dialog
  * Audio:Add HE-AAC and HE-AACv2 profiles to the FDK AAC encoder plugin
  * Audio:Support external audio tracks in DTS format
  * UI:Fix navigation slider with RTL locales
  * UI:Restore the shutdown option in encoding dialog on Windows
  * Scripting:Add PTS query and keyframe seek methods to Python interface
  * Miscellaneous:Allow user-defined fragment size for auto-append of chunked MPEG-TS files
  * Miscellaneous:Improve handling of field-encoded video streams throughout the chain
  * Miscellaneous:Improve handling of H.264 video streams with parameter sets changing on the fly
  * Miscellaneous:Try to keep track of video time base throughout the chain
  * Miscellaneous:Numerous other fixes and polish

  PR:		249241
  Submitted by:	Lars Herschke <lhersch@dssgmbh.de>, VVD <vvd@unislabs.com>

Changes:
  head/multimedia/avidemux/Makefile
  head/multimedia/avidemux/Makefile.common
  head/multimedia/avidemux/distinfo
  head/multimedia/avidemux/files/patch-avidemux_core-ffmpeg_package-patches-configure.patch
  head/multimedia/avidemux/pkg-plist
  head/multimedia/avidemux-plugins/Makefile
  head/multimedia/avidemux-plugins/pkg-plist
  head/multimedia/avidemux-qt5/Makefile
  head/multimedia/avidemux-qt5/pkg-plist
Comment 9 Tobias C. Berner freebsd_committer freebsd_triage 2020-09-27 17:50:04 UTC
Committed. Thanks to both of you :)


mfg Tobias