Arne de Bruijn
b2f230e23d
mpegpsdec: fix reading first mpegps packet
13 years ago
Laurent Aimar
140dbcff35
Avoid NULL dereference on corrupted bitstream with real decoder.
rv34_decode_slice() can return without allocating any pictures.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
d788af6cf6
Reject slices that does not have the same type than the first one in RV10/RV20 decoder.
This prevents crashes with some corrupted bitstreams.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
eac673d506
timecode: relicense to LGPLv2+ with permission of Baptiste and ubitux.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9a9ceb8776
Merge remote-tracking branch 'qatar/master'
* qatar/master:
lavfi: add select filter
oggdec: fix out of bound write in the ogg demuxer
movenc: create an alternate group for each media type
lavd: add libcdio-paranoia input device for audio CD grabbing
rawdec: refactor private option for raw video demuxers
pcmdec: use unique classes for all pcm demuxers.
rawdec: g722 is always 1 channel/16kHz
Conflicts:
Changelog
configure
doc/filters.texi
libavdevice/avdevice.h
libavfilter/avfilter.h
libavfilter/vf_select.c
tests/ref/lavf/mov
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
979bea1300
check all svq3_get_ue_golomb() returns.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a64b028aeb
h264dec: Dont display trash before a keyframe.
Fixes Ticket472
This may (or may not) cause problems with files that have no keyframes.
Plese open a bugreport or mail me if you have a file for which this fails.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
35f38b3ab9
rv34: check for size mismatch
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
d763fb7d47
lavfi: add select filter
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Laurent Aimar
a5dc990a4e
Fix buffer size used for MC of B frames after a resolution change in the real decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
0e7efb9d23
oggdec: fix out of bound write in the ogg demuxer
Between ogg_save() and ogg_restore() calls, the number of streams
could have been reduced.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Laurent Aimar
4907f81358
Reject audio tracks with invalid interleaver parameters in RM demuxer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
352c878de6
Fix js_vlc_bits value validation when joint stereo is used in cook decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
9a0a64cb26
Fix potential overreads in rv34 decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
7574cacbd5
movenc: create an alternate group for each media type
Partially fixes bug 44.
13 years ago
Anton Khirnov
e417d80d28
lavd: add libcdio-paranoia input device for audio CD grabbing
13 years ago
Anton Khirnov
85d982f1e2
rawdec: refactor private option for raw video demuxers
pixel_format/video_size only apply to 'rawvideo' (==uncompressed) demuxer
and make no sense for the other raw (== containerless) demuxers. Keep
only the framerate option for those.
Also use unique classes for all raw video demuxers
13 years ago
Anton Khirnov
34d2bf30a0
pcmdec: use unique classes for all pcm demuxers.
13 years ago
Anton Khirnov
d906f49aa8
rawdec: g722 is always 1 channel/16kHz
13 years ago
Michael Niedermayer
bfadca1faf
mjpegdec: print nb_components too in pict debug info
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b002184fa1
mjpegdec: make sure we dont interpret things after the bitstream buffer as resync marker
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
d93a448be3
graph2dot: show timebase information for audio links
13 years ago
Stefano Sabatini
db79d04173
af_aresample: do not request a buffer with AV_PERM_REUSE2 permissions in filter_samples()
That was pointless. Simplify.
13 years ago
Michael Niedermayer
b6c04b6821
mjpegdec: Remove buggy avid hacks, they dont do anything good with any file i found
Fix multi plane jpeg
Fixes ticket471
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
93869d4e44
Merge remote-tracking branch 'qatar/master'
* qatar/master:
libx264: introduce slice-max-size option
Fixed size given to init_get_bits().
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5c5306df96
lavf/utils: rewrite real fps calculation code.
The new code is free of biasing to the first timestamps
Fixes fraps.fps.test.zip
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
e3fc0e8280
lavdev/lavfi: reindent after the last commit
13 years ago
Stefano Sabatini
4893c204c8
lavdev/lavfi: add audio support
13 years ago
Mina Nagy Zaki
3ee0bedcc0
lavfi: refactor query_formats and auto-insert audio conversion filters
Behaviour has been changed to fail negotiation if fields have been
left empty.
Patch was originally based on a patch by Hemanth.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
14 years ago
Stefano Sabatini
37cc443c83
lavfi: add audio convert filter
Add aconvert filter to perform sample format, channel layout, and
packing format conversion.
The aconvert code depends on audio conversion code in libavcodec, so
this requires a dependency on libavcodec.
Based on previous work by S.N. Hemanth Meenakshisundaram and Mina Nagy
Zaki, performed for the GSoC 2010 and 2011.
14 years ago
Stefano Sabatini
553c5e9f23
lavfi: add and use an inlink variable in avfilter_config_links()
Simplify expressions, improve readability.
13 years ago
Stefano Sabatini
71c644ceda
lavfi: set link audio time_base if not set in avfilter_config_links()
The set value depends on the input link, or on the sample_rate value.
Avoids the need to explicitely set the time_base value.
13 years ago
Daniel Kristjansson
4460b81f9e
mxfenc: Add support for MPEG-2 MP@HL-14 in mxf container
Support Main Profile at High 1440 Level in MXF container,
using essence coding label from SMPTE RDD 9, table 6.
13 years ago
Luca Barbato
3a78fb57de
libx264: introduce slice-max-size option
Yet another option useful for low latency streaming.
13 years ago
Clément Bœsch
8af64e1a67
ffprobe: fix crash with -h.
13 years ago
Clément Bœsch
9eb1c94713
doc: fix x264_opts/x264opts typo.
13 years ago
Ramiro Polla
6613db9736
dshow: remove filters from graph before releasing them
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
a1644f6287
dshow: reset list for each filter removed
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
215e197942
dshow: invert condition to avoid leaking objects
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
dd41036a4c
dshow: cleanup internal references on capture interface
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
0b951d103d
dshow: release pin on disconnect
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
c7807eeb78
doc: add documentation for dshow indev
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
01b997b958
dshow: indent
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
0883a7fa3b
dshow: add option to list audio/video options
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
c4b2027d10
dshow: add audio/video options
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
d0da310317
dshow: initialize variable to prevent releasing random data
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Ramiro Polla
ee4ed80485
dshow: factorise cycling through pins
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Michael Niedermayer
41215fdeb3
libavfilter/formats.c: fix compile of test
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cfe4e8c220
bintext: make decoder names unique
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3ac4f444e2
bintext: set buffer hints
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago