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
Stefano Sabatini
2503928a2f
examples/decoding_encoding: fix style nits
2014-01-07 13:08:11 +01:00
Stefano Sabatini
22fa50d159
lavf/file: fix help message first character casing for trunc option
2014-01-05 00:51:38 +01:00
Stefano Sabatini
92e145acbb
doc/protocols/file: fix semantical reverse
...
Change "read" to "write" in introductory description.
Spotted-by: Alexander Strasser <eclipse7@gmx.net >
2014-01-05 00:43:51 +01:00
Stefano Sabatini
98ecbf0093
doc/protocols/file: document general file protocol URL syntax
...
Also drop confusing ff* tools reference about exceptions to the
file:FILENAME syntax, which is not ff* tool specific.
With various edits by Alexander Strasser <eclipse7@gmx.net >.
2014-01-05 00:43:51 +01:00
Stefano Sabatini
d392619a46
doc/faq: remove "-profile option fails when encoding H.264 video with AAC audio" entry
...
The error was fixed in commit ce9bd30379
more than one year ago, and does not affect all the currently supported
versions.
In particular, fix trac issue #1535 .
2014-01-03 17:05:44 +01:00
Stefano Sabatini
d52dd2430b
doc/ffserver: mention how to access streams through RTSP
2014-01-03 17:03:43 +01:00
Stefano Sabatini
e3868cc588
doc/muxers/hls: change "can used" to "can be used"
...
Spotted-by: Alexander Strasser <eclipse7@gmx.net >
2014-01-02 09:37:43 +01:00
Stefano Sabatini
0aa325457d
doc/muxers/segment: clarify ambiguos reference
...
Replace "The segmenter muxer" with "This muxer". The "segmenter muxer"
was never defined before, and thus it is a slightly ambiguous term.
2014-01-02 00:52:01 +01:00
Stefano Sabatini
6cceef2ff9
doc/muxers/segment: reference hls muxer
2014-01-02 00:51:56 +01:00
Stefano Sabatini
f6707f0689
doc/muxers/hls: extend documentation
...
In particular, reference segment muxer and clarify difference between
segment filename number and playlist sequence number.
Should fix trac ticket #2601 .
2014-01-02 00:48:36 +01:00
Stefano Sabatini
0b1cfc4f28
configure: bump year number 2013 -> 2014
...
Happy new year!
2014-01-01 13:04:07 +01:00
Stefano Sabatini
8c8c3ca91e
doc/protocols/rtsp, lavf/rtsp: fix/extend options documentation
2014-01-01 12:57:15 +01:00
Stefano Sabatini
8ea1501878
doc/protocols: fix level of udp examples subsection
2013-12-27 12:43:35 +01:00
Stefano Sabatini
cd355d4d59
lavfi/abuffersrc: use AV_OPT_TYPE_SAMPLE_FMT for sample_fmt option
...
Simplify/extend syntax.
2013-12-26 11:35:27 +01:00
Stefano Sabatini
334e2e2363
lavu,lavc,lswr: do not hardcode AV_SAMPLE_FMT_NB value when setting sample format max value
...
The constant may change in libavutil but the library may be compiled
against an older version, thus rejecting a value which is otherwise
supported by the new libavutil.
INT_MAX is used here to denote the max allowed value for a sample format.
The opt-test code is changed to provide a valid reference example.
2013-12-26 11:35:27 +01:00
Stefano Sabatini
3b8c7da7a3
lavu,lavfi,lavd: do not hardcode AV_PIX_FMT_NB value when setting pixel format max value
...
The constant may change in libavutil but the library may be compiled
against an older version, thus rejecting a value which is otherwise
supported by the new libavutil.
INT_MAX is used here to denote the max allowed value for a pixel format.
The opt-test code is changed to provide a valid reference example.
2013-12-26 11:35:27 +01:00
Stefano Sabatini
55f046be11
lavu/opt: apply range checks also when setting format string value
...
Previously when setting a pixel/sample format as a string range checks
were not performed. This is consistent with the
av_opt_set_pixel/sample_fmt() interface.
2013-12-26 11:35:27 +01:00
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