Anton Khirnov
3b3bbdd3e6
lavf,lavd: replace av_new_stream->avformat_new_stream part I.
...
Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
13 years ago
Anton Khirnov
569129a6dc
lavf: add avformat_new_stream as a replacement for av_new_stream.
...
It takes a codec parameter, thus enabling codec-specific defaults.
13 years ago
Carl Eugen Hoyos
891f76b0a8
Fix AMR block length for no data mode when muxing mov.
...
Fixes ticket #550 .
This had been analyzed and reported by Igor Levin, igor d levin comverse com
13 years ago
Kostya Shishkov
0d8506b8c5
Ut Video decoder
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Michael Niedermayer
be401448e5
mov: Raise ctts dts_shift threshold by 1
...
This fixes issue2246neu.mp4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Chris Kennedy
c108a4aa1e
fix memleak in packet corrupt dropping code
14 years ago
Michael Niedermayer
c4e02d3432
avidec: Dont switch to NI mode if there is no index.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
39f6733f05
Do not try to parse empty strf tags.
14 years ago
Derek Buitenhuis
1de357d6da
libutvideo: Add Ut Video Decoder Wrapper
...
Add a wrapper for libutvideo's decoder.
This supports decoding the following FOURCCs:
ULY0 - 4:2:0 YCbCr
ULY2 - 4:2:2 YCbCr
ULRG - RGB
ULRA - RGBA
Also, bump version.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Martin Storsjö
51369f2891
rtsp: Expose the flag options via private AVOptions for sdp and rtp, too
...
This allows setting the filter_src option for these demuxers, too,
which wasn't possible at all before (where the option only was set
via URL parameters for RTSP).
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
3a6765fb5d
rtsp: Make the rtsp flags avoptions set via a define
...
This helps sharing these options with the sdp and rtp demuxers.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
9f938ca5e6
rtpenc: Set a default video codec
...
avconv doesn't map video streams to a muxer without specifying a
manual stream mapping if the default video codec is CODEC_ID_NONE.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
2e69dd66b6
rtp: Fix ff_rtp_get_payload_type
...
It was broken in 3b3ea34655
"Remove all uses of deprecated AVOptions API", where any
presence of a payload_type AVOption caused its value to
be returned, even if it wasn't set (and thus had the default
-1 value).
This caused the RTP muxer to be broken.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
9867aea524
rtsp: Remove the separate filter_source variable
...
Read it as a flag from the flags field instead.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
eca4850c6d
rtsp: Accept options via private avoptions instead of URL options
...
Eventually, the old way of passing options by adding
stuff to the URL can be dropped.
This avoids having to tamper with the user-specified URL to
pass options on the transport mode. This also works better
with redirects, since the options don't need to be parsed out
from the URL.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
2c9aa0247d
rtsp: Simplify AVOption definitions
...
Use defines for shortening common parts, omit the .dbl named
initializer (since it's the first element in the union).
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
17fff881e7
rtsp: Merge the AVOption lists
...
This eases adding options that are common for both. The
AV_OPT_FLAG_EN/DECODING_PARAM still indicates whether they belong
to the muxer or demuxer.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Michael Niedermayer
0556eee43f
segmenter: loose rindex()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Alex Converse
ab2940691b
avio: Check for invalid buffer length.
14 years ago
Anton Khirnov
5a9ee3152b
mpegenc/mpegtsenc: add muxrate private options.
...
Deprecate AVFormatContext.mux_rate.
14 years ago
Anton Khirnov
c10731e78b
lavf: deprecate AVFormatContext.file_size
...
It's too unreliable to be useful. avio_size() should be called instead.
14 years ago
Raivo Hool
f055635313
mov: add support for TV metadata atoms tves, tvsn and stik
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Clément Bœsch
539399d4d1
AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.
14 years ago
Michael Niedermayer
dbd117240a
segment: Fix typo in segment_basename
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
5cdcc44e41
segment: replace strdup() by av_strdup()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
74dbb5388e
av_tempfile: Pass int log_offset, void *log_ctx
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
9329d36a3a
cache: add todo list
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
02b651a7e3
cache: Fallback to using the cache size for AVSEEK_SIZE if the underlaying protocol has nothing better.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
e9f62a8b2b
add cache protocol
...
This allows backward seeking on top of some non seekable streams.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
55d44578c6
Support decoding ASP variant from QNAP Systems.
...
Fixes part of ticket #560 .
14 years ago
Michael Niedermayer
2eaa55375b
asf: export all the DRM stuff, some of it are human readable strings.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
6322a31df3
asf: dont warn the user about digital sigantures, they should on their own not cause failure.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
410c06d2f3
asf: export encryption information from asf.
...
This way user apps can choose to skip such content.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
647ec6fc03
bit: require at least 1 frame for probing
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
658c5209fb
idf: Improve idf_probe() so it doesnt succeed on 0 byte input
14 years ago
Carl Eugen Hoyos
5a563c6319
Support H264 from QNAP Systems.
14 years ago
Ronald S. Bultje
723229c11f
matroskadec: fix out of bounds write
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Alex Converse
7ad06beb2c
mov: 10l: Terminate string with 0 not '0'
14 years ago
Alex Converse
8fb22c3d47
mov: Prevent illegal writes when chapter titles are very short.
14 years ago
John Brooks
2c4e08d893
riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_header
...
The cbSize field should be included in all cases, even with PCM where
its value is ignored.
Fixes encoding PCM audio in Matroska for some players which insist on
a full WAVEFORMATEX structure for A_MS/ACM audio.
Since fate uses wav files for the audio test a larger number of tests
has changed checksums or shifted positions due to the 2 byte longer
wave header.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Diego Biurrun
c4a378855e
id3v2: reduce the scope of some non-globally-used symbols/structures
14 years ago
Diego Biurrun
3b78c180e4
id3v2: cosmetics: move some declarations before the places they are used
14 years ago
Justin Ruggles
e32dfdaa8d
shn: do not allow seeking in the raw shn demuxer.
...
The demuxer does not read the seektable, a parser is not possible without a
full decode, and no shorten decoder can handle random seeking because it needs
side info from the seektable.
14 years ago
Justin Ruggles
b631fba936
avformat: add AVInputFormat flag AVFMT_NO_BYTE_SEEK.
...
This will prevent seeking by bytes for formats that cannot handle this.
14 years ago
Justin Ruggles
050e20aee6
avformat: update AVInputFormat allowed flags
14 years ago
Justin Ruggles
0041cdba98
avformat: don't unconditionally call ff_read_frame_flush() when trying to seek.
...
This prevents flushing the packet buffer when the input format does not
support seeking.
14 years ago
Reimar Döffinger
e91230a589
Improve PVA probe function.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Nicolas George
c722c88eb6
libmodplug: remove mathematical constants now redundant.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mohamed Naufal
4d518f1230
g723.1: use raw muxer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Luca Barbato
13c9958751
segment: extend options
...
let set an alternate path for the segment files.
14 years ago