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
17 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
17 years ago
Luca Abeni
dd1c8f3e6e
Bump Major version, this commit is almost just renaming bits_per_sample to
...
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may
be a change done here or there if some developer has some cleanup ideas and
patches!
Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a2636c0fd5
Add AVPacket.convergence_duration.
...
Originally committed as revision 15179 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
74aa41bae4
Fix detection of MPEG4 in MPEG-PS.
...
Fixes issue568.
Originally committed as revision 15152 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
ca9c5a4d37
make has_codec_parameters not returning true when sample_fmt is not set
...
Originally committed as revision 15043 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
f0aaa16fdf
Do not truncate timestamps before the muxer as it makes simple
...
things like last_pts - pts rather tricky and is not good for anything.
Timestamps should be truncated just before storing when needed.
Originally committed as revision 15015 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ronald S. Bultje
452d3edb37
Change implementation for ff_data_to_hex(), this is faster. See discussion on
...
mailinglist in "Realmedia patch" thread.
Originally committed as revision 15006 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ronald S. Bultje
f1c80e3578
Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
...
move it from sdp.c into utils.c. Also add new header internal.h specifically
for lavf-specific internal API. See discussion in "Realmedia patch" thread
on mailinglist.
Originally committed as revision 15002 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
d63f529df7
remove useless assignment (st is never read after this line)
...
Originally committed as revision 14985 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
f1588ed525
When setting codec_id during codec probe we must also set codec_type.
...
Originally committed as revision 14966 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
aecf157ed0
Mark several libavformat arrays const
...
Originally committed as revision 14950 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
c30a4489b4
export sample_aspect_ratio read by the demuxer in a separate field
...
that the one read by the decoder.
Originally committed as revision 14932 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3c9769a008
Do not fill the pts reordering buffer with guessed dts.
...
These values should not matter at all in principle because they
do not correspond to the time of display of any frame but it seems
ffmpeg becomes confused by them if they are far off and its not
strictly correct to set them to guessed values.
Fixes video_stalls_at_start.wmv
Originally committed as revision 14746 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ea452b54f0
strcasecmp() requires #include <strings.h>
...
Originally committed as revision 14728 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
cb5b96cde0
Prevent dts generation code to be executed when delay is > MAX_REORDER_DELAY,
...
this fixes overflow in AVStream->pts_buffer.
Originally committed as revision 14714 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
8163c870b0
Cosmetics: move at the beginning of the file the av_frac_* functions, avoid
...
the forward declarations.
Originally committed as revision 14677 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
c97429e22b
Implement avformat_version().
...
Originally committed as revision 14667 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
5c5b1731b7
Maintain pointer to end of AVFormatContext.packet_buffer list
...
This changes add_to_pktbuf() to maintain a pointer to the last entry
in the list, avoiding a linear walk-through on each call. Before this
change, add_to_pktbuf() could take a significant amount of time (10%
of total decoding time), even with input files of several minutes.
After the change, the time spent in this function is barely measurable
with oprofile.
Originally committed as revision 14654 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
aaec4e03e9
check url_fseek return value, update seek reg tests
...
Originally committed as revision 14489 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Erik Hovland
be390a4e2e
Fix a mem leak in av_find_stream_info().
...
Patch by Erik Hovland erik hovland org
Originally committed as revision 14276 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
744b4c02c2
Move the codec_id overriding at a slightly better place.
...
Originally committed as revision 14234 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
283c061936
Remove common factors from timebase in av_set_pts_info().
...
Should fix issue313
Originally committed as revision 14232 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
dd57251cb0
Remove old hackish codec probe system.
...
Originally committed as revision 14193 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2a72e494c3
Use strcmp() instead of strncmp() in set_codec_from_probe_data().
...
Originally committed as revision 14190 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
25d3fb7374
indent
...
Originally committed as revision 14189 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
942de2f4fa
Only try to probe the codec when the available data has roughly doubled
...
relative to the last attempt.
Originally committed as revision 14188 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
312d24d5e9
Add mpegvideo and H.264 to the codec probe.
...
Originally committed as revision 14187 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
55823964dc
indent
...
Originally committed as revision 14185 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0bef08e516
New codec probing system try #1 .
...
Originally committed as revision 14184 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9d3b9f2cce
Move add_to_pktbuf() before av_read_packet(). My future work on codec identification
...
cleanup will need this.
Originally committed as revision 14181 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
64cd3108df
Move set_codec_from_probe_data() up to where the other probe functions are.
...
Originally committed as revision 14180 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3179da621a
Pass AVPacketList instead of the whole context to add_to_pktbuf as that is
...
all that is needed.
Originally committed as revision 14179 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cdb5af79e3
indent
...
Originally committed as revision 14133 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7efeb73a5a
10000l for myself, my last change was incomplete.
...
This one also reverts the libav mpeg ts regression test score change.
Originally committed as revision 14132 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6d77d9acf7
Set cur_dts to 0 only during creating new streams and not every time cur_dts happens
...
to be AV_NOPTS_VALUE.
Originally committed as revision 14118 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ronald S. Bultje
1e2802c5cf
Reindent after r14059, see "[PATCH] allow empty params for
...
av_open_input_stream()".
Originally committed as revision 14060 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ronald S. Bultje
e145ce2027
Allow NULL for read_header in AVInputFormat. See discussion in "[PATCH] allow
...
empty params for av_open_input_stream()".
Originally committed as revision 14059 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
150611474e
give context to av_log
...
Originally committed as revision 14012 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3041a4a13d
Also print flags with FF_FDEBUG_TS.
...
Originally committed as revision 13987 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
f3b5a1a260
make av_find_stream_info find frame_size for aac too
...
Originally committed as revision 13976 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4d35bf74f9
Make av_find_stream_info() find the frame_size for vorbis.
...
Originally committed as revision 13972 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6e1aa0f383
Fill missing pts in during muxing when we know that they are equal to dts.
...
Originally committed as revision 13970 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c924ca78b6
We cannot calculate the duration of vorbis packets even if we do know the
...
"minimal" frame_size.
Originally committed as revision 13969 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
796d200a77
Prevent duration calculation code from generating random durations for
...
vorbis in ogg.
Originally committed as revision 13958 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
ade8d8b939
uniformize AVStream->priv_data freeing in av_close_input_stream
...
Originally committed as revision 13838 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
ccafd47251
factorize read_header failure freeing code
...
Originally committed as revision 13837 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago