| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Extension of and closes #1422.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Eliminates deprecation warnings for avresample
|
|
|
|
|
| |
Our handling of temporary directory paths could truncate resulting
filenames. This fixes the warnings and prevents possible truncation.
|
|
|
|
| |
...and avformat_register_all
|
|
|
|
| |
It's a NOP and does nothing in current code
|
|
|
|
|
|
|
| |
avcodec_close(..)
Hence rename hb_avcodec_close -> hb_avcodec_free_context and pass the required ptr-ptr.
avcodec_free_context(..) ensures releasing of all resources attached to the context.
|
|
|
| |
Found via `codespell -q 3 --skip="./gtk/po`
|
| |
|
| |
|
|
|
|
| |
Fixes https://github.com/HandBrake/HandBrake/issues/815
|
|
|
|
| |
It was only used for scaling, it fails far too often and is only
faster on a limited selectoin of hardware.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This wrapper can be used to frame parallelize simple video filters. By
simple, I mean there can be no temporal context that is shared from one
frame to the next.
Wrap unsharp and lapsharp filters. unsharp required a small rework to
separate out temporary storage that is required when processing each
frame. We now need to duplicate this storage for each thread.
Closes #759.
|
|
|
| |
Fixes https://forum.handbrake.fr/viewtopic.php?f=12&t=35583
|
|
|
|
| |
with valid inputs. #496
|
| |
|
| |
|
|
|
|
| |
so a UI can check if pass_count has been set or not yet, to avoid displaying a random value for half a second if it tries to display the pass state before the work thread has been initialized.
|
|
|
|
| |
since MacGui use multiple libhb instances.
|
|
|
|
| |
improve yuv->rgb conversion.
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
This status can be queried with hb_get_state() after an encode finishes.
|
| |
|
|
|
|
|
|
| |
Broke image previews on Linux and Windows (mingw).
This reverts commit b7645e7842703d52c44feaa85cfb3c490e09c8dc.
|
|
|
|
| |
For consistency with 36c415e. In practice the include this encapsulates is already included elsewhere, so no underlying change takes place; <pthread.h> is already included.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Also drop the scan pass if there is only one subtitle track and "force"
is not specified. When scanning for foreign audio subtitles without
force, you need at least 2 tracks in order for the 10% selection logic
to apply.
|
|
|
|
| |
A suitable subtitle is one that matches the users preferred language.
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
| |
HTTPS and it's terrible code.
|
|
|
|
| |
I missed some of the qsv filter settings bits that needed changing.
|
|
|
|
|
|
| |
This simplifies accessing and changing filter parameters
programatically. It also changes the custom filter string format to a
':' separated list of key/value pairs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.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.
|
| |
|
|
|
|
|
| |
This adds the structure to load an libx264 10-bit shared library.
The user must install this library themselves to an appropriate place.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
libav just deprecated AVPicture and all av_picture_*/avpicture_*
functions.
|
|
|
|
|
|
| |
In both hb_set_anamorphic_size and hb_get_preview, check that image
dimensions are > 32x32 and < 10240x10240. This should help to prevent
crashes with unusual dimensions settings.
|
|
|
|
|
|
| |
Try to avoid failures to initialize sws context by setting minimum
dimensions. And if initialization does fail, exit gracefully instead of
crashing in sws_scale.
|
|
|
|
|
|
| |
When "keep aspect" is unset in custom anamorphic, it was making very
uintuitive changes to PAR. This simplifies the code and makes the
behavior more sane.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
We need to rescan when the number of previews changes.
|
|
|
|
|
|
| |
Migrate from svn to git. Since our build system automatically generates
version info from the svn repo, this needs to change when we move the
repo to git.
|
|
|
|
|
|
|
|
| |
This will result in no video in the output file, but in such cases, this
might actually be desirable. Scaling to such small dimensions is often
used simply to re-encode audio.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7412 b64f7644-9d1e-0410-96f1-a4d463321fa5
|