1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-12 19:18:44 +02:00
Commit Graph

13028 Commits

Author SHA1 Message Date
Stefano Sabatini
0d6fd5ec13 More explicit unsupported pixel format error messages.
Patch by Stefano Sabatini: stefano sabatini (minus) lala % poste it

Originally committed as revision 25999 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-02-15 07:50:27 +00:00
Michael Niedermayer
a712d725c0 Header elision muxing support.
This only removes 2 bytes from MP3 and MP2 currently.
Up to 4 could be removed from MP3/MP2 though this might need a 2pass muxer.
Primitive code to remove headers from MPEG-1/2/4 is there too but for the
single file I tried it on (the one in the regression tests), it was a loss
because all video frames were >4096 byte, so that it is disabled ATM.

Originally committed as revision 11936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 02:57:19 +00:00
Michael Niedermayer
3b4f69ae8c Elision header demuxing support.
Originally committed as revision 11935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 02:36:09 +00:00
Michael Niedermayer
880add3743 -vsync 2 (drop frames if there are too many but do not duplicate any)
Originally committed as revision 11934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-14 18:53:12 +00:00
Benoit Fouet
3f8e1fc80c Update regression test checksum for ffm.
Originally committed as revision 11933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-14 09:20:53 +00:00
avcoder
90d30570d8 Avoid void*-arithmetic.
Patch by mvplayer: ffmpeg gmail com

Originally committed as revision 11932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-14 08:16:07 +00:00
Michael Niedermayer
7eeebcc5de Read match time delta in the frame header.
We do not do anything with it as lavf does not really support it yet.

Originally committed as revision 11931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 20:17:28 +00:00
Michael Niedermayer
6cb4b28fea Read match_time_delta in the framecode table.
Originally committed as revision 11930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 20:13:29 +00:00
Michael Niedermayer
42abeeae3f update flags
Originally committed as revision 11929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 20:01:09 +00:00
Baptiste Coudurier
501f162fde honor stsd v1 first, fix mace surge-2-8-MAC3.mov, beware of mulaw,alaw
Originally committed as revision 11928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 19:26:45 +00:00
Thorsten Jordan
134e5a9a65 Cosmetics: indentation
Patch by Thorsten Jordan (tjordan atay macrosystem otday de)
[FFmpeg-devel] Behaviour of liba52 decoder

Originally committed as revision 11927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 14:24:34 +00:00
Thorsten Jordan
95e5323510 Remove useless buffering of input data, so that avcodec_decode_audio never
returns 0 for a valid frame

Patch by Thorsten Jordan (tjordan atay macrosystem otday de)
[FFmpeg-devel] Behaviour of liba52 decoder

Originally committed as revision 11926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 14:20:22 +00:00
Baptiste Coudurier
6a1f4535f8 10l, forgot alaw/mulaw mono, use bits_per_sample in fact,
it should correctly set by av_get_bits_per_sample if recognized

Originally committed as revision 11925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 13:11:10 +00:00
Luca Abeni
f8cda19ee6 Include poll.h instead of sys/poll.h
Originally committed as revision 11924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 12:51:14 +00:00
Baptiste Coudurier
d435e520d8 warn use if edit list is not starting at 0, a/v desync might occur
Originally committed as revision 11923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 10:58:16 +00:00
Baptiste Coudurier
fffa99ddd0 remove now useless code
Originally committed as revision 11922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 10:53:48 +00:00
Baptiste Coudurier
531527652f remove messy and not always correct chunk size workaround, use correct values instead
Originally committed as revision 11921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 10:52:23 +00:00
Diego Biurrun
5e53486545 typo fix: inited --> initialized
Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 09:26:10 +00:00
Diego Biurrun
f1cc49a68e typo
Originally committed as revision 25991 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-02-13 09:07:41 +00:00
Diego Biurrun
7cb1fc766b Add fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.
Originally committed as revision 11919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:36:04 +00:00
Diego Biurrun
b89bb8581d Mark MSVC compiler macros as such.
Originally committed as revision 11918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:33:05 +00:00
Diego Biurrun
7433ca2982 Disentangle nested preprocessor directives.
Originally committed as revision 11917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:08:03 +00:00
Diego Biurrun
356306aca2 Print Theora bitstream version at DEBUG, not at VERBOSE level.
Originally committed as revision 11916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:05:51 +00:00
Diego Biurrun
5edac5dc94 cosmetics: Replace // by /* */ comments.
sync with upstream libmpeg2 0.4.1

Originally committed as revision 11915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 01:18:12 +00:00
Diego Biurrun
6c6007d6a3 Do not use ranges with tr, the results are locale-dependent.
Suggested by Rich Felker.

Originally committed as revision 11914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 23:17:06 +00:00
Baptiste Coudurier
300aa2b039 return error when dv audio extraction fails
Originally committed as revision 11913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 22:37:44 +00:00
Baptiste Coudurier
e6920f2445 remove obsolete comments
Originally committed as revision 11912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 22:34:43 +00:00
Baptiste Coudurier
3a3aa49ab7 remove useless braces
Originally committed as revision 11911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 22:34:03 +00:00
Baptiste Coudurier
311490cccd cosmetics, indentation, braces
Originally committed as revision 11910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 22:33:35 +00:00
Baptiste Coudurier
8cb66fd8f2 split chunks in the case of big compressed audio frames,
might be tweaked, fix qt_dv_pal_test.mov.

Originally committed as revision 11909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 22:32:35 +00:00
Baptiste Coudurier
77c7543702 use correct demux mechanism when audio compression id is -2, dv audio does not matter, demux partially qt_dv_pal_test.mov which does NOT use cid -2
Originally committed as revision 11908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 22:23:05 +00:00
Vitor Sessak
22ed53e5f4 Factor bytewidth determination in its own function
Originally committed as revision 11907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 21:49:24 +00:00
Baptiste Coudurier
d0cbff868e fcp imx 40 fourccs
Originally committed as revision 11906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 15:20:35 +00:00
Baptiste Coudurier
56ea717b46 indentation
Originally committed as revision 11905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 14:10:52 +00:00
Baptiste Coudurier
4f0e712ecb more correct and simpler
Originally committed as revision 11904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 14:10:29 +00:00
Paul Kelly
f1618fd939 Add 'reservoir' flag to lavc's flags2 controlling whether or not codes may
utilize a bit reservoir. Also, make the lame encoder utilize this flag.

patch by Paul Kelly, paul a stjohnspoint d co d uk

Originally committed as revision 11903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 08:01:07 +00:00
D Richard Felker III
03c09e4399 Do not use GNU-specific (or BSD-specific or whatever they may be)
constants which are completely unneeded anyway. Note that 3 is a cheap
integer bound for log10(1<<CHAR_BIT).

Originally committed as revision 11902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 03:30:42 +00:00
Vitor Sessak
9189411bdb Coding style changes
Originally committed as revision 11901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:05:02 +00:00
Vitor Sessak
93faa9fad7 More code factorization
Originally committed as revision 11900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:55 +00:00
Vitor Sessak
37e0b997a8 Factor duplicated loop
Originally committed as revision 11899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:52 +00:00
Vitor Sessak
d3a4e41c8a Do not hardcode the list of pixel formats and use PIX_FMT_NB instead.
Originally committed as revision 11898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:49 +00:00
Vitor Sessak
243370cb4d Do not hardcode the type of AVFilterFormats.formats in allocation
Originally committed as revision 11897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:43 +00:00
Vitor Sessak
bd8ae4885b Oops, my last commit broke compilation...
Originally committed as revision 11896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:38 +00:00
Vitor Sessak
5ced2c996d Make regression tests to pass with libavfilter.
Originally committed as revision 11895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:36 +00:00
Vitor Sessak
eac2495095 Need to be careful when dealing with references.
Commited in SoC by Bobby Bingham

Originally committed as revision 11894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:32 +00:00
Vitor Sessak
30f4baebf8 10l. parameter was unused and redundant.
Commited in SoC by Bobby Bingham

Originally committed as revision 11893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:27 +00:00
Vitor Sessak
88cfb80418 avfilter_formats_unref() should remove the given reference, not the last
reference.

Commited in SoC by Bobby Bingham

Originally committed as revision 11892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:03:18 +00:00
Vitor Sessak
391354656c First libavfilter commit.
Original log message:
Forgot to add in the big colorspace commit

Commited in SoC by Bobby Bingham

Originally committed as revision 11891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:02:11 +00:00
Loren Merritt
ec199cc94c asm argument that might be in memory needs a size
Originally committed as revision 11890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 01:45:42 +00:00
Carl Eugen Hoyos
ae797914dd Make dither4 & dither8 const.
Originally committed as revision 25967 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-02-09 22:57:37 +00:00