| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Remove trailing whitespace in "*.c", "*.m", "*.h" and "*.cpp" files.
|
|
|
|
| |
crop/resize and vfr filters used only when needed
|
|
|
|
| |
This reverts commit eb6b180a446dc1cabcf19eef42debca18ef429b8.
|
| |
|
|
|
|
|
|
|
| |
Newest versions appear to have a "common.h" somewhere that is
interfering with libhb/common.h.
move headers into "handbrake" subdirectory
|
|
|
|
| |
Rename hb.h to handbrake.h
|
|
|
|
|
|
|
|
| |
Previously, it added "any" audio if the output track list was empty.
Now only adds "any" audio if AudioLanguageList is empty.
This allow e.g. "English or none" audio selections. If the user wants
"English or any", they can specify [English, Any] in AudioLanguageList.
|
|
|
|
|
|
|
| |
Allows us to distinguish a selection of "any" which means match any
language from "und" which means the language is not known.
Fixes https://github.com/HandBrake/HandBrake/issues/731
|
|
|
|
| |
Fixes https://github.com/HandBrake/HandBrake/issues/2246
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Works similar to audio track names.
If source has a subtitle track name, hb_subtitle_t.name is set.
To set output subtitle track name, set hb_subtitle_config_t.name.
Source track names are available in title returned by hb_title_to_dict
and hb_title_to_json in SubtitleList[].Name
In job dict it is also SubtitleList[].Name
hb_preset_job_init and hb_preset_job_init_json initialize output tracks
with the source track name.
Also adds subtitle name support to LinGui
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It gets stored in new hb_audio_config_t.in.name field.
It is available in the title dict read through hb_title_to_dict() or
hb_title_to_json() in AudioList[].Name.
When a job is initialized with hb_preset_job_init or
hb_preset_job_init_json(), output audio tracks are initialized with the
source track name.
Also adds output track name initialization to LinGui.
|
|
|
| |
Fix some typos
|
| |
|
|
|
|
| |
generations
|
|
|
|
|
|
| |
Adds deblock presets and tunes.
Old preset values are converted upon preset import.
Old PictureDeblock preset key is now PictureDeblockPreset.
|
|
|
|
|
|
| |
Reserve VideoColorMatrixCode for doing color conversion.
VideoColorMatrixCodeOverride sets color flags without transforming video
frame colors.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Fixes root cause of problem reported in:
https://github.com/HandBrake/HandBrake/pull/1524
|
|
|
|
|
|
| |
Convert any presets with "Type" official to custom before importing.
This can happen if someone decides to try to import a full user presets
file from a previous install of HandBrake.
|
|
|
| |
Found via `codespell -q 3 --skip="./gtk/po`
|
| |
|
| |
|
|
|
|
|
| |
The new audio attributes were not checked correctly and filtered out any
audio tracks that had the DEFAULT flag.
|
|
|
|
|
|
|
| |
"Adaptive streaming" allows changing video parameters mid-stream at IDR
boundaries. Such changes require new SPS and PPS NALs at the IDR. MP4
supports this with 'avc3' and 'hev1' sample entry types.
|
|
|
| |
This is useful for scripts and other frontends that need to parse CLI output.
|
|
|
|
| |
See https://github.com/HandBrake/HandBrake/issues/833#issuecomment-333193971
|
|
|
|
|
|
|
|
|
|
|
| |
This replaces the "New Folder" option in the presets menu. It enforces
the folder structure we have agreed to and hopefully helps the user keep
things organized.
Note that users are allowed to save a custom preset to the same
"Category" as an official preset. When they do this, a new custom
category is created with the same name and the preset is saved in that
folder.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a preset key AlignAVStart that enables this work-around. When
enabled, blank frames are inserted or frames are dropped to force
alignment of the initial timestamp of every audio and video stream.
Aligning the start times minimizes the impact of broken edit list
support in players.
Closes #763.
Squashed:
sync: improve alignment when passthru audio is present
presets: enable AlignAVStart for General and Gmail presets
LinGui: Improve AlignAVStart tooltip
sync: avoid inserting a black frame < nominal frame duration
sync: fix start alignment when doing p-to-p encoding
sync: add comments
|
|
|
|
| |
It was only used for scaling, it fails far too often and is only
faster on a limited selectoin of hardware.
|
|
|
|
|
|
|
|
|
|
|
| |
* Allow audio fallback to be "None"
When audio fallback is "None", a failure to do passthru will result in
no output audio track being added.
* simplify audio autopassthru fallback logic
Drop track when fallback codec is invalid instead of falling back to a
default. Since all presets have a fallback set, the default fallback
condition would only ever be triggered by an invalid setting.
|
|
|
|
|
| |
If a preset file is read that has a version where no specific changes to
the preset format were made, we did not perform an import even though
some later preset version has changes.
|
| |
|
|
|
|
| |
Closes #525.
|
| |
|
|
|
|
|
| |
The samplerate was incorrectly copied to the job as a string instead of
an int which caused invalid sanitizing of audio settings.
|
| |
|
|
|
|
|
| |
When true, this is meant to use the secondary encoder only for the first
selected audio track. It was completely broken :(
|
|
|
|
|
| |
When all tracks are requested, do not filter out secondary audio types.
This should only be done when only the "first" track is requested.
|
| |
|
|
|
|
|
| |
Moving between different folder levels was broken. This broke preset
drag-and-drop in LinGui.
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add new anamorphic mode "Automatic", delete "Strict"
Anamorphic mode automatic is added to support Bradley's new presets that
are designed to pick a PAR that maximizes storage resolution.
Strict is converted to Loose + mod == 2 + UsesPictureSettings == 2
when importing presets
|
|
|
|
|
| |
Reloading the audio defaults basically didn't work right. Some settings
didn't get loaded, some got loaded and not displayed or displayed wrong.
|
|
|
|
| |
Also, mark it as static as it is not used outside of this file.
|
| |
|
| |
|
|
|
| |
... when applying presets
|
|
|
|
|
|
|
|
|
| |
* remove dxva hw decode
It provides practically no speed increase even on a slow CPU and results
in a speed decrease on fast CPUs. And the code is exceptionally fugly.
* cli: remove USE_HWD
|