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
15 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
15 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
15 years ago
Michael Niedermayer
8a6c7a5286
Fix indention after last commit.
...
Originally committed as revision 19888 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
15 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
15 years ago
Michael Niedermayer
0355537605
Fix indention after previous commit.
...
Originally committed as revision 19871 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
15 years ago
Michael Niedermayer
42831b46ef
Also reset *_end in flush_packet_queue().
...
Originally committed as revision 19869 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
15 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
15 years ago
Peter Ross
c0b88f1920
Moves the display of metadata to dump_format()
...
Originally committed as revision 19632 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Art Clarke
ebb82604b0
Only free '*ic_ptr' when a caller has pre-allocated a context and passed it in
...
(wherein av_open_input_file assumes memory ownership).
Patch by Art Clarke a<surname> xuggle com
Originally committed as revision 19436 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Art Clarke
56c6cf287b
Fix mem leak when user preallocates an AVFormatContext, passes it to
...
av_open_input_file(), but the file does not exist.
Patch by Art Clarke a$(surname) xuggle com
Originally committed as revision 19370 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
e7e5d1e990
If either of num or den is 0 make both 0 in av_set_pts_info().
...
Originally committed as revision 19326 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
d218a86a0d
Make sure av_set_pts_info() does not set the fields of a timebase to
...
negative values.
Originally committed as revision 19325 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
dec14949a6
Make arguments of av_set_pts_info() unsigned.
...
Fixes issue1240/mpeg1/smclockmpeg1.avi.3.1
Originally committed as revision 19319 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
57011a13d6
use AVFormatContext->probesize in av_find_stream_info and raise default to 5M
...
Originally committed as revision 19274 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
af122d6a80
limit raw packet buffer size used for codec probing
...
Originally committed as revision 19272 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Daniel Verkamp
1a40491ef2
Add ff_ prefixes to exported symbols in libavformat/riff.h.
...
patch by Daniel Verkamp, aniel drv nu
Originally committed as revision 19254 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
71ee651559
Print why av_find_stream_info() failed, this is a rather common question
...
during debugging ...
Originally committed as revision 19217 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
818062f2f3
if b frames are parsed, set codec->has_b_frames
...
Originally committed as revision 19147 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
e695906ec7
use dts codec probing
...
Originally committed as revision 19014 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
86cb7e33cc
fix codec probing, stop after MAX_PROBE_PACKETS and return all packets
...
Originally committed as revision 19000 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
db5dc02bd7
cast size to int64_t to avoid overflow
...
Originally committed as revision 18991 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
1bd280f730
Set frame defaults in try_decode_frame.
...
Fix:
==22211== Conditional jump or move depends on uninitialised value(s)
==22211== at 0x811E692: ff_print_debug_info (mpegvideo.c:1137)
==22211== by 0x82E6A7B: decode_frame (h264.c:7897)
==22211== by 0x80F2823: avcodec_decode_video2 (utils.c:564)
[...]
==22211== Uninitialised value was created by a stack allocation
==22211== at 0x8064AA3: try_decode_frame (utils.c:1845)
Originally committed as revision 18483 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
e472ea34c4
reindent
...
Originally committed as revision 18480 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
d2e63e8b05
Simplify packet duplication code in ff_interleave_add_packet.
...
Behaviour only changes if pkt->destuct neither av_destruct_packet,
av_destruct_packet_nofree nor NULL, in which case the new code avoids a double free.
Originally committed as revision 18452 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
80d403fc19
Get rid of av_destruct_packet_nofree and use NULL instead.
...
It is still used in comparisons to keep ABI compatibility.
Originally committed as revision 18431 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
655d47c2cb
Make try_decode_frame() use the new avcodec_decode_* API.
...
Patch by Thilo Borgmann thilo.borgmann AT g00glemail dot com.
Originally committed as revision 18408 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
feb993e579
Add av_shrink_packet function for use in av_get_packet that reduces pkt->size
...
and ensures the following padding is correctly initialized to 0.
Originally committed as revision 18378 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
cdd8930e6a
Move av_packet_*() functions from libavformat/ to libavcodec/, where the
...
AVPacket structure now resides also.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see the mailinglist
thread "Google Summer of Code participation" for additional discussion.
Originally committed as revision 18353 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
3a5601885b
move max analyze duration check before considering new packet
...
Originally committed as revision 18051 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
74f5ae847d
Add AVFMT_GENERIC_INDEX support also for formats that do not use a parser.
...
Originally committed as revision 17965 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
85b4230f68
Do not lose user flags when passing calls from the new to the old seeking API.
...
Originally committed as revision 17959 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
32d885926d
add avformat_seek_file()
...
Originally committed as revision 17956 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago