summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
Commit message (Collapse)AuthorAgeFilesLines
* scan: Fix aspect ratio warning for DVD and BDJohn Stebbins2020-03-311-1/+1
| | | | | | | DVD and BD do not have PAR specified at container level. Since the title is initialized with PAR 1:1, the warning was triggered. (cherry picked from commit d72cdd2b73984762bf39b302e6e7270533c093a6)
* libhb: make hb_buffer_t libhb privateJohn Stebbins2019-09-121-0/+1
| | | | hb_buffer_t conflicts with a harfbuzz typedef by the same name
* libhb: resolve header conflicts with pango/harfbuzzJohn Stebbins2019-09-121-9/+9
| | | | | | | Newest versions appear to have a "common.h" somewhere that is interfering with libhb/common.h. move headers into "handbrake" subdirectory
* Resolve conflict with harfbuzz include file hb.hJohn Stebbins2019-09-101-1/+1
| | | | Rename hb.h to handbrake.h
* Fix initialization of empty "" subtitle nameJohn Stebbins2019-09-091-0/+8
| | | | Empty subtitle name could result in double free
* libhb: eliminate file path length limitsJohn Stebbins2019-08-111-9/+19
|
* add subtitle track name read/writeJohn Stebbins2019-08-111-0/+18
| | | | | | | | | | | | | | | | 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-111-2/+2
| | | | fixes a memory leak makes name const
* libhb: make source audio track name available to frontendsJohn Stebbins2019-08-111-0/+5
| | | | | | | | | | | | | 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 (#2202)Nomis1012019-07-311-1/+1
| | | Fix some typos
* Fix dropped audio when embedded CC sub is selectedJohn Stebbins2019-07-151-1/+2
| | | | | | | 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
* av_aac: use HB_PROJECT_FEATURE_FFMPEG_AAC instead of USE_FFMPEG_AACJohn Stebbins2019-04-171-1/+1
|
* vce: use HB_PROJECT_FEATURE_VCE instead of USE_VCEJohn Stebbins2019-04-171-5/+4
|
* nvenc: use HB_PROJECT_FEATURE_NVENC instead of USE_NVENCJohn Stebbins2019-04-171-2/+2
|
* qsv: use HB_PROJECT_FEATURE_QSV instead of USE_QSVJohn Stebbins2019-04-171-10/+10
|
* encx265: Use HB_PROJECT_FEATURE_X265 instead of USE_X265John Stebbins2019-04-171-4/+4
|
* libhb: change preset key to VideoColorMatrixCodeOverrideJohn Stebbins2019-04-081-0/+27
| | | | | | Reserve VideoColorMatrixCode for doing color conversion. VideoColorMatrixCodeOverride sets color flags without transforming video frame colors.
* Add missing yuv444p12 colorspace optonJohn Stebbins2019-04-081-0/+2
|
* libhb: propagate color matrix info through the pipelineJohn Stebbins2019-04-081-0/+132
| | | | | | | | | Propagates pix_fmt, range, primaries, transfer, and matrix everywhere. Everything that passes or creates video frames tags the frames with their color matrix info. All filters know the expected color matrix info of input frames.
* libhb: Initial implementation of Chroma Smooth filter.Bradley Sepos2019-03-281-0/+5
|
* Add WebM support (#1822)Justin Bull2019-02-131-11/+18
| | | Note that since webm has no official subtitle support, only burned in subtitles can be used with this muxer at this time.
* libhb: Add a hb_global_init_no_hardware that disables all the hardware ↵sr552019-02-111-29/+37
| | | | encoder/decode init and check code. For users where drivers or other system issues prevent HandBrake from loading.
* ports: move hb_getline to ports.c where it belongsJohn Stebbins2019-01-141-67/+0
|
* Add hb_getline since mingw doesn't have getline functionJohn Stebbins2019-01-141-0/+66
|
* Add SSA subtitle importJohn Stebbins2019-01-141-10/+20
|
* Update copyright dates to 2019.Bradley Sepos2019-01-011-1/+1
|
* Extend the range of allowed bitrate inputs to allow Opus to go down as low ↵sr552018-12-111-0/+3
| | | | as 6kbit #1725
* Add VideoToolbox hardware encoding thru FFmpeg.Damiano Galassi2018-11-151-0/+29
|
* Give VCE and NVENC encoders more descriptive long namesJohn Stebbins2018-11-141-4/+4
|
* Refactor the color tag code, and pass it to the FFmpeg encoders.Damiano Galassi2018-08-281-0/+4
|
* Fixing available Levels for VCE and other H265 encoders.sr552018-08-161-6/+9
|
* VCE: Show only supported H264 / HEVC profiles.sr552018-08-161-3/+5
|
* VCE: Implement missing compile time availability flag. This should stop it ↵sr552018-07-071-1/+6
| | | | showing up when it's not compiled in.
* libhb: Fix an ifdef typosr552018-07-021-1/+1
|
* Add NVEnc encoder. (Round 3) (#1437)Scott2018-06-291-31/+50
| | | | | | Adding the Nvidia NVEnc H.264 and H.265 encoders. Based on Initial work by sgothel --enable-nvenc is the new compile time configure option to enable for builds.
* resample: fix ditheringJohn Stebbins2018-06-271-11/+2
| | | | | It was only being allowed for certain codecs when it should be allowed for all.
* audio_resample: switch from avresample to swresampleJohn Stebbins2018-06-271-8/+8
| | | | Eliminates deprecation warnings for avresample
* libhb: Allow 7.1 channels AAC encoding.Simon Lämmle2018-06-161-3/+11
| | | | Allow 7.1 channels for AAC, but dissalow 6.1 for FDK (H)AAC, because it is not supported.
* Fix PGS subtitle decoding...John Stebbins2018-06-131-13/+17
| | | | | | | | | | | | | | | | | ...And add a timebase to every stream. ffmpeg's subtitle decoder internally converts the packet pts to AV_TIME_BASE units based on AVCodecContext.pkt_timebase. If pkt_timebase is not set, the PGS subtitle decoder only returns AV_NOPTS_VALUE for timestamps. So setting pkt_timebase in decpgssub.c fixes PGS subtitle decoding. Confusingly, the subtitle decoder does not convert the pts *back* to the input timebase, but instead leaves them in AV_TIME_BASE units upon returning a decoded subtitle. To get a head start on fixing any other such issues that might arrise, I have also set pkt_timebase in all other avcodec decoders.
* VCE: Add support for fetching levels for H.264 and H.265sr552018-06-081-0/+12
|
* libhb: test: Guard VCE encoders behind USE_VCE.Bradley Sepos2018-06-081-0/+4
| | | | Fixes #1403.
* Add support for VCE hardware encoding.Michael Wootton2018-06-061-0/+9
|
* libhb: allow muxing E-AC3 in mp4.Damiano Galassi2018-06-051-2/+2
|
* libhb: build: README: Replace instances of Libav with FFmpeg.Bradley Sepos2018-05-291-1/+1
|
* libhb: don't drop "escape" char in hb_str_vsplitJohn Stebbins2018-04-031-5/+0
| | | | | | | It's just wrong to begin with. And it may not be an escape char anyway. Could be a directory separator. Fixes https://github.com/HandBrake/HandBrake/issues/1249
* Misc. typosluz.paz2018-02-201-2/+2
| | | Found via `codespell -q 3 --skip="./gtk/po`
* libhb: fix a number of issues reported by clang.Damiano Galassi2018-01-121-1/+14
|
* Update copyright dates to 2018.Bradley Sepos2018-01-011-1/+1
|
* CLI: add option to log version, title, and progress in jsonJohn Stebbins2017-11-061-2/+43
| | | This is useful for scripts and other frontends that need to parse CLI output.
* Allow audio fallback to be "None" (#623)John Stebbins2017-06-121-24/+23
| | | | | | | | | | | * 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.