Clément Bœsch
7b78cb3a70
lavc/g729postfilter: fix make checkheaders.
13 years ago
Clément Bœsch
1308fa42ad
lavf/swf: fix make checkheaders.
13 years ago
Clément Bœsch
64ff8a7670
lavfi: rename all_channel_layouts.h to all_channel_layouts.inc.
...
all_channel_layouts.h is not a real header file and breaks make checkheaders.
13 years ago
Clément Bœsch
f8f3deb731
lavfi/transform: fix make checkheaders.
13 years ago
Clément Bœsch
cb9aed10f7
lavd/dshow: fix make checkheaders.
13 years ago
Clément Bœsch
d1562d32cf
lavd/dshow: protect header.
13 years ago
Michael Niedermayer
96ac8663de
af_aresample: Consider the swresample delay during calculating timestamps.
...
The difference from this should be pretty small.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4def5d2b64
swr: add swr_get_delay() to find the exact delay the swresampler introduces.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6ba692f8a7
af_aresample: fix rounding that led to sample accumulation in the buffers.
...
This fixes a regression that apparently was missed when switching to the
in af resampler
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
39885a4bd7
avconv: reindent
13 years ago
Anton Khirnov
74b961db77
avconv: replace -vsync cfr code with the fps filter.
...
Invented timestamps for the h264 tests return to something resembling
sanity.
In the idroq-video-encode test when converting 25 fps -> 30 fps the
fifth frame gets duplicated instead of the sixth.
13 years ago
Anton Khirnov
755cd4197d
mov: enable parsing for VC-1.
...
This makes lavf discard broken timestamps for non-B frames in
samples/isom/vc1-wmapro.ism.
13 years ago
Anton Khirnov
54c5dd89e3
lavfi: Add fps filter.
...
Partially based on a patch by Robert Nagy <ronag89@gmail.com>
13 years ago
Anton Khirnov
7b3b24a8ee
lavfi: initialize pts to AV_NOPTS_VALUE when creating new buffer refs.
13 years ago
Anton Khirnov
0ad26cdf24
avconv: add support for audio in complex filtergraphs.
13 years ago
Diego Biurrun
90c9edba58
doc: Replace some @file tags by more suitable markup.
13 years ago
Diego Biurrun
1afc278994
fate: Set FUZZ factor of vorbis-13 test to 2.
...
This is necessary to account for different rounding done in the 3DNow!
Assembly optimizations.
13 years ago
Diego Biurrun
4cc8e15371
fate: Set FUZZ factor of (e)ac3-encode test to 3.
...
This is necessary to account for different rounding done in the 3DNow!
Assembly optimizations.
13 years ago
Nicolas George
c0c2424f73
fate: ffprobe tests require SAMPLES.
13 years ago
Mans Rullgard
ab5c38ec45
fate: remove unused code from regressions-funcs.sh
...
The only uses of the do_avconv_nomd5() function were removed in
85cf49f
.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
ae1ab8265b
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: put aspect ratio info to the VideoPicture struct
ffplay: use AVFrame::width and height instead of using codec or filter settings
ffplay: use stream sample_aspect_ratio if available in source frames
ffplay: fix video_thread when no frame is returned in get_video_frame
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
db6ef054f5
af_aresample: 10l fix, wrong timebase for next_pts.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
17d4233c9c
lavfi/aevalsrc: reindent after the previous commit
13 years ago
Stefano Sabatini
e1a8df70a2
lavfi/aevalsrc: add option channel_layout
...
Allow to explicitly specify the channel layout to select.
13 years ago
Stefano Sabatini
cfde7395b1
lavfi/aevalsrc: remove limitation on the number of channels
13 years ago
Stefano Sabatini
47ef261288
lavu/parseutils: fix specification for av_parse_time()
13 years ago
Michael Niedermayer
de2cfb744a
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
pcmenc: set correct bitrate value
avprobe: don't print format entry name when only one was requested
Conflicts:
ffprobe.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
847943bc51
aresample: add code to flush the internal swr buffer.
...
Inspired-by code from af_resample.c written by Anton Khirnov
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b3e1b95afa
aresample: check return code of swr_convert()
...
Issue found by comparing af_resample.c and af_aresample.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
4b7304e80d
rtmp: Don't assume path points to a string of nonzero length
...
If using the new -rtmp_app and -rtmp_playpath parameters,
one can in many cases set the main url to just rtmp://server/.
If the trailing slash is omitted, path is a string of zero length,
and using path+1 will end up reading uninitialized data.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
01e98b1b00
avconv: fix behavior with -ss as an output option.
...
Don't return from poll_filters() immediately, there may be other frames
and/or other streams to handle.
Fixes a memleak.
13 years ago
Clément Bœsch
a99a3b1bb3
ffmpeg: automatically insert volume filter when -vol is used.
...
Deprecate -vol.
Inspired by asyncts auto-insert patch from Anton Khirnov.
13 years ago
Michael Niedermayer
22a3a5ee0c
ffmpeg: use av_buffersrc_add_frame() for audio too
...
fixes a memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
dc2e051c4f
Merge branch 'audio-filters' of https://github.com/ubitux/FFmpeg
...
* 'audio-filters' of https://github.com/ubitux/FFmpeg :
lavfi/pan: add supported sample rates to avoid a crash.
ffmpeg: do not warn when expecting EOF from lavfi.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b13d39bd81
av_aresample: Allow changing sample format and channel layout as well
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a0493be10e
swresample: set the default parameters to "none"
...
this way it can easily be detected when parameters have not been set
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
5dbd66395a
lavfi/pan: add supported sample rates to avoid a crash.
13 years ago
Clément Bœsch
1bca73cf18
ffmpeg: do not warn when expecting EOF from lavfi.
13 years ago
Michael Niedermayer
7d12109542
ffmpeg: fix ;;
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3ae64dc48f
avfiltergraph: use aresample not aconvert in the alternative merge code.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e3c6b61263
af_aresample: support all swresample parameters.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
47c2e52bc6
af_aresample: fix typo in query formats
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ac87c273a6
src_buffer: propagate errors from copy_buffer_ref()
...
Fixes a null ptr deref
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3c0013213e
ffmpeg: move audio timestamp roundup code.
...
This fixes a regression which lead to non monotone timestamps
at the end of a file.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
7d7b40f48a
pcmenc: set correct bitrate value
...
This fixes a bogus bitrate value in the header of WAV files with
alaw/ulaw audio.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
fc49f22c3b
ffmpeg: add support for audio filters.
...
Some of the FATE changes are due to off-by-one different rounding being used
(lrintf vs av_rescale_q).
Some fate changes are due to 1 audio frame less being encoded (the new variant seems
matching what qatar does and according to ffprobe its closer to the requested duration)
the mapchan feature sadly is lost in this commit because it depends on resampling
being done in ffmpeg.c which is now moved completely into the av filter layer
-async is broken after this commit, this will be fixed in subsequent commits
the new filter reconfiguration system is flawed and will drop a frame on each
parameter change which is why the nelly moser checksums need updating.
Conflicts:
ffmpeg.c
tests/ref/fate/smjpeg
13 years ago
Michael Niedermayer
dfa988ee5e
libavfilter: src_buffer: add time_base for audio
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
aa69db3abf
libavfilter: src_buffer: fix planar audio
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
664f0aac62
libavfilter: src_buffer, use only aresample, not aconvert.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
13fdb35535
src_buffer: fix query_formats_audio()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago