Michael Niedermayer
97599f8c6d
swr: make sure the last data element is NULL so we can use it to detect the number of channels
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-24 23:19:32 +02:00
Mans Rullgard
5dc7363446
ARM: libswresample: NEON optimised stereo fltp to s16 conversion
...
Adaption to swr by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-24 23:16:14 +02:00
Mans Rullgard
0eebde07a9
ARM: libswresample: NEON optimised flat float to s16 conversion
...
Adapted to swr by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-24 23:16:14 +02:00
Stefano Sabatini
bbe9fe469a
lavf/utils: remove loop on AVERROR(EAGAIN) in av_read_frame()
...
The loop was introduced in 64d340c62a
, and
was likely breaking non blocking reads as it busy loops.
2012-09-24 21:16:48 +02:00
Michael Niedermayer
fd63c2ff0c
fate: fix --disable-ffprobe
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-24 18:20:57 +02:00
Stefano Sabatini
f3bd6fa7a8
lavc/mmvideo: forward reget_buffer return value in mm_decode_frame()
2012-09-24 14:57:49 +02:00
Michael Niedermayer
ff584803b7
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
rtp: Packetization of JPEG (RFC 2435)
smoothstreamingenc: Copy the SAR on the AVStreams as well
Conflicts:
Changelog
libavformat/rtpenc.c
libavformat/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-24 13:54:24 +02:00
Michael Niedermayer
874b9dcc4b
ppc/cpu: make linux 32bit specific altivec detection depend on __linux__
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-24 13:41:48 +02:00
Michael Niedermayer
c75b611a38
configure: enable runtime cpu detect by default.
...
with the exception of libpostproc runtime_cpudetect = no is not
supported thus having no as default really is quite odd, it results in
a libpostproc where HAVE_MMX* have very different meaning from the
rest of ffmpeg and it breaks any x86 cpu that doesnt support mmx2
because mmx2 is hardcoded as a result
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-24 13:17:29 +02:00
Stefano Sabatini
efa3d5af1e
lavc/roqvideodec: fix error message
...
Remove redundant reference to codec name, it is already mentioned in the
log header.
2012-09-24 12:02:38 +02:00
Stefano Sabatini
b1fee1be61
lavc/roqvideodec: propagate reget_buffer() error code
2012-09-24 12:02:31 +02:00
Stefano Sabatini
d2c70ec07f
lavc/roqvideodec: remove useless headers
2012-09-24 12:02:23 +02:00
Stefano Sabatini
d40b197ca8
tests/fate-ffprobe: fix typo in metadata comment
2012-09-24 10:32:52 +02:00
Stefano Sabatini
10c00f7a04
tests/fate-ffprobe: use an ffmetadata file for the injected metadata
...
Workaround commandline msys issues, also allow more flexibility.
Should fix ffprobe tests on mingw+MSVC.
2012-09-24 10:04:44 +02:00
Stefano Sabatini
64d340c62a
lavf/utils: add error check in av_read_frame()
...
In particular, fix crash when the input file contains no packets (e.g. an
ffmeta input).
2012-09-24 00:41:13 +02:00
Michael Niedermayer
127b70e423
ra144: factor division out
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-23 21:12:23 +02:00
Nicolas George
7200fecd9b
cmdutils: sort codec lists.
...
The lists are sorted first by type (video first)
and then alphabetically by name.
Fix ticket #1669 .
2012-09-23 21:05:29 +02:00
Samuel Pitoiset
cee1950bbb
rtp: Packetization of JPEG (RFC 2435)
2012-09-23 21:58:41 +03:00
Martin Storsjö
71908f0838
smoothstreamingenc: Copy the SAR on the AVStreams as well
...
This is required in chained muxers, if the SAR happens to be set.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-23 21:28:58 +03:00
Sebastien Zwickert
f25d53d95f
configure: disable VDA on ppc, fix build
...
Fixes Ticket1760
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-23 17:27:44 +02:00
Reimar Döffinger
033f53fb8f
Document why we always send a Range HTTP header.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-09-23 15:40:17 +02:00
Reimar Döffinger
3905caf251
Document that the MPEG12 "fast" functions can read out of bounds.
...
This is intentional (and a reason why fast usually should not be used),
but a few people sent patches to "fix" this recently so it would be
better to document this.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-09-23 15:40:17 +02:00
Clément Bœsch
2599541b3d
WebVTT demuxer and decoder.
2012-09-23 15:24:08 +02:00
Dmitry Samonenko
697ea4fccf
Introducing speex RTP demuxing (RFC 5574)
...
RTPDynamicProtocolHandler for speex is added. Initial support for
speex depacketization from RTP stream comes with it.
Currently, only codec audio rate can be applied based on sdp:
* Narrowband ( 8K)
* Wideband (16K)
* Ultrawideband (32K)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-23 14:20:13 +02:00
Dmitry Samonenko
b024c41e1e
Add initial support for speex RTP packetization (RFC 5574)
...
* libspeex audio codec is no longer considered unsupported
when using rtp as output format.
* SDP rtpmap is added for speex payload, formatted according to RFC
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-23 14:08:48 +02:00
Michael Niedermayer
fecfdf6e72
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
avcodec: fix memleak in avcodec_encode_audio2()
Conflicts:
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-23 13:55:43 +02:00
Michael Niedermayer
f0bb88e2bc
Revert "http: only send range header when necessary"
...
This reverts commit 48cf0f1c18
.
This can cause problems with seekability detection
2012-09-23 13:21:35 +02:00
Michael Niedermayer
21c4393f1c
lavf/find_stream_info: make sure we decode at least one frame for DTS
...
The channel layout at the demuxer layer is commonly wrong and would
otherwise be used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-23 04:56:51 +02:00
Michael Niedermayer
61a84755a9
lavf: dont open a decoder at the top of find_stream_info before probing has finished
...
It could open the wrong decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-23 04:56:21 +02:00
Duncan Salerno
48cf0f1c18
http: only send range header when necessary
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-23 02:36:08 +02:00
Duncan Salerno
0a8cc1179a
http: larger buffer for long URIs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-23 02:35:42 +02:00
rogerdpack
641c0eea0b
bitmap header lookup: add code comment
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-23 02:12:34 +02:00
Michael Niedermayer
697b476c07
wav: Fix DTS detection
...
Fixes Ticket1474
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-23 01:22:16 +02:00
Michael Niedermayer
a9f522d1b7
lavf: document request_probe properly
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-23 01:22:16 +02:00
Michael Niedermayer
a380f82c53
lavf: allow using request_probe as a score threshold to accept a codec
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-23 01:22:16 +02:00
Stefano Sabatini
740c995288
lavfi: add asendcmd and sendcmd filters
2012-09-23 00:50:06 +02:00
Stefano Sabatini
7fe1ecefe1
lavfi/hue: simplify/fix setting logic in set_options()
...
Parse expression only when a new value is explicitly specified.
In particular, avoid double free in case an old expression value is
cached, it is set in the context, it is freed as the old value, and
finally the pointer stored in the context is freed again when the filter
is released.
2012-09-23 00:46:33 +02:00
Michael Niedermayer
eb949544ca
ffmpeg: fix 10l (use of uninitilaized variable)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-22 22:09:41 +02:00
Michael Niedermayer
374033ee93
ffmpeg: remove now unneeded old *_codec_name code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-22 18:58:51 +02:00
Michael Niedermayer
8ccb56abee
ffmpeg/opt_output_file: extract subtitle codec name through new API
...
This should fix specifying subtitle codecs with the new syntax in some cases.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-22 18:57:47 +02:00
Michael Niedermayer
a4271f3d4e
ffmpeg: dont match unspecified media types in MATCH_PER_TYPE_OPT
...
This would change existing behavior, and should if done, done seperately.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-22 18:56:10 +02:00
Michael Niedermayer
3db4c88ac1
ffmpeg/opt_preset: update to new option API for reading codec names.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-22 18:16:49 +02:00
Michael Niedermayer
bad953bc2d
ffmpeg: fix overriding codecs with the new syntax
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-22 17:56:35 +02:00
Justin Ruggles
0ccf051a9d
avcodec: fix memleak in avcodec_encode_audio2()
...
Ensure that padded_frame is freed before returning when needed.
2012-09-22 09:24:24 -04:00
Michael Niedermayer
8364bde02b
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
sipr: fall back to setting mode based on bit_rate.
Conflicts:
libavcodec/sipr.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-22 14:04:44 +02:00
Michael Niedermayer
79bf1f0ad0
rawdec: fix "warning: assignment from incompatible pointer type"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-22 13:48:40 +02:00
Andrew Wason
225efccefc
lavfi/buffersink: fix check on pixel_fmts in the opaque parameter
...
Fix programmatic selection of accepted pixel formats.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
2012-09-22 10:59:40 +02:00
Stefano Sabatini
ab4ee9fd5e
tests: update fate-ffprobe test to make use of -bitexact flag
...
Should fix tests with --enable-small.
2012-09-22 09:34:56 +02:00
Stefano Sabatini
42047c3e86
ffprobe: reindent after the previous commit
2012-09-22 09:34:56 +02:00
Stefano Sabatini
4cd1addcc4
ffprobe: add -bitexact boolean option
...
The option is mostly useful to make ffprobe output independent from the
build, and in particular to fix FATE --enable-small failures.
2012-09-22 09:34:56 +02:00