Michael Niedermayer
abd2256dbe
Pass time_base as argument to new_chapter() as well.
...
This fixes the wrong timebase the matroska demuxer had after my previous commits.
Maybe we should reduce new_chapter() to just (AVFormatContext, int id) ?
Originally committed as revision 13266 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b18a4ab2ae
Warn user about invalid timestamps.
...
Originally committed as revision 13264 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5c37f43a0d
Make ff_new_chapter() return AVChapter instead of int so its consistant with
...
av_new_program() and its simpler to set other fields in AVChapter which arent
set by ff_new_chapter().
Originally committed as revision 13262 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7c8202cc92
s/num_chapters/nb_chapters/ all other similar variables are called nb_*.
...
Originally committed as revision 13260 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
747fb6c60c
vertical align
...
Originally committed as revision 13259 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
42720ee4d0
indent
...
Originally committed as revision 13258 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0dac708e2d
remove useless title check
...
Originally committed as revision 13257 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6b43e2c7d3
indent
...
Originally committed as revision 13256 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7a2a3e8e40
Add id to AVChapter, untested (where do i find matroska files with chapters?).
...
Originally committed as revision 13255 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
842ffee386
cosmetics: indentation
...
Originally committed as revision 13248 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
1ba056b689
allows adding chapters with NULL title
...
Originally committed as revision 13247 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Anton Khirnov
79d7836a5e
add support for chapters definition in lavf
...
patch by Anton Khirnov wyskas _at_ gmail _dot_ com
Originally committed as revision 13240 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
ccd425e799
Remove unnecessary parentheses from return calls.
...
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
ceedda75ea
minor memleak
...
Originally committed as revision 12945 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
d965c3e7bc
Print duration with higher precision.
...
patch from Hervé Flores, herve.flores free fr
Originally committed as revision 12847 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4b3cca3630
Do not detect a format if another has the same score.
...
Originally committed as revision 12837 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
ee794d1e49
Do not call update_initial_durations if pkt->duration is 0.
...
Fixes and assertion crash when playing amv files, e.g.
http://samples.mplayerhq.hu/amv/Shakira - Hips Don't Lie.amv
Originally committed as revision 12797 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
d952638699
typo: occured --> occurred
...
Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
bd10713636
typo fixes
...
Originally committed as revision 12449 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
ab8ab30c3d
Introduce max_picture_buffer variable in AVFormatContext,
...
set by rtbufsize option.
Originally committed as revision 12383 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
4c7981ba7c
do not reset duration_error for all streams, only reset current stream, fix wrong_fps.gxf
...
Originally committed as revision 12353 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
ac6f133027
Set indexmem to a saner default.
...
Originally committed as revision 12190 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
635fbcb17f
revert 12156
...
Log:
Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.
----
A IMHO cleaner solution has been implemented.
Originally committed as revision 12162 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
91acf9a8bc
Get rid of a fake timestamp discontinuity at the begin of V.VOB.
...
This solution is not really correct but it is quite simple. Correct would
be to do a second pass over the packets after all the headers have been
collected.
Originally committed as revision 12157 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
ff2635b273
Make timestamp interpolation work with mpeg2 field pictures.
...
Cleaner/simpler solutions are welcome.
Originally committed as revision 12156 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
83a9db42a3
Fix timestamps and durations if the first packets have no durations nor timestamps,
...
and the information needed to guess the duration only becomes known at a later packet.
Originally committed as revision 11963 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
dc29622385
Remove incorrect casts that should have never been there.
...
Originally committed as revision 11824 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Evgeniy Stepanov
f8d7c9d373
Add support for Matroska attachments.
...
patch by eugeni _dot_ stepanov _at_ gmail.com and myself
Originally committed as revision 11635 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
7f938dd32b
ensure av_rescale_q() can be calculated (won't divide by zero)
...
Originally committed as revision 11592 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
a85736f21d
misc spelling/grammar fixes
...
Originally committed as revision 11542 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Paul Kelly
3dea63bd7e
user specifyable maximum amount of memory to use for the index.
...
patch by Paul Kelly paul stjohnspoint co uk
with some changes by me
Originally committed as revision 11521 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5cc9253f35
indent
...
Originally committed as revision 11348 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7ef55085f0
Try to fix url_split() so that the ?foobar part is in the path and only the path.
...
Originally committed as revision 11347 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
945208caea
Fix detected fps for old divx/xvid.
...
Originally committed as revision 11323 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
88b0072390
100l, av_read_packet must check for read_packet error, in case of
...
error pkt->stream_index could be invalid and must not be used.
Fixes a crash with http://www.cs.berkeley.edu/~dmolnar/2-snippet3.wav
Originally committed as revision 11307 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
fd2982a0a0
remove double check of pb->read_seek
...
Originally committed as revision 11278 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ceeacce68b
use proper url_is_streamed() API
...
instead of messing with ByteIOContext internal is_streamed field
Originally committed as revision 11276 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
502bdf6893
Merge recently added and still unused play and pause functions.
...
Originally committed as revision 11273 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
2506fd5467
Add a av_close_input_stream function
...
Originally committed as revision 11269 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
626004690c
Allow overriding codec_ids.
...
Originally committed as revision 11266 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
ca75a92325
Simplify av_close_input_file similarly to av_open_input_file previously
...
Originally committed as revision 11254 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
17acc63a32
Simplify av_open_input_file
...
Originally committed as revision 11253 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
841f39a7f3
Add FF_OPT_TYPE_BINARY and use it to add a cryptokey option
...
Originally committed as revision 11250 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Björn Axelsson
fa13095a5d
Enable av_read_pause(), av_read_play() and the ASF demuxer's av_read_seek()
...
to use the protocol-native functionality if available.
Patch by Björn Axelsson: bjorn point axelsson at intinor dot se
Original thread: [FFmpeg-devel] [PATCH][4/4] Enable use of the extended API
Date: Thu Nov 22 16:01:06 CET 2007
Originally committed as revision 11248 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
84be6e7239
av_*_next() API for libavformat
...
Originally committed as revision 11206 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
e8acf0edea
Suppress the "redirector hack" from libavformat/utils.c:av_open_input_stream(),
...
and implement the redirector format more properly.
Originally committed as revision 11112 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Björn Axelsson
899681cd1d
Use dynamically allocated ByteIOContext in AVFormatContext
...
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5fba300d02
rename fps(frame per second) to tb(time base) to prevent
...
confusion with the average fps and hopefully stop these "wrong framerate"
bug reports
Originally committed as revision 11007 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Nico Sabbi
f473666f51
print newline after program id even when the name is missing
...
Originally committed as revision 10864 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago