Damiano Galassi
94c8b3e6d8
libhb: cli: ui: support custom channels order ( #7265 )
...
Fixes the mapping of audio channels in PCM tracks
with custom layouts. Fixes #6300 .
2025-09-13 12:07:19 +02:00
Damiano Galassi
9952eea06f
libhb: refactor some QSV specific options
...
Decouple the hwaccel code from hb_job_t when possible,
to make it possible to use the QSV decoder during a scan
in the future.
2025-07-04 18:09:52 +02:00
Damiano Galassi
d74725c4cc
libhb: minor cleanups to hwaccel
2025-06-13 08:16:05 +02:00
Damiano Galassi
4955ef8553
libhb: clean up qsv ( #6958 )
...
Removed all the unused parts from the previous implementation
and refactored many checks to avoid duplication.
2025-06-12 18:59:56 +02:00
Ryder
7f1e3734ee
libhb: change frame range setting to accurately reflect user intention ( #6787 )
2025-04-09 07:36:00 +02:00
Artem Galin
908b7b4d8a
qsv: enable QSV encoder via FFmpeg API ( #6446 )
...
* qsv: enable QSV encoder via FFmpeg API
Co-authored-by: Kesy, Anton <anton.kesy@intel.com>
* qsv: renamed Intel Media SDK to Intel QSV
* qsv: fixed BT2020 -> BT709 conversion
* qsv: fixed format specifier
* qsv: fixed missing spaces
* qsv: removed av_buffer_ref
* qsv: revert back sw_format for other encoders
* qsv: fix codec level not set
Co-authored-by: Kesy, Anton <anton.kesy@intel.com>
* qsv: fixed the build for non qsv configurations
---------
Co-authored-by: Kesy, Anton <anton.kesy@intel.com>
2025-03-15 08:50:29 +01:00
Damiano Galassi
cecaaed33c
libhb: expose the cover arts in the title and job json
2025-03-08 11:30:54 +01:00
John Stebbins
a707aaa1fc
subtitles: wire up writing of external ssa and pgs
...
There is not frontend support yet. Testing by hard coding values.
2025-03-05 07:58:21 +01:00
Nomis101
4c879d8f36
Update copyright dates to 2025 ( #6568 )
2025-01-22 09:11:40 +01:00
Damiano Galassi
f6b2bbd220
libhb: disable dynamic metadata when the source file has got none"
2025-01-18 14:02:33 +01:00
Damiano Galassi
712b3760e7
libhb: cli: add a way to disable hdr dynamic metadata passthru ( #6518 )
2025-01-13 09:59:33 +01:00
Scott
51e5448100
libhb: wingui: add support for Max Duration of Scan titles for disc based sources ( #6304 )
...
Applies to disc based sources only.
2024-10-30 07:13:57 +01:00
Sam H
96a03c4b86
Add preference for keeping duplicate blu ray titles
2024-07-29 06:42:54 +02:00
Sam Hutchins
616016197f
libhb: rename hb_scan_list to hb_scan ( #6032 )
2024-06-18 10:18:16 +02:00
John Stebbins
26127f4e2e
Fix double meaning of hb_audio_config_t.in.track
...
In title.list_audio, it was an index into source specific data
structures. In job.list_audio it was an index into title.list_audio.
This commit adds a new variable hb_audio_config_t.index that provides
the index into title.list_audio for jobs and reserves
hb_audio_config_t.track to always be an index into source specific
data structures.
2024-04-17 14:09:38 -06:00
Nomis101
d858fc0953
Update copyright dates to 2024.
2024-01-03 08:24:26 +01:00
Damiano Galassi
d1a98abd57
libhb: libhb: remove unused preview and assorted functions.
2023-12-26 08:14:04 +01:00
Damiano Galassi
f0773d91ca
libhb: remove height stride.
2023-12-26 08:14:04 +01:00
Bradley Sepos
86acd31333
Update copyright dates to 2023.
2023-11-12 00:43:04 -05:00
Damiano Galassi
ef40f60e00
Gui: cli: libhb: generalize the mp4optimize option and enable it for mkv/webm to move cues to the front.
2023-09-09 08:18:18 +02:00
Damiano Galassi
90b8bb2973
libhb: use the hwaccel decoders in scan, to check if they hardware can actually decode the video or not. Hwaccel will fall back automatically to software, and we need to know if it will before starting a job.
2023-08-10 19:31:51 +02:00
Damiano Galassi
f9d39b5fec
libhb: make it possible to override a color tag value with an undef (2) value.
2023-08-01 07:51:12 +02:00
Scott
156e7f637b
Add support for excluded File extensions ( #5218 )
...
libhb: Add support for excluding file extensions for batch scan. (#2541 )
Consolidated hb_scan and hb_scan2
Add a new preference to the Windows UI to allow controlling this option. By Default: png, jpg, txt, srt, ssa, ass are excluded. Users can change this if they choose.
2023-07-02 11:42:07 +01:00
Damiano Galassi
007c0166c5
libhb: test: ui: rename two-pass to multi-pass. ( #5019 )
2023-03-26 09:58:22 +02:00
Damiano galassi
369b970b32
libhb: add hdr, dolby vision, bit depth, and chroma subsampling info to title hb_dict. Rename HDR_PLUS enum value to HDR_10_PLUS.
2023-02-10 18:57:50 +01:00
Damiano galassi
04c83cee97
libhb: read dolby vision configuration record, and passthru the dolby vision dynamic metadata if the encoder is x265 and there is no scale/crop/rotate/pad filter.
2023-02-06 16:33:19 +01:00
Roman Arzumanyan
7df6ba36e4
Adding NVDec support. Allows full GPU based encoding without needing much CPU time.
...
Authored-by: Rarzumanyan from Nvidia.
Co-authored-by: sr55 <sr55.code@outlook.com>
2022-09-24 14:50:35 +01:00
Scott
c555fab125
Improved Crop Algorithm ( #3925 )
...
Automatic cropping will now better handle mixed aspect ratio content. New crop mode: "Conservative" exposes the loose cropping functionality. Improves on #3895
2022-08-12 20:19:57 +01:00
Bradley Sepos
6810d3a800
Update copyright dates to 2022.
2022-01-05 21:41:07 -05:00
Damiano Galassi
5c08213d55
libhb: fix some leaks.
2021-12-12 11:42:36 +01:00
sr55
557e738fc2
Fix a couple compiler warnings.
2021-12-09 21:50:45 +00:00
Damiano Galassi
ecbabc543d
libhb: passhtru chroma location info.
2021-09-17 12:14:11 +02:00
Damiano Galassi
fec72c6ee2
libhb: keep the filters pipeline at 10bit or 12bit and downconvert at the end.
2021-09-12 16:45:06 +02:00
sr55
cb83de9a6c
qsv: Fix a crash when align-av is turned on, on systems without QSV. #3683
2021-07-13 13:50:23 +01:00
Josh Soref
7e0249fe46
Spelling libhb ( #3600 )
...
Spelling libhb
* spelling: behavior
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: bitstream
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: chapter
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: children
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: common
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: concatenated
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: contained
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: control
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: diagnose
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: empty
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: encoder
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: essentially
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: eventual
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: folks
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: frame
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: half
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: hours
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: indepth
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: indices
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: initiated
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: maybe
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: minimal
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: mishmash
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: modifying
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: monotonically
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: preamble
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: pthread
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: repeats
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: specified
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: subtitle
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: succeeded
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: surface
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: theora
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: thread
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: title
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: type
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-05-22 07:57:50 +02:00
John Stebbins
2df0896a7e
metadata: simplify title and job metadata code
2021-05-04 13:44:20 -06:00
John Stebbins
6ae34e0cb5
LinGui: Reworked dimensions tab
...
Also includes libhb changes to support new dimensions tab.
New libhb function hb_rotate_geometry() helper for rotating dimensions
tab settings when rotation filter settings change.
Simplified hb_set_anamorphic_size2 and added support for updating
display size.
Added new pad filter parameters top, bottom, left, right to make
interface to pad filter fit more easily with our UI.
Added preset keys for pad filter PicturePadMode, PicturePadColor,
PicturePadTop, PicturePadBottom, PicturePadLeft, PicturePadRight.
Added preset keys PictureAllowUpscaling, PictureUseMaximumSize which are
used in the new dimensions tab.
2021-05-02 09:53:28 -06:00
John Stebbins
e9decd0f72
Add ability to apply filters to previews
...
New APIs hb_get_preview3 and JSON version hb_get_preview3_json to
retrieve a cached preview image and apply relevant filters from an
hb_job_t to the image.
Returned image also has PAR applied, i.e. PAR of image is 1:1
2021-04-12 15:11:56 -06:00
agalin89
48617ff445
qsv: redesigned adapter capabilities collection and reporing
2021-03-12 19:05:21 +00:00
Damiano Galassi
876fe18264
libhb: passthru mastering display metadata and content light level metadata.
2021-02-01 09:51:56 +01:00
Damiano Galassi
818dbfe932
libhb: revert part of the previous colormatrix override commit.
2021-01-25 09:34:23 +01:00
Damiano Galassi
0ec5e726dc
libhb: change the color-matrix cli option behavior. Set the color info at the begin of the pipeline. Fix a typo in the preset key that prevented it from working.
2021-01-24 17:16:19 +01:00
Bradley Sepos
e4d444553b
Update copyright dates to 2021.
2021-01-01 00:00:00 +00:00
sr55
cfdf6a9be1
WinGui: Removing the dependency on Newtonsoft.Json library in HandBrake.Interop and HandBrake.worker. Using System.Text.Json instead. UI will be updated seperately.
2020-12-01 21:50:19 +00:00
agalin89
1a210ea2f7
qsv: fix incorrect async depth values in GUI binary
2020-07-29 19:45:34 +01:00
John Stebbins
2677f9fe9e
hb_json: make it easier for UI to zero out metadata
...
By default, the job is populated with the metadata
from the source title.
If the metadata dict is present in the json job, assume any fields
not present are to be removed from the job's metadata
2020-07-20 15:01:07 -06:00
RandomEngy
f04e441f75
Added track number to audio and subtitle scan JSON
...
Technically not needed, but makes working with the objects easier. As
long as you have the object, you have the track number needed to put
it into the output.
2020-06-17 08:30:46 -07:00
John Stebbins
6b89f8207d
json: improve logging of json pack failures
...
Can't tell where these failures are comming from because all the logs
look the same :(
2020-03-16 10:53:00 -06:00
John Stebbins
27085761c8
json: fix PtoP range when converting job struct to json
...
seconds and frames were not writting to the "Range" dict but instead
writting to the "Source" dict.
Fortunately, nobody has been relying on this behavior
2020-03-15 13:44:48 -06:00
Bradley Sepos
638558a6a3
Update copyright dates to 2020.
2020-01-01 00:00:00 +00:00