Stefano Sabatini
9a1963fbb8
ffprobe: reindent after the previous commit
2012-07-15 16:27:22 +02:00
Stefano Sabatini
5626e812d2
ffprobe: only decode frame if the codec is available
...
Fix crash when a stream codec is unknown, in particular fix trac
ticket #1243 .
2012-07-15 15:57:11 +02:00
Stefano Sabatini
fda968aa8f
lavfi: decrease logging level of message showing initial parameters
...
Reduce log clutter, consistent with 1a49a169eb
.
2012-07-15 15:07:03 +02:00
Carl Eugen Hoyos
a1e52c9441
Simplify ptx decoding on big-endian.
...
Reviewed-by: Reimar Döffinger
2012-07-15 15:04:44 +02:00
Piotr Bandurski
a8ff7e3f96
riff: Assign U263 FourCC to CODEC_ID_H263
2012-07-15 14:55:05 +02:00
Piotr Bandurski
96e2507363
isom: add "NO16" FourCC
...
samples:
http://www.datafilehost.com/download-46d9a0fa.html
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-15 14:49:32 +02:00
Piotr Bandurski
198c4ea200
riff: add dvis/pdvc FourCCs
...
samples:
http://www.datafilehost.com/download-4b49270d.html
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-15 14:49:32 +02:00
Michael Niedermayer
209f92d94a
lavc: add seperate AVCodec for CODEC_ID_H263P so demuxers can use that id.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-15 14:49:32 +02:00
Piotr Bandurski
8d0ec6e060
isom: add "MNG" FourCC
...
sample:
http://www.datafilehost.com/download-92da395c.html
Reviewed-by: compn <tempn@twmi.rr.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-15 14:49:32 +02:00
Ronald S. Bultje
b4675d0fbf
configure: Check for CommandLineToArgvW
...
The actual result of the check isn't used anywhere (since we
use this function unconditionally within #ifdef _WIN32), but it
makes sure we explicitly link to shell32 (which is linked in
implictly on mingw).
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-15 14:03:53 +03:00
Mashiat Sarker Shakkhar
082829520e
vc1dec: Do not use random pred_flag if motion vector data is skipped
...
This fixes SA10143.vc1 from test-suite. Also partially fixes MC-VC1.ts
from videolan streams archive.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-15 14:02:38 +03:00
Martin Storsjö
25f056e6d4
vp8: Enclose pthread function calls in ifdefs
...
This fixes building with threads disabled.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-15 13:55:18 +03:00
Paul B Mahol
2c31ed3330
exr: make channel_offsets int instead of int8_t
...
Prior to this change max number of channels for float data which was
going to be correctly decoded was 32, which is rather small
considering that exr allows multiple channel layers.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-07-15 02:53:51 +00:00
Paul B Mahol
1463bd902a
cosmetics: reindent after d3abbb1d1
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-07-15 02:31:40 +00:00
Paul B Mahol
a8f6df8a4f
libfdk-aacenc: remove redundant log message if ff_alloc_packet2 fails
...
The whole point of ff_alloc_packet2 is to not bloat code with
duplicated error messages.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-07-15 02:19:48 +00:00
Ronald S. Bultje
c44091a9f7
snow: refactor code to work around a compiler bug in MSVC.
...
This fixes the compiler error "cannot convert from 'BlockNode' to
'int16_t'".
2012-07-14 19:19:34 -07:00
Martin Storsjö
a794600c00
vp8: Include the thread headers before using the pthread types
...
This was unnoticed on linux, since stdlib.h apparently includes
files declaring the pthread_mutex_t and pthread_cond_t types.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-07-14 19:19:33 -07:00
Paul B Mahol
6ad4560031
mss1: improve check if decoded pivot is invalid
...
The pivot has to lie between 0 and base.
Check of ==base is insufficient.
Thus replace it by a proper check.
Fixes out of array write.
Fixes bug #1531 .
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-07-15 02:12:02 +00:00
Michael Niedermayer
ab46300078
Merge remote-tracking branch 'dwbuiten/master'
...
* dwbuiten/master:
doc: Remove stray @item from git-howto
libfdk-aac: Port to ff_alloc_packet2
doxy: move av_guess_sample_aspect_ratio to correct place
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-15 03:40:19 +02:00
Michael Niedermayer
39afcf1d7e
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
eval: add gt(), gte(), lt() and lte() fate tests
eval: fix swapping of lt() and lte()
imgconvert: deprecate avcodec_find_best_pix_fmt()
imgconvert: add avcodec_find_best_pix_fmt2()
imgconvert: avoid undefined left shift in avcodec_find_best_pix_fmt
Conflicts:
libavcodec/imgconvert.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-15 01:23:16 +02:00
Ronald S. Bultje
39d18f21a5
configure: Check for getaddrinfo in ws2tcpip.h, too
...
This function is only available in the headers if unconditionally
targeting a version >= XP. It is not strictly necessary, since we
try loading these functions dynamically at runtime on windows in
the fallback, but this makes things a bit faster and more
straightforward.
On mingw32, this function isn't visible by default, while it is
on mingw64 (on both 32 and 64 bit).
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-15 02:19:34 +03:00
Philip Langdale
2c501ae82b
movtextdec: 3GPP TS 26.245 Timed Text Decoder.
...
This change introduces a basic decoder for 3GPP Timed Text subtitles,
also known as TX3G, Quicktime subtitles, or "movtext" in the existing
code.
This initial change doesn't attempt to parse styling information,
and just reads the plain text of the subtitles. I intend to add
support for styles eventually, but it's challenging due to a lack
of existing players that support them.
Signed-off-by: Philip Langdale <philipl@overt.org>
2012-07-14 14:50:02 -07:00
Daniel Kang
951455c1c1
vp8: implement sliced threading
...
Testing gives 25-30% gain on HD clips with two threads and
up to 50% gain with eight threads.
Sliced threading uses more memory than single or frame threading.
Frame threading and single threading keep the previous memory
layout.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-07-14 20:18:54 +02:00
Daniel Kang
17343e3952
vp8: move data from VP8Context->VP8Macroblock
...
In preparation for sliced threading.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-07-14 20:18:54 +02:00
Daniel Kang
337ade52de
vp8: refactor decoding a single mb_row
...
This is in preperation for sliced threading.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-07-14 20:18:54 +02:00
Luca Barbato
45ff9e5b57
doc: update api changes with the right commit hashes
2012-07-14 20:07:25 +02:00
Luca Barbato
f3e5e6f05b
mem: introduce av_malloc_array and av_mallocz_array
...
Both function ease allocating large arrays implementing the overflow
check inside it.
2012-07-14 20:07:25 +02:00
Michael Niedermayer
57d5a224ce
mp3enc: add lame tag with start padding info
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-14 17:20:22 +02:00
Nicolas George
7b521c52c4
ffmpeg: add -progress option.
...
It allows to send program-friendly (easy to parse)
progress information to a file or an URL.
2012-07-14 14:51:18 +02:00
Janne Grunau
2d497c141d
eval: add gt(), gte(), lt() and lte() fate tests
2012-07-14 13:43:10 +02:00
Nicolas George
3aba391fb5
libx264: list possible presets and tunes.
...
The values are listed if setting them fails.
Using "-preset help" or "-preset list" have that effect.
2012-07-14 13:37:50 +02:00
Max Lazarov
caac3ab6ef
eval: fix swapping of lt() and lte()
...
CC: libav-stable@libav.org
2012-07-14 13:33:25 +02:00
Stefano Sabatini
160df9797e
lavc/tiffenc: apply misc doxy fixes
2012-07-14 13:02:51 +02:00
Stefano Sabatini
6c3b3cfd90
ffprobe: add frame metadata printing
2012-07-14 13:02:51 +02:00
Thomas Kühnel
75abfab6c6
lavc/tiff: add GeoTIFF support to the TIFF decoder
...
Work done for SOCIS 2011.
See thread:
Subject: [libav-devel] [PATCH 2/3] tiff: Add GeoTIFF support to the TIFF decoder
Date: Tue, 4 Oct 2011 00:19:52 +0200
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
2012-07-14 13:02:38 +02:00
Stefano Sabatini
fb57180698
lavc/avcodec.h: keep avframe_* field setter and getter close
...
Slightly more readable, now that the list is getting longer.
2012-07-14 13:02:25 +02:00
Thomas Kühnel
f49ec1b404
lavc: add metadata to AVFrame
...
See thread:
Subject: [libav-devel] [PATCH 1/3] avcodec: add metadata to AVFrame
Date: Tue, 4 Oct 2011 00:19:51 +0200
2012-07-14 13:00:18 +02:00
jamal
2090e40410
configure: Check that texi2html supports --init-file
...
Fixes ticket #1515
2012-07-14 11:47:15 +02:00
jamal
d48f014ff1
doc/Makefile: Add missing $(HOSTEXESUF) to print_options
2012-07-14 11:47:09 +02:00
jamal
3e03f8d8b2
build: Fix documentation dependencies and rules
2012-07-14 11:47:01 +02:00
Stefano Sabatini
bd58f00ec1
doc/filters: prefer "special" over "magic" for special input/output labels
2012-07-14 11:40:08 +02:00
Stefano Sabatini
b65ccce866
doc/filters: update documentation
...
In particular, assume existence of audio and sink filters.
2012-07-14 11:39:31 +02:00
Stefano Sabatini
5a6c7a218c
doc: merge libavfilter.texi into filters.texi
...
There is no much point into splitting documentation for filters. Also
having a separate document for a library is inconsistent.
2012-07-14 11:38:53 +02:00
Michael Niedermayer
825e1e2437
ffmpeg: use pkt_pts before pkt->pts for audio
...
This fixes the timestamp of the first packet when samples have been skiped.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-14 04:24:40 +02:00
Michael Niedermayer
744bd8d08c
ffmpeg: set pkt_timebase
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-14 04:24:00 +02:00
Michael Niedermayer
aa32971d2b
lavc: adjust timestamp in case of skiping initial samples
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-14 03:49:41 +02:00
Michael Niedermayer
2fe186409b
lavc: skip initial silence when requested
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-14 03:49:11 +02:00
jamal
0f03563d7e
lavc/w32pthreads: Fix make checkheaders.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-14 03:02:03 +02:00
Stefan Gehrer
e98330df90
movenc: write track header transformation matrix depending on "rotate" metadata
...
should fix ticket #505
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-14 02:57:11 +02:00
Paul B Mahol
bc0ef29cf0
exr: fix scan_line_size calculation
...
This one will also work in cases when file have channels
we are not going to use.
Only compressed files where affected by this bug.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-07-13 23:48:50 +00:00