Michael Niedermayer
4ab495b4ee
Merge remote-tracking branch 'tjoppen/opatom_demuxing_and_seeking'
...
* tjoppen/opatom_demuxing_and_seeking:
mxfdec: Index table driven demuxing and seeking
mxfdec: Compute packet offsets properly
mxfdec: Use MaterialPackage - Track - TrackID instead of the system_item hack
mxfdec: Parse more values in PartitionPack
mxfdec: Parse TemporalOffsets
mxfdec: av_dlog():ify 'no corresponding source package found'
mxfdec: Compute essence container offsets and lengths into mxf->partitions
mxfdec: Make mxf->partitions sorted by offset
mxfdec: Parse ThisPartition
mxfdec: Speed up metadata and index parsing
mxfdec: Make sure DataDefinition is consistent between material track and source track
mxfdec: Add EssenceContainer UL found in 0001GL00.MXF.A1.mxf_opatom.mxf
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
74436ad51e
libnut: NULL priv->nut after nut_demuxer_uninit() as a saftey precaution.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e21f8a07ca
libnut: Check nut_demuxer_init() return value.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6f7f239604
libnut: check for av_malloc failure.
...
No, ive no testcase, i just spoted these when looking ...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ec9d92700e
ffmpeg: Use the buffer sinks poll instead of its input.
...
This fixes the case that the buffer sinks fifo contains frames which
would not show up on the poll from its input
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a502939d64
buffersink: Implement a poll function.
...
With this the application can find out how many frames are available.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tomas Härdin
ddcf3e0535
mxfdec: Index table driven demuxing and seeking
...
This adds OPAtom support and proper seeking.
D-10 and non-seekable OP1a streams still use the old demuxing/seeking code.
13 years ago
Diego Biurrun
6b60a4c9c9
cljr: K&R cosmetics
13 years ago
Diego Biurrun
1c45c64c9d
cljr: return a more sensible value when encountering invalid headers
13 years ago
Diego Biurrun
163682fab3
cljr: drop unnecessary emms_c() calls without MMX code
13 years ago
Michael Niedermayer
fab97adb66
docs: Minor project name cleanup
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a4bf093e7b
indevs.texi: fix application name to match the code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7c41995e00
ffmpeg: more exact comment about libavformat.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tomas Härdin
5e67e3eac2
mxfdec: Compute packet offsets properly
...
This replaces the old essence_offset code
13 years ago
Tomas Härdin
5fb800f49a
mxfdec: Use MaterialPackage - Track - TrackID instead of the system_item hack
13 years ago
Tomas Härdin
fd34dbea58
mxfdec: Parse more values in PartitionPack
...
These values include KAGSize, HeaderByteCount and IndexByteCount.
The length of the pack itself is also stored, and KAGSize is sanity checked.
The FATE sample has KAGSize == 0, which is adjusted to 512.
Other bad KAGSizes are set to 1.
13 years ago
Carl Eugen Hoyos
935ac228e4
Fix typo: Correctly parse 64 byte umid tags in bext metadata.
13 years ago
Nicolas George
26c6fec9d9
lavu: introduce av_log_format_line.
13 years ago
Michael Niedermayer
15c481614b
Merge remote-tracking branch 'shariman/wmall'
...
* shariman/wmall:
Pass pointer to integer buffer instead of integer to memcpy
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
jb@kdenlive.org
e2baaa21aa
mpegtsenc: recognize .mts as MPEG Transport Stream (encoding)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
118ca0c79a
Add Escape 130 to the documentation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
bef8dfa056
escape130: replace can_safely_read() by get_bits_left()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f7da12350e
escape130: give all av_log() a context
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
40d6296095
escape130: The minimum read in and after decode_skip_count() is 4 bits.
...
Thus we can check for 4 being available.
If the next block is skiped we need 4 bits to encode the skip. If the
next block is not skiped then we need 1 bit for the skip code and
at least 3 bits for the block.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
59d3656f6e
escape130: Check dimensions to be a multiple of the block size.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tomas Härdin
7560c26495
mxfdec: Parse TemporalOffsets
13 years ago
Tomas Härdin
623128d782
mxfdec: av_dlog():ify 'no corresponding source package found'
...
This isn't an error. It's also expected behavior for OPAtom files.
13 years ago
Tomas Härdin
336246238e
mxfdec: Compute essence container offsets and lengths into mxf->partitions
13 years ago
Mashiat Sarker Shakkhar
6d4deecfdf
Pass pointer to integer buffer instead of integer to memcpy
13 years ago
Carl Eugen Hoyos
8ac6469575
Silence a warning when compiling Escape 130 decoder.
...
Fixes:
libavcodec/escape130.c:177:17: warning: ISO C90 forbids mixed declarations and code
Reviewed-by: Paul B Mahol
13 years ago
Mans Rullgard
bbc10185ee
cljr: remove useless casts
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
baf3b6e594
cljr: group encode/decode parts under single ifdefs
...
This groups the encode/decode parts under single ifdefs and
eliminates the encode_init() function as it merely calls
common_init(). Also fix whitespace in moved code.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
9a1420bfda
cljr: remove stray semicolon
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Paul B Mahol
ca52bae6ec
cljr: add missing return statement in decode_end()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
31c55c572a
escape130: 10l for myself for not initializing y_base.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
e91c088055
lavf: lower the log level of "parser not found".
...
The information is relevant, but under normal circumstances
it raises far too many false alarms.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
12dca02e9e
doc: add pulseaudio to the input list
13 years ago
Luca Barbato
f75e3d25d0
avconv: remove unsubstantiated comment
...
All the currently supported OS-es manage to use return values
properly.
13 years ago
John Brooks
8562d9bd6c
shorten: avoid abort() on unknown audio types
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Tomas Härdin
289bc14449
mxfdec: Make mxf->partitions sorted by offset
...
This also zeroes new entries for good measure (used by future patches).
13 years ago
Paul B Mahol
e93947b7d8
cljr: add encoder
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Michael Niedermayer
06798c6e3b
escape130: Fix y_base handling, this fixes some artifacts, vissible in most videos.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8ff3d1ccec
escape130: make sure cliping is done on signed values.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4f79c7dd08
Merge remote-tracking branch 'richardpl/escape130'
...
* richardpl/escape130:
escape130: fix colors
escape130: remove trailing whitespace
rpl: enable escape130 codec
escape130: minimal effort to make it compile without warnings
Escape 130 (RPL) decoder
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
0cc9949ead
Mark one colour as transparent in the gif image encoder
...
if the input palette contains at least one colour
that is more than 50% transparent.
Fixes ticket #715 .
13 years ago
Carl Eugen Hoyos
51d7cd3596
Decode RGB ljpeg to RGB24.
...
No alpha channel is decoded, the output used to be completely transparent.
13 years ago
Carl Eugen Hoyos
9608e3a182
Support decoding 56 byte BMP Bitmap Information Header.
...
Fixes ticket #719 .
13 years ago
Anatoliy Wasserman
6778f9d9f2
pthread: fixed thread initialization issues related to thread-safe buffer allocator
...
Signed-off-by: Anatoliy Wasserman <anatoliy.wasserman@yandex.ru>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
47b20a1db0
build: merge lists of HTML documentation targets
13 years ago
Diego Biurrun
4dccfff9dd
tests/examples: Mark some variables only used within their files as static.
13 years ago