Michael Niedermayer
9e6c124a87
Disable MPEG-1/2 style timestamp calculation for H264. It still randomizes
...
the timestamps because delay is not known for the first few frames.
Originally committed as revision 17674 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
f166f2f435
Revert "Improve frame rate guessing for streams with two fields per frame."
...
This reverts r17656, which broke many tests. Further investigation
is necessary.
Originally committed as revision 17658 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
5fa61b26f7
Improve frame rate guessing for streams with two fields per frame.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17656 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
fe02d9e719
Do not allow standard-frame-rate detection to increase the value of
...
r_frame_rate by more than 1% over a previously set/detected value.
Originally committed as revision 17641 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
8514272472
Detect the case when the time base is exact but far finer than necessary to
...
represent the time stamps, as e.g. for ipmovie.c and set a better r_frame_rate.
Originally committed as revision 17631 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
3797c74ba5
Add ticks_per_frame, this should hopefully fix the regressions caused
...
by the time_base change.
Originally committed as revision 17630 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
27ca0a79c9
Add timestamp computation if values are exported by decoder.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17574 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
810c451b02
Change duration computation to use time_base instead of TB/2.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17570 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
7f123e7f8a
Add CODEC_ID_H264 to tb_unreliable(), it belongs there for the same
...
reason as mpeg2. (telecine amongth others)
Originally committed as revision 17551 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
1d14361dec
Allow av_find_stream_info() to be aborted.
...
Based on a patch by netgem.
Originally committed as revision 17538 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
c132938d52
Waste less space for printing timebases.
...
Originally committed as revision 17505 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
fa0e036d7f
Print all timebases (idea from netgem)
...
Originally committed as revision 17502 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
346db3ef7f
Use context variable repeat_pict for frame duration computation and
...
document this new use.
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17492 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
73d65a96ae
Be less noisy with invalid pts/dts.
...
Originally committed as revision 17482 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
b1fa494205
Add convergence_duration to AVCodecParserContext.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17468 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
6363af44da
Add key_frame to AVCodecParserContext, used in libavformat.
...
Initialized to -1 in parser.c for backward compatibility.
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17442 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Art Clarke
d5cce0a434
Add a warning log when trying to encode into a container requiring global
...
headers in extradata and the codec is not set correctly.
Patch by Art Clarke aclarke xuggle com
Originally committed as revision 17177 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
949cd9783b
remove now useless av_set_program_name() function
...
Originally committed as revision 17113 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Francesco Cosoleto
ced06bd8fe
Add the ability to set the timestamp to the current time by specifying 'now'
...
as the time
Patch by Francesco Cosoleto ( cosoleto gmail com )
Originally committed as revision 17076 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
8e2fd8e1d4
Replace the calls to the deprecated av_alloc_format_context() with
...
corresponding calls to avformat_alloc_context().
Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
4f0f9bddac
let packet pass through when no timestamps
...
Originally committed as revision 16982 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
ccf0071dee
split av_interleave_per_dts, to avoid code duplication
...
Originally committed as revision 16884 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
3a41c2f769
Move av_read_frame/parser related buffer variables from AVFormatContext
...
to AVStream, this is required if we want to allow the user to pull frames
from specific streams at some point in the future.
Originally committed as revision 16724 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
082491c473
print stream sar if present and different than codec sar
...
Originally committed as revision 16720 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
cda6902d36
Handle av_read_frame() EAGAIN return.
...
Originally committed as revision 16718 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
aa91562501
jpeg2k is intra only codec
...
Originally committed as revision 16663 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
2323ac0154
match format in names list separated by commas
...
Originally committed as revision 16659 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
2bb6eba21d
remove ff_get_fourcc() and use AV_RL32() instead
...
Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
9ce6c13879
export gcd function as av_gcd()
...
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
708ec8fb31
Move the AVFormatContext options definition to a dedicated file,
...
reduce the utils.c clutter.
Originally committed as revision 16516 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
65007a4fa0
Do not assume that if pkt->destruct != av_destruct_packet then it is not
...
necessary to call the destruct method
Originally committed as revision 16506 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
5ce0043367
rename ff_metadata_sync_compat to ff_metadata_mux_compat
...
Originally committed as revision 16501 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
e99f76ab79
Add a second metadata compatibility layer, so that metadata that gets
...
demuxed with new API is automatically converted to the old API,
allowing old applications to stay functional.
Originally committed as revision 16499 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
9f06bd9e96
Do not try to duplicate packets that have data==NULL.
...
Originally committed as revision 16483 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
094d9df72e
free all allocated metadata structures
...
Originally committed as revision 16457 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
176aee8282
Add a metadata compatibility layer, so that when a user application set
...
metadata using old API, it is automatically converted to new API before
muxing.
Originally committed as revision 16447 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
bc1d2afb37
rename AVMetaData to AVMetadata and meta_data to metadata
...
Originally committed as revision 16430 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
06a7bd9a2e
10l format include path for metadata.h
...
Originally committed as revision 16426 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
47146dfbf6
Generic metadata API.
...
avi is updated as example.
No version bump, the API still might change slightly ...
No update to ffmpeg.c as requested by aurel.
Originally committed as revision 16424 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
1ca9133fb4
Drop the deprecated parse_image_size() and parse_frame_rate() functions
...
at the next libavformat major version bump.
Originally committed as revision 16420 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
15545a095a
Fix argument constness for the av_codec_get_id() and
...
av_codec_get_tag() functions, making them take in input a constant
array, since they're not supposed to change it. Fix some warnings.
Originally committed as revision 15795 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
b774fdd7a4
dnxhd codec is intra only
...
Originally committed as revision 15672 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
37d3e0667a
uses FF_ARRAY_ELEMS() where appropriate
...
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
9806f846c0
Check for pts==dts on I/P frames in the presence of non low delay decoding and
...
discard these invalid timestamps.
fixes issue171.
Originally committed as revision 15641 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
f781f748b9
Move code setting delay and presentation_delayed a little up so
...
that the variables are available sooner.
Originally committed as revision 15640 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bc5c918ea8
Remove offset_t typedef and use int64_t directly instead.
...
The name offset_t is easily confused with the standard off_t type and
*_t is POSIX reserved namespace if any POSIX header is included.
Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
fff5e687a1
Move doxygen comments for av_gettime from utils.c to avformat.h.
...
Originally committed as revision 15439 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
0354ddb71c
Ensure that muxer and encoder aspect ratios match. So no
...
invalid files are generated.
Originally committed as revision 15367 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
bf912a482b
set block align in av_write_header if not set, fix issue #489
...
Originally committed as revision 15277 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago