summaryrefslogtreecommitdiffstats
path: root/libhb/preset.c
Commit message (Collapse)AuthorAgeFilesLines
* libhb: pass through "default" subtitle flag ... (#203)John Stebbins2016-05-281-1/+23
| | | ... when applying presets
* remove dxva hw decode (#189)John Stebbins2016-05-171-5/+0
| | | | | | | | | * 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
* json: fix sanitization of vqualityJohn Stebbins2016-04-031-4/+4
| | | | ... and other assorted cleanups ;)
* presets: fix PictureRotate importJohn Stebbins2016-03-281-1/+2
| | | | | When it's value's type is an int instead of a string, it was not imported correctly.
* presets: fix memory leakJohn Stebbins2016-03-231-2/+6
|
* presets: fix import of old version-less preset filesJohn Stebbins2016-03-211-28/+43
| | | | | The version number was not added after import causing an attempt to do import conversions twice. The second conversion breaks values.
* decomb: split comb detection out into it's own filterJohn Stebbins2016-03-111-1/+184
|
* filters: make job filter settings an hb_dict_tJohn Stebbins2016-03-091-98/+234
| | | | | | This simplifies accessing and changing filter parameters programatically. It also changes the custom filter string format to a ':' separated list of key/value pairs.
* deinterlace: use avfilter yadif deinterlacerJohn Stebbins2016-02-151-0/+110
|
* libhb: Add libavfilter support and pad filterJohn Stebbins2016-01-211-0/+22
| | | | | | | | | | | | | | New filter types HB_FILTER_AVFILTER and HB_FILTER_PAD. Settings for HB_FILTER_AVFILTER are the same as you would pass to avconv from the command line -vf option, except that we do not support multi-input or multi-output filters. Settings for HB_FILTER_PAD are "width:height:color:x_offset:y_offset". width x height is the size of the output frame after padding. color may be a w3c color name or RGB value (default black). x_offset, y_offset is the position of the video within the padded area (default centered). Any of the values may be omitted or "auto".
* Merge pull request #48 from bradleysepos/copyrightJohn Stebbins2016-01-031-1/+1
|\ | | | | Update copyright dates to 2016.
| * Update copyright dates to 2016.Bradley Sepos2016-01-011-1/+1
| |
* | presets: fix PicturePAR importJohn Stebbins2016-01-021-1/+1
|/ | | | ... when it is a "number" stored as a string.
* presets: use first audio lang for foreign audio search...John Stebbins2015-11-151-1/+9
| | | | ...when a prefered language is not specified.
* x264: add multilib support (a.k.a. 10-bit)John Stebbins2015-11-121-1/+1
| | | | | This adds the structure to load an libx264 10-bit shared library. The user must install this library themselves to an appropriate place.
* presets: handle importing old string PicturePAR "integers"John Stebbins2015-11-101-0/+37
|
* Update HandBrakeCLI to read presets.json on Windows. This is the file that ↵Scott2015-10-241-2/+2
| | | | | | windows gui stores all presets in now. This should allow the CLI to read GUI presets now.
* grayscale: make it a real filterJohn Stebbins2015-10-141-3/+8
| | | | | It only worked properly with the x264 encoder. Now it works with all encoders.
* Remove invalid presets in presets_do()Damiano Galassi2015-10-121-1/+1
|
* presets: add result to indicate if preset import modified presetsJohn Stebbins2015-10-091-9/+27
| | | | | This information is useful to the frontends in creation of preset backups.
* Make deinterlace/decomb behave similar to nlmeans/hqdn3dJohn Stebbins2015-10-091-65/+83
| | | | | I.e. use a dropdown to select between the filters instead of a radio button.
* libhb: Clock/frame rate handling improvements.Bradley Sepos2015-09-101-24/+35
| | | | | | | | Allows for arbitrary frame rates between 1 and 1000 fps. Adds min/max frame rates to CLI help. Removes hardcoded instances of the internal clock rate in favor of hb_video_framerate_get_limits(). Unfortunately, much of the codebase generally refers to clock rate as frame rate, so a little extra care is still necessary going forward.
* presets: fix preset search by namejstebbins2015-08-131-0/+2
| | | | | | | It was not continuing if it failed to find the preset in the first folder git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7401 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb fix some typos in hb_preset_apply_filters().Rodeo2015-06-281-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7330 b64f7644-9d1e-0410-96f1-a4d463321fa5
* presets: add hb_presets_read_file_json()jstebbins2015-06-241-0/+13
| | | | | | | First tries to intrepret file as json. If that fails, tries plist. Returns a json string. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7314 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix application of custom anamorphic settingsjstebbins2015-06-141-2/+2
| | | | | | | Thanks to wickning1 in the forums https://forum.handbrake.fr/viewtopic.php?f=4&t=32631&sid=e05d32d1f34bbcaab59d321f6c6222cf git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7296 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Initialize the copy_mask variable before using itritsuka2015-06-031-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7266 b64f7644-9d1e-0410-96f1-a4d463321fa5
* preset: fix application of VideoScaler to jobjstebbins2015-05-291-1/+1
| | | | | | | Broken strcasecmp conditional caused OpenCl to be added to the job when it should not have been and *not* added to the job when it should. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7241 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use libhb to initialize job...jstebbins2015-05-271-319/+361
| | | | | | | ...and set some job settings as values change in the UI. This eliminates a large chunk of job setup code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7230 b64f7644-9d1e-0410-96f1-a4d463321fa5
* preset: fix application of mp4 mux optionsjstebbins2015-05-241-1/+1
| | | | | | | Fixes https://forum.handbrake.fr/viewtopic.php?f=10&t=32445&p=151040#p151008 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7219 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use libhb to init audio and subtitle listsjstebbins2015-05-201-1/+12
| | | | | | | This eliminates a lot of essentially duplicate code in LinGui for initializing these lists. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7213 b64f7644-9d1e-0410-96f1-a4d463321fa5
* preset_template: allow all supported passthru codecs by default.Rodeo2015-05-171-8/+3
| | | | | | | | That way, very old presets and (more importantly) built-in presets do not force a restricted copy mask on the user. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7205 b64f7644-9d1e-0410-96f1-a4d463321fa5
* presets: add new UserPresets.json path for osx cli presetsjstebbins2015-05-141-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7184 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: use libhb preset management from linux guijstebbins2015-05-141-298/+996
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7179 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix --heightjstebbins2015-05-141-0/+10
| | | | | | | | Didn't set the proper flag to make hb_set_anamorphic_size prefer keeping the height over the width. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7178 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix missing subtitle "Default" flag when --all-subtitles is usedjstebbins2015-05-111-1/+12
| | | | | | | Also fix case that can cause all subtitles to be added twice. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7169 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb,cli: add preset management to libhb, use it in clijstebbins2015-05-061-0/+2198
This results in custom preset support in the CLI and additional command line options to fully support all preset keys. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7158 b64f7644-9d1e-0410-96f1-a4d463321fa5