Michael Niedermayer
82d79289db
avformat: Allocate duration_error separately
...
This significantly reduces the memory needed per AVStream when the
array is not needed.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
285485ac5f
matroskaenc: fix cue tracknum off by 1 error
...
Fixes out of array accesses
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
da8ef5ac2f
rtmpproto: increase APP_MAX_LENGTH
...
Fixes second part of Ticket2292
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
02ac3398eb
rtmpproto: Check APP_MAX_LENGTH
...
Fixes Ticket2292
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
56daf10e03
mov: use the format context for logging.
...
CC:libav-stable@libav.org
12 years ago
Paul B Mahol
c46400ddec
cafenc: do not leak caf->pkt_sizes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
a72b41035c
mxg: do not leak mxg->buffer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Andrea3000
8d8c59480e
matroska: fix missing ,
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
d714576037
Use SMPTE standard notation when showing mxf Universal Labels.
12 years ago
Clément Bœsch
7346354b55
lavf/microdvd: fix muxing.
...
This was broken since 1f265f52
.
12 years ago
Clément Bœsch
580e228557
lavf/swfdec: remove 8-bit audio FIXME.
...
Implemented since 624fb5f9
.
12 years ago
Clément Bœsch
624fb5f965
lavf/swfdec: support 8-bits PCM audio.
12 years ago
Clément Bœsch
9a0076f50c
lavf/swfdec: factorize the creation of a new stream.
...
This also makes the changes of a3949fe11
applicable in both cases.
12 years ago
Michael Niedermayer
2ccaab9709
mov: fix self referencing timecode tracks
...
Fixes read after free.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
271f411267
lavf/matroskaenc: avoid assert failure in case of cuepoints with duplicated PTS
...
Avoid to write more than one cuepoint per track and PTS in
mkv_write_cues(). This avoids a later assertion failure on "(bytes >=
needed_bytes)" in put_ebml_num() called from end_ebml_master(), in case
there are several cuepoints per track with the same PTS.
This may happen with files containing packets with duplicated PTS in the
same track.
12 years ago
Michael Niedermayer
e39821a65e
nutenc: only write an index if there are syncpoints
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
6cd650dbd2
ff_gen_search: Fix finding the maximum timestamp in a really small file
...
Fixes Assertion failure
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
695a766bff
ff_read_timestamp: check stream_index before using it as array index
...
Fixes out of array read
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
8d0757e107
Revert "swfenc: use av_get_audio_frame_duration() instead of AVCodecContext.frame_size"
...
This reverts commit 620b88a302
.
Fixes ticket #2272 .
Conflicts:
libavformat/swfenc.c
12 years ago
Michael Niedermayer
4a6fa7963b
lavf: dont try to find fps for attached pictures
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
rogerdpack
12c71f648c
dshow: Fix MSVC support, remove av_export, which was apparently unneeded anyway.
...
Also cleanup exported symbols
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Vignesh Venkatasubramanian
003be0a9c3
Removing network.h from matroskadec.c
...
Removing accidentally added include file.
Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
d5ce725cb3
Fix a few "its" vs "it's" typo.
12 years ago
Vignesh Venkatasubramanian
ce6a8e5947
Adding AlphaMode element to Matroska Parser
...
Adding support for parsing AlphaMode element in the Track header
and export that information as a metadata tag. This flag indicates
presence of alpha channel data in BlockAdditional element.
Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
405cc0d905
movenc: hotfix, dont store fiel for h264 / mpeg4-asp / dnxhd
...
Other software does not store it in this case, and the information
is provided by the codec stream
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
7d0e3b197c
Write the fiel atom to mov files independently of the used video coded.
...
The QuickTime specification does not contain any hint that the atom
must not be written in some cases and both the QuickTime and the
AVID decoders do not fail if the atom is present.
This change allows to signal (visually) interlaced streams with
a codec different from uncompressed video.
As a side-effect, this fixes ticket #2202
12 years ago
Michael Niedermayer
a08ebf04b1
matroskadec: simplify additional_id writing code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Vignesh Venkatasubramanian
30c5c45b12
Adding support for parsing BlockAdditional
...
Matroska specification lists support for BlockAdditional element
which is not supported by ffmpeg's matroska parser. This patch
adds grammar definitions for parsing that element (and few other
related elements) and then puts the data in AVPacket.side_data
with new AVPacketSideDataType AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL.
Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Daniel Verkamp
5dd78ef34e
WAV muxer: reindent
12 years ago
Nicolas George
b68dd8a161
lavf/concatdec: allow probing.
12 years ago
Nicolas George
db9dc5154d
lavf/concatdec: add signature directive.
12 years ago
Nicolas George
6d680d20ad
lavf/concatdec: add safe option.
12 years ago
Daniel Verkamp
1ecce266fa
WAV muxer: add RF64 support
12 years ago
Carl Eugen Hoyos
182e342fdb
Print mxf Universal Label if the user requested verbose logging.
...
Fixes ticket #2198
12 years ago
Stefano Sabatini
6b171f046c
lavf/matroskaenc: provide more feedback in case of unsupported codec
...
Also return meaningful error code.
12 years ago
Michael Niedermayer
ea1d8465e6
Fix division by 0 due to audio frame size
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
f02f231e05
Do not write invalid matroska files.
...
Some real codecs are supported by the matroska specification
(and FFmpeg's matroska demuxer) but not the FFmpeg muxer.
12 years ago
Nicolas George
f43d09cd60
lavf: add tee pseudo-muxer.
12 years ago
Vladimir Pantelic
f5fac6f777
asfdec: support reading ID3v2 tags in ASF files
...
Yes, these files do exist
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Vladimir Pantelic
84b721db36
asfdec: also read Metadata Library Object
...
In some ASF files this objects holds cover art and other tags. Compared to
Metadata Object it can also hold GUIDs, but we ignore these for now.
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Vladimir Pantelic
61f9ad2dfc
asfdec: read the full Metadata Object, not just aspect ratio information
...
Use the same get_tag()/get_value() as for the Extended Content Description
but handle the 16 bit vs 32 bit difference for type 2 (BOOL)
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Vladimir Pantelic
36fab50e90
asfdec: silence a warning
...
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
1ef0e8a6bf
asfdec: do not assume every AVStream has a corresponding ASFStream
...
This won't be true for ID3 attached picture.
Also stop allocating now useless dummy ASFStreams for ASF native
attached pictures.
12 years ago
Stefano Sabatini
765dbea9fe
lavf/rawvideodec: fix/extend option descriptions
12 years ago
Michael Niedermayer
47335126c0
ff_end_tag: assert that the start is aligned.
...
If its start is not aligned then aligning its end will
likely break many demuxers as they check the size and not
the position.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
810cd0dd9c
riff: chunks must be at 2 byte boundary
...
Fixes #2244 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
a8e748eee5
lavf: add seek2any to allow forcing seeking to non keyframes via AVOptions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
7c00d853a6
matroskadec: support seek to non keyframes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
199683c898
mov: remove unused function
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
rogerdpack
aa715cdcf5
dshow: attempt to build shared as well as static
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
12 years ago