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
Stefano Sabatini
b23dea27fd
lavd/sdl: allow to change window size
2013-11-26 18:15:24 +01:00
Stefano Sabatini
0464d272ff
lavd/sdl: move compute_overlay_rect() before event_thread()
...
It will be used in event_thread() in a pending patch.
2013-11-26 18:15:18 +01:00
Stefano Sabatini
7467b4f71b
lavd/sdl: factorize overlay rect size in a separate function
2013-11-26 18:15:12 +01:00
Stefano Sabatini
7de3b1394b
lavd/sdl: add event handler thread
...
SDL_Init() is called on the event handler thread, as required by SDL in
Windows to avoid deadlocks as discovered by Roger Pack.
Fix trac ticket #1743 and #1744 .
2013-11-26 18:14:52 +01:00
Stefano Sabatini
8bf7ea8ac2
cmdutils: remove this_year constant, use CONFIG_THIS_YEAR instead
...
Simplify.
2013-11-26 10:03:32 +01:00
Stefano Sabatini
4c4710a745
configure: define CONFIG_THIS_YEAR at the configure level
...
The macro value can be shared between configure script and cmdutils.c.
2013-11-26 09:54:40 +01:00
Stefano Sabatini
c0f2e07135
lavf/segment: add a few log messages when avio_open2() fails
2013-11-25 19:20:11 +01:00
Stefano Sabatini
5e278c19c7
lavf/segment: add segment_list_entry_prefix option
...
This option allows to add a prefix to the segment list entry filenames.
Also set by default the list entry filenames to the corresponding
segment basename, consistent with the HLS muxer.
Based on an idea by Steven Liu <lingjiujianke@gmail.com >.
2013-11-25 19:12:16 +01:00
Stefano Sabatini
5e1c57f5cb
ffplay: do not call avcodec_register_all() explicitly
...
avcodec_register_all() is implicitly called by av_register_all().
2013-11-25 00:03:20 +01:00
Stefano Sabatini
25c675b5a7
lavd/sdl: do not manually free window_title and icon_title fields
...
They are automatically freed when calling av_write_trailer(). Simplify.
2013-11-24 19:35:36 +01:00
Stefano Sabatini
8446bb33d1
doc/outdevs/sdl: fix confusing text about window_fullscreen default value
2013-11-24 19:35:36 +01:00
Stefano Sabatini
d20241c9b1
ffprobe: remove various useless ","
...
Nitted-By: ubitux
2013-11-22 16:58:24 +01:00
Stefano Sabatini
cbba331aa0
ffprobe: implement string validation setting
...
This should fix trac tickets #1163 , #2502 .
2013-11-22 16:51:56 +01:00
Stefano Sabatini
11cba3ba9d
ffprobe: add support for nested options in writer contexts
2013-11-22 16:51:19 +01:00
Stefano Sabatini
e87190f5d2
ffprobe: check for errors, and abort immediately
...
This allows to make use of validation features.
2013-11-22 16:51:12 +01:00
Stefano Sabatini
68590650f0
lavu/avstring: add av_utf8_decode() function
2013-11-22 16:51:05 +01:00
Stefano Sabatini
e782eea183
lavu/dict.h: extend/clarify docs for av_dict_parse_string()
2013-11-22 15:51:20 +01:00
Stefano Sabatini
320389f88b
lavu/dict.h: apply various fixes/extensions to doxy
...
In particular, document AV_DICT_MATCH_CASE, AV_DICT_IGNORE_SUFFIX, and
extend documentation for av_dict_get().
2013-11-22 15:51:10 +01:00
Stefano Sabatini
e2ad4e65a1
doc/encoders/libfdk_aac: state that VBR support is experimental
2013-11-22 14:55:01 +01:00
Stefano Sabatini
9459569897
doc/encoders/libfdk_aac: fix a few typos
2013-11-22 14:55:01 +01:00
Stefano Sabatini
80c85460fd
doc/encoders/libfdk_aac: use @ref to reference libfaac
2013-11-22 14:45:43 +01:00
Stefano Sabatini
50a28b1393
doc/examples: do not check NULL values for avcodec_close()
...
avcodec_close() does nothing in case the argument is NULL. Simplify.
2013-11-21 23:29:56 +01:00
Stefano Sabatini
98786aa2f0
lavfi/aevalsrc: initialize pointer to expression to NULL
...
Fix crash in case of expression parsing failure.
2013-11-21 23:14:38 +01:00
Stefano Sabatini
80e5859d7a
doc/muxers/segment: remove wrong default indication for segment_list_flags option
2013-11-19 23:24:54 +01:00
Stefano Sabatini
8cd3685a3f
lavfi: add elbg filter
2013-11-13 11:21:57 +01:00
Stefano Sabatini
fe55c31976
lavc/elbg: rename ff_ symbols to avpriv_, so they can be used in shared libs
...
In particular, allows the use of elbg in other FFmpeg libraries, required
by the pending elbg filter.
2013-11-13 11:21:46 +01:00
Stefano Sabatini
f591ba60ff
ffmpeg: generate more specific error message in case of inconsistent filtering options
...
In particular, distinguish if the option was -filter or -filter_script.
Suggested-by: Nicolas George
2013-11-09 19:05:35 +01:00
Stefano Sabatini
0f8bdfe3e8
ffmpeg: store value of -filter and -filter_script per-stream option in OutputStream struct
...
Avoid the need for multiple potentially inconsistent access operations,
slightly factorize code.
2013-11-09 19:05:34 +01:00
Stefano Sabatini
2a6c95d85f
lsws/utils: introduce scale_algorithms array
...
Allow some dumb factorizations, slightly decrease spaghetti factor.
2013-11-05 14:01:53 +01:00
Stefano Sabatini
246e323de8
lsws/utils: fix typo
2013-11-05 00:04:17 +01:00
Stefano Sabatini
988e2e7c1c
lavfi/ladspa: cast return value of av_x_if_null to char*, fix warnings
2013-11-05 00:04:17 +01:00
Stefano Sabatini
535d58959d
ffmpeg: add verbose consistency checks in case of filtering inconsistent options
...
In particular, warn in case -filter and streamcopy is used at the same
time, fix trac ticket #678 .
2013-11-03 18:05:43 +01:00
Stefano Sabatini
cfe7185a92
lavc: remove dead FF_API_OLD_TIMECODE API
2013-11-03 17:58:44 +01:00
Stefano Sabatini
a689560428
lavc: remove dead FF_API_AVCODEC_OPEN API
2013-11-03 17:58:44 +01:00
Stefano Sabatini
d3397c3e82
lavc: remove dead FF_API_ALLOC_CONTEXT API
2013-11-03 17:58:44 +01:00
Stefano Sabatini
90c329cc25
lavc/version.h: remove empty line
2013-11-03 13:13:24 +01:00
Stefano Sabatini
5a6e6dcaa4
lavc: drop deprecated audio_convert API at the next major bump
...
Also make AVCODEC_RESAMPLE API removal depends on its presence, since its
code depends on it as well.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
2013-11-03 13:13:24 +01:00
Stefano Sabatini
2acc525d78
doc/encoders: add libfaac encoder documentation
2013-11-01 12:51:39 +01:00
Stefano Sabatini
d339e03fc3
doc/encoders: document the libfdk-aac wrapper
...
Partially based on the https://trac.ffmpeg.org/wiki/AACEncodingGuide
guide.
2013-11-01 12:51:39 +01:00
Stefano Sabatini
4fdec65eb3
doc/encoders: extend/clarify libtheora encoder documentation
2013-11-01 12:51:39 +01:00
Stefano Sabatini
d4ac3e5934
lavc/mpegvideo_enc: fix typo
2013-10-29 18:36:21 +01:00
Stefano Sabatini
9fa0dccca6
lavc: extend documentation for the "bf" option
2013-10-29 18:30:27 +01:00
Stefano Sabatini
61c1f2cb1e
doc/muxers: add definitory line for the MOV/MP4/ISMV muxer
...
Also rename section name, to match the other ones adopting the muxer name
(rather than the related upcased standard name).
2013-10-29 18:30:27 +01:00
Stefano Sabatini
6baf9c4406
cmdutils: fix expected signature for show_colors() function
...
Fix warning:
In file included from ffprobe.c:2557:0:
cmdutils_common_opts.h:17:5: warning: initialization from incompatible pointer type [enabled by default]
cmdutils_common_opts.h:17:5: warning: (near initialization for ‘real_options[16].u.func_arg’) [enabled by default]
Spotted-by: Paul B Mahol
2013-10-28 09:41:25 +01:00
Stefano Sabatini
5b53dd0803
doc/encoders: replace @xref with @ref command
...
@xref is ignored by texi2pod.
2013-10-27 15:32:25 +01:00
Stefano Sabatini
d3aa04b150
doc/protocols/rtp: apply misc fixes
...
Partially suggested-by Burek Pekaric <burek021@gmail.com >.
2013-10-27 12:44:48 +01:00
Stefano Sabatini
4e268285aa
cmdutils: add -colors option
2013-10-27 09:18:45 +01:00
Stefano Sabatini
d61617a523
lavu/parseutils: add av_get_known_color_name()
2013-10-27 09:16:05 +01:00
Stefano Sabatini
b4991292aa
doc: add a few links to the Channel Layout syntax section
2013-10-25 15:44:12 +02:00
Stefano Sabatini
a3505136f9
doc/utils: document channel layout specification
2013-10-25 15:44:04 +02:00
Stefano Sabatini
af1c538850
doc/Makefile: fix man pages uninstall path
...
Fix trac ticket #3054 .
2013-10-24 21:19:52 +02:00
Stefano Sabatini
ff9d11f95d
lsws: use av_pix_fmt_get_chroma_sub_sample()
...
Remove duplicated getSubSampleFactors() function. Simplify.
2013-10-24 08:12:38 +02:00
Stefano Sabatini
ddaf33f5bb
ffprobe: fix consistency checks in parse_read_intervals()
...
Move array size assert after the count increment, and avoid strchr() NULL
dereference on p.
Should fix FFmpeg coverity issue #1108581 .
2013-10-21 13:33:06 +02:00
Stefano Sabatini
f6b56b1f26
lavd/fbdev: use av_str2err() macro for printing error messages
...
In particular fix wrong strerror(ret) with a negative value, and avoid
the use of non thread-safe strerror().
2013-10-18 23:38:54 +02:00
Stefano Sabatini
8efed29937
MAINTAINERS: add my name to a few entries
2013-10-18 23:02:34 +02:00
Stefano Sabatini
904c89ac1b
lswr/swresample: convert ocl and icl options to AV_OPT_TYPE_CHANNEL_LAYOUT
...
Improve interface flexibility. In particular makes it possible to set
channel layout through symbolic names using the av_opt_set() interface.
2013-10-17 18:09:54 +02:00
Stefano Sabatini
8696e51baf
lavu/opt: add AV_OPT_TYPE_CHANNEL_LAYOUT and handler functions
...
The new type is compatible with AV_OPT_TYPE_INT64, but allows to specify
channel layouts using the format accepted by av_get_channel_layout().
2013-10-17 18:09:29 +02:00
Stefano Sabatini
d96e377c39
lavu/channel_layout: change av_get_channel_layout() behavior at the next bump
...
The new syntax is preferred since it allows backward syntax compatibility
with libswr when switching to the new option handling code with
AV_OPT_TYPE_CHANNEL_LAYOUT.
With the new parser the string:
1234
is interpreted as a channel layout mask, rather than as a number of
channels, and thus it's compatible with the current way to set a channel
layout as an integer (e.g. for the icl and ocl options) making use of
integer option values.
ff_get_channel_layout() with compat=0 will be used in the
AV_OPT_TYPE_CHANNEL handler code.
The user is encouraged to switch to the new forward compatible syntax,
which requires to put a trailing "c" when specifying a layout as a number
of channels.
2013-10-17 18:03:09 +02:00
Stefano Sabatini
b236eb49e1
lavu/opt.h: fix grammar typo in av_opt_get* doxy
2013-10-17 18:03:03 +02:00
Stefano Sabatini
98e7c1eed5
lavu/opt-test: use automatic set and free handlers
...
In particular, do not set default string value by hand and use
av_opt_free() to free context.
2013-10-17 18:02:54 +02:00
Stefano Sabatini
1120fd7852
lavf/segment: simplify logic and fix !=0 check on segment_end return value
...
A successfull return value can be > 0.
2013-10-15 15:17:22 +02:00
Stefano Sabatini
3b9f8e7cd9
lavf/segment: simplify segment_count update
...
Now segment_count mark the segment_count of the current segment.
2013-10-15 14:55:48 +02:00
Stefano Sabatini
f02bab6d09
doc/filters/scale: do not explicitly state the default swscale flags value
...
This is done is order to avoid the need of synching scale with libswscale
docs in case the libswscale default changes.
2013-10-11 16:40:20 +02:00
Stefano Sabatini
515e651f56
lavu/opt: fix doxy for av_opt_get* functions about return value
...
Success code must be >= 0 and not == 0, consistently with the
implementation.
2013-10-04 16:36:27 +02:00
Stefano Sabatini
719b4eef5d
lavu/common: add warning to GET_UTF8 doxy
...
Should prevent wrong uses, or at least decrease their chance.
2013-10-04 16:36:27 +02:00
Stefano Sabatini
f5b27b6d5f
ffprobe: print stream channel_layout when available
...
Fix trac ticket #3006 .
2013-10-03 09:19:38 +02:00
Stefano Sabatini
8fafaf1834
doc: move sws_dither option description to scaler.texi
...
That's the more proper place where the scaler options should be
documented.
2013-09-30 16:54:46 +02:00
Stefano Sabatini
d17aaad630
doc/filters/scale: mention and link scaler options
2013-09-30 16:50:44 +02:00
Stefano Sabatini
fd0a1647f2
doc/filters/scale: fix MAN rendering of @ref arguments
2013-09-30 16:43:33 +02:00
Stefano Sabatini
7bac6e5cf8
ffprobe: fix uninitialized variable warning
...
Fix warning:
ffprobe.c:1684:21: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized] end = start + interval->end;
The warning is a false positive, since the variable is accessed only if
has_start is set, and in that case start has been already set.
2013-09-23 14:16:34 +02:00