summaryrefslogtreecommitdiffstats
path: root/libhb
Commit message (Collapse)AuthorAgeFilesLines
...
* preset: Revise Gmail presets.Bradley Sepos2016-12-161-32/+32
| | | | | | | | Longer durations, better resolutions. Gmail Large 3 Minutes 720p30: Up to 3 minutes of 720p video in 25 MB or less. Gmail Medium 5 Minutes 480p30: Up to 5 minutes of 480p video in 25 MB or less. Gmail Small 10 Minutes 288p30: Up to 10 minutes of 288p video in 25 MB or less.
* sync: don't delay subtitles when duration is knownJohn Stebbins2016-12-151-5/+9
| | | | | | | | | | | | | | Delayed subtitles were causing incorrect muxing in mkv. The mkv muxer writes chunks where all samples should be relative to a chunk's base timestamp. When the subtitle is delayed long enough for a new chunk to start before it gets muxed, the calculated offset to the chunk's base time is negative (which is illegal). Note that this is still a possibility with subtitles that must be delayed (e.g. CC and VOBSUB) because the duration is not known until the next subtitle's start time is known. The only fix for this would be to add a special subtitle parsing pass that caches subtitle timestamps before the main encoding pass is performed.
* preset: Set default to false for Gmail presets.Bradley Sepos2016-12-151-3/+3
|
* sync: fix compiler warningJohn Stebbins2016-12-151-1/+1
|
* reader: fix compiler warning "buf uninitialized"John Stebbins2016-12-151-0/+7
|
* preset: Add Web presets category and Gmail presets.Bradley Sepos2016-12-151-1/+296
| | | | | | Gmail Large 1080p30: Up to 1 minute of 1080p video in 25 MB or less. Gmail Medium 720p30: Up to 2 minutes of 720p video in 25 MB or less. Gmail Small 360p30: Up to 5 minutes of 360p video in 25 MB or less.
* libhb: fix small leaksJohn Stebbins2016-12-143-2/+22
| | | | fixes various context leaks in error conditions
* libhb: Remove redundant check in common.cmidzer2016-12-141-1/+1
| | | | Closes #358.
* libhb: Remove redundant check in preset.c.midzer2016-12-141-4/+3
|
* qsv: Fix possible null pointer dereference.midzer2016-12-141-2/+2
|
* libhb: Fix possible null pointer dereference in stream.c.midzer2016-12-141-6/+6
|
* stream: fix invalid ES packet generationJohn Stebbins2016-12-101-2/+2
| | | | In some cases, the PES header was included in the "ES" data.
* sync: fix PtoP hangJohn Stebbins2016-11-211-7/+10
| | | | | | reader adjusts pts_to_start after seeking. if the adjustment makes pts_to_start == 0, sync didn't properly search for the start point and hung.
* stream: be more forgiving of TS continuity errorsJohn Stebbins2016-11-211-4/+8
|
* libhb: add a missing argument to a hb_sws_get_context.Damiano Galassi2016-11-121-1/+2
|
* libhb: do not free hb_work_private_t in reader_init() if the reader open ↵Damiano Galassi2016-11-121-1/+0
| | | | fail, it will be freed later in reader_close(). Fixes a crash that happens when hb_reader_open() fails because the source file was moved.
* libhb: remove scanCount variable from hb_handle_s, it's not needed anymore ↵Damiano Galassi2016-11-111-8/+3
| | | | since MacGui use multiple libhb instances.
* libhb: re-enable SWS_FULL_CHR_H_INT and SWS_FULL_CHR_H_INP swscale flags to ↵Damiano Galassi2016-11-111-2/+0
| | | | improve yuv->rgb conversion.
* LinGui: fix setting default presetJohn Stebbins2016-11-111-0/+1
| | | | The old default was not getting scrubbed
* fix logging of of PtoP frame range in jobJohn Stebbins2016-11-111-2/+3
|
* Merge pull request #384 from galad87/colorspaceDamiano Galassi2016-11-106-70/+110
|\ | | | | Select the appropriate coefficients for yuv<->rgb conversions.
| * Select the appropriate coefficients for yuv<->rgb conversions.Damiano Galassi2016-11-086-70/+110
| |
* | encx265: fix turbo first passJohn Stebbins2016-11-071-3/+8
|/ | | | | x265 changed the default to slow first pass. so always explicitely set it in chase they change their minds again :-\
* Add new anamorphic mode "Automatic", delete "Strict" (#367)John Stebbins2016-10-314-68/+143
| | | | | | | | | * Add new anamorphic mode "Automatic", delete "Strict" Anamorphic mode automatic is added to support Bradley's new presets that are designed to pick a PAR that maximizes storage resolution. Strict is converted to Loose + mod == 2 + UsesPictureSettings == 2 when importing presets
* libhb: set HB_ERROR_CANCELED status for canceled encodesJohn Stebbins2016-10-261-1/+2
| | | | This status can be queried with hb_get_state() after an encode finishes.
* deccc608sub: fix crash caused by invalid CC streamJohn Stebbins2016-10-181-17/+22
|
* encvorbis: fix use of wrong union memberJohn Stebbins2016-10-121-2/+2
| | | | Innocuous error, but might as well get it fixed.
* avfilter: fix stop time of final filtered frameJohn Stebbins2016-09-291-1/+7
| | | | | Muxer expects all stop times to be set. avfilter was setting the stop time on the last frame to AV_NOPTS_VALUE.
* sync: more robust handling of p-to-p end timeJohn Stebbins2016-09-261-2/+2
| | | | | Continue processing input queues until none are full after p-to-p end time is reached.
* sync: fix off-by-one errorJohn Stebbins2016-09-261-1/+1
|
* sync: fix a hang with p-to-p end timeJohn Stebbins2016-09-261-1/+22
| | | | | | When a stream is finished, we need to see if there were any other streams that were pending. The other streams could be blocking on a condition variable and need to be unstuck.
* 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.
* bd: fix crash when invalid title specifiedJohn Stebbins2016-09-211-1/+4
| | | | fixes https://github.com/HandBrake/HandBrake/issues/272
* decsrtsub: fix crash on empty UTF8 filesJohn Stebbins2016-09-211-9/+10
| | | | fixes https://github.com/HandBrake/HandBrake/issues/332
* sync: fix use of closed bufferJohn Stebbins2016-09-201-7/+12
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/328
* vfr: fix log messagesJohn Stebbins2016-09-201-4/+4
|
* fifo: fix log messageJohn Stebbins2016-09-201-1/+1
|
* enc_qsv: flag all HEVC random access points as keyframes.Tim Walker2016-09-171-7/+17
|
* encx265: flag all HEVC random access points as keyframes.Tim Walker2016-09-172-0/+9
|
* libhb: rename some masks to better reflect their purpose.Tim Walker2016-09-173-4/+4
|
* libhb: use the new keyframe flag.Tim Walker2016-09-178-82/+73
|
* libhb: add dedicated buffer flags to indicate whether an encoded frame is a ↵Tim Walker2016-09-171-0/+2
| | | | | | | key frame or a reference frame. HB_FRAME_KEY and REF are in fact masks, not flags, and actually conflict with some PIC_FLAG_* values.
* internal: reorder PIC_FLAG_* elements by ascending value.Tim Walker2016-09-171-3/+3
| | | | Makes it easier to avoid adding elements with confilcting values.
* x264: fix memory leak in 10bit encodingJohn Stebbins2016-09-161-0/+1
|
* opus: fix comment in 5.1 audio encoding fixJohn Stebbins2016-09-121-1/+1
|
* opus: fix 5.1 encodingJohn Stebbins2016-09-111-0/+4
|
* sync: fix small memory leakJohn Stebbins2016-09-091-0/+3
| | | | an hb_list_t was not freed at the end of an encode
* libhb: Add functions to get filter tunes names to param.c.Bradley Sepos2016-09-092-0/+38
|
* libhb: fix memory leakJohn Stebbins2016-09-091-1/+1
| | | | code commented out during a debug session got unintentionally committed
* LinGui: fix some issues with reloading audio defaultsJohn Stebbins2016-09-082-0/+101
| | | | | Reloading the audio defaults basically didn't work right. Some settings didn't get loaded, some got loaded and not displayed or displayed wrong.