summaryrefslogtreecommitdiffstats
path: root/libhb
Commit message (Collapse)AuthorAgeFilesLines
* presets: Rename Fire TV to Amazon Fire and update compatibility info.Bradley Sepos2018-09-261-4/+4
|
* presets: Remove Legacy 0.10.x presets.Bradley Sepos2018-09-261-745/+0
| | | | | | These have been deprecated for two full release cycles. Newer and more compatible presets exist for every scenario, and as always, users can create their own in the event the official presets do not fit their needs. See https://github.com/HandBrake/HandBrake-docs/blob/efb51cc2cd7d0c30fa5e9ee88366233ca34757a4/source/docs/en/latest/technical/official-presets.markdown#legacy-010x-presets for a list of compatible replacements.
* VCE: Add positive logging.sr552018-09-251-0/+4
|
* VCE: Add temp logging to vce_common.c to give a hint as to why some users ↵sr552018-09-241-0/+6
| | | | can't use VCE.
* Refactor the color tag code, and pass it to the FFmpeg encoders.Damiano Galassi2018-08-289-149/+73
|
* libhb: use the same padding as FFmpeg when allocating buffer.Damiano Galassi2018-08-221-1/+1
|
* build: Allows to use clang/clang++ compiler on FreeBSD.Yuichiro NAITO2018-08-221-1/+1
| | | | | LOCALBASE variable is used to indicate where FreeBSD ports are installed. default is /usr/local.
* contrib: gtk: libhb: macosx: test: Remove remaining traces of libavresample.Bradley Sepos2018-08-162-10/+1
| | | | Extension of and closes #1422.
* Fixing available Levels for VCE and other H265 encoders.sr552018-08-162-8/+17
|
* VCE: Show only supported H264 / HEVC profiles.sr552018-08-162-3/+8
|
* VCE: Small Adjustment to the Quality settings passed to ffmpeg. B-Frames +2 ↵sr552018-08-161-2/+7
| | | | #1408
* vfr: fix jitter in 59.94 to 29.97 framerate conversionJohn Stebbins2018-08-111-7/+13
| | | | Fixes: https://github.com/HandBrake/HandBrake/issues/1487
* Fix arithmetic exception in hb_set_anamorphic_size2() when displaying previewEmeric2018-08-081-1/+1
|
* presets: fix setting of default preset valuesJohn Stebbins2018-08-081-1/+1
| | | | | Fixes root cause of problem reported in: https://github.com/HandBrake/HandBrake/pull/1524
* NVEnc: Add human names for encoder presets and remove currently invalid options.sr552018-08-081-2/+2
|
* fix race in getting sequence_id of completed jobJohn Stebbins2018-08-074-17/+31
| | | | | | | | | 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.
* bd: handle "broken units" betterJohn Stebbins2018-08-061-20/+46
| | | | | | | | | libbluray detects and skips broken units (6114 byte chunks). But it returns 0 in such cases. We were interpreting this as the end of the title and signalling a successful encode. Instead, look for BD_EVENT_END_OF_TITLE for end of title detection. And perform read retries when bd_read returns 0.
* sync: fix duration of silence buffersJohn Stebbins2018-08-051-4/+10
| | | | | | | Audio mixdown occurs in decoders before sync. So number of channels in a silence buffer is the output channel count. But audio samplerate conversion happens in later here in sync.c FilterAudioFrame, so samples_per_frame in silence buffers are still the input sample count.
* VCE: Working on CQ mode for AMD VCE. #1408sr552018-07-301-1/+16
|
* Amf enc availability check (#1489)OvchinnikovDmitrii2018-07-211-2/+84
| | | | * AMF encoder availability check. #1408
* VCE: Fix a typo that was preventing the VCE H.265 encoder from working.sr552018-07-091-1/+1
|
* 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 broken encoder masks.sr552018-07-051-2/+2
|
* libhb: Fix an ifdef typosr552018-07-021-1/+1
|
* nvenc: fix crash in nvenc_load_functionsJohn Stebbins2018-06-291-1/+1
| | | | | nvenc_load_functions tries to free the input NvencFunctions before loading. Set pointer to NULL to prevent free of invalid pointer.
* Add NVEnc encoder. (Round 3) (#1437)Scott2018-06-299-43/+249
| | | | | | 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.
* bd: fix title->name for BDs that have disc infoJohn Stebbins2018-06-281-17/+33
| | | | | This was defaulting to the device name when scanning raw devices, e.g. "sr0" on linux.
* presets: fix importing file with "Official" presetsJohn Stebbins2018-06-271-0/+11
| | | | | | Convert any presets with "Type" official to custom before importing. This can happen if someone decides to try to import a full user presets file from a previous install of HandBrake.
* 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-278-89/+85
| | | | Eliminates deprecation warnings for avresample
* decavcodec: fix crash during audio probeJohn Stebbins2018-06-201-2/+5
| | | | Audio probe does not set w->audio.
* contrib: gtk: libhb: make: scripts: Remove yasm contrib.Bradley Sepos2018-06-172-36/+2
|
* 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.
* muxavformat: silence mp4 frame size warningJohn Stebbins2018-06-151-0/+1
| | | | Set samples per frame for audio tracks
* muxavformat: use alternate API to initialize out contextJohn Stebbins2018-06-151-12/+5
| | | | | | avformat_alloc_output_context2 does several things for us that we were doing in separate steps. It also allocates AVFormatContext.url for us so we do not have a case where we alloc something that ffmpeg frees.
* muxavformat: fix crash on windowsJohn Stebbins2018-06-151-1/+1
| | | | | | We allocate AVFormatContext.url, but libavformat frees it. So we must use an allocation function that is compatible with the free function used by libavformat.
* Fix PGS subtitle decoding...John Stebbins2018-06-138-97/+147
| | | | | | | | | | | | | | | | | ...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.
* libhb: fix snprintf compiler warningsJohn Stebbins2018-06-137-71/+100
| | | | | Our handling of temporary directory paths could truncate resulting filenames. This fixes the warnings and prevents possible truncation.
* libhb: eliminate use of deprecated av_register_all...John Stebbins2018-06-131-2/+0
| | | | ...and avformat_register_all
* libhb: eliminate use of deprecated ffmpeg lockmgrJohn Stebbins2018-06-131-27/+0
| | | | It's a NOP and does nothing in current code
* muxavformat: fix use of deprecated AVFormat.filenameJohn Stebbins2018-06-131-1/+1
| | | | | | The new way is AVFormat.url. AVFormat.filename had lenght limitations that url does not since it is allocated by the caller (and freed by libavformat).
* comb_detect: fix crash when no valid frames are passedJohn Stebbins2018-06-111-1/+4
|
* encavcodec: fix encoding with vp8 and vp8 encodersJohn Stebbins2018-06-101-2/+2
| | | | Was broken by the AMF merge
* muxavformat: Fix muxing SSA subtitlesJohn Stebbins2018-06-091-35/+0
| | | | | | ffmpeg expect SSA packets in matroska format. Fixes https://github.com/HandBrake/HandBrake/issues/1379
* decssasub: Fix decoding SSA subtitlesJohn Stebbins2018-06-092-207/+18
| | | | | | | ffmpeg delivers the SSA subtitles in the matroska packet format we require, so no parsing is necessary now. Fixes https://github.com/HandBrake/HandBrake/issues/1406
* VCE: Add support for fetching levels for H.264 and H.265sr552018-06-081-0/+12
|
* VCE: Stub out VCE available methods for the UI. This will need to check for ↵sr552018-06-082-0/+45
| | | | hardware and potentially driver. TBD
* libhb: test: Guard VCE encoders behind USE_VCE.Bradley Sepos2018-06-083-0/+10
| | | | Fixes #1403.
* libhb: Restore HB_VCODEC_MASK value.Bradley Sepos2018-06-081-1/+1
| | | | Change 4456e3390ce40d9cff98efc8afd888e4d52a60d5 is unnecessary.
* libhb: Cosmetic in encavcodec.c.Bradley Sepos2018-06-061-1/+1
|