summaryrefslogtreecommitdiffstats
path: root/libhb
Commit message (Collapse)AuthorAgeFilesLines
* filters: fix 'color_range'John Stebbins2020-05-201-1/+2
| | | | | | The filters (decomb, denoise, detelecine, lapsharp, nlmeans, unsharp) were all setting color_range to the source color_range after it had already been converted in decavcodec.
* log: Make it easier to see when hardware support is disabled.sr552020-05-091-0/+1
|
* libhb: Fix decavsub copyright date.Bradley Sepos2020-05-072-2/+2
|
* qsv: remove unnecessary codeArtem Galin2020-05-071-5/+0
|
* preset: fix recursive searches for preset nameJohn Stebbins2020-05-051-0/+4
| | | | | I fixed an earlier problem with searches for a full preset path. Turns out there were actually 2 bugs that the first bug concealed.
* nvenc: Remove hq, hp and default as these appear to simply be mappings.sr552020-05-021-1/+1
|
* detelecine: fix initialization when params are emptyJohn Stebbins2020-04-291-5/+5
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/2804
* presets: fix lookup of presets with identical namesJohn Stebbins2020-04-291-7/+8
| | | | | | The category name was getting ignored in the search. Fixes updates to presets in different categories with the same name in LinGui.
* hb_dict: fix loading preset files with unicode pathJohn Stebbins2020-04-221-1/+9
| | | | | Thanks to Pierce Lopez for pointing out a solution Fixes https://github.com/HandBrake/HandBrake/issues/2427
* log when auto-rotation is appliedJohn Stebbins2020-04-171-0/+3
|
* libhb: Silence pkg-config errors during libxml2 search.Bradley Sepos2020-04-031-2/+2
|
* scan: Fix aspect ratio warning for DVD and BDJohn Stebbins2020-03-312-2/+20
| | | | | DVD and BD do not have PAR specified at container level. Since the title is initialized with PAR 1:1, the warning was triggered.
* decavsub: fix decoding PGS from ffmpeg streamsJohn Stebbins2020-03-301-2/+10
| | | | | Duration of subtitle packets was getting set to 0 and sync was dropping the subs.
* libhb: Attempt finding libxml2 via pkg-config on Linux.Bradley Sepos2020-03-301-1/+10
| | | | The previous hardcoded path is now the fallback.
* decavsub: patch ffmpeg to fix workaround hacksJohn Stebbins2020-03-291-37/+6
|
* decavsub: reduce EIA 608 font sizeJohn Stebbins2020-03-291-1/+1
| | | | The larger font size was causing rendering outside the frame boundaries
* fix job logging of dvb subtitle sourceJohn Stebbins2020-03-291-0/+2
|
* decavsub: fix dvb subtitle passthroughJohn Stebbins2020-03-292-3/+8
| | | | The "clear" subtitle packets were not making it through to the muxer
* decavsub: remove dvb subtitle post-stuffing during demuxJohn Stebbins2020-03-292-10/+10
| | | | | This seems to be what ffmpeg expects. This way we also mux it correctly into mkv, i.e. without the trailing 0xff stuffing byte.
* decavsub: use libav to decode dvd subtitlesJohn Stebbins2020-03-2911-858/+105
| | | | Simplifies code, removes encvobsub.c (was never used) and decvobsub.c.
* decavsub: use libav to decode EIA 608 subtitlesJohn Stebbins2020-03-297-1915/+63
| | | | simplifies code, eliminates deccc608sub.c
* decavsub: enable dvb subtitle passthrough in mkvJohn Stebbins2020-03-292-0/+6
|
* decavsub: add DVB subtitle *burn-only* supportJohn Stebbins2020-03-295-26/+76
| | | | passthrough will hopefully come later ;)
* decavsub: add general purpose avcodec subtitle decoderJohn Stebbins2020-03-2916-874/+835
| | | | Currently using it for pgs, srt, and ssa subtitles.
* scan: log warning when video par != container parJohn Stebbins2020-03-281-0/+8
| | | | | These errors are currently difficult to see in the log and can result in incorrect output. So make it more visible.
* work: fix initial crop value provided to filtersJohn Stebbins2020-03-251-1/+1
| | | | | | | rendersub was using incorrect crop values when the cropscale filter is removed from the filter chain. Fixes https://github.com/HandBrake/HandBrake/issues/2449
* detelecine: error check skip parametersJohn Stebbins2020-03-251-4/+12
| | | | | | Enforces minimum values that ensure we stay in buffer boundaries Fixes https://github.com/HandBrake/HandBrake/issues/2560
* cropscale: fix color range conversionJohn Stebbins2020-03-241-16/+0
| | | | | | | | | | range was already getting converted to limited in decavcodec.c The range of each frame is provided in AVFrame.color_range and we are already propagating that through the pipeline. Manually setting "in_range" in the "scale" filter was overriding that per frame setting. Fixes https://github.com/HandBrake/HandBrake/issues/2561
* sync: fix PtoP end detection during flushJohn Stebbins2020-03-241-148/+32
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/2603
* json: improve logging of json pack failuresJohn Stebbins2020-03-161-9/+9
| | | | | Can't tell where these failures are comming from because all the logs look the same :(
* json: fix PtoP range when converting job struct to jsonJohn Stebbins2020-03-151-6/+6
| | | | | | | seconds and frames were not writting to the "Range" dict but instead writting to the "Source" dict. Fortunately, nobody has been relying on this behavior
* qsv: remove unnecessary checkArtem Galin2020-03-111-1/+1
|
* qsv: encoder fixes for newer cpusagalin892020-03-112-6/+6
|
* qsv: decrease memory footprintagalin892020-03-082-67/+4
|
* qsv: hw decoding improvementsArtem Galin2020-03-051-21/+35
|
* libhb: fix preprocessor warning.Damiano Galassi2020-02-201-1/+1
|
* build: libhb: cli: Improve support for NetBSD.Bradley Sepos2020-02-103-7/+9
|
* preset: fix subtitle selection with empty language listJohn Stebbins2020-02-051-2/+2
| | | | | With HandBrakeCLI --all-subtitles and *no* --subtitle-lang-list, no subtitles were added
* qsv: add support for FreeBSDJan Beich2020-01-233-10/+14
|
* fix image plane copying in nlmeans prefilter setupChris Darroch2020-01-231-4/+1
| | | | | | | | | | | | | | | | | | | | | | | When nlmeans_prefilter() is preparing to apply a pre-filter to an image plane, it first attempts to make a copy of the mem image plane into the mem_pre plane which will hold the pre-filter's output. However, the existing logic, which mirrors the loop over all pixel rows in nlmeans_alloc(), improperly leaves the bottom 2*border rows of the mem_pre plane uninitialized. Where nlmeans_alloc() correctly copies the source image's rows into its plane, by adding the correct offset to the memcpy(3) destination to locate the image pixel data between the horizontal and vertical borders, in nlmeans_prefilter() the intention is to copy both the image and the borders. However, the current loop only iterates h times, i.e., the size of the image itself, and skips the last (bh - h) = 2*border rows. Instead, we replace the loop with a single memcpy(3) call which just duplicates the entire mem image plane, including the border data.
* qsv: better codec check against hwDmitrichenko, Max2020-01-091-2/+4
|
* qsv: fix --start-at frames issue and dx surfaces leaks (#2533)Artem Galin2020-01-045-94/+110
|
* dvdnav: fix a potential uninitialised memory read.Damiano Galassi2020-01-041-1/+1
|
* preset: Use x265 aq-mode 1 for official presets.Bradley Sepos2020-01-021-11/+11
| | | | We have received numerous reports about x265 in HandBrake 1.3.0 creating ~30% larger files with no perceived quality gain, and have confirmed this to be true in most cases. This appears to be the result of x265 recently switching to use aq-mode 2 by default. This change makes the behavior of the official presets more closely match that of HandBrake 1.2.2 and earlier. This seems to be the best course of action both technically and for the user experience until the default aq-mode improves.
* Update copyright dates to 2020.Bradley Sepos2020-01-0199-99/+99
|
* bd: add processing of "secondary" audio tracksJohn Stebbins2019-12-223-17/+127
| | | | | | | | There are actually 2 types. One "secondary" audio type is designated by a distinct stream id. The other "secondary" audio type is disignated by being in a separate "secondary" audio list. Maybe fixes https://github.com/HandBrake/HandBrake/issues/2501
* lang: fix dereference of "Unknown" lang codeJohn Stebbins2019-12-221-1/+1
| | | | It was resolving to "Any" instead of "Unknown"
* dvdnav: check pgcn validity before starting a pgc walk.Damiano Galassi2019-12-191-0/+6
|
* nvenc: Further tidy up the is available check code.sr552019-12-151-9/+3
|
* nvenc: Disable API version check for latest API pack. Affects #2379sr552019-12-151-11/+5
|