| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fixes https://forum.handbrake.fr/viewtopic.php?f=5&t=38200
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
...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.
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
| |
This fixes issue https://trac.ffmpeg.org/ticket/6304
See https://github.com/HandBrake/HandBrake/pull/981#issuecomment-347364763
See https://github.com/HandBrake/HandBrake/issues/974#issuecomment-353986772
|
|
|
|
|
|
| |
Previous value maxed out at lossless x264 4K or so, new value should be large enough for lossless x264 8K.
Fixes #1334.
|
|
|
| |
Found via `codespell -q 3 --skip="./gtk/po`
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The probe did not inspect enough data and did not always detect all
streams.
Thanks to josephpaul0
Fixes https://github.com/HandBrake/HandBrake/issues/1023
|
| |
|
| |
|
|
|
| |
This is useful for scripts and other frontends that need to parse CLI output.
|
|
|
|
|
|
| |
If the stream is damaged, a probe can fail due to bad data at the
start of the probe buffer. So try filling the probe buffer from
multiple start positions in the file.
|
|
|
|
|
| |
libav isn't guaranteed to set AVChapter.end. So don't use it. Use
AVChapter.start instead.
|
|
|
|
|
|
| |
Raw video has no timestamps. But we drop frames in sync that have no
timestamps. So detect raw video and extrapolate timestamps from
framerate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* subtitles: simplify and shorten subtitle descriptions
Generally, it eliminates parens to make things more readable.
I.e. it turns this:
English (Closed Caption)(Wide Screen)(Bitmap)(VOBSUB)
Into this:
English, Closed Caption [Wide Screen, VOBSUB]
* Revise punctuation per BradleyS request
* fix subtitle description formatting
* incorporate suggestions from PR
|
|
|
|
|
|
| |
These are samples that were not in the original source and were added by
the encoder. To get a faithful reproduction of the source, they must be
dropped.
|
| |
|
| |
|
|
|
|
| |
libav changed the codec id they use for SRT in mkv
|
| |
|
|
|
|
| |
AVStream.codec is deprecated, use AVStream.codecpar
|
|
|
|
| |
fixes various context leaks in error conditions
|
| |
|
|
|
|
| |
In some cases, the PES header was included in the "ES" data.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Broke image previews on Linux and Windows (mingw).
This reverts commit b7645e7842703d52c44feaa85cfb3c490e09c8dc.
|
| |
|
|
|
| |
... when applying presets
|
| |
|
|
|
|
|
| |
Eliminate the need for everyone to assume that the first chapter starts
at the first frame.
|
|
|
|
|
| |
libav may deliver an initial timestamp that is negative which we were
not handling well.
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Tag only one buffer with discontinuity flag, not multiple.
Flush pre-discontinuity buffers before signaling the discontinuity, not
after.
Make sure discontinuity flag is on the buffer with the PCR change
when possible.
|
|
|
|
|
|
|
|
| |
We split PES packets when there is a PCR change in the middle of the
packet. This works fine for audio and video where the decoder parses
the ES to find frame boundaries. But it does not work for some decoders
such as PGS subtitles. So mark split buffers and reassemble them in
reader after processing the PCR change.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
AV_NOPTS_VALUE was getting modified by subtracting an offset. This lead
to garbage start values reaching the muxer and causing hangs.
|
|
|
|
|
| |
This brings together several independent implementations of a simple
buffer list manager.
|
| |
|
|
|
|
| |
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7332 b64f7644-9d1e-0410-96f1-a4d463321fa5
|
|
|
|
|
|
|
| |
This should fix https://forum.handbrake.fr/viewtopic.php?f=11&t=32520
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7310 b64f7644-9d1e-0410-96f1-a4d463321fa5
|