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
avidemux3.changes
Changed
x
1
2
-------------------------------------------------------------------
3
+Sat Jul 11 2015 - joerg.lorenzen@ki.tng.de
4
+
5
+- Update to version 2.6.10
6
+ * Re-added translations
7
+ * Re-added avsproxy
8
+ * Fixed multi passes with x264 when file has non ascii chars
9
+ * Added experimental Qt5 build for mac
10
+ * Fixed a bug with filler frames (fraps)
11
+- update internal ffmpeg to version 2.7.1
12
+
13
+- Version 2.6.9
14
+ * x265 support by KoolAidMan.
15
+ * Qt4 and Qt5 support.
16
+ * Compatibility with newer VAAPI.
17
+ * Updated ffmpeg libraries.
18
+ * Simple support for nvenc (linux).
19
+ * Better compatibility with Dash file, Flv.
20
+ * AvsProxy improvements (hinterwaeldler).
21
+ * Misc fixes (asjchult).
22
+ * Plenty of bugfixes and new bugs.
23
+ * Win32 and Win64 builds are now using winbuilds.org, Xp no
24
+ longer supported.
25
+
26
+-------------------------------------------------------------------
27
Sat May 02 2015 - joerg.lorenzen@ki.tng.de
28
+
29
- fixed build for openSUSE = 11.4
30
31
-------------------------------------------------------------------
32
Thu Feb 26 2015 - joerg.lorenzen@ki.tng.de
33
+
34
- update internal ffmpeg to version 1.2.12
35
36
-------------------------------------------------------------------
37
Tue Dec 23 2014 - joerg.lorenzen@ki.tng.de
38
+
39
- update internal ffmpeg to version 1.2.11
40
- removed workaround for build on arm armv6l/armv6hl, the problem
41
is caused by additional RaspberryPi repository and should be
42
43
44
-------------------------------------------------------------------
45
Sat Nov 08 2014 - joerg.lorenzen@ki.tng.de
46
+
47
- added patch and dependencies to enable build on ARM CPU
48
- removed some unneeded dependencies
49
50
-------------------------------------------------------------------
51
Wed Nov 05 2014 - joerg.lorenzen@ki.tng.de
52
+
53
- update internal ffmpeg to version 1.2.10
54
55
-------------------------------------------------------------------
56
Fri Oct 17 2014 - joerg.lorenzen@ki.tng.de
57
+
58
- changed BuildRequires to pkgconfig where possible
59
- enable build for SLES, unfortunately without frontends qt and gtk
60
because SLES doesn't provide gtk3 and qt >= 4.7
61
62
-------------------------------------------------------------------
63
Fri Oct 10 2014 - joerg.lorenzen@ki.tng.de
64
+
65
- update internal ffmpeg to version 1.2.9
66
67
-------------------------------------------------------------------
68
Fri Aug 22 2014 - joerg.lorenzen@ki.tng.de
69
+
70
- update internal ffmpeg to version 1.2.8
71
72
-------------------------------------------------------------------
73
Tue Jun 24 2014 - joerg.lorenzen@ki.tng.de
74
+
75
- update internal ffmpeg to version 1.2.7
76
77
-------------------------------------------------------------------
78
Fri Mar 14 2014 - joerg.lorenzen@ki.tng.de
79
+
80
- Update to version 2.6.8
81
* Image/export: Proper initialization of Qz for jpeg export
82
* UI : Add an override menu to force language
83
84
85
-------------------------------------------------------------------
86
Wed Mar 12 2014 - joerg.lorenzen@ki.tng.de
87
+
88
- update internal ffmpeg to version 1.2.6
89
90
-------------------------------------------------------------------
91
Sat Feb 01 2014 - joerg.lorenzen@ki.tng.de
92
+
93
- update internal ffmpeg to version 1.2.5
94
95
-------------------------------------------------------------------
96
Mon Dec 09 2013 - joerg.lorenzen@ki.tng.de
97
+
98
- Update to version 2.6.7
99
* [MKV] Fix seeking in h264
100
* [TS/H264] Split on NALU boundaries, it was off by one byte
101
102
103
-------------------------------------------------------------------
104
Sat Nov 02 2013 - joerg.lorenzen@ki.tng.de
105
+
106
- changes in spec file to enable build for openSUSE 11.4 and 12.1
107
108
-------------------------------------------------------------------
109
Wed Oct 30 2013 - joerg.lorenzen@ki.tng.de
110
+
111
- Initial package, version 2.6.6
112
avidemux3.spec
Changed
314
1
2
#
3
# spec file for package avidemux3
4
#
5
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
6
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
7
#
8
# All modifications and additions to the file contributed by third parties
9
# remain the property of their copyright owners, unless otherwise agreed
10
11
#
12
13
14
-%define ffmpeg_version 1.2.12
15
+%define ffmpeg_version 2.7.1
16
17
Name: avidemux3
18
Summary: Graphical video editing and transcoding tool
19
-Version: 2.6.8
20
+Version: 2.6.10
21
Release: 1
22
-Url: http://www.avidemux.org
23
+Url: http://avidemux.sourceforge.net/
24
Source0: avidemux_%{version}.tar.gz
25
Source1: avidemux3-qt4.desktop
26
Source2: avidemux3-gtk.desktop
27
Source3: ffmpeg-%{ffmpeg_version}.tar.bz2
28
Source4: config.mak.diff
29
-Source5: xvba_support_from_xbmc_xvba.patch
30
+Source5: libavcodec_put_bits.h.patch
31
+Source6: xvba_support_from_xbmc_xvba.patch
32
+Source7: libavcodec_x86_fmtconvert_init.c.patch
33
+Source8: libavcodec_mpegvideo_enc.c.patch
34
+Source9: libavcodec_mpeg12enc.c.patch
35
Patch0: avidemux-cmake-2.8.8.patch
36
Patch1: avidemux-linking.patch
37
Patch2: avidemux-x264_plugins.patch
38
-Patch3: avidemux-package_version.patch
39
-Patch4: avidemux-bootStrap.patch
40
-Patch5: avidemux-cpu_armel.patch
41
+Patch3: avidemux-x265_plugins.patch
42
+Patch4: avidemux-package_version.patch
43
+Patch5: avidemux-bootStrap.patch
44
+Patch6: avidemux-cpu_armel.patch
45
+Patch7: avidemux-ADM_VERSION.patch
46
License: GPL-2.0
47
Group: Productivity/Multimedia/Video/Editors and Convertors
48
49
50
BuildRequires: pkgconfig(glu)
51
BuildRequires: pkgconfig(vdpau)
52
BuildRequires: pkgconfig(xv)
53
-## newer version of libav are not compatible to avidemux
54
-%if 0%{?suse_version} < 1310
55
+%if 0%{?suse_version} >= 1310
56
BuildRequires: pkgconfig(libva)
57
%endif
58
59
60
BuildRequires: pkgconfig(libass)
61
%if 0%{?sles_version}
62
BuildRequires: libx264-devel
63
+BuildRequires: libx265-devel
64
%else
65
BuildRequires: pkgconfig(x264)
66
+BuildRequires: pkgconfig(x265)
67
%endif
68
69
%if ! 0%{?sles_version}
70
71
Group: Productivity/Multimedia/Video/Editors and Convertors
72
Provides: avidemux3-frontend = %{version}-%{release}
73
Requires: avidemux3 = %{version}-%{release}
74
-Requires: avidemux3-qt4-lang = %{version}-%{release}
75
Requires: avidemux3-help = %{version}-%{release}
76
+Recommends: avidemux3-qt4-lang = %{version}-%{release}
77
78
%description qt4
79
Avidemux is a free video editor designed for simple cutting, filtering and
80
81
82
This package contains the Qt graphical interface for avidemux.
83
84
-%lang_package -n avidemux3-qt4
85
+%package qt4-lang
86
+Summary: Languages for package avidemux3-qt4
87
+Group: System/Localization
88
+Requires: avidemux3-qt4 = %{version}-%{release}
89
+BuildArch: noarch
90
+
91
+%description qt4-lang
92
+Avidemux is a free video editor designed for simple cutting, filtering and
93
+encoding tasks. It supports many file types, including AVI, DVD compatible
94
+MPEG files, MP4 and ASF, using a variety of codecs. Tasks can be automated
95
+using projects, job queue and powerful scripting capabilities.
96
+
97
+Avidemux is available for Linux, BSD, Mac OS X and Microsoft Windows under
98
+the GNU GPL license. The program was written from scratch by Mean, but code
99
+from other people and projects has been used as well. Patches, translations
100
+and even bug reports are always welcome.
101
+
102
+This package provides translations for package avidemux3-qt4.
103
104
%package help
105
Summary: Help files for avidemux
106
107
echo 'from Config import *' >> %{_sourcedir}/avidemux3-rpmlintrc
108
echo 'addFilter("libdir-macro-in-noarch-package")' >> %{_sourcedir}/avidemux3-rpmlintrc
109
%endif
110
-find . -type f -exec dos2unix -q {} \;
111
-sed -i -e 's|set(FFMPEG_VERSION "1.2.1")|set(FFMPEG_VERSION "%{ffmpeg_version}")|g' cmake/admFFmpegBuild.cmake
112
-rm -f avidemux_core/ffmpeg_package/ffmpeg-1.2.1.tar.bz2
113
+find ./ -name '*.bash' -exec dos2unix -q {} \;
114
+find ./ -name '*.cmake' -exec dos2unix -q {} \;
115
+find ./ -name '*.cpp' -exec dos2unix -q {} \;
116
+find ./ -name '*.sh' -exec dos2unix -q {} \;
117
+find ./ -name '*.sql' -exec dos2unix -q {} \;
118
+find ./ -name '*.txt' -exec dos2unix -q {} \;
119
+find . -type f -exec sed -i -e 's|intfloat_readwrite.h|intfloat.h|g' {} \;
120
+sed -i -e 's|set(FFMPEG_VERSION "2.6.1")|set(FFMPEG_VERSION "%{ffmpeg_version}")|g' cmake/admFFmpegBuild.cmake
121
+rm -f avidemux_core/ffmpeg_package/ffmpeg-2.6.1.tar.bz2
122
cp %{S:3} avidemux_core/ffmpeg_package/
123
pushd avidemux_core/ffmpeg_package/patches
124
rm -f config.mak.diff
125
+rm -f libavcodec_put_bits.h.patch
126
+rm -f libavcodec_x86_fmtconvert_init.c.patch
127
+rm -f libavcodec_mpegvideo_enc.c.patch
128
+rm -f libavcodec_mpeg12enc.c.patch
129
cp %{S:4} .
130
+cp %{S:5} .
131
+cp %{S:7} .
132
+cp %{S:8} .
133
+cp %{S:9} .
134
pushd xvba
135
rm -f xvba_support_from_xbmc_xvba.patch
136
-cp %{S:5} .
137
+cp %{S:6} .
138
popd
139
popd
140
%patch0 -p0
141
142
%patch3 -p0
143
%patch4 -p0
144
%patch5 -p0
145
+%patch6 -p0
146
+%patch7 -p0
147
+chmod 755 bootStrap.bash
148
+chmod 644 AUTHORS COPYING README
149
150
%build
151
%if ! 0%{?sles_version}
152
153
export CXXFLAGS="%optflags -D__STDC_CONSTANT_MACROS -fno-strict-aliasing"
154
%endif
155
156
-chmod 755 bootStrap.bash
157
%if ! 0%{?sles_version}
158
./bootStrap.bash --with-cli --with-gtk
159
%else
160
161
# delete devel file (only needed for build)
162
rm -rf %{buildroot}%{_includedir}
163
164
+## find . -name "config.mak" -exec install -D -m644 {} %{buildroot}%{_datadir}/avidemux3/help/config.mak \;
165
+
166
%fdupes %buildroot
167
168
%post -p /sbin/ldconfig
169
170
171
%files
172
%defattr(-,root,root)
173
-%{_libdir}/libADM6avcodec.so.54
174
-%{_libdir}/libADM6avformat.so.54
175
-%{_libdir}/libADM6avutil.so.52
176
-%{_libdir}/libADM6postproc.so.52
177
-%{_libdir}/libADM6swscale.so.2
178
+%{_libdir}/libADM6avcodec.so.*
179
+%{_libdir}/libADM6avformat.so.*
180
+%{_libdir}/libADM6avutil.so.*
181
+%{_libdir}/libADM6postproc.so.*
182
+%{_libdir}/libADM6swscale.so.*
183
%{_libdir}/libADM_audioParser6.so
184
%{_libdir}/libADM_core6.so
185
%{_libdir}/libADM_coreAudio6.so
186
187
%{_libdir}/libADM_coreImage6.so
188
%{_libdir}/libADM_coreImageLoader6.so
189
%{_libdir}/libADM_coreJobs.so
190
-%if 0%{?suse_version} < 1310
191
+%if 0%{?suse_version} >= 1310
192
%{_libdir}/libADM_coreLibVA6.so
193
%endif
194
%{_libdir}/libADM_coreMuxer6.so
195
196
%{_libdir}/ADM_plugins6/pluginSettings/x264/3/veryFast.json
197
%{_libdir}/ADM_plugins6/pluginSettings/x264/3/fast.json
198
%{_libdir}/ADM_plugins6/pluginSettings/x264/3/iPhone.json
199
-%if ! 0%{?sles_version}
200
-%{_libdir}/ADM_plugins6/scriptEngines/libADM_script_qt.so
201
-%endif
202
%{_libdir}/ADM_plugins6/scriptEngines/libADM_script_spiderMonkey.so
203
%{_libdir}/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so
204
%{_libdir}/ADM_plugins6/videoDecoders/libADM_vd_vpx.so
205
206
%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_vdpauFilterDeint.so
207
%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_vflip.so
208
%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_yadif.so
209
-%if ! 0%{?sles_version}
210
%dir %{_datadir}/ADM6_addons
211
%dir %{_datadir}/ADM6_addons/avsfilter
212
%{_datadir}/ADM6_addons/avsfilter/avsload.exe
213
%{_datadir}/ADM6_addons/avsfilter/pipe_source.dll
214
+%if ! 0%{?sles_version}
215
%{_datadir}/pixmaps/avidemux3.png
216
%endif
217
%{_mandir}/man1/avidemux.1.gz
218
219
%{_libdir}/libADM_render6_cli.so
220
%{_libdir}/libADM_UI_Cli6.so
221
%{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_x264_cli.so
222
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_chromaShiftCli.so
223
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_contrastCli.so
224
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_CropCli.so
225
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_eq2Cli.so
226
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_HueCli.so
227
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_mpdelogoCli.so
228
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_swscaleResize_cli.so
229
+%{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_x265_cli.so
230
+%dir %{_libdir}/ADM_plugins6/videoFilters/cli
231
+%{_libdir}/ADM_plugins6/videoFilters/cli/libADM_vf_chromaShiftCli.so
232
+%{_libdir}/ADM_plugins6/videoFilters/cli/libADM_vf_contrastCli.so
233
+%{_libdir}/ADM_plugins6/videoFilters/cli/libADM_vf_CropCli.so
234
+%{_libdir}/ADM_plugins6/videoFilters/cli/libADM_vf_eq2Cli.so
235
+%{_libdir}/ADM_plugins6/videoFilters/cli/libADM_vf_HueCli.so
236
+%{_libdir}/ADM_plugins6/videoFilters/cli/libADM_vf_mpdelogoCli.so
237
+%{_libdir}/ADM_plugins6/videoFilters/cli/libADM_vf_swscaleResize_cli.so
238
239
%if ! 0%{?sles_version}
240
%files gtk
241
242
%{_libdir}/ADM_glade/videoFilter/up.png
243
%{_libdir}/ADM_glade/videoFilter/videoFilter.gtkBuilder
244
%{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_x264_gtk.so
245
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_asharpGtk.so
246
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_chromaShiftGtk.so
247
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_contrastGtk.so
248
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_cropGtk.so
249
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_eq2Gtk.so
250
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_HueGtk.so
251
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_swscaleResize_gtk.so
252
+%{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_x265_gtk.so
253
+%dir %{_libdir}/ADM_plugins6/videoFilters/gtk
254
+%{_libdir}/ADM_plugins6/videoFilters/gtk/libADM_vf_asharpGtk.so
255
+%{_libdir}/ADM_plugins6/videoFilters/gtk/libADM_vf_chromaShiftGtk.so
256
+%{_libdir}/ADM_plugins6/videoFilters/gtk/libADM_vf_contrastGtk.so
257
+%{_libdir}/ADM_plugins6/videoFilters/gtk/libADM_vf_cropGtk.so
258
+%{_libdir}/ADM_plugins6/videoFilters/gtk/libADM_vf_eq2Gtk.so
259
+%{_libdir}/ADM_plugins6/videoFilters/gtk/libADM_vf_HueGtk.so
260
+%{_libdir}/ADM_plugins6/videoFilters/gtk/libADM_vf_swscaleResize_gtk.so
261
%{_datadir}/applications/avidemux3-gtk.desktop
262
263
%files qt4
264
%defattr(-,root,root)
265
-%{_bindir}/avidemux3_jobs
266
+%{_bindir}/avidemux3_jobs_qt4
267
%{_bindir}/avidemux3_qt4
268
-%{_libdir}/libADM_render6_qt4.so
269
+%{_libdir}/libADM_render6_QT4.so
270
%{_libdir}/libADM_UIQT46.so
271
-%{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_x264_qt4.so
272
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_asharpQt4.so
273
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_chromaShiftQt4.so
274
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_contrastQt4.so
275
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_cropQt4.so
276
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_eq2Qt4.so
277
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_glBenchmark.so
278
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_glResize.so
279
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_HueQt4.so
280
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_mpdelogoQt4.so
281
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_rotateGlFrag2.so
282
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_sampleGlFrag2.so
283
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_sampleGlVertex.so
284
-%{_libdir}/ADM_plugins6/videoFilters/libADM_vf_swscaleResize_qt4.so
285
+%dir %{_libdir}/ADM_plugins6/scriptEngines/qt4
286
+%dir %{_libdir}/ADM_plugins6/videoEncoders/qt4
287
+%dir %{_libdir}/ADM_plugins6/videoFilters/qt4
288
+%{_libdir}/ADM_plugins6/scriptEngines/qt4/libadm_script_QT4.so
289
+%{_libdir}/ADM_plugins6/videoEncoders/qt4/libADM_ve_x264_QT4.so
290
+%{_libdir}/ADM_plugins6/videoEncoders/qt4/libADM_ve_x265_QT4.so
291
+%{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_asharpQT4.so
292
+%{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_chromaShiftQT4.so
293
+%{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_contrastQT4.so
294
+%{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_cropQT4.so
295
+%{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_eq2QT4.so
296
+%{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_glBenchmark.so
297
+%{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_glResize.so
298
+%{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_HueQT4.so
299
+%{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_mpdelogoQT4.so
300
+%{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_rotateGlFrag2.so
301
+%{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_sampleGlFrag2.so
302
+%{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_sampleGlVertex.so
303
+%{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_swscaleResizeQT4.so
304
%{_datadir}/applications/avidemux3-qt4.desktop
305
306
%files -n avidemux3-qt4-lang
307
%defattr(-,root,root)
308
-%{_datadir}/avidemux3/i18n/
309
+%dir %{_datadir}/avidemux3/qt4
310
+%{_datadir}/avidemux3/qt4/i18n/
311
312
%files help
313
%defattr(-,root,root)
314
avidemux-ADM_VERSION.patch
Added
23
1
2
+--- avidemux/common/main.cpp.orig 2014-11-28 22:27:34.739989392 +0100
3
++++ avidemux/common/main.cpp 2014-11-28 22:27:19.253254919 +0100
4
+@@ -137,7 +137,7 @@
5
+ int startAvidemux(int argc, char *argv[])
6
+ {
7
+ printf("*************************\n");
8
+- printf(" Avidemux v"ADM_VERSION);
9
++ printf(" Avidemux v",ADM_VERSION);
10
+
11
+ #if defined( ADM_SUBVERSION )
12
+ #define MKSTRING(x) x
13
+--- avidemux/gtk/CMakeLists.txt.orig 2014-11-28 22:42:25.006820533 +0100
14
++++ avidemux/gtk/CMakeLists.txt 2014-11-28 22:42:25.039819908 +0100
15
+@@ -34,6 +34,7 @@
16
+
17
+ SDLify(../common/main.cpp)
18
+ ADD_SOURCE_CFLAGS(../common/main.cpp "-DADM_SUBVERSION=\"${ADM_SUBVERSION}\"")
19
++ADD_SOURCE_CFLAGS(../common/main.cpp "-DADM_VERSION='\"${AVIDEMUX_VERSION}\"'")
20
+
21
+ ###########################################
22
+ # Version Info
23
avidemux-bootStrap.patch
Changed
22
1
2
---- bootStrap.bash.orig 2014-03-12 07:15:23.000000000 +0100
3
-+++ bootStrap.bash 2014-10-16 13:17:27.202466100 +0200
4
-@@ -12,6 +12,7 @@
5
- export O_PARAL="-j 2"
6
- fail()
7
- {
8
-+ cat /tmp/log$BUILDDIR
9
- echo "** Failed at $1**"
10
- exit 1
11
- }
12
+--- bootStrap.bash.orig 2014-11-28 22:27:34.749989459 +0100
13
++++ bootStrap.bash 2014-11-28 22:27:19.100257535 +0100
14
+@@ -12,6 +12,7 @@
15
+ export O_PARAL="-j 2"
16
+ fail()
17
+ {
18
++ cat /tmp/log$BUILDDIR
19
+ echo "** Failed at $1**"
20
+ exit 1
21
+ }
22
avidemux-cmake-2.8.8.patch
Changed
9
1
2
---- cmake/admCheckRequiredLibs.cmake.orig 2012-11-24 14:10:22.875484974 +0100
3
-+++ cmake/admCheckRequiredLibs.cmake 2012-11-24 14:10:22.887484974 +0100
4
+--- cmake/admCheckRequiredLibs.cmake.orig 2014-11-28 22:27:34.748989455 +0100
5
++++ cmake/admCheckRequiredLibs.cmake 2014-11-28 22:27:19.127257073 +0100
6
@@ -16,9 +16,9 @@
7
endif (DEFINED PKGCONFIG_FOUND)
8
endif (${CMAKE_VERSION} VERSION_EQUAL 2.8.8)
9
avidemux-cpu_armel.patch
Changed
9
1
2
---- avidemux_plugins/ADM_audioDecoders/ADM_ad_mad/CMakeLists.txt.orig 2014-11-06 19:55:57.065531381 +0100
3
-+++ avidemux_plugins/ADM_audioDecoders/ADM_ad_mad/CMakeLists.txt 2014-11-06 19:55:57.085531012 +0100
4
+--- avidemux_plugins/ADM_audioDecoders/ADM_ad_mad/CMakeLists.txt.orig 2014-11-28 22:27:34.742989408 +0100
5
++++ avidemux_plugins/ADM_audioDecoders/ADM_ad_mad/CMakeLists.txt 2014-11-28 22:27:19.752246386 +0100
6
@@ -6,6 +6,8 @@
7
ADD_DEFINITIONS("-DFPM_DEFAULT")
8
ELSEIF (ADM_CPU_PPC)
9
avidemux-linking.patch
Changed
73
1
2
---- avidemux/cli/CMakeLists.txt.orig 2013-12-06 07:33:08.000000000 +0100
3
-+++ avidemux/cli/CMakeLists.txt 2013-12-09 11:37:09.197249000 +0100
4
-@@ -102,6 +102,16 @@
5
+--- avidemux/cli/CMakeLists.txt.orig 2014-11-28 22:27:34.737989374 +0100
6
++++ avidemux/cli/CMakeLists.txt 2014-11-28 22:27:19.740246591 +0100
7
+@@ -80,6 +80,16 @@
8
)
9
10
###########################################
11
12
# External libs
13
###########################################
14
# gettext
15
---- avidemux/gtk/CMakeLists.txt.orig 2013-12-06 07:33:08.000000000 +0100
16
-+++ avidemux/gtk/CMakeLists.txt 2013-12-09 11:37:11.447018600 +0100
17
+--- avidemux/gtk/CMakeLists.txt.orig 2014-11-28 22:27:34.739989392 +0100
18
++++ avidemux/gtk/CMakeLists.txt 2014-11-28 22:27:19.744246523 +0100
19
@@ -102,6 +102,16 @@
20
)
21
22
23
# External libs
24
###########################################
25
# gettext
26
---- avidemux/qt4/CMakeLists.txt.orig 2013-12-06 07:33:08.000000000 +0100
27
-+++ avidemux/qt4/CMakeLists.txt 2013-12-09 11:37:13.759281800 +0100
28
-@@ -140,6 +140,16 @@
29
+--- avidemux/qt4/CMakeLists.txt.orig 2014-11-28 22:27:34.741989405 +0100
30
++++ avidemux/qt4/CMakeLists.txt 2014-11-28 22:27:19.746246489 +0100
31
+@@ -118,6 +118,16 @@
32
)
33
34
###########################################
35
+# Missing libs
36
+###########################################
37
-+TARGET_LINK_LIBRARIES(avidemux3_qt4
38
++TARGET_LINK_LIBRARIES(avidemux3_${QT_EXTENSION}
39
+ ADM_coreSqlLight3
40
+ ADM_libswscale
41
+ ADM_libpostproc
42
43
# External libs
44
###########################################
45
# gettext
46
---- avidemux/qt4/ADM_jobs/src/CMakeLists.txt.orig 2013-12-06 07:33:08.000000000 +0100
47
-+++ avidemux/qt4/ADM_jobs/src/CMakeLists.txt 2013-12-09 11:37:16.040298200 +0100
48
-@@ -90,6 +90,16 @@
49
- TARGET_LINK_LIBRARIES(avidemux3_jobs ADM_coreJobs)
50
- TARGET_LINK_LIBRARIES(avidemux3_jobs ADM_coreUtils6)
51
- TARGET_LINK_LIBRARIES(avidemux3_jobs ADM_core6)
52
+--- avidemux/qt4/ADM_jobs/src/CMakeLists.txt.orig 2015-02-10 07:29:57.000000000 +0100
53
++++ avidemux/qt4/ADM_jobs/src/CMakeLists.txt 2015-02-11 13:46:33.536379900 +0100
54
+@@ -67,6 +67,16 @@
55
+ TARGET_LINK_LIBRARIES(avidemux3_jobs_${QT_EXTENSION} ADM_coreJobs)
56
+ TARGET_LINK_LIBRARIES(avidemux3_jobs_${QT_EXTENSION} ADM_coreUtils6)
57
+ TARGET_LINK_LIBRARIES(avidemux3_jobs_${QT_EXTENSION} ADM_core6)
58
+###########################################
59
+# Missing libs
60
+###########################################
61
-+TARGET_LINK_LIBRARIES(avidemux3_jobs
62
++TARGET_LINK_LIBRARIES(avidemux3_jobs_${QT_EXTENSION}
63
+ ADM_coreSqlLight3
64
+ ADM_coreUI6
65
+ ADM_libavcodec
66
67
+)
68
+
69
#
70
- target_link_libraries(avidemux3_jobs "-lm -lstdc++")
71
+ target_link_libraries(avidemux3_jobs_${QT_EXTENSION} "-lm -lstdc++")
72
#
73
avidemux-package_version.patch
Changed
122
1
2
---- avidemux/qt4/ADM_userInterfaces/ui_support.cpp.orig 2014-03-14 13:16:11.948145100 +0100
3
-+++ avidemux/qt4/ADM_userInterfaces/ui_support.cpp 2014-03-14 13:34:19.661718900 +0100
4
-@@ -95,12 +95,12 @@
5
- }
6
- ADM_info("Initializing language %s\n",lang);
7
- #ifdef __APPLE__
8
-- QString appdir = QCoreApplication::applicationDirPath() + "/../share/avidemux6/i18n/";
9
-+ QString appdir = QCoreApplication::applicationDirPath() + "/../share/avidemux3/i18n/";
10
-
11
- #elif defined(_WIN32)
12
- QString appdir = QCoreApplication::applicationDirPath() + "/i18n/";
13
- #else
14
-- QString appdir = ADM_getInstallRelativePath("share","avidemux6","i18n");
15
-+ QString appdir = ADM_getInstallRelativePath("share","avidemux3","i18n");
16
- #endif
17
- QString languageFile=QString(lang);
18
- int nbLoaded=0;
19
---- avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2_menu.cpp.orig 2014-03-14 13:19:05.743017000 +0100
20
-+++ avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2_menu.cpp 2014-03-14 13:34:21.849218900 +0100
21
+diff -uNr avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2_menu.cpp.orig avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2_menu.cpp
22
+--- avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2_menu.cpp.orig 2015-03-07 18:10:59.000000000 +0100
23
++++ avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2_menu.cpp 2015-03-07 18:51:50.109120416 +0100
24
@@ -143,7 +143,7 @@
25
QString referenceFile = QCoreApplication::applicationDirPath() + "/help/" + ((FileAction*)sender())->filePath();
26
#else
27
28
#endif
29
30
QDesktopServices::openUrl(QUrl("file:///" + referenceFile, QUrl::TolerantMode));
31
---- avidemux_core/ADM_core/src/ADM_fileio.cpp.orig 2014-03-14 13:21:28.788976500 +0100
32
-+++ avidemux_core/ADM_core/src/ADM_fileio.cpp 2014-03-14 13:34:24.302343900 +0100
33
+diff -uNr avidemux/qt4/ADM_userInterfaces/ui_support.cpp.orig avidemux/qt4/ADM_userInterfaces/ui_support.cpp
34
+--- avidemux/qt4/ADM_userInterfaces/ui_support.cpp.orig 2015-03-07 18:10:59.000000000 +0100
35
++++ avidemux/qt4/ADM_userInterfaces/ui_support.cpp 2015-03-07 18:51:50.163119306 +0100
36
+@@ -104,12 +104,12 @@
37
+
38
+
39
+ #ifdef __APPLE__
40
+- QString appdir = QCoreApplication::applicationDirPath() + "/../share/avidemux6/"+QString(partialPath.c_str());
41
++ QString appdir = QCoreApplication::applicationDirPath() + "/../share/avidemux3/"+QString(partialPath.c_str());
42
+
43
+ #elif defined(_WIN32)
44
+ QString appdir = QCoreApplication::applicationDirPath() + QString(partialPath.c_str());
45
+ #else
46
+- QString appdir = ADM_getInstallRelativePath("share","avidemux6",partialPath.c_str());
47
++ QString appdir = ADM_getInstallRelativePath("share","avidemux3",partialPath.c_str());
48
+ #endif
49
+ QString languageFile=QString(lang);
50
+ int nbLoaded=0;
51
+diff -uNr avidemux_core/ADM_core/src/ADM_fileio.cpp.orig avidemux_core/ADM_core/src/ADM_fileio.cpp
52
+--- avidemux_core/ADM_core/src/ADM_fileio.cpp.orig 2015-03-07 18:10:59.000000000 +0100
53
++++ avidemux_core/ADM_core/src/ADM_fileio.cpp 2015-03-07 18:51:50.858105023 +0100
54
@@ -463,9 +463,9 @@
55
else
56
ADM_DIR_NAME = "avidemux";
57
58
#endif
59
60
strcat(ADM_basedir, ADM_DIR_NAME);
61
---- avidemux_plugins/ADM_scriptEngines/tinyPy/src/PythonEngine.cpp.orig 2014-03-14 13:23:56.381781900 +0100
62
-+++ avidemux_plugins/ADM_scriptEngines/tinyPy/src/PythonEngine.cpp 2014-03-14 13:34:26.489843900 +0100
63
+diff -uNr avidemux_plugins/ADM_scriptEngines/tinyPy/src/PythonEngine.cpp.orig avidemux_plugins/ADM_scriptEngines/tinyPy/src/PythonEngine.cpp
64
+--- avidemux_plugins/ADM_scriptEngines/tinyPy/src/PythonEngine.cpp.orig 2015-03-07 18:10:59.000000000 +0100
65
++++ avidemux_plugins/ADM_scriptEngines/tinyPy/src/PythonEngine.cpp 2015-03-07 18:51:54.903021895 +0100
66
@@ -260,7 +260,7 @@
67
this->callEventHandlers(IScriptEngine::Information, NULL, -1,
68
(string("Executing ") + string(name) + string("...")).c_str());
69
70
71
this->callEventHandlers(IScriptEngine::Information, NULL, -1, "Done");
72
73
---- cmake/se_plugin.cmake.orig 2014-03-14 13:26:16.005888300 +0100
74
-+++ cmake/se_plugin.cmake 2014-03-14 13:34:28.724218900 +0100
75
-@@ -12,7 +12,7 @@
76
+diff -uNr cmake/se_plugin.cmake.orig cmake/se_plugin.cmake
77
+--- cmake/se_plugin.cmake.orig 2015-03-07 18:10:59.000000000 +0100
78
++++ cmake/se_plugin.cmake 2015-03-07 18:51:56.589987225 +0100
79
+@@ -15,7 +15,7 @@
80
if (WIN32)
81
set(helpDir "${CMAKE_INSTALL_PREFIX}/help/${_engineName}")
82
else (WIN32)
83
84
+ set(helpDir "${CMAKE_INSTALL_PREFIX}/share/avidemux3/help/${_engineName}")
85
endif (WIN32)
86
87
- install(DIRECTORY "${_sourceDirectory}" DESTINATION "${helpDir}")
88
---- cmake/Ts.cmake.orig 2014-03-14 13:30:09.942968900 +0100
89
-+++ cmake/Ts.cmake 2014-03-14 13:34:30.583593900 +0100
90
-@@ -41,7 +41,7 @@
91
- IF(WIN32)
92
- SET(i18dir "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}/i18n")
93
- ELSE(WIN32)
94
-- SET(i18dir "${CMAKE_INSTALL_PREFIX}/share/avidemux6/i18n")
95
-+ SET(i18dir "${CMAKE_INSTALL_PREFIX}/share/avidemux3/i18n")
96
- ENDIF(WIN32)
97
- INSTALL(FILES ${_files} DESTINATION "${i18dir}")
98
- ENDMACRO(INSTALL_I18N _files)
99
---- cmake/sql/update.sh.orig 2014-03-14 13:31:34.614843900 +0100
100
-+++ cmake/sql/update.sh 2014-03-14 13:34:32.864843900 +0100
101
+ install(DIRECTORY "${_sourceDirectory}" DESTINATION "${helpDir}" COMPONENT plugins)
102
+diff -uNr cmake/sql/update.sh.orig cmake/sql/update.sh
103
+--- cmake/sql/update.sh.orig 2015-03-07 18:10:59.000000000 +0100
104
++++ cmake/sql/update.sh 2015-03-07 18:51:56.393991253 +0100
105
@@ -1,3 +1,3 @@
106
-sqlite3 ~/.avidemux6/jobs.sql .d > dump
107
+sqlite3 ~/.avidemux3/jobs.sql .d > dump
108
#sql2class -sqlite -global -license -wrapped -lib $PWD dump
109
sql2class -sqlite -build -global -prefix $PWD -lib sqlJobs -namespace db -overwrite dump
110
+diff -uNr cmake/Ts.cmake.orig cmake/Ts.cmake
111
+--- cmake/Ts.cmake.orig 2015-03-07 18:10:59.000000000 +0100
112
++++ cmake/Ts.cmake 2015-03-07 18:51:56.421990678 +0100
113
+@@ -41,7 +41,7 @@
114
+ IF(WIN32)
115
+ SET(i18dir "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}/${QT_EXTENSION}/i18n")
116
+ ELSE(WIN32)
117
+- SET(i18dir "${CMAKE_INSTALL_PREFIX}/share/avidemux6/${QT_EXTENSION}/i18n")
118
++ SET(i18dir "${CMAKE_INSTALL_PREFIX}/share/avidemux3/${QT_EXTENSION}/i18n")
119
+ ENDIF(WIN32)
120
+ INSTALL(FILES ${_files} DESTINATION "${i18dir}" COMPONENT runtime)
121
+ ENDMACRO(INSTALL_I18N _files)
122
avidemux-x264_plugins.patch
Changed
12
1
2
---- avidemux_plugins/ADM_videoEncoder/x264/CMakeLists.txt.orig 2013-05-11 19:57:12.944707623 +0200
3
-+++ avidemux_plugins/ADM_videoEncoder/x264/CMakeLists.txt 2013-05-11 19:57:12.973707063 +0200
4
+--- avidemux_plugins/ADM_videoEncoder/x264/CMakeLists.txt.orig 2015-02-23 18:53:40.000000000 +0100
5
++++ avidemux_plugins/ADM_videoEncoder/x264/CMakeLists.txt 2015-02-26 14:06:02.512830400 +0100
6
@@ -27,15 +27,26 @@
7
- INSTALL_VIDEO_ENCODER(ADM_ve_x264_qt4)
8
+ INSTALL_VIDEO_ENCODER_QT4(ADM_ve_x264_${QT_LIBRARY_EXTENSION})
9
endif(DO_QT4)
10
#-----------------------/QT4 VERSION---------------------
11
- #-----------------------GTK or CLI VERSION---------------------
12
avidemux-x265_plugins.patch
Added
40
1
2
+--- avidemux_plugins/ADM_videoEncoder/x265/CMakeLists.txt.orig 2015-02-23 18:53:40.000000000 +0100
3
++++ avidemux_plugins/ADM_videoEncoder/x265/CMakeLists.txt 2015-02-26 14:06:03.794031200 +0100
4
+@@ -27,15 +27,26 @@
5
+ INSTALL_VIDEO_ENCODER_QT4(ADM_ve_x265_${QT_LIBRARY_EXTENSION})
6
+ endif(DO_QT4)
7
+ #-----------------------/QT4 VERSION---------------------
8
+- #-----------------------GTK or CLI VERSION---------------------
9
+- if((DO_GTK) OR (DO_CLI))
10
+- ADD_VIDEO_ENCODER(ADM_ve_x265_other ADM_x265_noui.cpp ${x265_SRCS})
11
+- ADD_TARGET_CFLAGS(ADM_ve_x265_other "-DADM_UI_TYPE_BUILD=1") # CLI!
12
+- TARGET_LINK_LIBRARIES(ADM_ve_x265_other "${X265_LIBRARY_DIR}")
13
+- TARGET_LINK_LIBRARIES(ADM_ve_x265_other ADM_core6)
14
+- INIT_VIDEO_ENCODER(ADM_ve_x265_other)
15
+- INSTALL_VIDEO_ENCODER(ADM_ve_x265_other)
16
+- endif((DO_GTK) OR (DO_CLI))
17
++ #-----------------------CLI VERSION----------------------
18
++ if(DO_CLI)
19
++ ADD_VIDEO_ENCODER(ADM_ve_x265_cli ADM_x265_noui.cpp ${x265_SRCS})
20
++ ADD_TARGET_CFLAGS(ADM_ve_x265_cli "-DADM_UI_TYPE_BUILD=1") # CLI!
21
++ TARGET_LINK_LIBRARIES(ADM_ve_x265_cli "${X265_LIBRARY_DIR}")
22
++ TARGET_LINK_LIBRARIES(ADM_ve_x265_cli ADM_core6)
23
++ INIT_VIDEO_ENCODER(ADM_ve_x265_cli)
24
++ INSTALL_VIDEO_ENCODER(ADM_ve_x265_cli)
25
++ endif(DO_CLI)
26
++ #-----------------------/CLI VERSION---------------------
27
++ #-----------------------GTK VERSION----------------------
28
++ if(DO_GTK)
29
++ ADD_VIDEO_ENCODER(ADM_ve_x265_gtk ADM_x265_noui.cpp ${x265_SRCS})
30
++ ADD_TARGET_CFLAGS(ADM_ve_x265_gtk "-DADM_UI_TYPE_BUILD=1") # GTK!
31
++ TARGET_LINK_LIBRARIES(ADM_ve_x265_gtk "${X265_LIBRARY_DIR}")
32
++ TARGET_LINK_LIBRARIES(ADM_ve_x265_gtk ADM_core6)
33
++ INIT_VIDEO_ENCODER(ADM_ve_x265_gtk)
34
++ INSTALL_VIDEO_ENCODER(ADM_ve_x265_gtk)
35
++ endif(DO_GTK)
36
++ #-----------------------/GTK VERSION---------------------
37
+ # ------------- PRESET -----------
38
+ if(DO_SETTINGS)
39
+ FILE(GLOB json_files ${CMAKE_CURRENT_SOURCE_DIR}/preset/*.json)
40
config.mak.diff
Changed
11
1
2
---- config.mak.orig 2014-10-14 00:23:55.903217057 +0200
3
-+++ config.mak 2014-10-14 00:23:55.919216855 +0200
4
-@@ -94,7 +94,7 @@
5
+--- config.mak.orig 2015-03-20 14:48:40.000000000 +0100
6
++++ config.mak 2015-03-20 14:57:19.669816100 +0100
7
+@@ -100,7 +100,7 @@
8
EXEOBJS=
9
INSTALL=install
10
LIBTARGET=
11
libavcodec_mpeg12enc.c.patch
Added
161
1
2
+--- libavcodec/mpeg12enc.c.orig 2015-06-10 23:35:03.625383207 +0200
3
++++ libavcodec/mpeg12enc.c 2015-06-10 23:35:03.661382526 +0200
4
+@@ -254,7 +254,7 @@
5
+
6
+ put_sbits(&s->pb, 12, s->width & 0xFFF);
7
+ put_sbits(&s->pb, 12, s->height & 0xFFF);
8
+-
9
++#if 0 // MEANX
10
+ for (i = 1; i < 15; i++) {
11
+ int64_t error = aspect_ratio.num * (1LL<<32) / aspect_ratio.den;
12
+ if (s->codec_id == AV_CODEC_ID_MPEG1VIDEO || i <= 1)
13
+@@ -269,12 +269,41 @@
14
+ s->aspect_ratio_info = i;
15
+ }
16
+ }
17
++#endif // MEANX
18
++ // MEANX put_bits(&s->pb, 4, s->aspect_ratio_info);
19
++ // MEANX put_bits(&s->pb, 4, s->frame_rate_index);
20
++ // MEANX 4:3
21
++ if(s->avctx->sample_aspect_ratio.num==16 && s->avctx->sample_aspect_ratio.den==9)
22
++ {
23
++ //printf("FFmpeg : Wide\n");
24
++ put_bits(&s->pb,4,3); //16:9
25
++ }
26
++ else //4:3
27
++ {
28
++ if(s->codec_id == CODEC_ID_MPEG2VIDEO)
29
++ put_bits(&s->pb, 4, 2);
30
++ else
31
++ put_bits(&s->pb, 4, 12); // MPEG1
32
++ }
33
++ // /MEANX
34
++// MEANX : Pulldown
35
++ if((s->avctx->flags2 & CODEC_FLAG2_32_PULLDOWN) && (s->codec_id == CODEC_ID_MPEG2VIDEO))
36
++ {
37
++ put_bits(&s->pb, 4,4);
38
++ }
39
++ else
40
++ {
41
++ put_bits(&s->pb, 4, s->frame_rate_index);
42
++ } //MEANX pulldown
43
++
44
++ // MEANX if(s->avctx->rc_max_rate){
45
++ // MEANX v = (s->avctx->rc_max_rate + 399) / 400;
46
++ // MEANX if(s->avctx->rc_max_rate_header){ //MEANX we use header
47
++ // MEANX v = (s->avctx->rc_max_rate_header + 399) / 400;
48
++ if(s->avctx->rc_buffer_size_header) // MEANX we use header
49
++ {
50
++ vbv_buffer_size = s->avctx->rc_buffer_size_header;
51
+
52
+- put_bits(&s->pb, 4, s->aspect_ratio_info);
53
+- put_bits(&s->pb, 4, s->frame_rate_index);
54
+-
55
+- if (s->avctx->rc_max_rate) {
56
+- v = (s->avctx->rc_max_rate + 399) / 400;
57
+ if (v > 0x3ffff && s->codec_id == AV_CODEC_ID_MPEG1VIDEO)
58
+ v = 0x3ffff;
59
+ } else {
60
+@@ -324,7 +353,19 @@
61
+ put_bits(&s->pb, 3, s->avctx->profile); // profile
62
+ put_bits(&s->pb, 4, s->avctx->level); // level
63
+
64
+- put_bits(&s->pb, 1, s->progressive_sequence);
65
++ // MEANX pulldown put_bits(&s->pb, 1, s->progressive_sequence);
66
++ // MEANX Pulldown
67
++ if(s->avctx->flags2 & CODEC_FLAG2_32_PULLDOWN) //MEANX
68
++ put_bits(&s->pb, 1, 0);
69
++ else
70
++ put_bits(&s->pb, 1, s->progressive_sequence);
71
++
72
++
73
++// /MEANX
74
++
75
++
76
++
77
++// MEANX put_bits(&s->pb, 1, s->progressive_sequence);
78
+ put_bits(&s->pb, 2, s->chroma_format);
79
+ put_bits(&s->pb, 2, s->width >> 12);
80
+ put_bits(&s->pb, 2, s->height >> 12);
81
+@@ -425,6 +466,7 @@
82
+
83
+ void ff_mpeg1_encode_picture_header(MpegEncContext *s, int picture_number)
84
+ {
85
++ int tff, rff; //MEANX
86
+ AVFrameSideData *side_data;
87
+ mpeg1_encode_sequence_header(s);
88
+
89
+@@ -463,6 +505,46 @@
90
+
91
+ s->frame_pred_frame_dct = 1;
92
+ if (s->codec_id == AV_CODEC_ID_MPEG2VIDEO) {
93
++// MEANX
94
++ if(s->avctx->flags2 & CODEC_FLAG2_32_PULLDOWN)
95
++ {
96
++
97
++ switch((s->picture_number -
98
++ s->gop_picture_number)&3)
99
++ {
100
++ case 0:
101
++ default:
102
++ rff=1;
103
++ tff=1;
104
++ break;
105
++ case 1:
106
++ rff=0;
107
++ tff=0;
108
++ break;
109
++ case 2:
110
++ rff=1;
111
++ tff=0;
112
++ break;
113
++ case 3:
114
++ rff=0;
115
++ tff=1;
116
++ break;
117
++ }
118
++ }
119
++ else
120
++ {
121
++ if (s->progressive_sequence)
122
++ {
123
++ tff=0; /* no repeat */
124
++ } else
125
++ {
126
++ tff=s->current_picture_ptr->f->top_field_first;
127
++ }
128
++ rff=s->repeat_first_field;
129
++
130
++ }
131
++
132
++// /MEANX
133
+ put_header(s, EXT_START_CODE);
134
+ put_bits(&s->pb, 4, 8); /* pic ext */
135
+ if (s->pict_type == AV_PICTURE_TYPE_P ||
136
+@@ -482,10 +564,14 @@
137
+
138
+ av_assert0(s->picture_structure == PICT_FRAME);
139
+ put_bits(&s->pb, 2, s->picture_structure);
140
++#if 0 // MEANX
141
+ if (s->progressive_sequence)
142
+ put_bits(&s->pb, 1, 0); /* no repeat */
143
+ else
144
+ put_bits(&s->pb, 1, s->current_picture_ptr->f->top_field_first);
145
++#endif // MEANX
146
++ put_bits(&s->pb, 1, tff); //MEANX PULLDOWN
147
++
148
+ /* XXX: optimize the generation of this flag with entropy measures */
149
+ s->frame_pred_frame_dct = s->progressive_sequence;
150
+
151
+@@ -494,7 +580,8 @@
152
+ put_bits(&s->pb, 1, s->q_scale_type);
153
+ put_bits(&s->pb, 1, s->intra_vlc_format);
154
+ put_bits(&s->pb, 1, s->alternate_scan);
155
+- put_bits(&s->pb, 1, s->repeat_first_field);
156
++ // MEANX put_bits(&s->pb, 1, s->top_field_first);
157
++ put_bits(&s->pb, 1, rff); // MEANX
158
+ s->progressive_frame = s->progressive_sequence;
159
+ /* chroma_420_type */
160
+ put_bits(&s->pb, 1, s->chroma_format ==
161
libavcodec_mpegvideo_enc.c.patch
Added
39
1
2
+--- libavcodec/mpegvideo_enc.c.orig 2015-06-10 20:53:04.066303738 +0200
3
++++ libavcodec/mpegvideo_enc.c 2015-06-10 20:57:27.692337620 +0200
4
+@@ -469,14 +469,14 @@
5
+ "Warning vbv_delay will be set to 0xFFFF (=VBR) as the "
6
+ "specified vbv buffer is too large for the given bitrate!\n");
7
+ }
8
+-
9
++#if 0 // MEANX
10
+ if ((s->avctx->flags & CODEC_FLAG_4MV) && s->codec_id != AV_CODEC_ID_MPEG4 &&
11
+ s->codec_id != AV_CODEC_ID_H263 && s->codec_id != AV_CODEC_ID_H263P &&
12
+ s->codec_id != AV_CODEC_ID_FLV1) {
13
+ av_log(avctx, AV_LOG_ERROR, "4MV not supported by codec\n");
14
+ return -1;
15
+ }
16
+-
17
++#endif
18
+ if (s->obmc && s->avctx->mb_decision != FF_MB_DECISION_SIMPLE) {
19
+ av_log(avctx, AV_LOG_ERROR,
20
+ "OBMC is only supported with simple mb decision\n");
21
+@@ -568,7 +568,7 @@
22
+ av_log(avctx, AV_LOG_ERROR, "interlacing not supported by codec\n");
23
+ return -1;
24
+ }
25
+-
26
++#if 0 // MEANX
27
+ // FIXME mpeg2 uses that too
28
+ if (s->mpeg_quant && ( s->codec_id != AV_CODEC_ID_MPEG4
29
+ && s->codec_id != AV_CODEC_ID_MPEG2VIDEO)) {
30
+@@ -576,7 +576,7 @@
31
+ "mpeg2 style quantization not supported by codec\n");
32
+ return -1;
33
+ }
34
+-
35
++#endif
36
+ if ((s->mpv_flags & FF_MPV_FLAG_CBP_RD) && !avctx->trellis) {
37
+ av_log(avctx, AV_LOG_ERROR, "CBP RD needs trellis quant\n");
38
+ return -1;
39
libavcodec_put_bits.h.patch
Added
15
1
2
+--- libavcodec/put_bits.h~ 2014-12-03 22:30:33.639552235 +0100
3
++++ libavcodec/put_bits.h 2014-12-03 22:30:33.664551595 +0100
4
+@@ -33,6 +33,10 @@
5
+ #include "libavutil/intreadwrite.h"
6
+ #include "libavutil/avassert.h"
7
+
8
++#ifndef ADM_LAV_NO_CONFIG
9
++ #include "config.h"
10
++#endif// ADM_LAV_NO_CONFIG
11
++
12
+ typedef struct PutBitContext {
13
+ uint32_t bit_buf;
14
+ int bit_left;
15
libavcodec_x86_fmtconvert_init.c.patch
Added
19
1
2
+--- libavcodec/x86/fmtconvert_init.c.orig 2015-03-07 23:34:54.380084981 +0100
3
++++ libavcodec/x86/fmtconvert_init.c 2015-03-07 23:34:54.416084278 +0100
4
+@@ -44,6 +44,7 @@
5
+ #if HAVE_YASM
6
+ int cpu_flags = av_get_cpu_flags();
7
+
8
++#if 0 // MEANX : Cant guarantee proper alignment
9
+ if (EXTERNAL_SSE(cpu_flags)) {
10
+ c->int32_to_float_fmul_scalar = ff_int32_to_float_fmul_scalar_sse;
11
+ c->int32_to_float_fmul_array8 = ff_int32_to_float_fmul_array8_sse;
12
+@@ -52,5 +53,6 @@
13
+ c->int32_to_float_fmul_scalar = ff_int32_to_float_fmul_scalar_sse2;
14
+ c->int32_to_float_fmul_array8 = ff_int32_to_float_fmul_array8_sse2;
15
+ }
16
++#endif // MEANX
17
+ #endif /* HAVE_YASM */
18
+ }
19
avidemux_2.6.8.tar.gz -> avidemux_2.6.10.tar.gz
Changed
ffmpeg-1.2.12.tar.bz2 -> ffmpeg-2.7.1.tar.bz2
Changed
Refresh
No build results available
Refresh
No rpmlint results available
Login required, please
login
or
signup
in order to comment
Request History
enzokiel created request almost 10 years ago
- Update to version 2.6.10
enzokiel accepted request almost 10 years ago
OK