Michael Niedermayer
8d5078c10b
ac3probe: Change threshold from 500 to 200 to keep in sync with mp3.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b51eaf3b8c
mp3probe: Detect mp3 stronger with just 200 frames, this should speed up detection
...
on mp3 streams.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mashiat Sarker Shakkhar
8aa831c07b
Implement revert_mclms() and associated functions
13 years ago
Mashiat Sarker Shakkhar
bf8715719a
Fix two more int16_t vs. int confusion
...
If everything works fine for 16-bit streams,
the current code could be extended to do 24-bit.
13 years ago
Miroslav Slugeň
06d7325ab1
rtpdec: Add support for G726 audio
...
This requires using a separate init function, since there
isn't necessarily any fmtp lines for this codec, so
parse_sdp_a_line won't be called. Incorporating it with the
alloc function wouldn't do either, since it is called before
the full rtpmap line is parsed (where the sample rate is
extracted).
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
2583660664
rtpdec: Add an init function that can do custom codec context initialization
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
dd32a305bd
wmall: fix return type of dump_int_buffer()
...
Found-by: Dominique Leuenberger
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4710993800
movenc: memset(0) new cluster elements after realloc()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
dae7ff0416
wmall: remove tabs that leaked in from a merge and seem to have
...
managed to silently bypass the push checks.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
7bb3e62594
avconv: make copy_tb on by default.
...
I.e. on streamcopy set output codec timebase from input stream timebase
(as opposed to input codec timebase). This should be more sane, because
since the stream is not decoded, the input codec tb has no relation to
the timestamps of the copied packets.
13 years ago
Anton Khirnov
c98c1f434e
matroskadec: don't set codec timebase.
...
It's not supposed to be set outside of lavc.
13 years ago
Anton Khirnov
d3e3ffa501
rmdec: don't set codec timebase.
...
It's not supposed to be set outside of lavc.
Set r_frame_rate instead.
13 years ago
Anton Khirnov
741a05a293
avconv: compute next_pts from input packet duration when possible.
13 years ago
Anton Khirnov
2092232581
lavf: estimate frame duration from r_frame_rate.
...
If r_frame_rate is set, it should be more reliable for this than either
codec or stream timebase.
13 years ago
Anton Khirnov
91b412e786
avconv: update InputStream.pts in the streamcopy case.
...
This was broken in 2a651b719c
.
13 years ago
Joseph Wecker
b55dd10d62
Fix typeo in some rarely used memoization
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Joseph Wecker
d31c68a7ed
removes spurious warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c40a35f8a7
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
indeo3: check per-plane data buffer against input buffer bounds.
avconv: Handle audio sync for non-S16 sample formats.
pthread: don't increment index on zero-sized packets.
Conflicts:
libavcodec/indeo3.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jean First
23b4f355bb
ffmpeg.c use b:v for video bitrates using a target
...
it's more consistent to use -b:v instead of just -b
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
b6ffe441cd
ffmpeg: do not use a negative total_size (AVERROR) in bitrate estimation.
13 years ago
Mashiat Sarker Shakkhar
be8a0d26db
Init s->cdlms[][].recent to order - 1
...
Not sure if this is correct. But looks like
it was giving us off-by-one's when used to index
buffers.
13 years ago
Mashiat Sarker Shakkhar
6dd19c97c4
Add a size argument to dump_int_buffer()
13 years ago
Mashiat Sarker Shakkhar
81a3c67169
Get rid of logging that are not required anymore
...
(Resolves some conflicts)
13 years ago
Mashiat Sarker Shakkhar
e6c66fcf68
Fix some int vs. int16_t confusion
...
Size should be determined from bits per sample.
The current code only accepts 16-bit streams.
13 years ago
Reimar Döffinger
7076967786
Consistently use %ifdef ARCH_X86_64
...
One out of 3 places used ifndef, which is needlessly confusing.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Aneesh Dogra
464ccb0144
indeo3: check per-plane data buffer against input buffer bounds.
...
Fixes : http://bugzilla.libav.org/show_bug.cgi?id=102
Signed-off-by: Alex Converse <alex.converse@gmail.com>
13 years ago
root
551b9eb9ef
docs: Spelling fixes to 9 texi files from /doc
...
credits to: Violet Lin (from Google Code-in)
Signed-off-by: burek <burek021@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
root
b0a90c2004
faq.texi: fix spelling errors
...
credits to: Philip (from Google Code-in)
Signed-off-by: burek <burek021@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
root
aadbf9f74c
developer.texi: fix spelling errors
...
credits to: KayC (from Google Code-in)
Signed-off-by: burek <burek021@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
root
1c212a6465
general.texi: fix spelling errors
...
credits to: Samuel M (from Google Code-in)
Signed-off-by: burek <burek021@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4b4a02b847
lavc: dont call set_dimensions() on h264 codec init.
...
This fixes ffprobe showing an incorrect width with
http://panda-test-harness-videos.s3.amazonaws.com/panda.mp4
Idea-by: Joakim Plate <elupus@ecce.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
81a65b82fb
swr: handle correctly muted channel with u8 sample fmt.
13 years ago
Geek.Song
9cdf048ad2
movenc: Remove unneeded chunkSize field from MOVIentry
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
313d30c180
avutil: revert project name messing
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6ffdc262b0
ac3enc: clenaup project name in one comment
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Alex Converse
fdab793a46
avconv: Handle audio sync for non-S16 sample formats.
...
Also fix reporting of the number of samples added/dropped.
13 years ago
Aaron Colwell
39a7a5b8ab
pthread: don't increment index on zero-sized packets.
...
The next call to decode() will update from an invalid index, which will
either lead to a memcpy() where dest==src (2 threads), or lead to a
crash (>2 threads).
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Michael Niedermayer
fc09bf57a6
movenc: Write file with minimal number of chunks for the given interleaving.
...
Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4dcd1a3145
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
adtsenc: Check frame size.
txd: Fix order of operations.
APIchanges: fill in some blanks
timer: fix misspelling of "decicycles"
Eliminate pointless 0/NULL initializers in AVCodec and similar declarations.
indeo3: cosmetics
md5proto: Fix order of operations.
dca: Replace oversized unused get_bits() with skip_bits_long().
Conflicts:
doc/APIchanges
libavformat/mmsh.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Alex Converse
ac47e014bb
adtsenc: Check frame size.
...
Inspired by work from: Michael Niedermayer <michaelni@gmx.at>.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
13 years ago
Alex Converse
a27805189b
txd: Fix order of operations.
13 years ago
Mans Rullgard
b94a3b288e
APIchanges: fill in some blanks
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
4b03d96022
ffv1dec: use PIX_FMT_0RGB32 when there is no transparency plane
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2027d073ae
ffv1dec: transparency plane support.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
492aab8589
ffv1enc: PIX_FMT_0RGB32 support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f7b160e829
ffv1enc: Store transparency plane.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
60084a1723
timer: fix misspelling of "decicycles"
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
ae5873f13b
huffyuvenc: switch from alphaless rgb32 to rgb24
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
fbe6e29646
ffprobe: print codec timecode if available.
13 years ago
Clément Bœsch
b1ca5634fd
mpeg12: raise timecode to codec context.
13 years ago