Stefano Sabatini
1575a96b3a
lavu/opt: factorize setting of format values from string
...
Simplify incoming patch.
2013-12-26 11:35:27 +01:00
Stefano Sabatini
e2b54464c6
lavu/opt: fix range check logic in set_format()
...
In particular, allow to reject undefined values. Previously the code
was only accepting values in the range -1 .. NB_FORMATS-1.
2013-12-26 11:35:26 +01:00
Stefano Sabatini
baeda2bf92
lavfi/volume: fix NULL reference in filter_frame()
...
Fix crash.
2013-12-25 19:13:23 +01:00
Stefano Sabatini
1b4da43ce0
doc/protocols/tcp,lavf/tcp: apply minor fixes to TCP protocol documentation
2013-12-25 18:42:26 +01:00
Stefano Sabatini
702d9a23b3
lavf/tcp: honor listen option value in a tag
...
Consistent with what is done in udp.c, allow to explicitly disable listen
with listen=0.
2013-12-25 18:42:20 +01:00
Stefano Sabatini
b80cf46090
doc/protocols/udp,lavf/udp: apply minor documentation fixes
2013-12-25 18:42:15 +01:00
Stefano Sabatini
ca0d8e839e
lavfi/volume: extend volume logging
2013-12-25 18:26:34 +01:00
Stefano Sabatini
97aa554634
lavfi/volume: implement process_command() callback, with the volume command
...
Address trac ticket #2868 .
2013-12-25 18:25:53 +01:00
Stefano Sabatini
7619a87cc8
lavfi/volume: support volume expression and per-frame expression evaluation
...
The eval mode allows to evaluate the expression per-frame or just at
init.
In particular, address ticket #3234 .
2013-12-25 18:25:04 +01:00
Stefano Sabatini
129ce05b02
tools/zmqsend: rename ctx to zmq_ctx
...
The new name is more explicit.
2013-12-23 18:44:52 +01:00
Stefano Sabatini
dd00f9cac3
tools/zmqsend: use valid NULL log context
...
The zmq context is not a valid log context. Fix crash.
2013-12-23 18:44:52 +01:00
Stefano Sabatini
d055a1395c
lavfi/hue: show first decimal value of saturation
2013-12-20 19:25:42 +01:00
Stefano Sabatini
028d8dd367
lavfi/hue: use av_clip_uint8() instead of av_clip_uint8_c()
...
The generic version should be faster if optimized.
2013-12-20 19:13:42 +01:00
Stefano Sabatini
70e74e0072
lavfi/hue: force table initialization for the first frame
2013-12-20 19:13:42 +01:00
Stefano Sabatini
aeccb522eb
lavf/concatdec: fix crash in case a file in script cannot be opened
2013-12-18 15:14:58 +01:00
Stefano Sabatini
8937af7b6f
lavf/segment: increase logging level for message with segment start information
...
Help debugging.
2013-12-18 15:14:58 +01:00
Stefano Sabatini
1d6666a6b8
ffserver: extend report_config_error() facilities, and use it for warnings
2013-12-16 19:19:04 +01:00
Stefano Sabatini
9985710a5a
ffserver: add stream Metadata option
...
Also deprecate Author, Comment, Copyright, and Title options, and update
docs to use the new Metadata option.
2013-12-16 19:18:45 +01:00
Stefano Sabatini
33f10fa657
ffserver: fix spacing typoin error message
2013-12-16 18:30:21 +01:00
Stefano Sabatini
e3eb0988c6
lavu/dict.h: extend/clarify av_dict_get() doxy
2013-12-16 18:30:04 +01:00
Stefano Sabatini
023693d786
lavfi/buffersrc: set min and max values for pix_fmt option
...
Currently the min and max values are not honored, but this will change in
a following patch.
2013-12-16 18:08:17 +01:00
Stefano Sabatini
b2a4316287
examples/decoding_encoding: check av_samples_get_buffer_size() for a negative value
...
Fix broken != 0 check.
2013-12-15 20:09:26 +01:00
Stefano Sabatini
81eff6e7a2
doc/muxers/tee: add example showing second level escaping
2013-12-15 20:04:06 +01:00
Stefano Sabatini
2364b4031d
doc/muxers/tee: use @ref to reference other sections
2013-12-15 20:04:06 +01:00
Stefano Sabatini
d37d4b6e40
lavf/mux: improve feedback in case of no streams in muxer
2013-12-15 20:04:06 +01:00
Stefano Sabatini
de9ea40a40
doc/bitstream_filters: remove mp3_header_decompress filter
...
It was removed in commit c6080d8900 .
2013-12-14 21:47:51 +01:00
Stefano Sabatini
66a703ea01
ffprobe: only show tags when explicitly requested
2013-12-14 13:22:04 +01:00
Stefano Sabatini
2cfe70ff3e
lavf/movenc: return meaningful error code from mov_write_header()
2013-12-14 13:21:58 +01:00
Stefano Sabatini
54c596fe7a
lavf/movenc: improve feedback in case of unsupported codec
2013-12-14 13:21:51 +01:00
Stefano Sabatini
65a3429e7a
ffprobe: add cosmetical empty line
2013-12-13 09:42:15 +01:00
Stefano Sabatini
93f0882725
ffserver: improve error feedback in case of av_write_frame() error
2013-12-13 09:42:15 +01:00
Stefano Sabatini
bed4eeab33
MAINTAINERS: remove ffserver maintainership status notice
...
Privately approved by Baptiste.
2013-12-13 09:42:15 +01:00
Stefano Sabatini
8f1edc73a8
lavfi: rename asrc_aevalsrc.c to aeval.c
...
The file now contains both source and filter, the new name looks more
appropriate.
2013-12-06 10:57:28 +01:00
Stefano Sabatini
e424abc3a0
lavfi: add aeval filter
2013-12-06 10:57:26 +01:00
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.
2013-12-06 10:51:12 +01:00
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.
2013-12-06 10:40:38 +01:00
Stefano Sabatini
704cc5e75d
ffprobe: free shared writer context on exit
...
Fix leak.
Spotted-by: Michael Niedermayer
2013-12-03 21:27:14 +01:00
Stefano Sabatini
6ca0ac5e55
doc/ffserver: remove spurious NoAudio option from stream example
2013-12-02 23:52:24 +01:00
Stefano Sabatini
d5d51cf04d
lavfi/volume: support all channel counts
2013-12-02 23:52:24 +01:00
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.
2013-12-02 15:21:52 +01:00
Stefano Sabatini
893f33e7f0
doc/examples/filtering_audio: fix style
2013-12-02 15:08:00 +01:00
Stefano Sabatini
c7a99d99bd
doc/examples/filtering_video: do not make use of AVBufferSinkParams
...
Set the value on the filter context instead. Simplify.
2013-12-02 14:35:40 +01:00
Stefano Sabatini
3aa6018010
doc/examples/filtering_video: add some error handling in init_filters()
2013-12-02 14:35:39 +01:00
Stefano Sabatini
a12bf9f50f
doc/examples/README: fix typo
2013-12-02 14:35:39 +01:00
Stefano Sabatini
55c57658d2
doc/examples/filtering_audio: add more error checks
2013-12-02 14:35:39 +01:00
Stefano Sabatini
82e74ee6e4
doc/examples/filtering: make use of av_err2str()
...
Simplify.
2013-12-02 14:35:31 +01:00
Stefano Sabatini
4d028f9280
doc/ffserver: fix misc minor typos
2013-12-01 20:24:49 +01:00
Stefano Sabatini
f2f17dd874
doc/ffserver: clarify documentation for Feed MaxFileSize option
2013-11-30 14:47:26 +01:00
Stefano Sabatini
8209dd332f
doc/ffserver: clarify that note in NoDaemon option documentation
2013-11-30 14:46:53 +01:00
Stefano Sabatini
b58161d6b6
ffserver: print error code description in case of write_header() failure
...
Improve feedback.
2013-11-30 14:35:33 +01:00
Stefano Sabatini
889509d241
doc/ffserver: add "Detailed description" chapter
...
Also move FFM section up in the file, and rename it.
2013-11-30 14:35:33 +01:00
Stefano Sabatini
0bacc320c2
doc/ffserver: remove more mentions to LAME and build
2013-11-30 14:35:33 +01:00
Stefano Sabatini
73b8730475
ffserver: improve error feedback in case of write_header() failure
2013-11-29 12:11:39 +01:00
Stefano Sabatini
b133ec6244
ffserver: improve feedback in case no feed is defined for a stream
2013-11-29 12:11:34 +01:00
Stefano Sabatini
0083514727
ffserver: improve feedback in case of stream with unknown feed name
2013-11-29 12:11:28 +01:00
Stefano Sabatini
0d640c08eb
doc/ffserver: specify missing argument for ACL feed option
2013-11-29 10:28:03 +01:00
Stefano Sabatini
6dac34b853
doc/ffserver: fix RTSPOtion tpo
...
Spotted-by: ubitux
2013-11-29 10:28:03 +01:00
Stefano Sabatini
98e47c1a7e
doc/ffserver: extend documentation for Feed/File stream options
2013-11-29 10:28:03 +01:00
Stefano Sabatini
0e64edda18
doc/ffserver: uncomment line in stream section example
2013-11-29 10:28:03 +01:00
Stefano Sabatini
cdff4c5313
doc/ffserver: reorder encoding options, and mark them as such
...
Also add notice about ffmpeg -override_ffserver option.
2013-11-29 10:28:03 +01:00
Stefano Sabatini
f87e189ee0
doc/ffserver: extend documentation for various file-related options
2013-11-29 10:28:03 +01:00
Stefano Sabatini
b1049f89fa
ffserver: deprecate inconsistent parsing behavior of Truncate option
...
Also make it accept the more consistent behavior (boolean option set to
true when specified).
2013-11-29 10:28:03 +01:00
Stefano Sabatini
0124fca03f
ffserver: extend feedback in http_start_receive_data()
2013-11-29 10:28:03 +01:00
Stefano Sabatini
d1daa71f9d
doc/ffserver: mention remaining stream options
2013-11-29 00:04:17 +01:00
Stefano Sabatini
f652f70e32
doc/ffserver: move general stream options upwards in the list
2013-11-29 00:04:17 +01:00
Stefano Sabatini
a42c20f089
doc/ffserver: reorder/extend stream video encoding options
2013-11-29 00:04:17 +01:00
Stefano Sabatini
b9a3ac89c8
doc/ffserver: fix bitrate unit for bitrate option
2013-11-29 00:04:17 +01:00
Stefano Sabatini
ab89d2dd2a
ffserver: fix typo in comment: defaut -> default
2013-11-28 23:13:46 +01:00
Stefano Sabatini
6aea3d597e
doc/ffserver: add notice about re-launch behavior
2013-11-28 23:13:46 +01:00
Stefano Sabatini
2a0349786a
doc/ffserver: document InputFormat stream option
2013-11-28 23:13:45 +01:00
Stefano Sabatini
77f5cb92af
ffserver: factorize code setting ReadOnlyFile/File options
2013-11-28 23:13:45 +01:00
Stefano Sabatini
0e1e5d0053
ffserver: improve error feedback in open_input_stream()
2013-11-28 23:13:45 +01:00
Stefano Sabatini
ddab41995f
ffserver: drop stream AudioQuality option
...
It has no effect, and it was never documented.
2013-11-28 23:13:45 +01:00
Stefano Sabatini
4f60d53b18
ffserver: add comment about how Launch path program is created
2013-11-28 23:13:45 +01:00
Stefano Sabatini
7cbbc4f7e7
ffserver: extend error handling when parsing the configuration file
...
In particular, abort immediately in case of memory error, avoid potential
crashes.
2013-11-28 23:13:45 +01:00
Stefano Sabatini
04702a0d3d
ffserver: add some error handling to main()
2013-11-28 23:13:45 +01:00
Stefano Sabatini
58010e57b2
doc/ffserver: fix documentation for CustomLog
2013-11-28 20:17:15 +01:00
Stefano Sabatini
805b607484
doc/ffserver: extend documentation for VideoBitRateRange
2013-11-28 20:17:10 +01:00
Stefano Sabatini
bcbf8920ed
doc/ffserver: clarify/extend documentation about status streams
2013-11-28 20:17:00 +01:00
Stefano Sabatini
312d075e5d
doc/ffserver: move ACL syntax section before the global option sections
2013-11-28 20:16:53 +01:00
Stefano Sabatini
4e39962f0c
doc/ffserver: document "Launch" feed option
2013-11-28 20:16:46 +01:00
Stefano Sabatini
07315da149
doc/ffserver: fix documentation for -n option
...
Launch option is defined in the Feed section.
2013-11-28 18:59:29 +01:00
Stefano Sabatini
1ee9341a70
doc/ffserver: extend documentation for CustomLog option
2013-11-28 18:59:21 +01:00
Stefano Sabatini
2121945770
doc/ffserver: fix RTPS -> RTSP ttypo
...
Spotted-by: lazy ubitux
2013-11-28 17:28:27 +01:00
Stefano Sabatini
b89983c4ea
doc/ffserver: clearly specify whence ffserver reads the configuration file
2013-11-28 17:28:22 +01:00
Stefano Sabatini
bb097d037c
doc/ffserver: add notice about case-insensitiveness
2013-11-28 17:13:40 +01:00
Stefano Sabatini
e79f299caf
doc/ffserver: remove tip about MaxBandwidth
...
Should be redundant now that the option is documented.
2013-11-28 17:13:35 +01:00
Stefano Sabatini
398479050e
doc/ffserver: specify default value for Preroll
2013-11-28 17:13:27 +01:00
Stefano Sabatini
2989281d4d
doc/ffserver: document NoDaemon deprecated option
2013-11-28 17:03:09 +01:00
Stefano Sabatini
0003379926
doc/ffserver: improve rendering for -n option text
2013-11-28 17:03:09 +01:00
Stefano Sabatini
6dc90334e3
doc/ffserver: remove "What can this do?" section
...
The section shows only a limited use case, contains only redundant
information, and various mysterious mentions about things which don't
work correctly.
2013-11-28 17:03:09 +01:00
Stefano Sabatini
80193a12e0
doc/ffserver: use @command{} for specifying ffserver
2013-11-28 17:03:09 +01:00
Stefano Sabatini
39192b76f8
doc/ffserver: remove more pointless/outdated entries
...
Mentioning build options, or bugs, or mysterious limitations should not
be done in the manual.
2013-11-28 17:03:08 +01:00
Stefano Sabatini
15f2cac018
doc/ffserver: remove outdated troubleshoot entry about audio
2013-11-28 10:19:12 +01:00
Stefano Sabatini
f7fbb7ac99
ffserver: clarify feedback in case of wrong AVOptionAudio/Video error
2013-11-28 10:19:03 +01:00
Stefano Sabatini
c4a03ac3b8
doc/ffserver: document configuration syntax
...
While still incomplete, this is better than nothing at all.
2013-11-28 10:18:55 +01:00
Stefano Sabatini
6b58488f92
doc/ffmpeg: use @command{} for programs mentioned in -override_ffserver
2013-11-27 15:48:19 +01:00
Stefano Sabatini
8adaee56c4
ffserver: factorize opt_audio/video_codec
...
Simplify.
2013-11-27 15:48:19 +01:00
Stefano Sabatini
7043311969
lavd/sdl: add delay when no events are found in the event queue
...
Avoid busy loops and decrease CPU usage.
Suggested-By: Roger Pack
2013-11-26 18:38:48 +01:00
Stefano Sabatini
35349bbb97
lavd/sdl: apply misc cosmetics to options
2013-11-26 18:15:58 +01:00