Stefano Sabatini
8331d56e0d
doc/filters: fix typo in "@end table."
...
Remove erroneously added trailing dot.
2012-08-05 17:50:59 +02:00
Stefano Sabatini
8d6f46ab2c
doc/filters: add mandelbrot source documentation
...
Address trac ticket #1492 .
2012-08-05 15:45:55 +02:00
Stefano Sabatini
9bece76009
lavf/img2dec: add start_number_range option
2012-08-05 15:45:48 +02:00
Stefano Sabatini
b907655303
examples/muxing: drop duplicated code in add_video_stream()
2012-08-05 15:36:38 +02:00
Stefano Sabatini
74c6db0505
doc/demuxers.texi: avoid comma splice in image2 documentation
...
Add "and" proposition for connecting two sentences.
2012-08-05 00:47:55 +02:00
Stefano Sabatini
b0d23ae208
lavf/img2doc: document options
2012-08-05 00:47:48 +02:00
Stefano Sabatini
b5c7318bd7
lavf/img2dec: improve error logging in case of find_image_range() failure
2012-08-05 00:38:17 +02:00
Stefano Sabatini
2dfee8abf1
lavf/img2dec: sort options by name
2012-08-05 00:38:16 +02:00
Stefano Sabatini
48c1d1d3fa
lavf/img2dec: introduce and use FIRST_INDEX_SEARCH_RANGE macro in find_image_range
2012-08-05 00:38:16 +02:00
Stefano Sabatini
07ef7b1a30
lavf/img2dec: fix out-of-range check in find_image_range()
...
Take the new parameter start_index into account.
2012-08-05 00:38:05 +02:00
Stefano Sabatini
59e4e40673
lavf/img2dec: doxygen find_image_range() function
2012-08-05 00:38:05 +02:00
Stefano Sabatini
e408e329d2
lavf/img2dec: rename find_image_range() "max_start" parameter to "start_index"
...
The new name seems more consistent with the assumed logic.
"start_index" represents the minimum accepted value as first index, and
not the maximum value as implicitely assumed by the previous name.
2012-08-05 00:37:39 +02:00
Stefano Sabatini
a30e776ff1
lavf/img2dec: fix weird start_number count logic
...
This seems consistent with the assumed meaning of the option.
2012-08-05 00:26:48 +02:00
Stefano Sabatini
66747a6160
examples/muxing: simplify alloc_picture()
...
Use avpicture_alloc() high level function.
2012-08-05 00:26:39 +02:00
Stefano Sabatini
44bd69e9b9
lavc/utils: rename ff_init_buffer_info() pic parameter to frame
...
The new name is more expressive, given that the frame is not necessarily
a picture but may be an audio frame.
2012-08-03 16:28:18 +02:00
Stefano Sabatini
b99381e8b5
lavc/utils: generalize ff_init_buffer_info() and use it when seems feasible
...
Extend ff_init_buffer_info() to init audio frames as well as video
frames.
Avoid code duplication.
2012-08-03 16:28:12 +02:00
Stefano Sabatini
39a8275fdf
lavfi: move color filter to testsrc, factorize
2012-08-03 16:26:58 +02:00
Stefano Sabatini
aa5b93fbd8
lavfi/rgbtestsrc: use ff_fill_rgba_map() rather than a local copy
...
Also convert int rgba_map[4] to uint8_t rgba_map[4], as required by
ff_fill_rgba_map().
Simplify.
2012-08-02 12:32:48 +02:00
Stefano Sabatini
3bcde3f06c
lavfi/drawutils: make ff_draw_color() accept a const rgba map
2012-08-02 12:32:48 +02:00
Stefano Sabatini
65520f5933
lavfi/video: remove duplicated function ff_null_start_frame_keep_ref()
...
Semantic for the function ff_null_start_frame() was changed in
07bad27810 , and it has now the same behavior of
ff_null_start_frame_keep_ref(), thus it makes no sense to keep both of
them.
2012-08-02 12:32:48 +02:00
Stefano Sabatini
4c8fc6a2a4
lavfi/testsrc: use AVFILTER_DEFINE_CLASS for defining the filter classes
...
Factorize.
2012-08-01 22:47:23 +02:00
Stefano Sabatini
33474eb1c6
lavfi/testsrc: extend logic in request_frame, support static image output
2012-08-01 22:47:04 +02:00
Stefano Sabatini
20e940e768
lavfi/testsrc: free the context in uninit
...
Keeping stuff in the context can be useful for debugging purposes.
2012-08-01 22:46:08 +02:00
Stefano Sabatini
7ddf082f04
lavfi/testsrc: drop pointless parentheses
2012-08-01 11:05:47 +02:00
Stefano Sabatini
2702e38477
lavfi: remove unused defaults.c file
2012-08-01 11:05:41 +02:00
Stefano Sabatini
52bd9cb4d2
lavfi/movie: force channel layout if not set by the decoder
...
This ensures that the output buffers will have the channel layout set,
which is required by filters.
Also consistent with ffmpeg.c behavior.
2012-07-31 13:25:14 +02:00
Stefano Sabatini
c809b89a12
ffprobe: show audio frame channels and channel_layout
2012-07-31 13:21:29 +02:00
Stefano Sabatini
23fc4dd6e7
lavc: add channels field to AVFrame
...
This is required otherwise it is not always possible to guess the number
of channels from the layout, for example if the channel layout is
unknown.
2012-07-31 13:21:10 +02:00
Stefano Sabatini
b4c3359828
lavfi/asettb: do not create a new reference in filter_samples()
...
There is no need to duplicate the input reference, since a filter should
not pass along a reference which is later modified. If this happens the
filter passing the reference should be fixed.
Also improve consistency with start_frame() of settb, allowing a pending
factorization.
2012-07-31 13:15:51 +02:00
Stefano Sabatini
a7c3720e87
lavu/bprint: readd documentation for 0 and 1 av_bprint_init() special values
...
The documentation was erroneously removed in 7cf9aadd .
2012-07-31 13:15:43 +02:00
Stefano Sabatini
316f6df9cc
lavfi/avcodec: rename picref->samplesref variable in avfilter_get_audio_buffer_ref_from_frame()
...
The new name is more meaningful in that context.
2012-07-30 00:33:13 +02:00
Stefano Sabatini
9cf9214d0a
lavfi/color: free internal context options in uninit()
...
Keeping the set options in the context when the component is still used
can be useful for debugging purposes.
2012-07-30 00:33:13 +02:00
Stefano Sabatini
a74dcb7dc0
lavfi/color: cache and reuse colored picture in context
...
Avoid to fill the same picture again and again with the same content.
Optimize computation, and provides an example for the use of the
AV_PERM_REUSE permission flag.
2012-07-30 00:33:13 +02:00
Stefano Sabatini
47b6b7a2b9
lavfi/color: reindent after the previous commit
2012-07-30 00:33:13 +02:00
Stefano Sabatini
e5d617aa6d
lavfi/color: drop support for old deprecated syntax
2012-07-30 00:31:43 +02:00
Stefano Sabatini
ad2022ac83
lavfi/testsrc: add comment in options
2012-07-30 00:30:21 +02:00
Stefano Sabatini
fb0688b079
doc/general: add missing device support information
2012-07-28 12:27:33 +02:00
Stefano Sabatini
66a5201819
lavfi: add flite audio source
2012-07-28 11:06:43 +02:00
Stefano Sabatini
fd2b6c1e4b
doc/filters: itemize movie examples
2012-07-28 10:50:19 +02:00
Stefano Sabatini
32390d6767
lavfi: move movie and amovie to a "multimedia sources" section
...
Since the recent changes, movie and amovie are able to deal with more
than one type of stream, so they should be categorized as "multimedia
sources" rather than audio/video sources.
2012-07-28 10:50:11 +02:00
Stefano Sabatini
7cf9aaddcd
lavu/bprint: extend/clarify documentation for av_bprint_init() size_max value
...
Also define AV_BPRINT_SIZE_* macros before av_bprint_init() declaration,
and mention them in the av_bprint_init() doxy.
2012-07-28 10:49:08 +02:00
Stefano Sabatini
10b44f4932
ffprobe: use av_guess_sample_aspect_ratio() for guessing the aspect ratio
...
This is consistent with what av_dump_format() does.
In particular, fix trac ticket #1568 .
2012-07-25 10:05:02 +02:00
Stefano Sabatini
9b42d6ed1f
lavf/avformat.h: fix verb person for av_guess_sample_aspect_ratio()
...
Prefer impersonal form over third person, consistent with the rest of
docs.
2012-07-25 10:04:57 +02:00
Stefano Sabatini
e564de26b3
lavfi/avfilter.h: add doxy for AVFilterLink.out_buf
2012-07-25 10:03:34 +02:00
Stefano Sabatini
b73be80d48
lavfi/avfilter.h: add doxy for AVFilterLink.cur_buf
2012-07-25 10:01:29 +02:00
Stefano Sabatini
7afd42d9f2
lavfi/showwaves: do not set on outlink->out_buf the sent video frame
...
The video frame reference is passed along the filterchain, and is not
possessed anymore by the filter. If out_buf is not set to NULL, it will
be freed by ff_end_frame() causing a crash.
2012-07-23 15:10:19 +02:00
Stefano Sabatini
8c2ce16f93
doc/filter_design: fix a few typos
2012-07-22 12:16:18 +02:00
Stefano Sabatini
c0b91348fe
lavd/caca: create display *after* checking dither options
...
Avoid fastidious creation and immediate destroy of the display in case
one of the dither options fails to be set.
Also add NULL checks in write_trailer(), which are now necessary since
the function can be called when not all the components have been
initialized.
2012-07-22 10:32:21 +02:00
Stefano Sabatini
9ce0e19ab6
lavd/caca: provide more meaningful feedback if fails to set a dither option
2012-07-22 10:32:15 +02:00
Stefano Sabatini
fa71471cef
lavd/caca: rename "colors" option to "color"
...
More consistent with libcaca function names. Should not harm since the
device was added less than one day ago.
2012-07-22 10:31:33 +02:00
Stefano Sabatini
d510527885
lavd/caca: sort arguments for -list_dither
2012-07-22 10:28:23 +02:00
Stefano Sabatini
295e0e4b4f
lavd/caca: extend error message for -list_dither option
2012-07-22 10:28:23 +02:00
Stefano Sabatini
2fd880449a
doc/outdevs: extend documentation for caca -list* options
2012-07-22 10:28:22 +02:00
Stefano Sabatini
beef7a6328
doc/outdevs: fix @code{} syntax in caca device docs
2012-07-21 10:17:02 +02:00
Stefano Sabatini
f1a7124d30
Changelog: add entry for the caca device
2012-07-21 10:15:44 +02:00
Stefano Sabatini
3bd3e46c91
doc/avtools-common-opts: fix a few typos in the "Stream specifiers" section
2012-07-20 12:56:28 +02:00
Stefano Sabatini
7e17389c1e
lavd/sdl: use verb in options help message
...
An help message tells what an option does, not what its argument is.
2012-07-19 23:56:59 +02:00
Stefano Sabatini
a8d8e868c6
lavf/udp: warn in case the circular_buffer_size or overrun_nonfatal options are not supported
...
They are only supported if pthread is available.
2012-07-19 22:48:09 +02:00
Stefano Sabatini
e1422940f2
doc/protocols: add a note regarding the circular RX UDP buffer
2012-07-19 22:31:41 +02:00
Stefano Sabatini
6b80f75848
doc/protocols: apply misc fixes to the UDP protocol section
2012-07-19 22:31:41 +02:00
Stefano Sabatini
dd13da67b2
doc/protocols: extend/clarify documentation for the buffer_size UDP option
2012-07-19 22:31:41 +02:00
Stefano Sabatini
469b9ce83f
doc/protocols: document "fifo_size" and "overrun_nonfatal" UDP options
...
Address trac ticket #1511 .
2012-07-19 22:31:41 +02:00
Stefano Sabatini
5784a46986
lavf/utils: show the number of stream in case of missing parameter
...
Increase feedback provided in avformat_find_stream_info().
2012-07-18 18:08:57 +02:00
Stefano Sabatini
739ec710c4
lavf/utils: suggest what to do in case of missing codec information
...
In particular, fix trac issue #218 .
2012-07-18 18:08:57 +02:00
Stefano Sabatini
a293549b32
lavf/utils: extend has_codec_parameters() to make it show what info is missing
...
Improve feedback.
2012-07-18 18:08:56 +02:00
Stefano Sabatini
6a314d59d5
configure: simplify dependencies for x11_grab_device
...
XShmCreateImage dependency is implied by x11grab.
2012-07-18 17:13:34 +02:00
Stefano Sabatini
0cc9077a87
configure: fix help message for --disable-avfilter
...
Increase consistency with the other similar messages.
2012-07-18 17:13:29 +02:00
Stefano Sabatini
712d82130e
lavfi/avfiltergraph: apply misc fixes to fix avfilter_graph_request_oldest() @return doxy
2012-07-18 17:13:00 +02:00
Stefano Sabatini
9a1963fbb8
ffprobe: reindent after the previous commit
2012-07-15 16:27:22 +02:00
Stefano Sabatini
5626e812d2
ffprobe: only decode frame if the codec is available
...
Fix crash when a stream codec is unknown, in particular fix trac
ticket #1243 .
2012-07-15 15:57:11 +02:00
Stefano Sabatini
fda968aa8f
lavfi: decrease logging level of message showing initial parameters
...
Reduce log clutter, consistent with 1a49a169eb .
2012-07-15 15:07:03 +02:00
Stefano Sabatini
160df9797e
lavc/tiffenc: apply misc doxy fixes
2012-07-14 13:02:51 +02:00
Stefano Sabatini
6c3b3cfd90
ffprobe: add frame metadata printing
2012-07-14 13:02:51 +02:00
Stefano Sabatini
fb57180698
lavc/avcodec.h: keep avframe_* field setter and getter close
...
Slightly more readable, now that the list is getting longer.
2012-07-14 13:02:25 +02:00
Stefano Sabatini
bd58f00ec1
doc/filters: prefer "special" over "magic" for special input/output labels
2012-07-14 11:40:08 +02:00
Stefano Sabatini
b65ccce866
doc/filters: update documentation
...
In particular, assume existence of audio and sink filters.
2012-07-14 11:39:31 +02:00
Stefano Sabatini
5a6c7a218c
doc: merge libavfilter.texi into filters.texi
...
There is no much point into splitting documentation for filters. Also
having a separate document for a library is inconsistent.
2012-07-14 11:38:53 +02:00
Stefano Sabatini
a5382b50f2
lavfi/buffersink: restore possibility to pass opaque data
...
Use the init_opaque callback for the purpose.
Fix regression introduced in a5e8c41c28 . In particular, fix lavfi
device in case a conversion to the supported (packed) formats is needed.
2012-07-10 01:29:47 +02:00
Stefano Sabatini
21d5609826
lavfi: add init_opaque callback
...
This will be used by filters which require an opaque field to be passed
in input. Should be required only for filters which imply a programmatic
use.
This is possibly a temporary solution, to be removed when we'll have a
clearer and better agreememnt of how/if to pass binary data for
initializing a filter.
See thread:
Subject: [FFmpeg-devel][PATCH] lavfi: add init2 callback
Date: Fri, 6 Jul 2012 01:22:17 +0200
2012-07-10 01:29:17 +02:00
Stefano Sabatini
aef9e94f73
lavf/segment: add -segment_time_delta option
2012-07-10 00:53:01 +02:00
Stefano Sabatini
2058b52cf8
lavf/segment: add -segment_times option
...
Address trac ticket #1504 .
2012-07-10 00:49:43 +02:00
Stefano Sabatini
3f345290dc
lavf/segment: sort options
2012-07-08 17:38:24 +02:00
Stefano Sabatini
8dc31f8da8
lavf/segment: make use of av_parse_time() when parsing the -segment_time value
...
Increase flexibility/consistency.
Also rename recording_time field to time, for enhanced
consistency/readability.
2012-07-08 17:38:04 +02:00
Stefano Sabatini
0a7b8effbb
doc/muxers: sort options for the segment muxer
2012-07-08 17:08:56 +02:00
Stefano Sabatini
7f08bfae6e
lavf/segment: add segment_list_type option, extend format for the segment list file
...
Add list extended format which specifies in the list file the start and
ending time for each segment. This is required to make it available this
information to external tools, avoiding the need to perform file analysis
in the output segments.
2012-07-08 17:08:56 +02:00
Stefano Sabatini
b010d9b586
lavf/nutenc: provide meaningful error message and error code in case of invalid pts
2012-07-08 17:08:56 +02:00
Stefano Sabatini
abb0a9982f
lavfi: do not pass opaque field to init functions
...
Fix signature mismatch warnings.
2012-07-08 01:18:15 +02:00
Stefano Sabatini
3e3e414fe4
lavfi/buffersink: fix doxy, remove "video" reference
...
The file contains the code for the audio buffersink as well.
2012-07-06 01:11:45 +02:00
Stefano Sabatini
776a4e42a7
doc/muxers/segment: apply minor documentation updates and adjustements
...
Update documentation to match code behavior after previous changes, also
reword the examples section.
2012-07-04 01:17:58 +02:00
Stefano Sabatini
af392efe51
lavf/segment: rename SegmentContext.pb to list_pb
...
The new name is more auto-explicative, as the pb is used for the segment
list file.
2012-07-04 00:02:56 +02:00
Stefano Sabatini
d8013f38ab
lavf/segment: add error log in case of invalid filename template
...
Better rather than silently exit.
2012-07-03 23:26:07 +02:00
Stefano Sabatini
a1e092ccd3
lavf/segment: fix logic for segmenting audio-only inputs
...
Also add a comment for clarifying the logic.
Fix trac ticket #1290 .
2012-07-03 23:23:36 +02:00
Stefano Sabatini
4e2899dd31
lavf/segment: add more information in log message in seg_write_packet()
2012-07-03 23:23:29 +02:00
Stefano Sabatini
fd0e6ef99a
lavf/segment: remove unused offset variable
2012-07-03 21:48:50 +02:00
Stefano Sabatini
77dcae5d74
lavf/segment: apply misc fixes to the private options internal documentation
...
Option help message tell what the option *does*, not what the set field
represents.
2012-07-03 21:48:50 +02:00
Stefano Sabatini
a5af29336a
lavf/segment: slightly simplify fail logic in seg_write_packet()
2012-07-03 21:48:50 +02:00
Stefano Sabatini
4ad17bc76b
lavf/segment: move list filename printing logic from segment_end() to segment_start()
...
Allow to deal with the list file printing only in a single point, thus
simplifying logic, and allow a bit of factorization (no special case
needed when printing the first file name of the list).
2012-07-03 21:48:50 +02:00
Stefano Sabatini
bb6effe059
lavfi: remove vsrc_buffer.h API
...
The vsrc_buffer.h is not installed since commit 0b3b958135 , so there is
no point into keeping it around.
The buffersrc.h API, which is more powerful, should be used instead.
2012-07-03 01:32:16 +02:00
Stefano Sabatini
ab7dbdc92c
lavc/rawdec: add assertion check in raw_decode()
...
Check on an implicit assumption done on the number of coded bits for
paletted rawvideo with coded bits == 2.
2012-07-03 01:25:02 +02:00
Stefano Sabatini
17a54f5de8
lavc/rawdec: prefer constant AVPALETTE_SIZE over 256*4
...
Improve readability.
2012-07-03 01:24:56 +02:00