Commit Graph

15091 Commits

Author SHA1 Message Date
Peter Ross
0fd7e57e7d Simplify PCM codec; use sample_fmts field to set the avctx->sample_fmt field.
Originally committed as revision 14533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 07:47:23 +00:00
Peter Ross
9d49b8ff90 Make avcodec_string() and av_get_bits_per_sample() report the sample size for CODEC_ID_PCM_ZORK
Originally committed as revision 14532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 07:40:07 +00:00
Peter Ross
51c3861e16 Add D-Cinema audio muxer
Originally committed as revision 14531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 07:35:07 +00:00
Stefano Sabatini
bb89b0bc9d Improve docs for the ffmpeg -map option.
Originally committed as revision 14530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 07:02:48 +00:00
Michael Niedermayer
71041842ec Use the correct collocated field in pred_direct_motion() when it differs in parity.
Fixes at least:
FRExt/HPCAFL_BRCM_C.264
FRExt/HPCAFLNL_BRCM_C.264
FRExt/HPCVFL_BRCM_A.264
FRExt/HPCVFLNL_BRCM_A.264

Originally committed as revision 14529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 02:41:19 +00:00
Justin Ruggles
55aff0d901 Read bitstream parameters for E-AC-3 streams before returning an error.
Originally committed as revision 14528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 22:29:06 +00:00
Justin Ruggles
602116df9b Hardcode the table for ungrouping 3 values in 5 bits. It will be reused by
the E-AC-3 decoder.

Originally committed as revision 14527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 21:42:43 +00:00
Baptiste Coudurier
021b8ae39b fix if/else case
Originally committed as revision 14526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 21:24:30 +00:00
Justin Ruggles
7417120b6f use the same table for ungrouping exponents and bap=2 mantissas
Originally committed as revision 14525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 19:24:04 +00:00
Baptiste Coudurier
2288834f87 full lpcm support in mov audio stsd v2
Originally committed as revision 14524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 18:37:35 +00:00
Justin Ruggles
14b7062829 cosmetics: make all references to AC-3 capitalized and hyphenated
Originally committed as revision 14523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 16:42:32 +00:00
Justin Ruggles
2d47c3de98 remove a comment which is no longer true
Originally committed as revision 14522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 16:41:52 +00:00
Diego Biurrun
7254edb5ba Replace call to deprecated avcodec_build() with avcodec_version().
Originally committed as revision 14521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 14:37:19 +00:00
Stefano Sabatini
f44fd37447 Increase the maximum number of supported stream mappings in ffmpeg.c.
The new value is given by maximum_files_nb * maximum_streams_per_file_nb,
which looks also more correct in respect to the previous value.

Originally committed as revision 14520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 13:38:31 +00:00
Michael Niedermayer
aa6de49e95 Remove useless mb_field_decoding_flag setting code that was at the wrong spot.
Originally committed as revision 14519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 13:11:14 +00:00
Michael Niedermayer
44e9dcf13a mb_field_decoding_flag was not initialized
Fixes at least:
MR7_BT_B.h264
Sharp_MP_PAFF_1r2.jvt
Sharp_MP_PAFF_2.jvt

Originally committed as revision 14518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 13:00:39 +00:00
Mathieu Malaterre
19759c9a36 Wrong constant used in default threshold value calculation for
JPEG-LS lossy mode with < 128 colours.

Patch by Mathieu Malaterre (mail = gmailify("mathieu.malaterre"))

Originally committed as revision 14517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 05:07:48 +00:00
Justin Ruggles
1db9da5238 cosmetics: vertical alignment
Originally committed as revision 14516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 02:16:51 +00:00
Justin Ruggles
a52d8c6b32 use MAX_BLOCKS for array size instead of 6
Originally committed as revision 14515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 02:16:21 +00:00
Justin Ruggles
a42c895207 rearrange dimensions of pre_mantissa array
Originally committed as revision 14514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 02:11:46 +00:00
Peter Ross
42a45a03e7 Add graceful error handling to avcodec_get_pix_fmt_name() and avcodec_get_pix_fmt().
Originally committed as revision 14513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 00:41:31 +00:00
Peter Ross
a79db0f7c4 Add sample format converter to FFmpeg (adds -sample_fmt option)
Originally committed as revision 14512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03 00:37:07 +00:00
Michael Niedermayer
2879c75ff3 Picture.ref_count/ref_poc have to be stored per field (actually also per
slice but thats a seperate bug)
Fixes at least:
CABREF3_Sand_D.264
camp_mot_fld0_full.26l
CVFI2_Sony_H.jsv
CVNLFI2_Sony_H.jsv

Originally committed as revision 14511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 23:13:27 +00:00
Baptiste Coudurier
ce98b0a479 do not fail on qscale==0 if error resilience is high, fix broken quicktime h261, lotr.mov
Originally committed as revision 14510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 22:51:49 +00:00
Uoti Urpala
f769b746aa Mark add_png_paeth_prediction_* functions which are only used within this file
as static. patch by Uoti Urpala, uoti.urpala pp1.inet fi

Originally committed as revision 14509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 17:32:55 +00:00
Peter Ross
5a4476e229 Add sample format converter to FFplay.
Originally committed as revision 14508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 05:01:30 +00:00
Baptiste Coudurier
aaef2bb345 support big endian lpcm with audio stsd v2
Originally committed as revision 14507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 03:45:23 +00:00
Baptiste Coudurier
6b477e1b71 keep original codec/fourcc endianness, fix XDCAMHD.mov
Originally committed as revision 14506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 03:43:36 +00:00
Baptiste Coudurier
9184d53a03 more complete audio stsd v2
Originally committed as revision 14505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 03:40:13 +00:00
Baptiste Coudurier
5ef3ad59f2 move version specific parsing code before codec specific code, will be needed
Originally committed as revision 14504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 03:35:43 +00:00
Peter Ross
abdff64682 Simplify AVCodecContext usage within FFplay audio_decode_frame()
Originally committed as revision 14503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 01:26:38 +00:00
Michael Niedermayer
a78d882d76 I found a maintainer for all parts that had none listed :)
Originally committed as revision 14502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 23:27:10 +00:00
Michael Niedermayer
758af9868e Recommit r14497
Log:
	Add missing header #includes.
Limited to ffm.h & swf.h which are maintained by baptiste who requested that
version to be kept.

Originally committed as revision 14501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 23:12:10 +00:00
Michael Niedermayer
c5e56a813b Revert r14497
Log:
	Add missing header #includes.
Policy violation (change not approved by maintainer)
and while discussions where ongoing and no consensus has been reached.

Originally committed as revision 14500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 22:29:29 +00:00
Diego Biurrun
dcd6128670 Explain the difference between HAVE_LIST and CONFIG_LIST in a short comment.
Originally committed as revision 14499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 20:30:21 +00:00
Diego Biurrun
668b65bd83 Only check for socklen_t if network support is enabled.
Originally committed as revision 14498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 18:27:59 +00:00
Diego Biurrun
2e11268ea9 Add missing header #includes.
Originally committed as revision 14497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 16:29:26 +00:00
Peter Ross
82cee279a5 Modify av_audio_convert() to use AVAudioConvert context struct; add av_audio_convert_alloc() and av_audio_convert_free() support functions.
Originally committed as revision 14496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 13:53:18 +00:00
Peter Ross
8a464e7580 Revert r14484 hunk that deleted the 'include avcodec.h' statement.
Originally committed as revision 14495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 11:26:22 +00:00
Nicolas George
afffd357b0 Use compression level to set mp3lame quality option.
Patch by Nicolas George nicolas george normalesup org
Original thread:
[PATCH] libmp3lame: set noise shaping & psychoacoustic algorithms quality
Date: 07/31/2008 03:53 PM

Originally committed as revision 14494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 07:23:29 +00:00
Baptiste Coudurier
014d2f0509 fix mpeg 4:2:2 vis_qp and vis_mb_type debug, fix issue #471
Originally committed as revision 14493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 19:51:19 +00:00
Art Clarke
138568e9da downgrade mov negative ctts log message to warning, patch by Art Clarke, aclarke at vlideshow dot com
Originally committed as revision 14492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 19:44:42 +00:00
Baptiste Coudurier
39a127bfbc Only reset buffer state if seeking is successful; update seek reg ref.
Originally committed as revision 14491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 19:40:06 +00:00
Baptiste Coudurier
d701934bef check url_fseek return value
Originally committed as revision 14490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 18:12:37 +00:00
Baptiste Coudurier
aaec4e03e9 check url_fseek return value, update seek reg tests
Originally committed as revision 14489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 18:02:55 +00:00
Baptiste Coudurier
23f02559fe check url_fseek return value, update seek reg tests
Originally committed as revision 14488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 18:01:12 +00:00
Mathieu Malaterre
0afdedcafb Fix a potential out of array writing.
Patch by Mathieu Malaterre mathieu malaterre gmail com

Originally committed as revision 14487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 14:53:14 +00:00
Peter Ross
ce1ee094d7 Add opt handler for pending "-sample_fmt" option
Originally committed as revision 14486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 13:11:07 +00:00
Peter Ross
9e82a113e5 Write sample format description within avcodec_string()
Originally committed as revision 14485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 12:56:56 +00:00
Peter Ross
c2b28bb975 Add sample format support functions: avcodec_get_sample_fmt_name(), avcodec_get_sample_fmt(), avcodec_sample_fmt_string()
Originally committed as revision 14484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 12:55:06 +00:00