Michael Niedermayer
411ff3225f
Increase search range if no end timestamp could be found for the duration
...
calculation.
Originally committed as revision 21577 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
c55806e3a2
Flag to ignore dts on frames that contain pts.
...
This works around common issues with mpeg-ps files with broken timestamps.
Also allows playing the broken sample from issue1024.
Originally committed as revision 21562 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
d30a8beb99
Fix duration calculation in the presence of a single wraping of the timeline.
...
Fixes issue1714.
Originally committed as revision 21485 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
c3aeaa540d
set average frame rate in mov demuxer
...
Originally committed as revision 21310 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Tomas Härdin
094a63f1f6
Check there is a stream before writing header.
...
Patch by Tomas Härdin: $(name) punto hardin chez codemill dot se
Originally committed as revision 21186 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
4160069067
Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for XXX_configuration() and
...
XXX_license() functions, consistent with the rest of FFmpeg.
Originally committed as revision 21005 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
aa13b573b4
Use av_match_ext() in place of the deprecated match_ext() function.
...
Originally committed as revision 21000 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
8eb631fa50
Deprecate match_ext() in favor of av_match_ext(), and mark it for
...
deletion at the next major bump.
Originally committed as revision 20998 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
0f52ef1a00
Use av_guess_format() in place of the deprecated guess_format().
...
Originally committed as revision 20994 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
a1f547b94a
Deprecate guess_format() in favor of av_guess_format().
...
Originally committed as revision 20991 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
1642ee4337
Deprecate and mark for deletion the function guess_stream_format(),
...
and clone its code to ffserver_guess_format() in ffserver.c.
guess_stream_format() is hackish since it relies on some undocumented
properties of the name of the muxers (wich is currently only relevant
for the ASF muxer), and has no use outside ffserver.c.
Originally committed as revision 20987 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
02483df478
Make sure the Metadata: header is not printed if the only metadata will not
...
be displayed. (idea from ffmbc)
Originally committed as revision 20850 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b298daea1a
Move dump_metadata() to where it is in ffmbc, looks better.
...
Originally committed as revision 20849 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
229303d16c
indent
...
Originally committed as revision 20848 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
4d9b678448
Skip dumping language twice.
...
This looks too ugly. Idea also from ffmbc.
Originally committed as revision 20847 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
2e720e11bc
dump metadata for AVStreams & AVPrograms too.
...
Originally committed as revision 20846 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
8b5e5ec5d7
Factorize dump_metadata() out.
...
Idea from ffmbc, code not, mine is a fraction of the size due to simpler
metadata API.
Originally committed as revision 20845 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
cc20679a41
Try to simplify av_estimate_timings_from_pts() like in ffmbc.
...
Note if this breaks for some file, report it please!
Originally committed as revision 20844 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
0e500e0db2
Debug av_log() about stream probing from ffmbc.
...
Originally committed as revision 20842 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
02b398ef49
Add avg_frame_rate.
...
Originally committed as revision 20826 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
51ce8c2f87
Remove commented out code.
...
Originally committed as revision 20823 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
John Stebbins
106fa129f4
Reset pts_buffers in av_read_frame_flush().
...
Patch by John Stebbins, jstebbins jetheaddev com
Originally committed as revision 20806 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sean Soria
b593f7fdef
Calls to url_fseek should have their return value checked in
...
av_seek_frame_binary, just as they do in av_seek_frame_generic.
Otherwise, function may return success even though url_fseek reported
failure.
Patch by Sean Soria, first.last at gmail
Originally committed as revision 20744 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sean Soria
6659b32ab2
Change ret type to int64_t because url_fseek returns int64_t.
...
This fixes seeking in files > 2gb.
Patch by Sean Soria, sean dot soria at gmail dot com.
Originally committed as revision 20693 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
66765b5933
use AVFormatContext in av_log, better than AVCodecContext when multiple streams are present
...
Originally committed as revision 20689 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
77ac76a30f
Print a warning if the duration is estimated from the bitrate, as this is
...
likely not accurate.
Originally committed as revision 20675 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
c173693698
Add functions to return library license and library configuration.
...
Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ca02d8ec97
Add '#undef fprintf' before PRINT macro that uses fprintf.
...
Otherwise there may be trouble when fprintf is disabled in favor of av_log.
Originally committed as revision 20515 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
050ba6f45e
print packet duration when debugging timestamps
...
Originally committed as revision 20420 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
72017ea1dc
check stream index validity in av_program_add_stream_index
...
Originally committed as revision 20319 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
8425cecacc
request mp3 frame_size to be set in has_codec_parameters, fix issue #1314
...
Originally committed as revision 20318 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
f2c061ec0f
reindent after commit
...
Originally committed as revision 20307 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
7edbcfb79e
In dump_format, print streams not associated with any program.
...
Fixes issue #1366 .
Originally committed as revision 20306 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
7857d3ccf6
fix indentation and add braces
...
Originally committed as revision 20289 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
a4cb675124
Avoid segfault for empty input files
...
Originally committed as revision 20265 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
b8c0db9981
Allow autodetection of E-AC3.
...
Originally committed as revision 20206 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
e18027ac40
Add FIXME about low_delay vs has_b_frames.
...
Originally committed as revision 20161 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Wallak
f4a4be3f4e
H264 allows B frames without requiring a >=1 sized buffer.
...
Patch by wallak, wallak free fr
Originally committed as revision 20160 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
e9b0681610
Only use *ic_ptr when it has been initialized.
...
Originally committed as revision 19911 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
db46c4e14d
print at debug level the score at which codec probing succedeed
...
Originally committed as revision 19899 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
1bc8c36125
Print a warning if a format has been detected with a low score.
...
Originally committed as revision 19890 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
c36823fd3d
Print at debug level the score with which probing succeeded.
...
Originally committed as revision 19889 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
8a6c7a5286
Fix indention after last commit.
...
Originally committed as revision 19888 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
e07b882b4d
Improve amortized worst case speed of the muxers packet interleaving code
...
from O(packets_in_the_file) to O(num_of_streams).
Originally committed as revision 19887 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
657eca1f8b
Upgrade a few important messages to AV_LOG_WARNING.
...
Originally committed as revision 19872 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
0355537605
Fix indention after previous commit.
...
Originally committed as revision 19871 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
ddce56efc5
Make packet interleaving in the muxer not scan through the whole
...
buffer when simply appending at the end works.
Much faster if one stream ends prematurely.
Fixes issue1379.
Originally committed as revision 19870 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
42831b46ef
Also reset *_end in flush_packet_queue().
...
Originally committed as revision 19869 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
1d07029fea
Add frame_size as a codec parameter requirement for Speex in
...
av_find_stream_info(). It forces decoding of a packet when there is no
Speex header in order to determine the correct frame size.
Originally committed as revision 19760 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
101036adb9
Support for generic multi-stream key frame finding for new seek API.
...
Originally committed as revision 19680 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago