Alok Ahuja
8dd12b077b
Create a stereo_mode metadata tag to specify the stereo 3d video layout using the StereoMode tag in a matroska/webm video track.
14 years ago
Michael Niedermayer
5c08c7b215
Add a flag to disable side data merging.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
94eadee7ef
Merge/split side data.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Martin Storsjö
50fefa10de
mpegtsenc: Add an AVClass pointer to the private data
...
Since a private class is set for this muxer, the callers will
assume that the private data starts with an AVClass pointer.
If no such member exists, the first few bytes of the struct
will be overwritten, and the class pointer may be broken at
any later time.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
6efb29686f
Reindent
14 years ago
Martin Storsjö
65a4d8e5a7
rtpenc_chain: Pass the MP4A_LATM flag to chained muxers
14 years ago
Juan Carlos Rodriguez
ef409645f0
rtpenc: MP4A-LATM payload support
14 years ago
Martin Storsjö
bd61b2a1ca
movenc: Pass AVFormatContext flags to the SDP generation
14 years ago
Martin Storsjö
abe9363889
sdp: Allow passing AVFormatContext flags to the SDP generation
14 years ago
Diego Biurrun
7ed0a77ff4
Remove silly insults from avformat_version() Doxygen documentation.
14 years ago
Mans Rullgard
b122c65107
asfdec: add missing #include for av_bswap32()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
8529f9b36b
av_find_stream_info: Print more details about max anaylize duration failures.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Tomas Härdin
7e5cb2ef51
Parse 'bext' metadata in the wav demuxer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Tomas Härdin
40612f2601
Cosmetics: indent
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Tomas Härdin
6629dbd299
Keep parsing wav until EOF if the input is seekable and we know the size of the data tag
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Tomas Härdin
a06d238e8c
Refactor the tag checking into a switch statement
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Tomas Härdin
93df511ec7
Use avio_tell() instead of url_ftell()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
JULIAN GARDNER
8146d16b60
cleaned up the udp.c, removed some variables and an av_log
14 years ago
Stefano Sabatini
64be0d1eda
id3v2: prevent unsigned integer overflow in ff_id3v2_parse()
...
In ff_id3v2_parse(), prevent unsigned integer overflow if data length
indicator is skipped and tlen is < 4.
Fix crash decoding file Allaby_cut.mp3, fix trac issue #182 .
14 years ago
Stefano Sabatini
b69e5ee902
id3v2: add @file doxy and link to format documentation
14 years ago
Anton Khirnov
29e3489602
lavf: remove duplicate assignment in avformat_alloc_context.
...
AVClass is already initialized in avformat_get_context_defaults.
14 years ago
Anton Khirnov
f0029cbcf6
lavf: use designated initializers for AVClasses.
14 years ago
Tomas Härdin
3d922c8462
Make sure neither data_size nor sample_count is negative
14 years ago
Tomas Härdin
cc1ca9e534
Refactor the 'fmt ' tag search and parsing
...
Moving the search and parsing of the 'fmt ' info the main loop of wav_read_header() allows tags that precede it to be parsed.
Creating wav_parse_fmt_tag() makes wav_read_header() easier to read.
14 years ago
Alex Converse
13220b1856
flvdec: clenup debug code
14 years ago
Uoti Urpala
29fa570d0c
asfdec: fix possible overread on broken files.
14 years ago
Vladimir Pantelic
69fa23961e
asfdec: do not fall back to binary/generic search
...
asf_read_seek() inside the asf demuxer already does the
right thing, it tries the index and if that fails it uses
binary search. If binary search is called from outside of asfdec.c
it will fail because the asf code cannot clean up after itself.
Therefore introduce AVFMT_NOBINSEARCH that prevents the seek
code to fallback to binary search and AVFMT_NOGENSEARCH that
prevents the seek code to fallback to generic search.
14 years ago
Vladimir Pantelic
b58bc17cf7
asfdec: reindent after previous commit c7bd5ed
14 years ago
Vladimir Pantelic
c7bd5edae4
asfdec: fallback to binary search internally
...
lavf will do that anyway in case seek by index fails
14 years ago
Nicolas George
bec994dff2
Ogg demuxer: give meaningful error codes and warnings.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
14 years ago
Michael Niedermayer
e6e7ba0ce3
Add some forgotten const to function arguments in libavfilter & libavformat.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
f2962ac8ad
Write channel_layout for multichannel aif files.
14 years ago
Carl Eugen Hoyos
6d721f714e
Fix ff_mov_write_chan() so it can be used by other muxers.
14 years ago
Carl Eugen Hoyos
d2549ba9df
Fix some mov files with little endian audio (tickets 201 - 203).
14 years ago
Stefano Sabatini
e280a4da2a
iff/8svx: redesign 8SVX demuxing and decoding for handling stereo samples correctly
...
Make the iff demuxer send the whole audio chunk to the decoder as a
single packet, move stereo interleaving from the iff demuxer to the
decoder, and introduce an 8svx_raw decoder which performs
stereo interleaving.
This is required for handling stereo data correctly, indeed samples
are stored like:
LLLLLL....RRRRRR
that is all left samples are at the beginning of the chunk, all right
samples at the end, so it is necessary to store and process the whole
buffer in order to decode each frame. Thus the decoder needs all the
audio chunk before it can return interleaved data.
Fix decoding of files 8svx_exp.iff and 8svx_fib.iff, fix trac issue #169 .
14 years ago
Stefano Sabatini
d8353256a3
iff: compact code setting metadata tags
...
Ease readability.
14 years ago
Stefano Sabatini
34f590b29b
iff: fix bitrate computation for compressed audio stream
14 years ago
Stefano Sabatini
1af99b0292
iff: distinguish fields for audio and video compression
...
Create separate fields 8svx_compression (for audio compression), and
bitmap_compression (for video compression), and perform minor related
logging tweaks.
Improve clarity, also simplify the case when both types of compression
are employed in the same file.
14 years ago
Carl Eugen Hoyos
d43a6edf7d
Bump minor after adding a caf muxer.
14 years ago
Carl Eugen Hoyos
2c4ad1a37b
Initial caf muxer.
14 years ago
Carl Eugen Hoyos
0c3803f6bb
Support decoding of amr_nb and gsm in caf.
14 years ago
Michael Niedermayer
7b915726eb
udp: remove resource.h inclusion, it breaks mingw compilation.
...
The header seems unneeded, if its needed we will put it back with appropriate #if
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
e60e54ceb5
UDP: dont use thread_t as truth value.
...
Unbreak compile on mingw.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
03f8f39769
udp: switch custom fifo to libavutil fifo.
...
This also allows us to drop the semaphore as our fifo is lock free.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
593bb98d61
udp: use FFMAX&FFMIN.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
JULIAN GARDNER
4275602183
udp: add a thread into udp.c for receiving data into a circular buffer, this stops the problem of live decoding/encoding giving errors.
...
Also added a buf_size which is the number of TS packets that to be allocated for the circular buffer.
14 years ago
Baptiste Coudurier
7e19a6e868
movenc: always write esds descriptor length using 4 bytes.
...
ipod shuffle doesn't support anything else.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Carl Eugen Hoyos
410ca3bc2d
Support Digital Voodoo SD 8 Bit in mov (ticket 195).
14 years ago
ami_stuff
92ccdfb8bf
Support R10g in mov.
14 years ago
Carl Eugen Hoyos
86f2c36c6c
Add 5.1 plus stereo-downmix to mov_channel_layout array.
14 years ago