Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 907294 Details for
Bug 917591
media-video/handbrake-1.7.0 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
/etc/portage/patches/media-video/handbrake-1.8.2/ fix missing 'colorspace' in ffmpeg-6.1.2
0001-hbavfilter-fix-garbled-preview-and-crop-not-working.patch (text/plain), 4.26 KB, created by
mehw
on 2024-10-29 23:56:19 UTC
(
hide
)
Description:
/etc/portage/patches/media-video/handbrake-1.8.2/ fix missing 'colorspace' in ffmpeg-6.1.2
Filename:
MIME Type:
Creator:
mehw
Created:
2024-10-29 23:56:19 UTC
Size:
4.26 KB
patch
obsolete
>From 8b6388e6cec0f17639d142acf5ebabb19b4ec025 Mon Sep 17 00:00:00 2001 >From: Matthew White <mehw.is.me@inventati.org> >Date: Tue, 8 Oct 2024 02:36:49 +0200 >Subject: [PATCH] hbavfilter: fix garbled preview and crop not working > >The issues in the subject were found after compiling HandBrake v1.8.2 >with a patched version of FFmpeg v6.1.2 and x265 v3.5. > >Patch discussed upstream to fix FFmpeg compilation with glslang 14 > - configure: autodetect libglslang ldflags > (ndr applying the upstream e43615fc2ab27d562ed7e087803f4a364a7d1175 > alone gives an 'ERROR: spirv_compiler not found' when compiling, see > also https://bugs.gentoo.org/918989) > https://ffmpeg.org/pipermail/ffmpeg-devel/2024-January/319892.html > >Backport FFmpeg upstream patches to compile HandBrake v1.8.2: > - avcodec/dovi_rpu: implement support for profile 10 > https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/9aecd717ab9fb45bf57329c5afeaf5e80d2a3004 > - avcodec/libdav1d: parse DV profile 10 T.35 OBU > https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/a5d1e69b3bd0ff6fea2086ba2bfb67f5c4184b49 > - avcodec/av1dec: parse DV profile 10 T.35 OBU > https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/da39a19aadcaa07553554e74309feb0528339c73 > - avcodec/av1dec: use named constants for ITU-T T.35 metadata > https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/4ca5d451933fd0c2e16378c3566807fd4dd9ec3f > - avcodec/h2645_sei: use named constants for ITU-T T.35 metadata > https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/a1f714d197bfe0df5abafd6ae51eae552803914e > - avcodec/libdav1d: use named constants for ITU-T T.35 metadata > https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/61519cc6546d4bb590d036fdd3b5ecf346080b69 > - avformat/matroska: use named constants for ITU-T T.35 > https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/53dd31497b45b651f06bb89cfabd122f97bce38f > >Apply HandBrake v1.7.3 x265's contrib patches: > - A04-ambient-viewing-enviroment-sei.patch (before was A05-ambient-viewing-enviroment-sei.patch) > https://github.com/HandBrake/HandBrake/raw/60e41e54bb66c68a29f4af3ff11d515c82e11ef6/contrib/x265/A04-ambient-viewing-enviroment-sei.patch > >Apply HandBrake v1.7.3 FFmpeg's contrib patches: > - A14-avcodec-add-ambient-viewing-environment-packet-side-.patch (d0f915c761cfba6ae46d20fa9b995311ef0f0727) > https://github.com/HandBrake/HandBrake/raw/2dc35089b3ed4faacc96160f262d00b9e97364a4/contrib/ffmpeg/A14-avcodec-add-ambient-viewing-environment-packet-side-.patch > - A15-avformat-mov-add-support-for-amve-ambient-viewing-en.patch (db0cd1187ba72e2a140772e579e377f93575a418) > https://github.com/HandBrake/HandBrake/raw/8531d847703d0ef76b5c8a064042a392d61aee55/contrib/ffmpeg/A15-avformat-mov-add-support-for-amve-ambient-viewing-en.patch > >Apply HandBrake v1.8.2 FFmpeg's contrib patches: > - A17-av1dec-dovi-rpu.patch > https://github.com/HandBrake/HandBrake/raw/233d25b96864ecc9788a41713021293d4c736710/contrib/ffmpeg/A17-av1dec-dovi-rpu.patch >--- > libhb/hbavfilter.c | 4 ---- > 1 file changed, 4 deletions(-) > >diff --git a/libhb/hbavfilter.c b/libhb/hbavfilter.c >index aaf9231cf..cf41c81c6 100644 >--- a/libhb/hbavfilter.c >+++ b/libhb/hbavfilter.c >@@ -91,11 +91,9 @@ hb_avfilter_graph_init(hb_value_t * settings, hb_filter_init_t * init) > > filter_args = hb_strdup_printf( > "video_size=%dx%d:pix_fmt=%d:sar=%d/%d:" >- "colorspace=%d:range=%d:" > "time_base=%d/%d:frame_rate=%d/%d", > init->geometry.width, init->geometry.height, pix_fmt, > init->geometry.par.num, init->geometry.par.den, >- init->color_matrix, init->color_range, > init->time_base.num, init->time_base.den, > init->vrate.num, init->vrate.den); > >@@ -150,11 +148,9 @@ hb_avfilter_graph_init(hb_value_t * settings, hb_filter_init_t * init) > } > filter_args = hb_strdup_printf( > "width=%d:height=%d:pix_fmt=%d:sar=%d/%d:" >- "colorspace=%d:range=%d:" > "time_base=%d/%d:frame_rate=%d/%d", > init->geometry.width, init->geometry.height, pix_fmt, > init->geometry.par.num, init->geometry.par.den, >- init->color_matrix, init->color_range, > init->time_base.num, init->time_base.den, > init->vrate.num, init->vrate.den); > } >-- >2.45.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 917591
:
875262
|
875263
|
886545
|
887851
|
887852
|
887875
|
887876
|
887877
|
887878
|
887993
|
889164
|
907281
|
907282
|
907283
|
907284
|
907285
|
907286
|
907287
|
907288
|
907289
|
907290
|
907291
|
907292
|
907293
| 907294 |
907295
|
907296
|
907297
|
907298