summaryrefslogtreecommitdiffstats
path: root/libhb
Commit message (Collapse)AuthorAgeFilesLines
* Better error message when avcodec_find_encoder_by_name() fails (#2252)digulla2019-08-211-18/+25
| | | | | | * Better error message when avcodec_find_encoder_by_name() fails * Gracefully fail when the code in the job setup and the switch here get out of sync.
* Fix -Wduplicate-decl-specifier warningsNomis1012019-08-201-2/+2
|
* preset: fix NULL initializtion of subtitle nameJohn Stebbins2019-08-161-5/+8
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/2246
* libhb: remove dead code.Damiano Galassi2019-08-134-2485/+0
|
* nvenc: Change the rate control to vbr_hq, setting qmin/qmax #2231sr552019-08-121-3/+10
|
* NVEnc: Check SDK version and disable feature if driver is too old. Prevent ↵sr552019-08-121-0/+15
| | | | re-checks by caching result.
* libhb: eliminate file path length limitsJohn Stebbins2019-08-1111-63/+90
|
* dvd: create track named from dvd track attributesJohn Stebbins2019-08-112-0/+42
|
* stream: improve track name selectionJohn Stebbins2019-08-111-13/+57
| | | | | | ffmpeg will suppliy mulitple metadata entries for 3gpp track name entries if there are language specific names in the source. Pick the "best" option.
* fix build errorJohn Stebbins2019-08-111-1/+2
| | | | not sure how/why I committed somethng I didn't even compile :-\
* muxavformat: set handler_name for subtitle track names alsoJohn Stebbins2019-08-111-0/+6
|
* muxavformat: fix writing alternative track name in mp4 hdlr atomJohn Stebbins2019-08-111-1/+1
| | | | ffmpeg changed the name of the metadata key at some point
* add subtitle name to job configuration log outputJohn Stebbins2019-08-111-0/+4
|
* add subtitle track name read/writeJohn Stebbins2019-08-116-20/+66
| | | | | | | | | | | | | | | | 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
* a few fixes for audio track name handlingJohn Stebbins2019-08-114-9/+6
| | | | fixes a memory leak makes name const
* libhb: make source audio track name available to frontendsJohn Stebbins2019-08-116-4/+38
| | | | | | | | | | | | | 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.
* Remove libsamplerateJohn Stebbins2019-08-113-65/+48
| | | | Convert the last use of libsamplerate in sync.c to swresample
* audio_resample: set input and output samplerateJohn Stebbins2019-08-055-7/+48
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/2124
* stream: fix building of subtitle list in PES filesJohn Stebbins2019-07-311-1/+1
| | | | | a very old cut & paste error. people must not use subtitles in PES much ;)
* Fix some typos (#2202)Nomis1012019-07-3124-38/+38
| | | Fix some typos
* LinGui: change chapter list to GtkListBoxJohn Stebbins2019-07-301-4/+11
| | | | | | | | | GtkListBox is more flexible than GtkTreeView. It is possible now to process key press events without creating a custom text cell renderer. Also due to the way event handling changes in GTK4, it was no longer even possible to create a custom cell renderer that can process key events. So this GtkListBox implementation is compatible with GTK4.
* stream: add support for eia 608 subtitle tracksJohn Stebbins2019-07-171-0/+7
| | | | | | | eia 608 embedded in video was supported (i.e. ffmpeg frame side data AV_FRAME_DATA_A53_CC), but not as it's own track. Fixes https://github.com/HandBrake/HandBrake/issues/1300
* Fix dropped audio when embedded CC sub is selectedJohn Stebbins2019-07-154-5/+10
| | | | | | | The subtitle ID assigned to CC embedded in video collided with regular track IDs in some file types. Fixes https://github.com/HandBrake/HandBrake/issues/2103
* dvd: remove dvd specific details from hb_title_tJohn Stebbins2019-07-125-293/+286
| | | | This information isn't needed by the frontends and pollutes the API
* hb_json: don't fail if audio is invalid for muxJohn Stebbins2019-07-121-6/+13
| | | | Just drop the track. If audio is 'none' drop silently.
* encx265: set levelJohn Stebbins2019-07-112-0/+30
| | | | | | It seems the encoder level has been supported in x265 since May 2014, just a few months after initial support for x265 was added to HandBrake :\
* work: fix logging of SSA import tracksJohn Stebbins2019-07-111-0/+12
|
* decssasub: fix p-to-p encoding with SSA importJohn Stebbins2019-07-111-2/+91
| | | | support for p-to-p with SSA import was completely omitted
* decsrtsub: fix missing initial sub with p-to-pJohn Stebbins2019-07-112-2/+21
| | | | | | | | If the p-to-p start time starts in the middle of a subtitle, that sub was getting dropped. Only drop the sub if the *stop* time is after the p-to-p *start* time fixes https://github.com/HandBrake/HandBrake/issues/2176
* Fix gcc 9 compiler warningsJohn Stebbins2019-06-283-20/+21
| | | | | gcc 9 is quite a lot chattier and clutters the build log with useless information :\
* Fix "hardening features" log messageJohn Stebbins2019-06-271-1/+1
| | | | Was getting logged when hardening was disabled
* reader: update hb_status_t eta_seconds during FASJohn Stebbins2019-06-271-0/+1
|
* hb_json: add new hb_state_t fieldsJohn Stebbins2019-06-251-1/+4
|
* LinGui: add queue statisticsJohn Stebbins2019-06-257-70/+87
| | | | and tweak the layout per BradleyS suggestions
* build: Add --enable-hardening flag to enable stack protection and enhanced ↵Nomis1012019-06-192-0/+6
| | | | | | buffer overflow protection. Prints the hardening status on global init to the log. Closes #2027. Was #2040.
* Fix build of libhb under NetBSDRyo ONODERA2019-06-181-1/+1
| | | | | Pick up external libraries from LOCALBASE, especially libxml2.
* decvcodec: fix building with QSV disabledJohn Stebbins2019-05-271-1/+1
|
* qsv: zero-copy re-implementationmaximd332019-05-268-70/+1111
|
* preset: Add Playstation 2160p60 Surround for PS4 Pro.edu2019-05-251-1/+121
| | | | Reference: https://manuals.playstation.net/document/gb/ps4/music/mp_format_m.html
* qsv: adding LowPower support for AVC and HEVC encode on the appropriate HW ↵maxd2019-05-176-9/+42
| | | | generations
* hbavfilter: fix jerkey deinterlace outputJohn Stebbins2019-05-081-1/+4
| | | | | | | The deinterlace filter returns previous frames sometimes if output frames are not unref'd as they are used. Fixes https://github.com/HandBrake/HandBrake/issues/2087
* libhb: pass AV_PKT_FLAG_DISCARD through to decoderJohn Stebbins2019-05-023-1/+13
| | | | | | | | Edit list cuts are not always on keyframe boundaries and therefore sometimes require dropping frames after decoding them. AV_PKT_FLAG_DISCARD tells us when to do this. Fixes https://github.com/HandBrake/HandBrake/issues/1900
* deblock: replace pp7 with avfilter vf_deblockJohn Stebbins2019-05-027-645/+396
| | | | | | Adds deblock presets and tunes. Old preset values are converted upon preset import. Old PictureDeblock preset key is now PictureDeblockPreset.
* rendersub: fix crash while rendering subtitlesJohn Stebbins2019-04-201-11/+10
| | | | | | | Subtitle render buffers are YUVA, they have alpha. I broke allocation of the alpha channel in recent filter changes. Fixes https://github.com/HandBrake/HandBrake/issues/2054
* av_aac: use HB_PROJECT_FEATURE_FFMPEG_AAC instead of USE_FFMPEG_AACJohn Stebbins2019-04-172-4/+1
|
* vce: use HB_PROJECT_FEATURE_VCE instead of USE_VCEJohn Stebbins2019-04-174-13/+10
|
* nvenc: use HB_PROJECT_FEATURE_NVENC instead of USE_NVENCJohn Stebbins2019-04-174-11/+7
|
* qsv: use HB_PROJECT_FEATURE_QSV instead of USE_QSVJohn Stebbins2019-04-1723-68/+108
|
* encx265: Use HB_PROJECT_FEATURE_X265 instead of USE_X265John Stebbins2019-04-178-26/+26
|
* configure: export FEATURE.* vars to project.hJohn Stebbins2019-04-171-31/+45
|