James Almer
9ed06a06b3
avformat/mov: don't abort on duplicate Mastering Display Metadata boxes
...
The VP9 spec defines a SmDm box for this information, and the ISOBMFF spec defines a
mdvc one. If both are present, just ignore one of them.
This is in line with clli and CoLL boxes.
Fixes ticket #10711 .
Signed-off-by: James Almer <jamrial@gmail.com>
2024-04-05 22:06:19 +02:00
Hendrik Leppkes
143065960a
matroskadec_haali: migrate to new side data functions
2024-04-05 22:06:19 +02:00
Hendrik Leppkes
0a7ad7e367
matroskadec_haali: parse track dispositions
2024-04-05 22:06:19 +02:00
Hendrik Leppkes
34fb20cce5
mov: parse track-based udta name tags
2024-04-05 22:06:19 +02:00
Hendrik Leppkes
30279eaf07
HACK avformat: restore old framerate logic
...
The new logic produces inconsistent results for field-based codecs, the
old logic has been proven to work for years, so just stick to it.
2024-04-05 22:06:19 +02:00
Hendrik Leppkes
f007e92d8d
matroskadec_haali: fix stereo3d metadata parsing
2024-04-05 22:06:19 +02:00
Hendrik Leppkes
0507ea7061
avformat/ftp: send CLNT before enabling UTF8
...
This fixes UTF-8 filenames on some peculiar FTP servers.
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
9ae5a9da59
MatroskaParser: check more allocations
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
340bfc3693
matroskadec_haali: fix stream indexing in mkv_read_seek
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
5bad4d8f39
matroskadec_haali: update for API changes
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
a553f29194
matroskadec_haali: remove av1 extradata offset
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
72c1068be4
matroskadec_haali: parse BlockAdditionalMappings
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
ed7e942c37
matroskadec_haali: fix use of AVIOContext
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
2a135a6970
HACK avformat: add LAV accessors to some internal data
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
8c867a5237
spdifenc: mark as NOFILE
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
3ec167afac
matroskadec_haali: update for ff changes
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
74fd9355b5
matroskadec_haali: use avpriv_update_cur_dts
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
d7781dbc03
matroskadec_haali: Support WebVTT parsing
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
a3fa646e76
MatroskaParser: parse block additional data
...
This is limited to frames without lacing, and only one block additional
per block
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
cf4386d442
matroskadec_haali: Support Projection parsing
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
a3d2c9318c
MatroskaParser: improve duration retrieval with excessive subtitle cues at the end of the file
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
d79a6a5d77
hls: fix seeking to timestamps earlier then the playlist start
...
Instead of failing, seek to the start of the playlist.
2024-04-05 22:06:18 +02:00
Hendrik Leppkes
7c01477bbf
MatroskaParser: more gracefully fail on files with more then 64 tracks
...
Instead of playback failing, excess tracks are skipped
2024-04-05 22:06:17 +02:00
Hendrik Leppkes
e826331022
Update matroskadec_haali for API changes
2024-04-05 22:06:17 +02:00
Hendrik Leppkes
df29f1f893
matroskadec_haali: fix seeking in video files with only audio cues
2024-04-05 22:06:17 +02:00
Hendrik Leppkes
39dc456637
isom: no extradata in a mp4 descriptor is not an error
2024-04-05 22:06:17 +02:00
Hendrik Leppkes
7aeb959d0e
matroskadec_haali: work-around broken files with audio tracks without keyframe flags
2024-04-05 22:06:17 +02:00
Hendrik Leppkes
621b71fb3b
matroska: add new standard font mimetypes
2024-04-05 22:06:17 +02:00
Hendrik Leppkes
93368b9416
MatroskaParser: cleaner way of ensuring all data blocks are free'ed at all times
2024-04-05 22:06:17 +02:00
Hendrik Leppkes
66450100b1
matroskadec_haali: empty queues on close
...
The queues can in some situations still contain data thats not properly
free'ed elsewhere, so clear them on close to ensure no memory blocks are
being leaked.
2024-04-05 22:06:17 +02:00
Hendrik Leppkes
9501f37b91
matroskadec_haali: Free the data block in case of read errors
...
Read Errors can typically happen at EOF, or when stopping playback
prematurely, making this case more common then one might expect.
2024-04-05 22:06:17 +02:00
Hendrik Leppkes
c798d3a381
matroskadec_haali: fix end_time adjustment on fluid ordered chapter transitions
...
The end_time should not get messed with if we're doing a fluid
(non-seek) transition, as this can commonly include subtitles that go
beyond the chapter boundary
2024-04-05 22:06:16 +02:00
Hendrik Leppkes
feba98fb50
matroskadec_haali: fix av1 extradata
2024-04-05 22:06:16 +02:00
Hendrik Leppkes
21669e0850
matroskadec_haali: FF_INPUT_BUFFER_PADDING_SIZE -> AV_INPUT_BUFFER_PADDING_SIZE
2024-04-05 22:06:16 +02:00
Hendrik Leppkes
d474c9d4d2
flvdev: assume sizes to be broken if metadata header parsing failed
2024-04-05 22:06:16 +02:00
Hendrik Leppkes
24f1c83ed6
matroskadec_haali: export container level content light level data
2024-04-05 22:06:16 +02:00
Hendrik Leppkes
042258f929
MatroskaParser: reformat seeking function a bit for better readability
2024-04-05 22:06:16 +02:00
Hendrik Leppkes
024cbd0507
matroskadec_haali: Export colorspace info in the mastering data struct
2024-04-05 22:06:16 +02:00
Hendrik Leppkes
45a01c82b0
matroskadec_haali: don't create stereo3d side data for 2d tracks
2024-04-05 22:06:16 +02:00
Hendrik Leppkes
6ccbf6d4c5
matroskadec_haali: parse color and mastering info
2024-04-05 22:06:16 +02:00
Hendrik Leppkes
f3c286b364
matroskadec_haali: fix a few variable name collisions
2024-04-05 22:06:16 +02:00
Hendrik Leppkes
18d18c72c3
matroskadec_haali: fix crash with tags on disabled streams
2024-04-05 22:06:15 +02:00
Hendrik Leppkes
110e80c7e3
matroskadec_haali: migrate to codecpar
2024-04-05 22:06:15 +02:00
Hendrik Leppkes
17c1e29baf
matroskadec_haali: basic tag parsing support (global and track)
2024-04-05 22:06:15 +02:00
Hendrik Leppkes
ac75bba664
matroskadec_haali: update QuickTime codec handling
2024-04-05 22:06:15 +02:00
Hendrik Leppkes
b9deb65710
matroska: change values of the stereo mode tags to be more consistent
2024-04-05 22:06:15 +02:00
Hendrik Leppkes
397cab1f49
matroskadec_haali: export stereo_mode metadata
2024-04-05 22:06:15 +02:00
Hendrik Leppkes
5fb414833d
avcodec: add h264_mvc codec id and profiles
2024-04-05 22:06:15 +02:00
Hendrik Leppkes
396a14fcef
avformat/httpauth: change order of qop parameters
...
This fixes a bug when interacting with some (broken) HTTP servers which
expect the last entry to be a quoted string.
Also remove the quoting of the qop parameter in the process, it violates
the specification.
2024-04-05 22:06:15 +02:00
Hendrik Leppkes
e930b3d23d
matroskadec_haali: enable full parsing for MP3
...
This fixes decoding of split mp3 frames in mkv, and matches the behavior
of the ffmpeg matroska demuxer.
2024-04-05 22:06:15 +02:00