Changes of Revision 43

handbrake.changes Changed
x
 
1
@@ -1,4 +1,142 @@
2
 -------------------------------------------------------------------
3
+Mon Jul 19 10:29:31 UTC 2021 - enzokiel@kabelmail.de
4
+
5
+- update to version 1.4.0
6
+  + General
7
+    - The HandBrake engine is now 10 and 12bit capable. Please note
8
+      that not all filters support 10 and 12 bits. Using an 8bit
9
+      filter will cause the pipeline to run at 8bit. Please see the
10
+      documentation for more information.
11
+    - HDR10 metadata will be passed through from the source file if
12
+      present.
13
+    - Static Previews that are generated during file scans are now
14
+      stored in compressed jpeg format (previously stored as
15
+      YUV420). Temporary disk space usage and disk writes are
16
+      massively reduced. This uses libjpeg-turbo
17
+  + Filters
18
+    - New Filter: Chroma Smooth
19
+    - New Filter: Colourspace Selection.
20
+    - New Filter: Support for QuickSync hardware accelerated
21
+      Crop/Scale when using full path.
22
+  + Hardware Encoding
23
+    - New Encoder: Media Foundation
24
+        For Windows based ARM64 devices powered by Qualcomm
25
+        Chipsets.
26
+    - Updates to the AMD VCN encoder:
27
+        Quality tuning for VCN's constrained vbr rate control mode.
28
+        Results are the same or better than cqp mode, and bit rate
29
+        is much more predictable.
30
+        Included optimised H265 presets for 1080p and 4K content.
31
+    - Updates to the Intel QuickSync encoder:
32
+        Minor performance improvement by skipping VFR and
33
+        Crop/Scale filters when they are not required.
34
+        Overhauled memory management including improved zero-copy
35
+        support where software filters are not used which should
36
+        also improve performance.
37
+  + Audio
38
+    - MP2 Audio Passthru support.
39
+  + Subtitles
40
+    - New General purpose subtitle decoder
41
+        Added support for DVB Subtitles (Passthru and Burn-In)
42
+        Added support for EIA608 Closed Captions.
43
+        Replaced current decoders for PGS, SRT and SSA with those
44
+        in ffmpeg. This should correct a number of rendering issues
45
+        on Burn-In
46
+    - Reduced default CC burn-in font-size.
47
+  + Third-party libraries
48
+    - The following 3rd party libraries have changed:
49
+        ffmpeg 4.4
50
+        AMF 1.4.18 (AMD VCN encoding)
51
+        nv-codec-headers 11.0.10.1 (Nvidia NVENC encoding)
52
+        libmfx 1.34
53
+        freetype 2.10.4
54
+        fribidi 1.0.10
55
+        harfbuzz 2.8.1
56
+        jansson 2.13.1
57
+        libass 0.15.1
58
+        libbluray 1.3.0
59
+        libdvdnav 6.1.1
60
+        libdvdread 6.1.1
61
+        dav1d 0.9.0
62
+        libvorbis 1.3.7
63
+        libvpx 1.10.0
64
+        x264 161 r3043
65
+        x265 3.5
66
+        zimg and libjpeg-turbo are new dependencies.
67
+  + General UI Updates (Applies to Windows, macOS and Linux)
68
+    - The "Dimensions" tab has been redesigned.
69
+        The Rotate and Flip filter has been moved from the filters
70
+        tab.
71
+        Added support for padding
72
+        Added support to control the resolution limit.
73
+        Added limited support for upscaling
74
+  + Linux
75
+    - Updated translations (levels of completeness vary)
76
+    - Miscellaneous bug fixes and improvements
77
+  + Mac
78
+    - Support for Apple Silicon (macOS only)
79
+    - Support for running multiple simultaneous jobs.
80
+    - Support eyetv packages with .ts enclosed media file
81
+    - Improved UI navigation
82
+        Added two menu items to quickly switch between titles
83
+        Improved undo/redo support
84
+        Drag & drop import/export support in the presets popover
85
+    - Preference Updates:
86
+        Added a preference to control whether the current edited
87
+        preset should be re-applied when changing title
88
+    - Improved Security Scoped Bookmarks management
89
+    - Minor improvements and fixes for macOS 11
90
+    - Updated Sparkle Updater library.
91
+    - Updated translations (levels of completeness vary)
92
+    - Miscellaneous bug fixes and improvements
93
+  + Windows
94
+    - The Windows UI now requires "Microsoft .NET 5 Desktop Runtime"
95
+      (Please note it is specifically the "Desktop Runtime!)
96
+    - Windows 10 is now the minimum version supported. The app will
97
+      still run on Windows 7 and 8.1 however you will receive a
98
+      message noting that it is not supported (twice) after which
99
+      it will continue to run. Please note some functionality may
100
+      not work correctly on these older operating systems and no
101
+      support will be provided.
102
+    - Process Isolation
103
+        When enabled, any encodes that are started are run under a
104
+        separate "handbrake.worker.exe" process.
105
+        This protects the main UI from any crashes that could occur
106
+        whilst processing a file and allows the queue to continue.
107
+        Multiple jobs can be run simultaneously to improve CPU
108
+        utilisation on high core count systems.
109
+    - Audio Tab
110
+        Minor improvement to the usability of auto-passthru. To
111
+        prevent confusion, the "auto-passhtru" audio "encoder"
112
+        option is now only available on the defaults screen and
113
+        not the main audio tab.
114
+    - Queue Improvements
115
+        Restored lost "Stop" functionality in the new queue design
116
+        that landed in 1.3.
117
+    - Presets
118
+        The legacy preset side panel has been removed. The presets
119
+        button on the toolbar will now offer a "preset manager" and
120
+        list the available for selection.
121
+        The inline-preset view from 1.3 is now permanent.
122
+    - Installer Improvements
123
+        Existing NSIS installer: Option to create a shortcut for
124
+        "all users" as the last step.
125
+    - Preference Updates:
126
+        New Auto Name option: Always use the default path for each
127
+        new source / title selected
128
+        "Send File To" Arguments now supports "{source}" and
129
+        "{destination}" replacement placeholders.
130
+        Added a preference to configure the "Pause on Low Battery"
131
+        feature.
132
+        Check for Updates is now "opt-in" for new installs.
133
+    - UI Performance: Optimisations to allow better performance
134
+      when handling large sets of files (1000+)
135
+    - Updated translations (levels of completeness vary)
136
+    - Miscellaneous bug fixes and improvements
137
+- Removed fix-audio-encoders-when-linking-to-FFmpeg-4.4.patch
138
+  and HandBrake-qsv.patch, fixed upstream.
139
+
140
+-------------------------------------------------------------------
141
 Tue Jun 15 17:28:49 UTC 2021 - enzokiel@kabelmail.de
142
 
143
 - Added patch fix-audio-encoders-when-linking-to-FFmpeg-4.4.patch.
144
handbrake.spec Changed
50
 
1
@@ -21,16 +21,14 @@
2
 
3
 Name:           handbrake
4
 Summary:        Multithreaded Video Transcoder
5
-Version:        1.3.3
6
+Version:        1.4.0
7
 Release:        0
8
 Url:            http://handbrake.fr/
9
-Source0:        https://download.handbrake.fr/releases/%{version}/HandBrake-%{version}-source.tar.bz2
10
+Source0:        https://github.com/HandBrake/HandBrake/releases/download/%{version}/HandBrake-%{version}-source.tar.bz2
11
 Source1:        https://github.com/HandBrake/HandBrake/releases/download/%{version}/HandBrake-%{version}-source.tar.bz2.sig
12
 Patch0:         HandBrake-no-builddate.patch
13
 Patch1:         HandBrake-build-shared.patch
14
-Patch2:         HandBrake-qsv.patch
15
-Patch3:         HandBrake-metainfo.patch
16
-Patch4:         fix-audio-encoders-when-linking-to-FFmpeg-4.4.patch
17
+Patch2:         HandBrake-metainfo.patch
18
 License:        GPL-2.0+
19
 Group:          Productivity/Multimedia/Video/Editors and Convertors
20
 BuildRequires:  autoconf
21
@@ -63,6 +61,7 @@
22
 BuildRequires:  pkgconfig(gtk+-3.0) >= 3.10
23
 BuildRequires:  pkgconfig(gudev-1.0)
24
 BuildRequires:  pkgconfig(jansson)
25
+BuildRequires:  pkgconfig(libjpeg)
26
 BuildRequires:  pkgconfig(libass)
27
 BuildRequires:  pkgconfig(libavcodec) >= 58
28
 BuildRequires:  pkgconfig(libavfilter) >= 7
29
@@ -84,6 +83,7 @@
30
 BuildRequires:  pkgconfig(vpx) >= 1.4
31
 BuildRequires:  pkgconfig(x264)
32
 BuildRequires:  pkgconfig(x265)
33
+BuildRequires:  pkgconfig(zimg)
34
 %if %{with mfx}
35
 BuildRequires:  pkgconfig(libmfx)
36
 BuildRequires:  pkgconfig(libva)
37
@@ -126,11 +126,9 @@
38
 %setup -q -n HandBrake-%{version}
39
 %patch0 -p0
40
 %patch1 -p0
41
-%patch2 -p1
42
 %if 0%{?sle_version} <= 150200 && 0%{?is_opensuse}
43
-%patch3 -p1
44
+%patch2 -p1
45
 %endif
46
-%patch4 -p0
47
 
48
 %build
49
 export CFLAGS="%{optflags} -fno-strict-aliasing -Wno-unused -I%{_includedir}/ffmpeg"
50
HandBrake-build-shared.patch Changed
89
 
1
@@ -1,9 +1,9 @@
2
---- make/include/main.defs.orig    2020-01-07 18:53:44.906464000 +0100
3
-+++ make/include/main.defs 2020-01-07 18:53:44.914463851 +0100
4
-@@ -28,32 +28,22 @@
5
-     MODULES += contrib/x264
6
+--- make/include/main.defs.orig    2021-07-19 09:51:29.420769173 +0200
7
++++ make/include/main.defs 2021-07-19 09:51:29.436768899 +0200
8
+@@ -29,35 +29,23 @@
9
      MODULES += contrib/jansson
10
      MODULES += contrib/libvpx
11
+     MODULES += contrib/libjpeg-turbo
12
 -endif
13
 -
14
 -ifeq (1,$(FEATURE.flatpak))
15
@@ -20,48 +20,52 @@
16
      MODULES += contrib/x265_8bit
17
      MODULES += contrib/x265_10bit
18
      MODULES += contrib/x265_12bit
19
-+    MODULES += contrib/libdav1d
20
-+    MODULES += contrib/ffmpeg
21
-+    MODULES += contrib/libdvdread
22
-+    MODULES += contrib/libdvdnav
23
-+    MODULES += contrib/libbluray
24
-+    MODULES += contrib/fdk-aac
25
-+    MODULES += contrib/libmfx
26
- endif
27
- 
28
+-endif
29
+-
30
 -MODULES += contrib/libdav1d
31
+-MODULES += contrib/zimg
32
 -MODULES += contrib/ffmpeg
33
 -MODULES += contrib/libdvdread
34
 -MODULES += contrib/libdvdnav
35
 -MODULES += contrib/libbluray
36
 -
37
 -ifeq (1,$(FEATURE.qsv))
38
--    MODULES += contrib/libmfx
39
+-ifeq (,$(filter $(HOST.system),freebsd))
40
++    MODULES += contrib/libdav1d
41
++    MODULES += contrib/zimg
42
++    MODULES += contrib/ffmpeg
43
++    MODULES += contrib/libdvdread
44
++    MODULES += contrib/libdvdnav
45
++    MODULES += contrib/libbluray
46
++    MODULES += contrib/fdk-aac
47
+     MODULES += contrib/libmfx
48
+ endif
49
++
50
 +ifeq (1,$(FEATURE.flatpak))
51
 +    MODULES += contrib/jansson
52
 +    MODULES += contrib/x264
53
  endif
54
  
55
  ifeq (1,$(FEATURE.vce))
56
---- gtk/configure.ac.orig  2020-01-07 18:56:48.895031136 +0100
57
-+++ gtk/configure.ac   2020-01-07 18:56:48.903030986 +0100
58
-@@ -199,7 +199,7 @@
59
+--- gtk/configure.ac.orig  2021-07-19 09:51:32.612714687 +0200
60
++++ gtk/configure.ac   2021-07-19 09:51:32.628714415 +0200
61
+@@ -203,7 +203,7 @@
62
  
63
  AM_CONDITIONAL([MINGW], [test "x$mingw_flag" = "xyes"])
64
  
65
--HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -llzma"
66
-+HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -llzma -ldl"
67
+-HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -lturbojpeg -llzma -lzimg"
68
++HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -lturbojpeg -llzma -lzimg -ldl"
69
  HB_CPPFLAGS="$HB_CPPFLAGS $HBINC"
70
  
71
  PKG_CHECK_MODULES([x264], [x264], sys_x264=yes, sys_x264=no)
72
---- test/module.defs.orig  2020-01-07 18:57:33.970190122 +0100
73
-+++ test/module.defs   2020-01-07 18:57:33.978189973 +0100
74
+--- test/module.defs.orig  2021-07-19 09:51:36.392650171 +0200
75
++++ test/module.defs   2021-07-19 09:51:36.408649898 +0200
76
 @@ -16,7 +16,7 @@
77
  TEST.GCC.l = \
78
          ass avformat avfilter avcodec avutil swresample postproc mp3lame dvdnav \
79
-         dvdread fribidi \
80
--        swscale vpx theoraenc theoradec vorbis vorbisenc ogg x264 \
81
-+        swscale vpx theoraenc theoradec vorbis vorbisenc ogg x264 x265 \
82
-         bluray freetype xml2 bz2 z jansson harfbuzz opus speex lzma dav1d
83
+         dvdread fribidi swscale vpx theoraenc theoradec vorbis vorbisenc ogg \
84
+-        x264 bluray freetype xml2 bz2 z jansson harfbuzz opus speex lzma dav1d \
85
++        x264 x265 bluray freetype xml2 bz2 z jansson harfbuzz opus speex lzma dav1d \
86
+         turbojpeg zimg
87
  
88
  ifeq (,$(filter $(HOST.system),darwin cygwin mingw))
89
HandBrake-metainfo.patch Changed
71
 
1
@@ -1,9 +1,8 @@
2
-diff -uNr HandBrake-1.3.3/gtk/src/fr.handbrake.ghb.appdata.template.xml HandBrake-new/gtk/src/fr.handbrake.ghb.appdata.template.xml
3
---- HandBrake-1.3.3/gtk/src/fr.handbrake.ghb.appdata.template.xml  1970-01-01 01:00:00.000000000 +0100
4
-+++ HandBrake-new/gtk/src/fr.handbrake.ghb.appdata.template.xml    2020-06-16 14:52:26.396293217 +0200
5
-@@ -0,0 +1,122 @@
6
+--- HandBrake-1.4.0/gtk/src/fr.handbrake.ghb.appdata.template.xml  1970-01-01 01:00:00.000000000 +0100
7
++++ HandBrake-new/gtk/src/fr.handbrake.ghb.appdata.template.xml    2021-07-18 09:27:44.000000000 +0200
8
+@@ -0,0 +1,123 @@
9
 +<?xml version="1.0" encoding="UTF-8"?>
10
-+<!-- Copyright 2018-2019 John Stebbins <your@email.com> -->
11
++<!-- Copyright 2018-2021 John Stebbins <your@email.com> -->
12
 +<component type="desktop-application">
13
 +  <id>fr.handbrake.ghb</id>
14
 +  <translation>ghb</translation>
15
@@ -40,6 +39,7 @@
16
 +    <mimetype>audio/ogg</mimetype>
17
 +    <mimetype>audio/x-flac</mimetype>
18
 +    <mimetype>audio/x-matroska</mimetype>
19
++    <mimetype>audio/x-mp2</mimetype>
20
 +    <mimetype>audio/x-mp3</mimetype>
21
 +    <mimetype>audio/x-mpeg</mimetype>
22
 +    <mimetype>audio/x-vorbis</mimetype>
23
@@ -124,12 +124,11 @@
24
 +  
25
 +</component>
26
 +
27
-diff -uNr HandBrake-1.3.3/gtk/src/fr.handbrake.ghb.metainfo.template.xml HandBrake-new/gtk/src/fr.handbrake.ghb.metainfo.template.xml
28
---- HandBrake-1.3.3/gtk/src/fr.handbrake.ghb.metainfo.template.xml 2020-06-13 16:05:35.000000000 +0200
29
+--- HandBrake-1.4.0/gtk/src/fr.handbrake.ghb.metainfo.template.xml 2021-07-18 09:27:44.000000000 +0200
30
 +++ HandBrake-new/gtk/src/fr.handbrake.ghb.metainfo.template.xml   1970-01-01 01:00:00.000000000 +0100
31
-@@ -1,122 +0,0 @@
32
+@@ -1,123 +0,0 @@
33
 -<?xml version="1.0" encoding="UTF-8"?>
34
--<!-- Copyright 2018-2019 John Stebbins <your@email.com> -->
35
+-<!-- Copyright 2018-2021 John Stebbins <your@email.com> -->
36
 -<component type="desktop-application">
37
 -  <id>fr.handbrake.ghb</id>
38
 -  <translation>ghb</translation>
39
@@ -166,6 +165,7 @@
40
 -    <mimetype>audio/ogg</mimetype>
41
 -    <mimetype>audio/x-flac</mimetype>
42
 -    <mimetype>audio/x-matroska</mimetype>
43
+-    <mimetype>audio/x-mp2</mimetype>
44
 -    <mimetype>audio/x-mp3</mimetype>
45
 -    <mimetype>audio/x-mpeg</mimetype>
46
 -    <mimetype>audio/x-vorbis</mimetype>
47
@@ -250,19 +250,18 @@
48
 -  
49
 -</component>
50
 -
51
-diff -uNr HandBrake-1.3.3/gtk/src/Makefile.am HandBrake-new/gtk/src/Makefile.am
52
---- HandBrake-1.3.3/gtk/src/Makefile.am    2020-06-13 16:05:35.000000000 +0200
53
-+++ HandBrake-new/gtk/src/Makefile.am  2020-06-16 14:52:26.320294595 +0200
54
+--- HandBrake-1.4.0/gtk/src/Makefile.am    2021-07-18 09:27:44.000000000 +0200
55
++++ HandBrake-new/gtk/src/Makefile.am  2021-07-19 10:42:34.610412776 +0200
56
 @@ -40,7 +40,7 @@
57
  hb_menu = fr.handbrake.ghb.desktop
58
  
59
  metainfodir = $(datarootdir)/metainfo
60
 -metainfo_in_files = fr.handbrake.ghb.metainfo.xml.in
61
 +metainfo_in_files = fr.handbrake.ghb.appdata.xml.in
62
+ if ! MINGW
63
  metainfo_DATA = $(metainfo_in_files:.xml.in=.xml)
64
  dist_metainfo_DATA = $(metainfo_files)
65
- 
66
-@@ -172,10 +172,10 @@
67
+@@ -174,10 +174,10 @@
68
  widget.deps: makedeps.py
69
    $(HB_PYTHON) $(srcdir)/makedeps.py
70
  
71
HandBrake-no-builddate.patch Changed
38
 
1
@@ -1,6 +1,6 @@
2
---- make/configure.py.orig 2019-12-30 20:08:16.583360794 +0100
3
-+++ make/configure.py  2019-12-30 20:08:16.603360415 +0100
4
-@@ -967,7 +967,7 @@
5
+--- make/configure.py.orig 2021-07-19 10:50:19.658064229 +0200
6
++++ make/configure.py  2021-07-19 10:50:19.690063654 +0200
7
+@@ -989,7 +989,7 @@
8
  
9
              url_ctype = '_unstable'
10
              url_ntype = 'unstable'
11
@@ -9,7 +9,7 @@
12
              self.title = '%s %s (%s)' % (self.name,self.version,self.build)
13
          else:
14
              m = re.match('^([a-zA-Z]+)\.([0-9]+)$', self.suffix)
15
-@@ -986,7 +986,7 @@
16
+@@ -1008,7 +1008,7 @@
17
                  url_ctype = '_unstable'
18
                  url_ntype = 'unstable'
19
  
20
@@ -18,7 +18,7 @@
21
              self.title = '%s %s (%s)' % (self.name,self.version,self.build)
22
  
23
          self.url_appcast = 'https://handbrake.fr/appcast%s%s.xml' % (url_ctype,url_arch)
24
-@@ -1897,7 +1897,6 @@
25
+@@ -1950,7 +1950,6 @@
26
  
27
      ## create document object
28
      doc = ConfigDocument()
29
@@ -26,7 +26,7 @@
30
  
31
      ## add configure line for reconfigure purposes
32
      doc.addBlank()
33
-@@ -1954,7 +1953,6 @@
34
+@@ -2007,7 +2006,6 @@
35
      doc.add( 'BUILD.title',   '%s %s' % (build_tuple.systemf,arch.mode.default) )
36
      doc.add( 'BUILD.ncpu',    core.count )
37
      doc.add( 'BUILD.jobs',    core.jobs )
38
HandBrake-qsv.patch Deleted
15
 
1
@@ -1,13 +0,0 @@
2
-diff -up HandBrake-1.3.0/libhb/enc_qsv.c.orig HandBrake-1.3.0/libhb/enc_qsv.c
3
---- HandBrake-1.3.0/libhb/enc_qsv.c.orig   2019-11-09 21:44:32.000000000 +0100
4
-+++ HandBrake-1.3.0/libhb/enc_qsv.c    2019-11-25 13:13:44.248840649 +0100
5
-@@ -525,7 +525,9 @@ AVBufferRef *hb_qsv_create_mids(AVBuffer
6
-     for (i = 0; i < nb_surfaces; i++) {
7
-         QSVMid *mid = &mids[i];
8
-         mid->handle        = frames_hwctx->surfaces[i].Data.MemId;
9
-+#if CONFIG_D3D11VA
10
-         mid->texture       = frames_hwctx->texture;
11
-+#endif
12
-         mid->hw_frames_ref = hw_frames_ref1;
13
-     }
14
- 
15
fix-audio-encoders-when-linking-to-FFmpeg-4.4.patch Deleted
16
 
1
@@ -1,14 +0,0 @@
2
---- libhb/encavcodecaudio.c.orig   2020-06-13 16:05:35.000000000 +0200
3
-+++ libhb/encavcodecaudio.c    2021-06-15 19:18:29.746891810 +0200
4
-@@ -409,7 +409,10 @@
5
- 
6
-         // Prepare input frame
7
-         int     out_size;
8
--        AVFrame frame = { .nb_samples = pv->samples_per_frame, };
9
-+        AVFrame frame = { .nb_samples = pv->samples_per_frame,
10
-+                          .format = pv->context->sample_fmt,
11
-+                          .channels = pv->context->channels
12
-+        };
13
- 
14
-         out_size = av_samples_get_buffer_size(NULL,
15
-                                               pv->context->channels,
16
HandBrake-1.3.3-source.tar.bz2 Deleted
HandBrake-1.4.0-source.tar.bz2 Added
HandBrake-1.3.3-source.tar.bz2.sig -> HandBrake-1.4.0-source.tar.bz2.sig Changed