François Cartegnie
0e39c49c95
packetizer: avparser: fix leak on flush
2024-05-01 12:23:44 +00:00
François Cartegnie
a20f72c674
packetizer: hevc: fix xps insertion on recovery point
...
Was not inserted if there's no pre-frame NAL units
2024-03-05 18:54:43 +00:00
Steve Lhomme
bc8308fd6e
codec: fix i_level -1 detected as VPx with alpha
2024-02-16 07:53:45 +00:00
Jonas Dittrich
ddc594a59f
packetizer: fix invalid streaminfo size check
2024-02-12 07:22:25 +00:00
Steve Lhomme
27350e784c
codec: add a pseudo-decoder for VP8/VP9 with alpha
...
It uses 2 decoders in parallel and then merges the planes on output.
Only software decoders are supported for now.
2024-02-06 11:53:38 +00:00
Steve Lhomme
8828f7d7c4
avcodec: pass the whole es_format when looking for a codec.
2024-02-06 11:53:38 +00:00
François Cartegnie
07d50a2b39
packetizer_helper: add missing alloc check
2024-01-25 06:38:28 +00:00
Jonas Dittrich
306505b7c4
flac: fix endless bytes skip
...
A hang was caused when the stream head is invalid and a header should be skipped, but not enough data is available. In this case, block_SkipBytes returns VLC_EGENERIC and does not seek anything. So, the same invalid block is processed again and again.
2024-01-21 12:26:57 +00:00
Rémi Denis-Courmont
75510b031d
hxxx: use stdc_has_single_bit()
2024-01-06 13:23:18 +00:00
Rémi Denis-Courmont
b11df40e01
dts: use stdc_count_ones()
2024-01-06 13:23:18 +00:00
Rémi Denis-Courmont
f5b0d22729
a52: use stdc_count_ones()
2024-01-06 13:23:18 +00:00
Rémi Denis-Courmont
f4ae4633de
hevc: use stdc_bit_width()
2024-01-06 13:23:18 +00:00
François Cartegnie
a3bd36a5f3
packetizer: a52: check and output truncated frame on desync
2023-12-24 07:51:28 +00:00
François Cartegnie
d3d6132ea5
packetizer: a52: fix recovery with dts set only
2023-12-24 07:51:28 +00:00
François Cartegnie
9649db1a9f
packetizer: hevc: export poc variables
2023-12-13 06:34:07 +00:00
François Cartegnie
00cdd0986f
packetizer: h264: store IDR noprevoutput flag
2023-12-13 06:34:07 +00:00
François Cartegnie
67900dd20c
packetizer: hevc: add hevc_get_slice_no_output_of_prior_pics_flag
2023-12-13 06:34:07 +00:00
François Cartegnie
c87eac4fd7
packetizer: hevc: add hevc_get_slice_pic_output
2023-12-13 06:34:07 +00:00
François Cartegnie
de9eac001a
packetizer: hevc: remove hevc_get_max_num_reorder
2023-11-28 09:50:00 +00:00
François Cartegnie
6c998a3635
packetizer: hevc: add hevc_get_dpb_values
2023-11-28 09:50:00 +00:00
Steve Lhomme
7d12cc5bb9
packetizer: h264: fix potential uninitialized variable warning
2023-11-23 10:34:08 +00:00
François Cartegnie
46cbd33993
packetizer: hevc: missing POC variable init
2023-11-23 08:59:50 +00:00
François Cartegnie
64c3fa645b
packetizer: hevc: reorder is stored on sps
2023-11-23 08:34:50 +00:00
François Cartegnie
d6f3ef7aaa
packetizer: hevc: fix offset defaults on missing info
...
regression by 8c047bb483
2023-10-24 12:39:27 +00:00
Francois Cartegnie
8c047bb483
packetizer: hevc: provide picture left/top crop info
2023-09-13 17:27:42 +07:00
Francois Cartegnie
587b928054
packetizer: h264: provide picture left/top crop info
2023-09-13 17:27:42 +07:00
Steve Lhomme
4bdb9c1b36
packetizer: av1: fix bogus detection of monochrome
...
Match the algorithm from the specs of [1]
[1] https://aomediacodec.github.io/av1-spec/#color-config-syntax
2023-08-02 12:40:54 +00:00
Francois Cartegnie
ff6bd8f227
packetizer: mpegaudio: add layer 2 as input
...
currently can be output by mp4.
mp4->sout
2023-05-29 07:54:41 +00:00
Francois Cartegnie
b10157962b
packetizer: mpegaudio: set fourcc to source
2023-05-29 07:54:41 +00:00
Steve Lhomme
d59fdf9c8d
packetizer: av1: allow reading the super resolution from the sequence header
2023-04-18 16:44:10 +00:00
Steve Lhomme
507808e3a3
packetizer: av1: keep the reduced_still_picture_header
...
It's used to compare sequence headers.
2023-04-18 16:44:10 +00:00
Francois Cartegnie
ed97dd9fb8
packetizer: h264: add all sps/pps sets to extradata
2023-04-09 16:17:08 +00:00
Francois Cartegnie
d8898afb15
packetizer: h264: refactor gathering sps/pps
2023-04-09 16:17:08 +00:00
Francois Cartegnie
21a329cc70
packetizer: h264: refactor sps/pps handling
2023-04-09 16:17:08 +00:00
Francois Cartegnie
c85581f423
packetizer: h264: add h264_get_xps_id shortcut
2023-04-09 16:17:08 +00:00
Francois Cartegnie
86393842b4
packetizer: h264: compare sps/pps before replacement
2023-04-09 16:17:08 +00:00
Francois Cartegnie
3ea4bcad79
packetizer: h264: refactor sps/pps duplication
2023-04-09 16:17:08 +00:00
Steve Lhomme
c254ee46ea
packetizers: allow inclusion HXXX NAL helpers from C++ code
2023-02-28 07:35:45 +00:00
Francois Cartegnie
43ad8704ff
packetizer: h264: add one more zero reorder case
2023-02-17 20:24:38 +00:00
Steve Lhomme
2f77dce7d2
mpeg4audio: avoid putting negative value in unsigned value
2023-02-10 18:18:54 +00:00
Steve Lhomme
a5e1a194b5
hxxx_nal: use size_t for the move values
...
They seem to represent a size for data in memory (size in block allocation) and
offset for a buffer memmove().
2023-01-07 22:21:26 +00:00
Marvin Scholz
d5f07af209
meson: add initial meson build system
...
Co-authored-by: Tanguy Dubroca <tanguy.dubroca@lse.epita.fr>
Co-authored-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
Co-authored-by: Alexandre Janniaux <ajanni@videolabs.io>
2023-01-04 14:48:39 +00:00
Steve Lhomme
007e5d910c
codec/packtizer: rename p_fmt_in to fmt_in
...
We don't need to know it's a pointer and can save 2 characters.
No functional changes. This is simply renaming "dec->p_fmt_in",
"decoder->p_fmt_in", "dec.p_fmt_in" and "packetizer->p_fmt_in"
2022-11-16 17:42:04 +00:00
Steve Lhomme
3bbe3ffe45
codec/packetizer: use read-only input format wherever possible
...
It's renaming :
"dec->fmt_in.", "dec.fmt_in.", "decoder->fmt_in.", "&dec->fmt_in",
"&p_dec->fmt_in" (except in decoder_Init), "&p_dec->fmt_in->",
"&decoder->fmt_in", "&p_dec->fmt_in,", "= p_dec->fmt_in;",
"&id->p_decoder->fmt_in" and "p_sys->p_decoder->fmt_in"
2022-11-16 17:42:04 +00:00
Steve Lhomme
b7756201ab
packetizer:vc1: constify the video format read
2022-11-16 17:42:04 +00:00
Steve Lhomme
a6afe16031
packetizer: vc1: keep the profile value
...
Ref !2814
2022-11-13 11:51:44 +00:00
Francois Cartegnie
c14b5aa6a7
packetizer: flac: fix CRC from emulated sync
...
also skips some memcpy
refs #27454 #27477
2022-11-08 15:06:43 +00:00
Francois Cartegnie
1630610b04
packetizer: h264: add gettype helper
2022-10-28 10:28:10 +00:00
Francois Cartegnie
fa7e785876
demux: es: store frame size in header struct
2022-10-11 07:29:22 +00:00
Francois Cartegnie
e95d07a745
demux: es: rework reading frame header
2022-10-11 07:29:22 +00:00