Baptiste Coudurier
8999c833d1
replace printf by av_log
...
Originally committed as revision 13425 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
a299832f52
use av_hex_dump_log
...
Originally committed as revision 13424 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
ff978de47c
use dprintf
...
Originally committed as revision 13423 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
376aefddad
cosmetics, add demuxer word
...
Originally committed as revision 13422 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
58c37c30b4
cosmetics, remove useless dot
...
Originally committed as revision 13421 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
eea2f032ad
return error if frame_offset is negative, prevent segfault
...
Originally committed as revision 13420 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
e5ece1831a
return error if len is negative, prevent segfault
...
Originally committed as revision 13419 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
278f987a33
move ffserver specific functions up and only include unistd.h in this case
...
Originally committed as revision 13418 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
a1e01307ad
move ffm_seek1 before get_pts function since func uses it
...
Originally committed as revision 13417 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
4adcbbbeef
move DEBUG_SEEK definition before get_pts since func uses it
...
Originally committed as revision 13416 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
979b1a0611
move get_pts function to avoid useless declaration
...
Originally committed as revision 13415 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
ce2b665b3d
remove unneeded include
...
Originally committed as revision 13414 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
85a6b01da4
split ffm de/muxer
...
Originally committed as revision 13413 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
ba26712b5c
reenable test, data is available in this case
...
Originally committed as revision 13412 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
b2677aa2a1
parse audio in ogm demuxer.
...
fixes issue165.
Originally committed as revision 13407 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c8b9377d15
Make ac3 in avi work better.
...
fixes issue355.
Originally committed as revision 13406 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
fa3b98182d
Ensure that one can store X bytes in a fifo of size X.
...
Fixed issue417.
Originally committed as revision 13405 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0871ae1a93
Make av_fifo*_read() ignore the available amount of data.
...
This is more efficient as in practice the check is redundant most of the
time. Callers which do not know if enough data is available have to check
it with av_fifo_size(). Doing the check in *read() means the caller has
no choice to skip the check when its known to be redundant.
Also the return value was never documented in a public header so
changing it should not break the API. Besides this fixes the case where
read() failed on a 100% full fifo.
Originally committed as revision 13404 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
a9ee86e79b
set correct duration when using b frames
...
Originally committed as revision 13372 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
c2c3dedf6e
compute the end of all chapters when end is not specified in the container
...
Originally committed as revision 13363 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ebea1d7668
cosmetics: indentation
...
Originally committed as revision 13280 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
570745cc51
remove useless title check
...
Originally committed as revision 13279 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
5366f15d05
simplify, remove useless vars
...
Originally committed as revision 13270 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
fbabb0c277
add new h264 and aac flv ids
...
Originally committed as revision 13269 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
7ef94d221b
in flv this field is dts finally
...
Originally committed as revision 13268 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
19719bc631
flv use 32 bit pts
...
Originally committed as revision 13267 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
f6e76ba476
Document pts/dts.
...
Originally committed as revision 13265 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
883fe4d5bb
Chapter demuxing support. (untested as I have no nuts with chapters)
...
Isn't that much simpler than Matroska?
Originally committed as revision 13263 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
fbabf1e944
nb_chapters should be unsigned
...
Originally committed as revision 13261 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
Michael Niedermayer
8931e7b48a
clarify start/end timebase
...
Originally committed as revision 13254 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c2fb6be4a6
align comments
...
Originally committed as revision 13253 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
d2974f1676
chapter id and timebase
...
Originally committed as revision 13252 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
30897e764a
don't set a dummy chapter title when title is unknown
...
Originally committed as revision 13249 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
Aurelien Jacobs
ad9d62ef22
matroskadec: allows inserting chapters with unspecified end
...
Originally committed as revision 13242 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Anton Khirnov
f5275b3ce7
demux chapters out of matroska
...
patch by Anton Khirnov wyskas _at_ gmail _dot_ com
Originally committed as revision 13241 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
Albert Astals Cid
6f04eb1e8a
free moov and cmov when error occurs, fix memleak, patch by Albert Astals Cid, aastals at tv-wan dot es
...
Originally committed as revision 13237 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
217e2f4679
remove useless var
...
Originally committed as revision 13230 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
42b9f45c0d
10l, fix compilation
...
Originally committed as revision 13229 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago