1
0
Commit Graph

116250 Commits

Author SHA1 Message Date
867b289bd0
matroskadec_haali: parse bit depth from BITMAPINFOHEADER 2024-07-01 09:55:03 +02:00
94a413ff6d
matroskadec_haali: ensure chapter end time is valid 2024-07-01 09:55:03 +02:00
b82d74456f
HACK: udp: allow circular receive buffer with w32threads 2024-07-01 09:55:03 +02:00
Carl Eugen Hoyos
3dc644715b
riff: add ProRes FourCCs 2024-07-01 09:55:03 +02:00
f8134ae26b
matroskadec_haali: support V_PRORES 2024-07-01 09:55:03 +02:00
6f36ce7bce
matroskadec_haali: support demuxing QDM2/SVQ3 as written by mkvtoolnix 2024-07-01 09:55:03 +02:00
712db23d5f
avformat: try harder to find a duration of the media
This helps finding a duration in files with a lot of garbage data at the
end, increasing the lookup area from 4MB to 32MB.

There should be no speed loss on files which previously worked fine, since
it'll stop looking once it found a duration.
2024-07-01 09:55:03 +02:00
e323f5ccf8
HACK mov: don't set the DEFAULT disposition because of wrong semantics
The meaning of the DEFAULT flag and movs enabled flag don't match and
cause playback issues.
2024-07-01 09:55:03 +02:00
0ebbc67ac2
matroskadec_haali: export mkv codec id as metadata 2024-07-01 09:55:03 +02:00
a45fb51527
HACK Revert "h264: free the tables and uninitialize the context on flush"
This reverts commit 9eda9d3322.
This commit causes the flush inside the DXVA2 init to crash, so we cannot do this here.

The fix isn't required for our use-case anyway, since LAV always does a hard-flush when seeking H.264.
2024-07-01 09:55:03 +02:00
a2caf159c4
h264: don't use deprecated YUVJ pixel formats
A change in pixel format cause a full decoder re-init, which can lead to dropped frames.
Instead, rely on the color_range, as its supposed to be handled anyway.
2024-07-01 09:55:02 +02:00
1601b8c7f9
matroskadec_haali: don't allocate CodecPrivate on the stack
The stack size is out of the control of our DLL, and usually defaults to only 1MB.
Instead, allocate it from the heap in a global buffer.

Fixes stack overflow on samples with huge CodecPrivate (ASS files with > 1MB CodecPrivate)
2024-07-01 09:55:02 +02:00
ff9669e72b
matroskadec_haali: support all specified StereoMode values 2024-07-01 09:55:02 +02:00
16ae6ba956
vc1: wait for bitstream recovery before starting decoding 2024-07-01 09:55:02 +02:00
46cb3743cb
matroskadec_haali: implement support for DiscardPadding 2024-07-01 09:55:02 +02:00
ec56dfbfa3
matroskadec_haali: fix invalid buffer free when playing wavpack or dvb subtitles 2024-07-01 09:55:02 +02:00
12bc6109c8
matroskadec_haali: parse CodecDelay and SeekPreRoll 2024-07-01 09:55:02 +02:00
b655f408e6
h264: increase MAX_SLICES to 256
This was recommended by Jason on IRC a while ago.
2024-07-01 09:55:02 +02:00
92f4fd9aec
HACK: hevc: ignore invalid extradata 2024-07-01 09:55:02 +02:00
5e16241117
riff: add HEVC tags 2024-07-01 09:55:02 +02:00
f01bb44c03
matroskadec_haali: support HEVC demuxing 2024-07-01 09:55:02 +02:00
c527f4978f
Revert "avutil: Cast AV_NOPTS_VALUE to int64_t explicitly"
This reverts commit cb3591e697.

This change is pointless and fixes building for MSVC.
2024-07-01 09:55:02 +02:00
4308d69fed
matroskadec_haali: Improve TTA duration calculation 2024-07-01 09:55:02 +02:00
d8929eea1a
vorbiscomment: allow using vorbiscomment parser without input context 2024-07-01 09:55:02 +02:00
83ad7d9e6a
matroskadec_haali: fix dvb streams without the full dvb start code 2024-07-01 09:55:02 +02:00
2d617f223e
matroskadec_haali: export full wavpack blocks 2024-07-01 09:55:02 +02:00
10ed4f1982
avformat/file: use sequential file access 2024-07-01 09:55:02 +02:00
93a28558cd
HACK: avcodec: export progressive_sequence information 2024-07-01 09:55:02 +02:00
Javier Cabezas
8598abcd9c
Fraps: output repeat frames instead of discarding them
Signed-off-by: Javier Cabezas <jcabgz@gmail.com>
Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com>
2024-07-01 09:55:01 +02:00
eab526299e
riff: don't try to parse too small WAVEFORMAT headers 2024-07-01 09:55:01 +02:00
55fdcb9cc4
h264: set h->sps if none is set yet 2024-07-01 09:55:01 +02:00
a5eafce037
swscale: make sws_getCachedContext properly handle pre-processed formats 2024-07-01 09:55:01 +02:00
0138a06267
matroskadec_haali: optimize fuzzy CueAware seeking
This allows finding Cues that would match the same frame as the requested timecode,
and allow for more accurate seeking on ordered chapter boundaries.
2024-07-01 09:55:01 +02:00
7f9c19714c
flac: export vorbiscomment metadata in extradata
It can contain special metadata that informs us about the desired channel
layout for non-standard layouts, which means its crucial for correct
playback.
2024-07-01 09:55:01 +02:00
c197ce7873
matroskadec_haali: defer parsing of the full MKV header until required
This allows quickly scanning the file header for the segment UID instead
of parsing the full headers for this information.
2024-07-01 09:55:01 +02:00
38e710b604
matroskadec_haali: optimize opening of external segments 2024-07-01 09:55:01 +02:00
f40271004e
HACK avio: add a flag to skip the fstat on file opening for performance reasons 2024-07-01 09:55:01 +02:00
39f9a2d1c9
matroskadec_haali: protect against unknown tracks causing a crash 2024-07-01 09:55:01 +02:00
d6ff27bec3
matroskadec_haali: added an option to suppress opening external segments 2024-07-01 09:55:01 +02:00
039f4be951
HACK: matroskadec_haali: extract the SSA extradata from the main segment
This works around a short-coming in dynamic format switching of the common subtitle renderers.
2024-07-01 09:55:01 +02:00
2a782ad960
matroskadec_haali: process attachments of all segments 2024-07-01 09:55:01 +02:00
9e4d10607c
matroskadec_haali: send new extradata and stream params on segment changes 2024-07-01 09:55:01 +02:00
c38adfc832
matroskadec_haali: support changing compression settings in different segments 2024-07-01 09:55:01 +02:00
5be77b10d3
matroskadec_haali: support Next/Prev file linking 2024-07-01 09:55:01 +02:00
40304ed682
matroskadec_haali: make cue-aware seeking more lenient 2024-07-01 09:55:01 +02:00
cdb3fb60bd
matroskadec_haali: add public api for interacting with editions 2024-07-01 09:55:01 +02:00
f45d6b4981
matroskadec_haali: support for linked segments in ordered chapters 2024-07-01 09:55:00 +02:00
945ce903e8
matroskadec_haali: support ordered chapters/virtual timelines 2024-07-01 09:55:00 +02:00
2cb14a5986
matroskadec_haali: add logging of the edition/chapter structure 2024-07-01 09:55:00 +02:00
0f5a168783
matroskadec_haali: obey the Enabled and Hidden flags for tracks and chapters 2024-07-01 09:55:00 +02:00