summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* filter: add frame parallelizing filter wrapperJohn Stebbins2017-06-061-1/+27
| | | | | | | | | | | | This wrapper can be used to frame parallelize simple video filters. By simple, I mean there can be no temporal context that is shared from one frame to the next. Wrap unsharp and lapsharp filters. unsharp required a small rework to separate out temporary storage that is required when processing each frame. We now need to duplicate this storage for each thread. Closes #759.
* libhb: Add LapSharp sharpening filter.Bradley Sepos2017-05-301-0/+4
|
* libhb: Add Unsharp sharpening filter.Bradley Sepos2017-05-301-0/+4
| | | | Closes #525.
* subtitles: simplify and shorten subtitle descriptions (#591)John Stebbins2017-03-101-8/+10
| | | | | | | | | | | | | | | | | | * subtitles: simplify and shorten subtitle descriptions Generally, it eliminates parens to make things more readable. I.e. it turns this: English (Closed Caption)(Wide Screen)(Bitmap)(VOBSUB) Into this: English, Closed Caption [Wide Screen, VOBSUB] * Revise punctuation per BradleyS request * fix subtitle description formatting * incorporate suggestions from PR
* Fix various spelling mistakes (#613)Sebastian Ramacher2017-03-101-1/+1
| | | | | | | | | | * Fix spelling of 'source' * Fix spelling of 'specify' * Fix spelling of 'internal' * Fix spelling of 'quitting'
* qsv: added HEVC 10-bit as encoder, should help for GUI integrationmaxd2017-03-051-0/+4
|
* Update copyright dates to 2017.Bradley Sepos2017-01-011-1/+1
|
* libhb: fix audio bitrate when using fallback encoderJohn Stebbins2016-12-291-31/+1
| | | | | | | Fixes https://github.com/HandBrake/HandBrake/issues/462 hb_audio_add was overwriting the desired output bitrate before we discovered that we needed to use the fallback encoder.
* qsv: rename av_qsv* to hb_qsv*John Stebbins2016-12-171-1/+1
|
* libhb: Remove redundant check in common.cmidzer2016-12-141-1/+1
| | | | Closes #358.
* opus: disable quality mode, enable compression levelsJohn Stebbins2016-09-231-10/+10
| | | | | Quality based encoding is not supported by libopus. But compression levels *are* supported.
* contrib: Add opus audio encoder.John Stebbins2016-09-021-54/+152
| | | | | | | | | | Remove: hb_audio_samplerate_get_best() Add: hb_audio_samplerate_is_supported() hb_audio_samplerate_find_closest() hb_audio_samplerate_get_sr_shift()
* vpx: add encoder presetsJohn Stebbins2016-05-291-0/+5
| | | | | | | | | | | presets are veryfast - deadline=good:cpu-used=5 faster - deadline=good:cpu-used=4 fast - deadline=good:cpu-used=3 medium - deadline=good:cpu-used=2 slow - deadline=good:cpu-used=1 slower - deadline=good:cpu-used=0 veryslow - deadline=best:cpu-used=0
* enable libvpx VP9 encoderJohn Stebbins2016-05-271-0/+5
|
* encx265: simplify chapter mark handlingJohn Stebbins2016-05-251-0/+2
| | | | Use hb_chapter_enqueue/dequeue
* libhb: send initial chapter through pipelineJohn Stebbins2016-05-171-0/+73
| | | | | Eliminate the need for everyone to assume that the first chapter starts at the first frame.
* libhb: add hb_buffer_list_rem()John Stebbins2016-05-171-0/+34
|
* libhb: fix buffer list size calculationJohn Stebbins2016-05-171-2/+2
|
* libhb: Expand default frame rates to include 72, 75, 90, 100, 120.Bradley Sepos2016-05-031-0/+5
|
* libhb: fix incorrect assumption that video quality is always positive.Tim Walker2016-03-311-1/+1
|
* libhb: fix quality limits for high bit depth video encoders.Tim Walker2016-03-311-2/+25
| | | | | The lowest possible QP (and RF) depend on the bit depth and can be lower than zero.
* libhb: remove superfluous ifdefs.Tim Walker2016-03-311-4/+0
| | | | The defines always exist, so they're not actually protecting anything.
* x265: use more permissive x265_api_query instead of x265_api_getJohn Stebbins2016-03-301-1/+1
| | | | | This allows use of versions of the library that are compatible, but do not necessarily have the same build number.
* decomb: split comb detection out into it's own filterJohn Stebbins2016-03-111-0/+25
|
* filters: make job filter settings an hb_dict_tJohn Stebbins2016-03-091-4/+295
| | | | | | This simplifies accessing and changing filter parameters programatically. It also changes the custom filter string format to a ':' separated list of key/value pairs.
* libhb: fix he-aac fallback setupJohn Stebbins2016-02-121-2/+1
| | | | if there is no he-aac encoder, a fallback to aac was not getting set.
* libhb: fix crash in hb_filter_info_closeJohn Stebbins2016-01-241-1/+4
| | | | filter info can be null, which caused a crash
* libhb: do not add invalid audio encoders to audio listJohn Stebbins2016-01-221-18/+19
| | | | | | hb_audio_add() did not check that an encoder exists before stripping away the passthru flag when source audio was not compatible with requested passthru codec.
* libhb: Add libavfilter support and pad filterJohn Stebbins2016-01-211-2/+143
| | | | | | | | | | | | | | 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".