Laurent Aimar
cc02b250c8
Added a check against block size in FLAC packetizer.
15 years ago
Laurent Aimar
117b614a7f
Fixed packetization of variable block size FLAC stream ( closed #4758 ).
15 years ago
Laurent Aimar
aebe9ea902
Simplify the validation of sample/frame numbers in flac packetizer.
15 years ago
Rémi Denis-Courmont
e499bd76d6
Typo
15 years ago
Sébastien Escudier
3963704be4
h264 packetizer : correctly compute picture height in case of interlaced video.
See frame_mbs_only_flag chapter 7.4.2.1
16 years ago
Rémi Denis-Courmont
40b4d780a4
add_bool: remove callback parameter
16 years ago
Jean-Baptiste Kempf
ea5d5de5fa
h264 packet: Remove trailing spaces
16 years ago
Steinar H. Gunderson
33778d4d8c
Support H.264 SEI recovery points.
H.264 SEI recovery points are put at frames in the stream that are not
(necessarily) keyframes, but that mark “if you decode the next N frames, you
will have a [perfectly or approximately] valid picture no matter what your
starting point was”. In particular, this is needed to decode streams encoded
with Periodic Intra Refresh (e.g. --sout-x264-intra-refresh true), at least if
you don't see the beginning of the stream, e.g. tuning into a multicast stream.
This may also help with some kinds of streams from AVCHD cameras that use
similar techniques.
One could argue that this functionality should live inside libavcodec instead,
but given that VLC does its own H.264 depacketization, this seems to be the
best place. I've tested it with streaming over UDP, and it seems to work fine.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
16 years ago
Rémi Duraffort
fdc455adc8
Fix some typos.
16 years ago
Rémi Duraffort
4d85871d1b
s/informations/information/
16 years ago
Rémi Denis-Courmont
19a50f5df3
Spell "separate"
16 years ago
Laurent Aimar
bc96ea9fe8
Parse WMV3 frame type in the generic packetizer.
It is needed to close #3522 .
16 years ago
Rémi Duraffort
96f372a21c
Spelling.
16 years ago
Laurent Aimar
873bcee7d2
Fixed potential invalid access with too short packetized data.
16 years ago
Jean-Baptiste Kempf
8f21522cd3
Flac: Fix compilation warnings about signed vs unsigned
16 years ago
Jean-Baptiste Kempf
86352fc87a
Fix FLAC 7.1 support
Close #3348
16 years ago
Laurent Aimar
986ba8fe34
Fixed SPS/PPS transmissions in H264 packetizer.
It closes the other part of #3161 .
16 years ago
Laurent Aimar
26ae73ad5d
Fixed SPS parsing when scaling matrices are present (h264).
It partially closes #3161 .
16 years ago
Laurent Aimar
74ec041dac
Be more strict in flac SyncInfo checks.
16 years ago
Laurent Aimar
110e4f8568
Do not loose pts on stream properties changes.
It closes #2349 .
16 years ago
Laurent Aimar
1967b52da2
Fixed a few errors in flac packetizer.
16 years ago
Laurent Aimar
447327c605
Moved out the flac packetizer from the flac decoder.
It simplify the flac decoder code.
It fixes the build of the packetizer when flac is disabled.
It makes the flac packetizer behaviour independant of the flac decoder presence.
16 years ago
Laurent Aimar
5b526f5063
Fixed NAL AUD handling in h264 packetizer.
16 years ago
Pierre d'Herbemont
85ccc9999a
mpeg4video: Fix leaked fmt_out.p_extra.
16 years ago
Rémi Duraffort
4a990366f6
dirac: fix invalid test (found with coccinelle static analyzer).
16 years ago
Pádraig Brady
5bd2bacf60
closed captions: Correctly determine the field for SCTE-20 streams
* modules/codec/cc.h (cc_Extract): Merge repeated field (3) with first
field (1). Use the TOP_FIRST_FIELD in the determination of field.
* modules/codec/libmpeg2.c (DecodeBlock): Pass whether "top field first"
* modules/packetizer/mpegvideo.c (ParseMPEGBlock): Likewise.
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
16 years ago
Rafaël Carré
5352b6054f
h264 packetizer: fill profile/level
17 years ago
Laurent Aimar
d466fd4185
Removed es_format_t::i_aspect.
It was duplicated with es_format_t::i_sar_num/den.
17 years ago
Rafaël Carré
07e5e3a476
packetizer_mpegvideo: use VLC_TS_INVALID (refs #3135 )
Note: cc_pts/dts are still set to 0, I can't tell if this value is the
starting timestamp, or if it means the timestamps are not valid.
Better understanding on how pf_get_cc and packetizers are called in
src/input would clarify (fenrir?)
17 years ago
Rafaël Carré
f589d6baf6
packetizer_mpeg4video: use VLC_TS_INVALID (refs #3135 )
17 years ago
Rafaël Carré
7a6f2a5abe
packetizer helper: use VLC_TS_INVALID
refs #3135
17 years ago
Rafaël Carré
724c4e4a7d
h264 packetizer: use VLC_TS_INVALID
refs #3135
17 years ago
Rafaël Carré
a480552df9
mp4a packetizer: use VLC_TS_INVALID
refs #3135
17 years ago
Rafaël Carré
f81ce687cd
mlp packetizer: use VLC_TS_INVALID
refs #3135
17 years ago
Rafaël Carré
003189d40c
packetizer copy : use VLC_TS_INVALID
refs #3135
17 years ago
Rémi Denis-Courmont
25232e200b
Do not assert memory allocations
17 years ago
JP Dinger
15643af12d
Replace argument = realloc( argument, size ); with realloc_or_free() in modules/*, and while at it add assert( argument ) to mark unhandled ENOMEM conditions, also for malloc().
17 years ago
Rémi Duraffort
1b2b3551a6
add_bool: wants a boolean.
17 years ago
Rémi Denis-Courmont
f6bb739010
Revert "vlc_bits: Differentiate between writable bits stream and read only."
This reverts commit 4bfba26a61 .
This broke strict C aliasing rules.
17 years ago
Pierre d'Herbemont
4bfba26a61
vlc_bits: Differentiate between writable bits stream and read only.
This fixes some const qualifier violation in modules.
17 years ago
Pierre d'Herbemont
31fef8bd88
mlp: Fix a bunch of warnings.
17 years ago
Pierre d'Herbemont
f901bb491e
vc1: Correct unsigned use.
17 years ago
Laurent Aimar
c09763bef8
Used date_t instead of audio_date_t in packetizers.
17 years ago
Jean-Baptiste Kempf
f1a3939498
Use Brackets for global headers.
17 years ago
Anthony Loiseau
d632dbed7d
cosmetic: remove nullity test on free() and delete
Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
17 years ago
Laurent Aimar
cc6fce5b99
Allow MLP packetizer to parse TrueHD codec.
17 years ago
Laurent Aimar
138f098d36
Used vlc_fourcc_GetCodecAudio when applicable.
17 years ago
Laurent Aimar
7b452ff3b0
Used VLC_CODEC_* and i_original_fourcc when applicable.
17 years ago
Laurent Aimar
724461bdf2
Used VLC_CODEC_* and vlc_fourcc_GetCodec when suitable.
There will be some regressions, I used automatic sed replacement with manual
checks but there was a lot to change.
It's only the first pass.
17 years ago
Christophe Mutricy
f521521542
Distribute packetize_helper.h
17 years ago