Stefano Sabatini
8cbce1001d
doc/muxers/segment: fix formatting of segment_list_type option
...
Place @item entry at the right point, remove duplicated description.
2015-07-02 11:06:23 +02:00
Stefano Sabatini
771537edcf
ffmpeg_dxva2: call GetDesktopWindow() in place of GetShellWindow()
...
This fixes compilation with latest MinGW, it does not seem to affect
MSYS2/MinGW-64.
2015-06-03 16:25:08 +02:00
Stefano Sabatini
56fe1bb9b3
doc/formats.texi: document max_interlave_delta muxing option
...
The option was added in commit d9ae1031f5
but it was never documented. The text is based on the one written by the
commit author for the corresponding AVFormatContext.max_interleave_delta
field.
2015-06-01 18:34:40 +02:00
Stefano Sabatini
e6547cce72
lavfi/eq: factorize code in process_command()
2015-03-20 09:41:32 +01:00
Stefano Sabatini
83ee820a16
lavfi/sendcmd: improve error reporting and robustness in case of missing commands
...
In particular, fix crash with -vf sendcmd, when no arguments are provided.
2015-03-16 10:49:25 +01:00
Stefano Sabatini
6a63d0d826
lavfi/eq: clarify error message in case of expression parsing error
2015-03-15 14:55:13 +01:00
Stefano Sabatini
6db20926c3
doc/protocols/tcp: fix units of listen_timeout option value, from microseconds to milliseconds
...
s->listen_timeout is passed to ff_listen_bind(), which accepts a timeout
value expressed in milliseconds.
The unit was incorrectly set in 1b4da43ce0 .
2015-03-05 12:13:25 +01:00
Stefano Sabatini
fd242b468d
lavf/utils: fix if_( style
2015-02-04 13:17:30 +01:00
Stefano Sabatini
7b35a01ff0
doc/ffprobe.xsd: drop build_date and build_time from programVersionType
...
Update schema after commit:
103e4c5863
2015-02-02 10:08:22 +01:00
Stefano Sabatini
f422f474df
doc/indevs/libcdio: apply minor spell fixes, extend documentation
2015-01-31 11:32:05 +01:00
Stefano Sabatini
c8bec255ef
lavd/libcdio: add more paranoia mode constants
2015-01-31 11:32:05 +01:00
Stefano Sabatini
fbccbd6832
lavd/libcdio: apply minor fixes to options documentation
2015-01-31 11:32:05 +01:00
Stefano Sabatini
40b026b1d0
doc/muxers/segment: document strftime option
...
It was added in commit 202947a066 .
2015-01-30 11:52:37 +01:00
Stefano Sabatini
d43c1ec684
examples/filtering: extend comments about setting the filter graph endpoints
...
That part is a constant source of confusions for readers, this should
help clarify the apparently inverted logic.
2015-01-29 11:12:39 +01:00
Stefano Sabatini
af7b89e08b
lavfi: document assumptions about the input and output labels of a filter graph description
2015-01-29 10:12:34 +01:00
Stefano Sabatini
d11fcf735f
doc/filters: apply some updates to the Filtergraph syntax section
2015-01-29 10:12:34 +01:00
Stefano Sabatini
afa3c996fe
lavfi/lut: apply minor compute_gammaval709() doxy fix
2015-01-27 11:22:45 +01:00
Stefano Sabatini
0ca5c4dade
lavfi/mp: drop mp=eq and mp=eq2
...
mp=eq2 was ported to a native libavfilter filter in commit
4c38e960d0 .
2015-01-26 11:09:02 +01:00
Stefano Sabatini and Vittorio Giovara
e2ad0b66fa
imgutils: create misc functions for dealing with buffers
...
Move the lavc/imgconvert functions and rename them as follows:
avpicture_get_size -> av_image_get_buffer_size()
avpicture_fill -> av_image_fill_arrays()
avpicture_layout -> av_image_copy_to_buffer()
The new functions have an align parameter, which allows to define the
linesize alignment assumed in the buffer (which is set or read).
The names of the functions are consistent with the lavu/samples API
(av_samples_get_buffer_size(), av_samples_fill_arrays()).
A redundant check has been dropped from av_image_fill_arrays().
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2015-01-14 17:17:24 +01:00
Stefano Sabatini
c648879827
Changelog: mention the port of various mp PP filters
2015-01-13 13:13:04 +01:00
Stefano Sabatini
57ede2a507
lavfi: use ff_norm_qscale(), factorize
2015-01-13 13:12:58 +01:00
Stefano Sabatini
d4fd3f24e8
lavfi: add tblend filter
2014-12-27 16:15:24 +01:00
Stefano Sabatini
afaa4a8946
lavfi/blend: add difference128 mode
2014-12-26 11:24:48 +01:00
Stefano Sabatini
a51c78c65d
lavfi/mp: drop mp=fspp filter
...
It has been ported to libavfilter.
2014-12-24 16:29:18 +01:00
Stefano Sabatini
29208e6dcf
lavu/imgutils: remove redundant and wrong check in av_image_fill_arrays
2014-11-27 14:24:16 +01:00
Stefano Sabatini
484d42a097
lavf/concatdec: add timestamp log
...
Help debugging timestamp conversion issues.
2014-11-19 11:17:43 +01:00
Stefano Sabatini
aea7616d39
lavfi/xbr: remove relicensing notice from copyright header
...
The log is good enough for tracking those changes.
2014-11-15 20:13:53 +01:00
Stefano Sabatini
73f74f6b16
lavfi/xbr: apply misc cosmetical fixes
2014-11-10 11:55:53 +01:00
Stefano Sabatini
f0158e6f0c
lavf/flvenc: fail in case the muxed packet is too big
...
Avoid the creation of files which cannot be successfully decoded by
ffmpeg, for example generated with:
ffmpeg -f lavfi -i sine -af "aselect='not(between(t,100,500))',aresample=min_comp=0.001:min_hard_comp=0.100000" -acodec pcm_s16le -t 1000 -y out_audio.flv
2014-11-03 09:31:48 +01:00
Stefano Sabatini
843d7bb3a6
lavfi/concat: accept a single segment
...
Simplify scripting operations, so that n=1 is not to be considered as a
special case.
2014-10-21 13:28:40 +02:00
Stefano Sabatini
7ba2e134fb
lavfi/afade: fix cur_sample computation
...
Use the correct timebase conversion.
2014-10-21 13:28:08 +02:00
Stefano Sabatini
3a0c70f1e3
doc/examples/transcoding: use av_packet_rescale_ts()
...
Simplify.
2014-09-16 14:55:33 +02:00
Stefano Sabatini
24db666d15
MAINTAINERS: add myself as segment maintainer
2014-09-08 15:23:04 +02:00
Stefano Sabatini
f51de9cac2
lavf/segment: abort in case of invalid segment format options
2014-09-08 15:22:55 +02:00
Stefano Sabatini
de1f0c94cd
doc/muxers/segment: reword text for examples, improve consistency
2014-09-07 13:17:46 +02:00
Stefano Sabatini
4f5493fe23
lavf/segment: add segment_format_options option
2014-09-07 13:17:46 +02:00
Stefano Sabatini
6f0fc1a96b
lavf/ffmdec: return proper error code in ffm2_read_header()
...
Also log an error message in case of invalid packet size.
2014-09-05 11:20:07 +02:00
Stefano Sabatini
39b517fac0
lavc/libvpxenc: show crf CQ value in error message
2014-09-05 11:20:07 +02:00
Stefano Sabatini
d4ec07dfe7
lavu/avstring: check for overlong encodings in av_utf8_decode()
...
Fix reopened trac ticket #1163 .
2014-09-01 10:47:24 +02:00
Stefano Sabatini
fa39f8c0e2
doc/ffprobe: fix -show_entries example
2014-08-28 12:20:18 +02:00
Stefano Sabatini
7e4a4bda0e
doc/filters/apad: extend documentation
2014-08-21 16:59:18 +02:00
Stefano Sabatini
aade9884e9
lavfi/apad: fix logic when whole_len or pad_len options are specified
...
In particular, allow pad_len and whole_len to have value set to 0, which
means that no padding will be added. Previously a value set to 0 meant
that that the filter had to pad forever.
The new semantics is clearer, also simplifies scripting since the option
value might be automatically computed, so that no checks need to be done
in case it is 0.
The old semantics was never documented and the logic was broken (the
filter was always adding samples indefinitely), so this should not break
backward compatibility.
2014-08-21 16:59:07 +02:00
Stefano Sabatini
cb0524f7a0
lavfi/apad: fix if_( style
2014-08-20 12:35:16 +02:00
Stefano Sabatini and Reynaldo H. Verdejo Pinochet
1013d8dd69
ffserver: deprecate Port and BindAddress options in favor of HTTPPort and HTTPBindAddress
...
The new option names are more explicit.
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com >
2014-08-17 22:51:45 -04:00
Stefano Sabatini
a539f1cbbd
doc/filters: correct confusing statements about *showinfo shown values
...
Fix trac issue #3850 .
2014-08-13 18:14:24 +02:00
Stefano Sabatini
ac1e3882cc
doc/ffserver: merge paragraph starting with "What happens next?" with previous one
...
The name of the paragraph sounded a bit silly, and its text is small so
it's better to merge it with the previous paragraph.
2014-08-03 11:27:27 +02:00
Stefano Sabatini
44071b0d25
lavf/segment: sanitize segment end time in case last packet do not have a defined duration
...
In particular, avoids to set segments with duration set to 0
(e.g. segment with a single reference frame for which duration is
undefined).
2014-07-22 13:53:31 +02:00
Stefano Sabatini
713157484a
lavf/segment: do not allow to create segments with no key-frames
...
Fix trac ticket #3749 .
2014-07-22 13:43:06 +02:00
Stefano Sabatini
526bd7bdfa
lavf/segment: set segment end time when the first packet arrives
...
Avoid negative durations in case there is a single packet in the current
segment, since in that case the end time is still set to the previous
segment end time.
2014-07-17 16:51:51 +02:00
Stefano Sabatini
3d38c99041
lavf/segment: fix weird indent
2014-07-17 16:51:51 +02:00
Stefano Sabatini
b6a8c5245f
lavf/segment: show incoming packet duration in debug message
2014-07-17 16:51:51 +02:00
Stefano Sabatini
5acad50056
lavf/segment: only use reference frames for computing the segment end time
...
This avoids a systematic overestimate of the segments duration when there
are several streams.
Fix trac ticket #3724 .
2014-07-17 16:51:50 +02:00
Stefano Sabatini
3babbf3bf4
doc/filters/drawtext: simplify example, use clip() eval function
2014-07-17 12:44:36 +02:00
Stefano Sabatini
f3e886c7df
lavu/eval: add clip function
2014-07-17 11:29:01 +02:00
Stefano Sabatini
60f162946f
tools/ffeval: print computed value even in case of error
...
This is useful for debugging purposes.
2014-07-05 11:48:24 +02:00
Stefano Sabatini
85eabd748b
lavfi/drawtext: do not allocate FT_Glyph, but keep it in the Glyph structure
...
Slightly simplify.
2014-07-05 11:48:06 +02:00
Stefano Sabatini
462c9ee3ac
lavfi/overlay: show incoming frames on debug messages
...
This is especially useful to debug queue overflow issues.
Ideally we should be able to set the debug message at the
dualinput/framesync level, but they do not have the information related
to the filter context and the inlink, so cannot access much useful
information.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
2014-07-02 18:42:15 +02:00
Stefano Sabatini
d381109ce8
lavc/h264_slice: clarify informational message in case of disabled slice multi-threaded decoding
...
Also suggest what can be done to workaround the limitation.
2014-06-20 12:12:46 +02:00
Stefano Sabatini
8c44376799
doc/codecs: extend documentation for thread_type option
...
Based on avcodec.h documentation.
2014-06-20 12:12:46 +02:00
Stefano Sabatini
1ba59b1cbe
ffprobe: fix scaling of vali in value_string() in case -prefix is selected
...
Fix trac ticket #3523 .
2014-04-23 10:32:42 +02:00
Stefano Sabatini
bf411fffd4
examples: rename avcodec.c to decoding_encoding.c
...
Restore the old name, which was more meaningful and consistent with the
names of the other examples.
2014-04-23 10:32:42 +02:00
Stefano Sabatini
e756effd58
lavfi/movie: fix display of pushed frame information
...
It was broken since 7e350379f8 .
Also fix warnings:
libavfilter/src_movie.c: In function ‘describe_frame_to_str’:
libavfilter/src_movie.c:392:5: warning: ‘type’ is deprecated (declared at ./libavutil/frame.h:313) [-Wdeprecated-declarations]
libavfilter/src_movie.c:408:9: warning: ‘type’ is deprecated (declared at ./libavutil/frame.h:313) [-Wdeprecated-declarations]
2014-02-02 15:54:26 +01:00
Stefano Sabatini
bf96e547b7
doc/APIchanges: fix weird reindent
2014-02-02 13:16:28 +01:00
Stefano Sabatini
5871ee5072
lavf: add output_ts_offset option to AVFormatContext
...
This option can be generally useful to set an output offset, needed when
setting an absolute index in the output.
2014-02-02 13:16:17 +01:00
Stefano Sabatini
a535d3952c
lavf/avformat.h: fix typos
2014-02-02 13:11:59 +01:00
Stefano Sabatini
290da7e754
ffmpeg: tweak debug_ts logging and add more of it
...
Help with debugging timestamp issues.
2014-02-02 13:11:52 +01:00
Stefano Sabatini
60251c13e3
examples/avio_reading: remove stray empty line
2014-02-02 12:35:46 +01:00
Stefano Sabatini
5fc4dea39c
examples: add avio_reading.c example
2014-02-02 11:58:23 +01:00
Stefano Sabatini
a270f63e83
lavfi/overlay: add yuv422 format mode
2014-02-02 11:50:21 +01:00
Stefano Sabatini
4111856545
doc/APIchanges: apply minor formatting fixes
2014-01-31 00:48:31 +01:00
Stefano Sabatini
37baa2af43
configure: add missing dependency for the remuxing example
2014-01-26 18:31:03 +01:00
Stefano Sabatini
9651239f67
ffmpeg: use intermediary variables in reap_filters, increase readability
2014-01-26 18:06:39 +01:00
Stefano Sabatini
68c5ba1f05
doc/filters: re-edit notes on filtergraph escaping
...
State the escaping rules more explicitly, reword various sentences and
drop confusing quoting example.
Should fix trac issue #3334 .
2014-01-26 18:06:39 +01:00
Stefano Sabatini
ca57659440
examples/filtering_audio,video: do not call avcodec_register_all()
...
It is implied by av_register_all(). Simplify.
2014-01-24 12:20:46 +01:00
Stefano Sabatini
433b153b68
doc/ffmpeg: reference time syntax sections in ffmpeg-utils for itsoffset and timestamp options
...
Avoid doc duplication and desynching.
2014-01-24 12:20:46 +01:00
Stefano Sabatini
094516a5d0
ffmpeg: use av_err2str() macro
...
Simplify.
2014-01-23 16:29:44 +01:00
Stefano Sabatini
9f956d9d8d
ffmpeg: apply misc cosmetics to process_input() code
2014-01-23 16:29:39 +01:00
Stefano Sabatini
35fe88bb51
examples/muxing: reindent after previous commit
2014-01-23 01:08:24 +01:00
Stefano Sabatini
c92d2f98db
examples/muxing: flush encoders at the end
2014-01-23 00:54:33 +01:00
Stefano Sabatini
f57baf743f
lavf/segment: drop pointless variable oc from seg_write_packet()
2014-01-21 20:08:36 +01:00
Stefano Sabatini
169065fbfb
lavf/segment: remove duplicated and inconsistent cleanup code in seg_write_packet()
...
In particular, avoid to leave around the seg->avf pointer to freed
structure, and fix crash with:
ffmpeg -f lavfi -i testsrc -c:v h264 -map 0 -f segment foo-%d.ts
2014-01-21 20:08:36 +01:00
Stefano Sabatini
a2e78161ce
lavf/mpegtsenc: fix weird indent
2014-01-21 20:08:36 +01:00
Stefano Sabatini
b539a72bba
examples/filtering_audio,video: drop call to avcodec_get_frame_defaults()
...
The avcodec_get_frame_defaults() function is deprecated and its use
doesn't seem required.
2014-01-21 20:08:36 +01:00
Stefano Sabatini
e34ad128a3
examples/muxing: reduce duration, remove wrong and misleading comment
...
Set duration to 10 seconds, after it was increased from 5 to 200 seconds
in 8d80f3cb87 .
200 seconds will generate too much data which is annoying especially when
testing.
2014-01-21 11:52:14 +01:00
Stefano Sabatini
9ab8f3738a
examples/muxing: remove redundant {}
2014-01-20 13:10:10 +01:00
Stefano Sabatini
b933c72b5e
examples/muxing: change error checks, from "ret != 0" to "ret < 0"
...
More consistent and more future-proof.
2014-01-20 13:10:10 +01:00
Stefano Sabatini
d72c742d47
examples/muxing: factorize write_interleave code
...
Also log output packet information.
2014-01-20 13:10:10 +01:00
Stefano Sabatini
5e2b8e4934
examples: add remuxing example
...
Show how to perform streamcopy from one container to another.
2014-01-20 13:10:10 +01:00
Stefano Sabatini
529573591a
doc/muxers/segment: fix formula for computing the segment_time_delta value
2014-01-19 12:20:10 +01:00
Stefano Sabatini
3dc494f8b9
lavfi/vidstabtransform: apply various documentation/option minor fixes
...
Improve consistency with the rest of the documentation.
2014-01-19 12:20:10 +01:00
Stefano Sabatini
a64333db5f
lavfi/vidstabtransform: apply various cosmetical nits
2014-01-16 12:35:17 +01:00
Stefano Sabatini
d497141b85
examples/muxing: simplify video PTS setting
...
Rely on frame_count. Also more consistent with audio path.
2014-01-12 09:25:48 +01:00
Stefano Sabatini
094c500caf
examples/muxing: set timestamps in output audio packet
...
In particular, fix trac ticket #3231 .
2014-01-09 10:54:38 +01:00
Stefano Sabatini
8d22d37e54
examples/muxing: use av_frame_free() in place of av_free()
2014-01-09 10:51:57 +01:00
Stefano Sabatini
9abe4a10fd
examples/muxing: reuse global audio frame
...
Simplify logic, avoid multiple unnecessary alloc/free operations.
2014-01-09 10:51:52 +01:00
Stefano Sabatini
80bca6eabe
examples/muxing: honour distinction between encoder PTS timebase and stream timebase
...
Fix PTS set on the frame when encoding, which must be specified in the
encoder timebase or this will confuse the encoder.
When muxing the packet, the PTS/DTS generated by the encoder is then
rescaled to the stream timebase.
2014-01-09 10:51:47 +01:00
Stefano Sabatini
eadc421259
examples/muxing: set sample formats from list of codec supported sample formats
...
Avoid the need of tweaking, also show how to get list of supported sample
formats.
2014-01-09 10:51:41 +01:00
Stefano Sabatini
2358458a75
doc/muxers/image2: apply several formatting changes
2014-01-08 10:20:42 +01:00
Stefano Sabatini
e9edf001d4
doc/ffmpeg: remove documentation for removed vlang/slang options
2014-01-08 09:47:53 +01:00
Stefano Sabatini
a008deb17b
doc/muxers/matroska: reformat documentation
2014-01-08 09:46:51 +01:00