summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* x264: add multilib support (a.k.a. 10-bit)John Stebbins2015-11-121-8/+13
| | | | | This adds the structure to load an libx264 10-bit shared library. The user must install this library themselves to an appropriate place.
* libhb: make muxer, sync, and reader behave like other work objectsJohn Stebbins2015-11-091-726/+739
| | | | | | | | | | | | | simplify job initialization sequence, clean up code, and document dependencies in the sequence better. Make hb_add set job->sequence_id. It is no longer necessary for the frontend to do this. If the frontend needs the sequence_id, it is returned by hb_add(). Clean up use of interjob. do_job() now uses sequence_id to detect when a new sequence of related jobs is running and automatically clears interjob.
* lame: Use libav wrapper to encode mp3lameJohn Stebbins2015-10-261-2/+2
| | | | | | | | | | Fixes https://forum.handbrake.fr/viewtopic.php?f=12&t=33345 Some players expect each packet to start on an mp3 frame header. Our mp3lame encoder did not ensure this and resulted in failure to play audio on these players. libav already has the necessary code to parse headers and accumulate a full frame of data, so use it.
* grayscale: make it a real filterJohn Stebbins2015-10-141-3/+2
| | | | | It only worked properly with the x264 encoder. Now it works with all encoders.
* libhb: fix OpenCL initialization.Tim Walker2015-09-211-4/+7
| | | | It was borken in 293083e5
* qsv: HEVC encoding support.Tim Walker2015-09-201-0/+4
|
* libhb: disable OpenCL scaling when QSV scaling is used.Rodeo2015-07-041-0/+6
| | | | | | | This avoids issues with OpenCL buffer mapping. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7343 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: re-work OpenCL cleanup a bit.Rodeo2015-06-231-8/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7313 b64f7644-9d1e-0410-96f1-a4d463321fa5
* DXVA2: cleanup decode support checks.Rodeo2015-06-231-3/+24
| | | | | | | This should fix https://forum.handbrake.fr/viewtopic.php?f=11&t=32520 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7310 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: log json job stringjstebbins2015-06-091-0/+2
| | | | | | | For now, the log leve of this is 1. When we feel that the json job code has stabilized, we may want to change the log level to 2 or 3. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7281 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: use libhb preset management from linux guijstebbins2015-05-141-4/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7179 b64f7644-9d1e-0410-96f1-a4d463321fa5
* sync: fix frame p-to-p extra audio after end framejstebbins2015-04-221-4/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7119 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Propagate an error when hb_json_to_job fails.Rodeo2015-04-051-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7059 b64f7644-9d1e-0410-96f1-a4d463321fa5