| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Check that a runlength does not exceed the width of a line
|
|
|
|
| |
Cross-compiling for Windows now requires winpthreads which is part of the toolchain provided by scripts/mingw-w64-build, and similar packages provided by Linux distros.
|
| |
|
| |
|
|
|
|
| |
The initial tunes were too weak.
|
| |
|
| |
|
|
|
|
|
|
| |
The iHD VA driver does not work for Sandy bridge, Ivy bridge and
Haswell. iHD will fail to initialize on these CPUs. So when a failure
occurs, fallback to i965.
|
| |
|
|
|
|
|
| |
These messages only appear rarely, but they annoy.
It's complaining about an uninitialized unused plane
|
| |
|
|
|
|
|
|
|
|
|
| |
When using constant quality encoding with VP8/9, we set a bitrate
ceiling to prevent bitrate spikes. The calculation of this ceiling was
duplicated at some point and the second copy was not transcribed
properly and resulted in integer overflow.
Fixes https://github.com/HandBrake/HandBrake/issues/1966
|
|
|
|
| |
implementation is not a bit vector. It has bit fields.
|
|
|
|
|
| |
current_job can't be NULL'd till after the status is set because the job
contains the current sequence_id
|
|
|
|
| |
Fixes https://github.com/HandBrake/HandBrake/issues/1960
|
|
|
|
|
|
| |
Assuming you built HandBrake with 'configure --enable-qsv' and you have
built and installed Intel MediaSDK in a directory that is in your LD search
path, the QSV encoders now work. HW decode is not supported.
|
|
|
|
| |
Signed-off-by: Andrew Brezovsky <[email protected]>
|
| |
|
|
|
|
|
| |
It was getting set up, but then deleted right after in
avcodec_free_context.
|
| |
|
|
|
| |
Note that since webm has no official subtitle support, only burned in subtitles can be used with this muxer at this time.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Use snprintf
|
|
|
|
| |
control reaches end of non-void function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ffmpeg mpeg2 parser changes AVCodecContext.codec_id on the fly based
on what it parses. Normally this results in correct switching of decoders
internally in ffmpeg. Due to some unfortunate ordering of how we initialize
things when HandBrake is using our own demuxers, avcodec_open gets called
with the original AVCodec and the AVCodecContext.codec_id that was changed
by the parser resulting in an error.
Further explanation... When using our own demuxers, there are some codecs that
we have to parse out the extradata for _prior_ to calling avcodec_open.
avcodec_open fails if extradata isn't initialized for these codecs prior to
the call. To initialize the extradata, we use parser->parser->split. I.e. the
parser must be initialized and used prior to calling avcodec_open. When
avcodec_open is called, it is using the original AVCodec that was used with
avcodec_alloc_context3 (it will fail if AVCodec is not the same between
avcodec_alloc_context3 and avccodec_open). The call to avcodec_open fails with
"Codec type or id mismatches" since AVCodecContext.codec_id no longer matches
AVCodec.id due to the parser changing the codec_id.
The solution is to reset AVCodec and reallocate the context when we
detect that the parser has changed codec_id on us.
|
|
|
|
|
|
| |
Use video attributes from IFO file to set video stream type.
May fix https://github.com/HandBrake/HandBrake/issues/1880
|
|
|
|
| |
Fixes detection of MPEG-1 in program streams
|
|
|
|
| |
encoder/decode init and check code. For users where drivers or other system issues prevent HandBrake from loading.
|
|
|
|
| |
Signed-off-by: Andrew Brezovsky <[email protected]>
|
| |
|
|
|
|
| |
previews are not being removed for a user. #1851
|
| |
|
|
|
|
|
|
|
|
| |
Improves encoding speed by about 20% for SD content and 35% for HD
content in my testing on a 4 core 8 thread system. CPU utilization is
around 60% as compared with 40% prior to the change.
Fixes https://github.com/HandBrake/HandBrake/issues/1830
|
|
|
|
| |
Fixes https://github.com/HandBrake/HandBrake/issues/1590
|
|
|
|
| |
Fixes #1301
|
| |
|
|
|
|
|
| |
Use av_malloc/av_free for hb_buffer_t buffers since av_malloc always
aligns.
|
|
|
|
|
|
|
|
|
| |
Adds a function to mirror image data into stride region. Mirroring the
data results in a less visible artefact down the right edge of the
image. Blanking resulted in a dark edge artefact.
Keeps function that blanks stride region and improves it's speed,
although it's not currently used.
|
|
|
|
|
|
| |
Zero is not black. Stride is used in computations and is assumed black.
Fixes https://github.com/HandBrake/HandBrake/issues/1751
|
|
|
|
| |
NLMeans has used frame threading for years, so SIMD aside, these areas are sufficiently parallelized overall.
|
|
|
|
| |
Too many threads increases CPU cache pressure, reducing performance.
|
| |
|
| |
|
|
|
|
| |
Log h.264 profile and level, and h.265 profile
|
|
|
|
|
|
|
|
| |
The VT h.265 encoder appears to enable b-pyramid, but doesn't expose any
method to modify the setting or query for its value. So we'll just
assume it's always on whenever there are b-frames.
Fixes https://github.com/HandBrake/HandBrake/issues/1689
|
|
|
|
|
|
|
| |
AMD VCE encoder needs this in order to force an IDR rather than an I
frame.
Fixes https://github.com/HandBrake/HandBrake/issues/1762
|
|
|
|
| |
Fixes https://github.com/HandBrake/HandBrake/issues/1802
|