Timothy Gu
c65fe9e982
examples/decoding_encoding: check av_samples_get_buffer_size() return code
...
Fixes CID1135756.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
11 years ago
Timothy Gu
b242c156e5
examples/resample_audio: check av_samples_get_buffer_size() return code
...
Fixes CID1135757.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
11 years ago
Clément Bœsch
b02d87936b
examples/demuxing_decoding: print the decoding error when it happens.
11 years ago
Even Wiik Thomassen
43f116d162
examples/demuxing_decoding: return error when no codec found
...
The open_codec_context function, when it fails to find a codec, now
return AVERROR(EINVAL) to signal an error.
Before it would return the stream index, which was always >= 0, and
continue as if a codec was found. This change make it fail faster,
instead of repeated failed tries to decode frames with no codec.
Signed-off-by: Even Wiik Thomassen <e.thomassen@sportradar.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
11 years ago
Lou Logan
d546a59a81
docs/outdevs: add a few simple ALSA examples
11 years ago
Anton Khirnov
d7b3ee9a3a
lavc: deprecate avcodec_get_frame_defaults().
...
Also bump libavcodec micro and add an APIchanges entry saying that
av_frame_* should now be used instead of the lavc AVFrame functions.
11 years ago
Anton Khirnov
eb891b3114
Replace all uses of avcodec_free_frame with av_frame_free().
11 years ago
Carl Eugen Hoyos
aae5c4d40e
doc: Fix adelay example.
...
Fixes ticket #3211 .
11 years ago
Lenny Wang
64f73acd1d
cmdutils & opencl: add -opencl_bench option to test and show available OpenCL devices
...
Reviewed-by: Wei Gao <highgod0401@gmail.com>
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Vittorio Giovara
7e244c6860
avframe: add codec-independent stereoscopic metadata
11 years ago
Stefano Sabatini
e424abc3a0
lavfi: add aeval filter
11 years ago
Stefano Sabatini
405b3eb535
lavfi/aevalsrc: duplicate last expression for the missing channels
...
Use last expression for the missing channel expressions in case the
channel layout was specified. Enhance flexibility.
11 years ago
Stefano Sabatini
5b073da7a1
doc: add script to compute texi files dependencies
...
Replace the inline awk script with a Perl script which tracks the
dependencies recursively.
This allows to correctly track dependencies for files including files
with a second level include (for example: ffmpeg-devices.texi ->
devices.texi -> outdevs.texi).
This also adds a dependency on perl for computing the dependencies, which
should not be a problem since perl is already required all the way for
building documentation.
This is a variant of commit 628ceac652
which was reverted due to out-of-tree build failure.
11 years ago
Michael Niedermayer
210a78aeb5
doc/examples/filtering_audio: init packet0.data
...
Fixes use of uinitialized data and crash
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stefano Sabatini
6ca0ac5e55
doc/ffserver: remove spurious NoAudio option from stream example
11 years ago
Stefano Sabatini
c490cd4c1a
doc/examples/filtering_audio: fix chunked audio decoding
...
Support the case when multiple frames are contained in a single packet.
In particular, fix fate-samples/lossless-audio/luckynight-partial.shn
sample decoding.
11 years ago
Stefano Sabatini
893f33e7f0
doc/examples/filtering_audio: fix style
11 years ago
Stefano Sabatini
c7a99d99bd
doc/examples/filtering_video: do not make use of AVBufferSinkParams
...
Set the value on the filter context instead. Simplify.
11 years ago
Stefano Sabatini
3aa6018010
doc/examples/filtering_video: add some error handling in init_filters()
11 years ago
Stefano Sabatini
a12bf9f50f
doc/examples/README: fix typo
11 years ago
Stefano Sabatini
55c57658d2
doc/examples/filtering_audio: add more error checks
11 years ago
Stefano Sabatini
82e74ee6e4
doc/examples/filtering: make use of av_err2str()
...
Simplify.
11 years ago
Stefano Sabatini
4d028f9280
doc/ffserver: fix misc minor typos
11 years ago
Diego Biurrun
7b05845b15
doc: Try to find nonstandard Perl path from the environment
11 years ago
Timothy Gu
82b2e9cb1d
build: rename version.h to libavutil/ffversion.h
...
Also the libavutil/ffversion.h will be installed.
Rationale:
* Applications might want to know FFmpeg's version besides the individual
libraries'.
* Avoids file name clash between FFmpeg's ./version.h and lib*/version.h when
a library source file includes both and is compiled on an out-of-tree build.
Fixes #1769 .
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stefano Sabatini
f2f17dd874
doc/ffserver: clarify documentation for Feed MaxFileSize option
11 years ago
Stefano Sabatini
8209dd332f
doc/ffserver: clarify that note in NoDaemon option documentation
11 years ago
Stefano Sabatini
889509d241
doc/ffserver: add "Detailed description" chapter
...
Also move FFM section up in the file, and rename it.
11 years ago
Stefano Sabatini
0bacc320c2
doc/ffserver: remove more mentions to LAME and build
11 years ago
Stefano Sabatini
0d640c08eb
doc/ffserver: specify missing argument for ACL feed option
11 years ago
Stefano Sabatini
6dac34b853
doc/ffserver: fix RTSPOtion tpo
...
Spotted-by: ubitux
11 years ago
Stefano Sabatini
98e47c1a7e
doc/ffserver: extend documentation for Feed/File stream options
11 years ago
Stefano Sabatini
0e64edda18
doc/ffserver: uncomment line in stream section example
11 years ago
Stefano Sabatini
cdff4c5313
doc/ffserver: reorder encoding options, and mark them as such
...
Also add notice about ffmpeg -override_ffserver option.
11 years ago
Stefano Sabatini
f87e189ee0
doc/ffserver: extend documentation for various file-related options
11 years ago
Stefano Sabatini
d1daa71f9d
doc/ffserver: mention remaining stream options
11 years ago
Stefano Sabatini
f652f70e32
doc/ffserver: move general stream options upwards in the list
11 years ago
Stefano Sabatini
a42c20f089
doc/ffserver: reorder/extend stream video encoding options
11 years ago
Stefano Sabatini
b9a3ac89c8
doc/ffserver: fix bitrate unit for bitrate option
11 years ago
Stefano Sabatini
6aea3d597e
doc/ffserver: add notice about re-launch behavior
11 years ago
Stefano Sabatini
2a0349786a
doc/ffserver: document InputFormat stream option
11 years ago
Stefano Sabatini
58010e57b2
doc/ffserver: fix documentation for CustomLog
11 years ago
Stefano Sabatini
805b607484
doc/ffserver: extend documentation for VideoBitRateRange
11 years ago
Stefano Sabatini
bcbf8920ed
doc/ffserver: clarify/extend documentation about status streams
11 years ago
Stefano Sabatini
312d075e5d
doc/ffserver: move ACL syntax section before the global option sections
11 years ago
Stefano Sabatini
4e39962f0c
doc/ffserver: document "Launch" feed option
11 years ago
Stefano Sabatini
07315da149
doc/ffserver: fix documentation for -n option
...
Launch option is defined in the Feed section.
11 years ago
Stefano Sabatini
1ee9341a70
doc/ffserver: extend documentation for CustomLog option
11 years ago
Stefano Sabatini
2121945770
doc/ffserver: fix RTPS -> RTSP ttypo
...
Spotted-by: lazy ubitux
11 years ago
Stefano Sabatini
b89983c4ea
doc/ffserver: clearly specify whence ffserver reads the configuration file
11 years ago