Michael Niedermayer
f66f3819b9
avformat/bethsoftvid: check 4th header byte in probe
...
Fixes probetest failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
650fd9c004
avformat/avr: check channels and bps in probe
...
Fixes probetest failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
676bc505f7
avformat/utils: disabled debug code to collect format probing statistics
...
This allows collecting statistics on probing scores and the amount of data
probing needed for various files and formats.
For example it can be used to find out which formats tend to need more
data for probing or which files are probed with less certain/lower scores
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Timothy Gu
a7f35afb56
doc: delete viterbi.txt
...
The description has been moved to the FFmpeg wiki:
https://trac.ffmpeg.org/wiki/ViterbiAlgorithm
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
11 years ago
Michael Niedermayer
8cdf4e0823
ffmpeg: remove unneeded include "libswscale/swscale.h"
...
Found-by: ramiro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Marton Balint
c0479f0f06
libzvbi-teletextdec: propagate errors generated in page handler
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Marton Balint
4947b0624b
libzvbi-teletextdec: dont ignore memory allocation error silently
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Marton Balint
3c4b5275b6
libzvbi-teletextdec: output ass subtitles instead of plain text
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Clément Bœsch
199b8fbd09
avfilter/fade: use FADE_OUT macro.
11 years ago
Clément Bœsch
981128c2c1
avfilter/fade: remove a bunch of useless parenthesis.
11 years ago
Clément Bœsch
461e810cfc
avfilter/fade: use inlink->frame_count.
11 years ago
Clément Bœsch
3e1097b909
avfilter/fade: add color option.
...
Fixes Ticket #1822 .
11 years ago
Marton Balint
b96325e023
ass: move text_event_to_ass from textdec.c to ass.c and export it
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Marton Balint
0f0a8d9859
ass: fix error handling in ff_ass_add_subrect
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Marton Balint
f148954b0a
ass: factor out ff_ass_bprint_dialog
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Marton Balint
65fb59abd2
libzvbi-teletextdec: use AVBPrint for whitespace cleanup
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Marton Balint
b689b1f6ee
libzvbi-teletextdec: use option constants instead of strings
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Marton Balint
688652e0d6
libzvbi-teletextdec: fix indentation after last commit
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Marton Balint
a494757b34
libzvbi-teletextdec: support multiple teletext pages in a single packet
...
After this patch, if a packet contains multiple teletext pages, the teletext
decoder can return the fist page and store the remaining pages in memory, and
return them to the user on the next calls to avcodec_decode_subtitle2.
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Michael Niedermayer
78e150c5e9
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
hwaccel: Simplify ff_find_hwaccel
Conflicts:
libavcodec/mpeg12dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
45ef963908
mpegaudioenc: Move some static tables to MpegAudioContext
...
This reduces global state and the amount of globally visible tables.
12 years ago
Diego Biurrun
5d6a990c11
mpegaudioenc: Remove broken integer-only quantization code path
12 years ago
Michael Niedermayer
2fbc759d08
avformat/diracdec: check 2 chunks in probe
...
Fixes probetest failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Luca Barbato
08303d7741
hwaccel: Simplify ff_find_hwaccel
...
It is always called by passing fields from an AVCodecContext.
12 years ago
Michael Niedermayer
023953e964
avformat/astdec: increase the score for odd samplerate/channels to max/8
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
eb96802355
avformat/rsd: increase the score for odd samplerate/channels to max/8
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ef28694d36
avformat/lvfdec: increase the score for odd channels to max/8
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9225ebd50d
avformat/swfdec: return AVPROBE_SCORE_MAX / 4 for unexpected versions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b570835296
avformat/ape: check version in probe
...
Fixes probetest failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Timothy Gu
bc27309591
doc/encoders: fix libfdk-aac "Examples" subsection
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
12 years ago
Michael Niedermayer
1836a42c29
avcodec/vp8: remove unused webp_decode_frame()
...
See: libavcodec/webp.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
59ce62f713
avformat/dv: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Timothy Gu
3853fcd5a9
doc/doxy-wrapper: disable inserting headers and footers
...
The headers and footers are used to integrate Doxygen into Libav's website.
Fixes the Libav-ish look when doing `make apidoc`.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
52268def10
avformat/thp: check fps value during probing
...
Fixes probetest failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
858ef56297
avformat/thp: do not set sample_rate for a video codec
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Ronald S. Bultje
dd3d0f46bd
vp9: fix mvref finding to adhere to bug in libvpx.
...
Fixes a particular youtube video that I unfortunately can't share.
12 years ago
Erik Olofsson
f5bffd3a1a
libavf/avienc: store language metadata for XSUB streams
...
Formatted in such a way that DivX certified players can decode it.
Verified on Sony Playstation 3 and Philips DVP3380.
Fixes ticket 2385
Signed-off-by: Erik Olofsson <eaj.olofsson@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
f591ba60ff
ffmpeg: generate more specific error message in case of inconsistent filtering options
...
In particular, distinguish if the option was -filter or -filter_script.
Suggested-by: Nicolas George
12 years ago
Stefano Sabatini
0f8bdfe3e8
ffmpeg: store value of -filter and -filter_script per-stream option in OutputStream struct
...
Avoid the need for multiple potentially inconsistent access operations,
slightly factorize code.
12 years ago
Michael Niedermayer
ef8f293472
avformat/dv: consider a header match at byte 0 to count as detection of dv in probe
...
This reduces the amount of data needed to identify dv
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e624df5dc3
mpegts: only calculate stat index when its needed during probe
...
40% faster probe
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9825b99eca
avformat/mpegts: do not hardcode type used in memset()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
76a47d66c4
avformat/dv: about 3 times faster probe
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
dbb41f93c1
build: avoid stdin stall with GNU AS probing.
...
a758c5e
added probing for various tools, such as AS. Unfortunately, GNU
AS is reading stdin with -v, and thus configure is stalled with
configure arguments such as --as=as.
Fixes Ticket #1898 .
12 years ago
James Zern
eb7f7b797f
riff: add VP9 fourcc
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
64f4816915
avformat/mp3dec: 4x faster probing
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
557571ff7d
avformat/h261dec: dont accept invalid gobs in probe as valid
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
891f33cc70
avformat/h261dec: optimize probe
...
about 3 times faster
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c79c7ffc9d
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
avienc: drop the vfr flag.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9c52ab6f4f
ffmpeg: treat avi as VFR in framerate conversion code
...
It can be debated if avi is vfr or cfr, it can be either depending
on the definition of vfr and cfr.
This commit ensures that avi is treated correctly independent of
the AVFMT_VARIABLE_FPS value.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago