Anton Khirnov
b262a05904
lavf doxy: add metadata docs to the main lavf group
13 years ago
Paul B Mahol
3c1f60860d
flacdec: Support for tracks in cuesheet metadata block
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Reimar Döffinger
0849a0ebb2
rtmpproto: make condition work in overflow case.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
8b8a47f6fb
Make detection of single-stream flv work again.
...
It had become dead code when code was added to avoid
exporting audio and video codec id as metadata.
Untested due to lack of sample.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Justin Ruggles
28101f6c4e
flac muxer: fix writing of file header and STREAMINFO header from extradata
...
fixes Bug 119
13 years ago
Carl Eugen Hoyos
5207f9597e
Separate mxf_essence_container_uls for audio and video.
...
It is a really bad idea to assign a video codec id
when we have set codec_type to audio and vice versa.
Fixes ticket #721 .
13 years ago
Reimar Döffinger
2483f53693
mxfdec: do not try to use an obviously broken index.
...
Also fixes a memleak.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Kostya Shishkov
19341c58e0
Dxtory capture format decoder
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Michael Niedermayer
cd519b7e83
avi: add escape130 support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
02acfb1c01
wavdec: add ignore length option to ignore incorrect lengthes
...
like SOX
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
4c38633352
isom: sort and pretty-print codec_movaudio_tags[]
...
original order is retained within the same tag or codec id to maintain the
muxing/demuxing priority.
13 years ago
Justin Ruggles
7714770de1
isom: remove pointless comments in codec_movaudio_tags[]
13 years ago
Justin Ruggles
21ebf2d493
isom: remove commented-out tag for vorbis
13 years ago
Justin Ruggles
60cd802daf
movenc: write 'chan' tag for AC-3 in MOV
13 years ago
Justin Ruggles
1fdf18f4b7
mov: add support for reading and writing the 'chan' tag
...
This implements reading the tag in the demuxer and adds support for writing it
in the muxer. Some example channel layout tables for muxing are included for
ac3, aac, and alac, but they are not utilized yet.
13 years ago
Justin Ruggles
8e8c51318c
movenc: simplify handling of pcm vs. adpcm vs. other compressed codecs
...
Use Sound Sample Description Version 2 for all MOV files.
Updated FATE references accordingly.
Note that ADPCM is treated as compressed audio in version 2.
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
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
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
jb@kdenlive.org
e2baaa21aa
mpegtsenc: recognize .mts as MPEG Transport Stream (encoding)
...
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
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
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
Diego Biurrun
4dccfff9dd
tests/examples: Mark some variables only used within their files as static.
13 years ago
Diego Biurrun
9a5d6c23c5
tests/tools/examples: Replace direct exit() calls by return.
13 years ago
Tomas Härdin
e5f9c8927b
mxfdec: Parse ThisPartition
13 years ago
Tomas Härdin
dcd30b83b4
mxfdec: Speed up metadata and index parsing
...
Specifically, this means parsing as before until we run into essence.
At that point we seek to the footer and parse until EOF. After that we start
seeking backward to the previous partition and parse that until we run into
essence or the next partition. This procedure is repeated until we encounter
the last partition we parsed in the forward direction.
The end result of all this is that large essence containers aren't needlessly
parsed. This speeds up parsing large files a lot.
13 years ago
Tomas Härdin
e1914b5a2f
mxfdec: Make sure DataDefinition is consistent between material track and source track
...
This fixes 0001GL.MXF.V1.mxf_opatom.mxf and 0001GL00.MXF.A1.mxf_opatom.mxf
getting two streams each due to both using the same SourcePackageID.
13 years ago
Tomas Härdin
1170749b39
mxfdec: Add EssenceContainer UL found in 0001GL00.MXF.A1.mxf_opatom.mxf
13 years ago
Matthieu Bouron
070a40f1b7
gxfenc: support timecode option
...
Reviewed-by: Baptiste Coudurier
13 years ago
Diego Biurrun
c7e8187d9d
avformat/utils: Drop unused goto label.
...
libavformat/utils.c:2165:2: warning: label ‘fail’ defined but not used
13 years ago
Martin Storsjö
1eef08f98c
rtmp: Use nb_invokes for all invoke commands
...
704af3e29c
broke publishing
of rtmp streams, at least publishing to Wowza servers.
This changes all invoke commands to use nb_invokes.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
901af94b69
movenc: Always write EDTS when we are able to.
...
Inspired by a patch from Michael Root
Idea-by: Baptiste Coudurier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
76d7d1b0bd
img2: 10l typo
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
c1e2ca1e31
Allow auto-detection of ljpg images.
13 years ago
Michael Niedermayer
e1ccc9216b
movdec: remove redundant size<=8 check.
...
Its checked a few lines below too.
The only difference is that empty atoms with size=0 will now get parsed too.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7d90bc9f2a
movdec: Read extended 64bit size before the debug av_log() and only when there
...
was enough space to read the 32bit size.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mihnea Balta
fef2da6a22
movdec: Fix bad computed size for atoms with size 0 in MOV files
...
The computed size doesn't contain the header size because it's already
skipped by incrementing total_size, but then it's skipped again in the
last line. The atom comes out 8 bytes short and the function
mov_read_chan() aborts the whole parsing process. I think the computed
size should be atom.size - total_size + 8.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f0d0ae3b1e
mov: increase total_size only when it actually increases.
...
This is just cosmetic as the if() is always true.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
15130b94fc
movenc: support spliting fragments based on bytesize instead of duration.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cf8ec019ab
movenc: fragment support
...
Reviewed-by: Baptiste Coudurier
Tested-with-QT: Baptiste Coudurier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
a448a5d1c4
Do not fail fatally if chan atom is too short.
13 years ago