summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
Commit message (Collapse)AuthorAgeFilesLines
* Add SSA subtitle importJohn Stebbins2019-01-141-4/+4
|
* Update copyright dates to 2019.Bradley Sepos2019-01-011-1/+1
|
* Add VideoToolbox hardware encoding thru FFmpeg.Damiano Galassi2018-11-151-0/+10
|
* Refactor the color tag code, and pass it to the FFmpeg encoders.Damiano Galassi2018-08-281-12/+2
|
* fix race in getting sequence_id of completed jobJohn Stebbins2018-08-071-4/+23
| | | | | | | | | The sequence_id was only available for the WORKING state and not the WORKDONE state. But frontends poll for status periodically and can miss all status updates for the WORKING state if the file is very short or an error occurs early during transcoding. When WORKING status is missed, there was no way to know the sequence_id associated with the WORKDONE status.
* Add NVEnc encoder. (Round 3) (#1437)Scott2018-06-291-0/+15
| | | | | | 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.
* libhb: test: Guard VCE encoders behind USE_VCE.Bradley Sepos2018-06-081-0/+2
| | | | Fixes #1403.
* Add support for VCE hardware encoding.Michael Wootton2018-06-061-0/+12
|
* Misc. typosluz.paz2018-02-201-2/+2
| | | Found via `codespell -q 3 --skip="./gtk/po`
* Update copyright dates to 2018.Bradley Sepos2018-01-011-1/+1
|
* add align a/v start to logJohn Stebbins2017-11-221-0/+4
|
* Add adaptive streaming support (#972)John Stebbins2017-11-091-0/+4
| | | | | | | "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.
* opencl: removit it (#777)John Stebbins2017-06-121-35/+0
| | | | It was only used for scaling, it fails far too often and is only faster on a limited selectoin of hardware.
* decsrt: fix p-to-p start time after seekingJohn Stebbins2017-04-151-0/+7
| | | | | | | Reader can skip data at the beginning of the file. We were not informing decsrt how much was skipped when pts_to_start caused the skip. Fixes https://forum.handbrake.fr/viewtopic.php?f=11&t=36258
* subtitles: simplify and shorten subtitle descriptions (#591)John Stebbins2017-03-101-15/+19
| | | | | | | | | | | | | | | | | | * 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
* qsv: added HEVC 10-bit as encoder, should help for GUI integrationmaxd2017-03-051-0/+3
|
* work: set orig_vrate correctlyJohn Stebbins2017-02-281-1/+3
| | | | | | | | | It was getting set to the title's rate instead of the rate that the filter chain sets. An incorrect vrate causes x265 rate control breakage. Fixes https://github.com/HandBrake/HandBrake/issues/600
* opencl: better release of OpenCL context to avoid more leaksmaxd2017-02-201-0/+6
|
* libhb: fix Bob + CFR Same As Source + 2 Pass encodeJohn Stebbins2017-02-091-4/+5
| | | | | | | | The bob filter predicts the resulting output framerate as 2 * input framerate. So during 2 pass encoding, we must adjust the framerate with the knows 1st pass values *after* any predictions made by filters. Fixes https://github.com/HandBrake/HandBrake/issues/556
* libhb: force title rescan after completing a job encode (#488)John Stebbins2017-01-161-0/+6
| | | Fixes https://forum.handbrake.fr/viewtopic.php?f=12&t=35583
* Update copyright dates to 2017.Bradley Sepos2017-01-011-1/+1
|
* fix unreachable code, really fix boolean logic this timeJohn Stebbins2016-12-211-1/+2
| | | | Thanks Rodeo for pointing this out
* fix compiler warning and operator precedence problemJohn Stebbins2016-12-211-1/+1
|
* libhb: add new color tags for Bt 2020 and SMPTE ST 2084Damiano Galassi2016-12-211-4/+5
|
* fix chapter markers when encoding with libav video encoderJohn Stebbins2016-12-171-1/+1
| | | | | | encavcodec saved the chapter mark and set the buffers new_chap to 0. Then work copied the zero'd new_chap over the good mark that encavcodec set.
* potential fix for hard to reproduce crashJohn Stebbins2016-12-171-3/+12
|
* decavcodec: enable QSV-accelerated H.264 decoding with libavcodec.Tim Walker2016-12-171-5/+9
| | | | | | Videos get decoded to NV12 in system memory and converted to our internal colorspace via libswscale. It should be noted that QSV- accelerated decoding now works with all our videos encoders :-)
* fix logging of of PtoP frame range in jobJohn Stebbins2016-11-111-2/+3
|
* contrib: Add opus audio encoder.John Stebbins2016-09-021-3/+2
| | | | | | | | | | 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-15/+3
| | | | | | | | | | | 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/+4
|
* work: add log to track work object shutdownJohn Stebbins2016-05-181-0/+1
|
* work: add commentsJohn Stebbins2016-05-181-0/+3
|
* work: make video decoder input fifo smallerJohn Stebbins2016-05-181-1/+1
| | | | | This prevents audio from getting so far ahead of video which improves sync's ability to fix discontinuities
* work: don't allocate fifos that are not needed for indepth_scanJohn Stebbins2016-05-181-9/+18
|
* libhb: remove unused subtitle fifo_syncJohn Stebbins2016-05-171-2/+0
|
* remove dxva hw decode (#189)John Stebbins2016-05-171-24/+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
* libhb: fix incorrect assumption that video quality is always positive.Tim Walker2016-03-311-1/+1
|
* qsv: fix buildJohn Stebbins2016-03-111-19/+21
| | | | I missed some of the qsv filter settings bits that needed changing.
* decomb: split comb detection out into it's own filterJohn Stebbins2016-03-111-2/+27
|
* filters: make job filter settings an hb_dict_tJohn Stebbins2016-03-091-16/+20
| | | | | | 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: Add libavfilter support and pad filterJohn Stebbins2016-01-211-5/+21
| | | | | | | | | | | | | | 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".
* sync: gut and rewriteJohn Stebbins2016-01-211-7/+0
| | | | | | | | | | | sync.c was difficult to read, fragile, and prone to difficult to diagnose bugs (see https://forum.handbrake.fr/viewtopic.php?f=12&t=33147) This rewrite simplifies the code, removes signals, locking and yield that probably cause the above problem and is much more flexible. It fixes a wider variety of timestamp issues than before and is much easier to extend if other timestamp analysis is desired.
* libhb: fix hang during subtitle scanJohn Stebbins2016-01-191-2/+3
|
* work: fix failure to die upon canceled encodeJohn Stebbins2016-01-151-1/+2
|
* work: fix hang in p-to-p encodingJohn Stebbins2016-01-141-0/+9
|
* Update copyright dates to 2016.Bradley Sepos2016-01-011-1/+1
|
* libhb: use LL for int64 constants to make mingw happyJohn Stebbins2015-12-261-1/+1
|
* decsrt: configure as buffer sourceJohn Stebbins2015-11-151-2/+7
| | | | | set fifo_in to NULL so hb_work_loop will call repeadedly without the hack that primes it's input fifo.
* x265: add support for 10, 12, and 16 bit x265 libsJohn Stebbins2015-11-121-5/+18
| | | | | automatically pull in shared versions of these libs or allow statically building against any one of them.