Commit Graph

594 Commits

Author SHA1 Message Date
Baptiste Coudurier f9645d7cc4 change -fs to use bytes instead of kbytes
Originally committed as revision 8556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 11:31:29 +00:00
Baptiste Coudurier 85ad1b0e97 change -fs option to use OPT_INT64
Originally committed as revision 8555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 09:44:11 +00:00
Baptiste Coudurier d1b2356998 1000l, revert r8547, im too stupid
Originally committed as revision 8548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 11:39:09 +00:00
Baptiste Coudurier ed057fccfc typo, fix -fs
Originally committed as revision 8547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 11:13:29 +00:00
Bobby Bingham 4992d8bf7d Change the vhook code to send real timestamps to the filters instead of the
current time of day, which is useless, and which the filters could just as
easily query for themselves.
patch by Bobby Bingham, uhmmmm gmail com

Originally committed as revision 8541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 05:24:35 +00:00
Baptiste Coudurier 5508d26b7c fix decoding of big audio packets (48k 16bit 2 channels), needed size is related to samples which is short * while len passed to decode_audio2 is related to pkt->data which is uint8_t *
Originally committed as revision 8537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-28 11:53:01 +00:00
Michael Niedermayer c367d06702 prevent exit missuse
Originally committed as revision 8536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 21:47:03 +00:00
Limin Wang 7fc98937d2 add fps stats, patch by Limin Wang <lance lmwang at gmail com>
Originally committed as revision 8422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-16 16:13:54 +00:00
Ramiro Polla 2a89ee9a63 Remove superfluous HAVE_THREADS #ifdef.
patch by Ramiro Polla, angustia arrozcru.no-ip org

Originally committed as revision 8348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 17:13:20 +00:00
Diego Biurrun 1420b8375d Remove superfluous header include.
Originally committed as revision 8341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:42:34 +00:00
Limin Wang bde0705c8c cosmetics: Fix indentation, patch by Limin Wang, lance.lmwang gmail com.
Originally committed as revision 8340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:35:36 +00:00
Panagiotis Issaris 750f0e1f8b Introduce two new logging functions av_hex_dump_log() and av_pkt_dump_log()
which use av_log() for logging instead of fprintf().

Originally committed as revision 8339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:17:26 +00:00
Baptiste Coudurier 17ceb4f9d1 add message saying that pgmyuv format is deprecated
Originally committed as revision 8336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 10:24:36 +00:00
Limin Wang 348d46f2cb remove unused code, patch by Limin Wang <lance lmwang at gmail com>
Originally committed as revision 8304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 11:22:18 +00:00
Limin Wang 4e780252f4 Remove unnecessary the_end label.
patch by Limin Wang, lance.lmwang gmail com

Originally committed as revision 8287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 10:45:41 +00:00
Michael Niedermayer 54cc9c46e6 set defaults based on CodecType by using avcodec_get_context_defaults2()
Originally committed as revision 8285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 09:50:05 +00:00
Limin Wang 8e532e681e remove unused variables
patch by Limin Wang % lance P lmwang A gmail P com %
Original thread:
Subj: [Ffmpeg-devel] [PATCH] remove unused variables
Date: 2007-03-07-07:37 AM

Originally committed as revision 8284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 09:38:08 +00:00
Michael Niedermayer 2d0aefd626 only store command line parameters in contexts with matching codec_type
Originally committed as revision 8282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 08:34:52 +00:00
Alex Beregszaszi cbc09a7d5a typo: unkown->unknown
Originally committed as revision 8274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 00:27:23 +00:00
Michael Niedermayer cb50328dbb free opt_names at the end of main() based on a patch by Limin Wang
Originally committed as revision 8268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 21:08:03 +00:00
Michael Niedermayer 4dcc383a4d indention
Originally committed as revision 8267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 21:02:14 +00:00
Michael Niedermayer 4913b231a7 remove usless if() before av_free()
Originally committed as revision 8266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 21:01:49 +00:00
Benoit Fouet 066a81a80f change management of "ab" option in ffmpeg.c, so that it works as "b" option.
patch by Benoit Fouet % benoit P fouet A purplelabs P com %
Original thread:
Subj: [Ffmpeg-devel] [PATCH] use new way to handle "ab" option
Date: 03/03/2007 10:51 PM

Originally committed as revision 8244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 10:04:53 +00:00
Panagiotis Issaris 636d6a4a47 Add the prefix "av_" to img_crop(), img_copy() and img_pad(), and rename "img"
to "picture" as suggested by Baptiste Coudurier.

Originally committed as revision 8220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 11:53:11 +00:00
Baptiste Coudurier ea0fe83b0f remove ps option and rename rtp_payload_size AVOption to ps
Originally committed as revision 8172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 16:36:38 +00:00
Benoit Fouet 23b254fb52 duplicate *_opts for every codec types, in order to have the "ab" and "b" options work in the same manner
patch by Benoit Fouet %benoit P fouet A purplelabs P com%
Orginal thread:
Date: Feb 22, 2007 11:15 AM
Subject: [Ffmpeg-devel] [PATCH] ffmpeg.c duplicate *_opts for every codec types

Originally committed as revision 8169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 14:33:57 +00:00
Luca Abeni 7a16861859 Do not jump to "fail" without having a proper sws context in img_resample_ctx
(avoid calling sws_freeContext(NULL))

Originally committed as revision 8162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 15:07:35 +00:00
Reimar Döffinger f66e4f5f9e Add av_ prefix to clip functions
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 10:27:12 +00:00
Benoit Fouet 036bfd189f Move the aframes option from the video "subsection" to the
audio "subsection".
Patch by Benoit Fouet, benoit fouet % purplelabs com.

Originally committed as revision 8037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 10:07:56 +00:00
Ramiro Polla cc58300e30 implement new grabbing interface, as described here:
ttp://thread.gmane.org/gmane.comp.video.ffmpeg.devel/42920
patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Original thread:
Date: Jan 31, 2007 8:56 PM
Subject: [Ffmpeg-devel] [PATCH] New grabbing interface

Originally committed as revision 7983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 17:01:32 +00:00
Måns Rullgård 35f9736988 rename POWERPC_PERFORMANCE_REPORT to CONFIG_POWERPC_PERF
Originally committed as revision 7968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 23:45:28 +00:00
François Revol 8fa36ae09d This fixes error handling for BeOS, removing the need for some ifdefs.
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.

Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 18:26:14 +00:00
Matthijs Douze 8d74e55b83 Print error message instead of crashing when combining -vcodec copy and -vhook.
patch by Matthijs Douze, Matthijs.Douze inrialpes fr

Originally committed as revision 7901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 17:45:28 +00:00
Diego Biurrun 928e00948a happy new year
Originally committed as revision 7895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 11:15:53 +00:00
Luca Abeni ab1c6dc95c Directly access av_log_level instead of calling av_log_{set, get}_level()
(which will be removed at the next avutil version increment)

Originally committed as revision 7882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 18:55:36 +00:00
Michel Bardiaux 57b7e784d0 Force stereo in target vcd.
Patch by Michel Bardiaux, mbardiaux mediaxim be.

Originally committed as revision 7826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 16:07:26 +00:00
Michael Niedermayer 5d55e966e1 use avcodec_decode_audio2()
Originally committed as revision 7792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-01 00:34:09 +00:00
Baptiste Coudurier e3e3be5346 do not force output audio channels
Originally committed as revision 7705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 09:46:59 +00:00
Baptiste Coudurier bd31a388db AVOption is now const, removes a few warnings
Originally committed as revision 7662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 13:04:13 +00:00
Baptiste Coudurier 079e8cb962 do not override rc_buffer_occupancy if set
Originally committed as revision 7641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 10:01:14 +00:00
Ramiro Polla 27571d3de9 Segmentation fault fix when no video device is specified.
patch by Ramiro Polla % ramiro A lisha P ufsc P br %

Originally committed as revision 7445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 16:51:42 +00:00
Guillaume Poirier f58f4ce19d Original X11 device demuxer patch from Clemens Fruhwirth
- Build system integration is equivalent to RFC #6 patch
- Same rule applies to ffmpeg.c/allformats.[c|h]
- x11grab.c is from Clemens Fruhwirth except the x11 grab
  structure for libavformat registration is renamed to
    match build system integration.

Originally committed as revision 7302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 08:45:36 +00:00
Guillaume Poirier 83c547a4a1 revert broken commit of x11 device demuxer patch
Originally committed as revision 7301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 00:06:33 +00:00
Guillaume Poirier e519b02c10 Original X11 device demuxer patch from Clemens Fruhwirth
- Build system integration is equivalent to RFC #6 patch
- Same rule applies to ffmpeg.c/allformats.[c|h]
- x11grab.c is from Clemens Fruhwirth except the x11 grab
  structure for libavformat registration is renamed to
  match build system integration.

Originally committed as revision 7293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 22:31:46 +00:00
Baptiste Coudurier 386c88de74 print a more correct message when container frame rate differs from codec frame rate
Originally committed as revision 7264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-09 13:12:02 +00:00
Måns Rullgård f27a726809 use standard INT64_MAX instead of MAXINT64 (and MIN)
Originally committed as revision 7241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 00:47:37 +00:00
Baptiste Coudurier 3c13202396 fix memleak, free stream codec allocated by av_new_stream
Originally committed as revision 7225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-05 14:01:44 +00:00
Ramiro Polla d86b83f8ab add interactive support for MinGW
patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Orignial thread:
date: Nov 5, 2006 1:55 AM
subject: [Ffmpeg-devel] [PATCH] MinGW interactive support

Originally committed as revision 7155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-22 12:15:58 +00:00
Michael Niedermayer f889d3f9e4 also set strict_std_compliance for stream copy, its needed for the bitstream filters
Originally committed as revision 6959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-10 09:44:38 +00:00
Michael Niedermayer 4408e75e02 2nd try for -vcodec copy timebase selection last one choose 1fps due to broken opendivx stream in avi (avi had the correct 15fps)
Originally committed as revision 6920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 21:54:23 +00:00
Baptiste Coudurier 8a7bde1ca9 move check for output file streams num in av_encode
Originally committed as revision 6907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 20:08:26 +00:00
Baptiste Coudurier f932cdf209 kill AVImageFormat
Originally committed as revision 6875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 23:22:23 +00:00
Steve L'Homme 949b1a13bf Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 22:39:58 +00:00
Michael Niedermayer d29de719a0 better timebase selection heuristic for video stream copy
fixes -ss -t -vcodec copy

Originally committed as revision 6847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-31 00:39:02 +00:00
borat@subsense.com 39a94d24f7 support for sub-only streams; patch by borat subsense com
Originally committed as revision 6755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 09:12:08 +00:00
Diego Biurrun c26abfa541 Rename ABS macro to FFABS.
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 23:17:58 +00:00
Diego Biurrun b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Diego Biurrun 4bef236ba8 Fix quantiSer --> quantiZer typo.
Originally committed as revision 6523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 10:23:59 +00:00
Diego Biurrun 3e66a74072 Update copyright year and mention other copyright holders.
Originally committed as revision 6408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 17:26:15 +00:00
Panagiotis Issaris 720442981b Remove the "mblmax" OptionDef. The equally named AVOption takes over its
function. A unit change is involved, but as AVOption parameters are now parsed
with ff_eval2(), you can use the QP2LAMBDA constant to ease the change.

Originally committed as revision 6370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 17:46:25 +00:00
Panagiotis Issaris 93b26b6381 Remove the "mblmin" OptionDef. The equally named AVOption takes over its
function. A unit change is involved, but as AVOption parameters are now parsed
with ff_eval2(), you can use the QP2LAMBDA constant to ease the change.

Originally committed as revision 6369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 17:45:51 +00:00
Panagiotis Issaris 0eba70acab Remove the "lmin" OptionDef. The equally named AVOption takes over its function.
A unit change is involved, but as AVOption parameters are now parsed with
ff_eval2(), you can use the QP2LAMBDA constant to ease the change, f.e.:
ffmpeg -i src.ext -lmin 21*QP2LAMBDA dst.ext

Originally committed as revision 6368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 17:44:53 +00:00
Panagiotis Issaris 494cf83702 Remove the "lmax" OptionDef. The equally named AVOption takes over its function.
A unit change is involved, but as AVOption parameters are now parsed with
ff_eval2(), you can use the QP2LAMBDA constant to ease the change:
ffmpeg -i src.ext -lmax 21*QP2LAMBDA dst.ext

Originally committed as revision 6367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 17:44:13 +00:00
Panagiotis Issaris 4156a436e3 Handle possible failure of ff_eval.
Originally committed as revision 6338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 14:04:36 +00:00
Panagiotis Issaris 22565f5d7e Remove the "error" OptionDef. The equally named AVOption takes over its
function.

Originally committed as revision 6322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 15:05:27 +00:00
Panagiotis Issaris cccb4c966b Remove the "mepc" OptionDef. The equally named AVOption takes over its function.
Originally committed as revision 6321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 15:04:56 +00:00
Panagiotis Issaris f4ea01dcd1 Remove the "skip_exp" OptionDef. The equally named AVOption takes over its
function.

Originally committed as revision 6320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 13:58:38 +00:00
Panagiotis Issaris f17ec19b5b Remove the "skip_factor" OptionDef. The equally named AVOption takes over its
function.

Originally committed as revision 6319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 13:57:48 +00:00
Panagiotis Issaris 7c1d662a0c Remove the "skip_threshold" OptionDef. The equally named AVOption takes over its
function.

Originally committed as revision 6318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 13:56:59 +00:00
Panagiotis Issaris bf08081389 Remove the "mb_threshold" OptionDef. The equally named AVOption takes over its
function.

Originally committed as revision 6317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 13:55:56 +00:00
Roman Shaposhnik f5a478f65d * Moving FifoBuffer out of libavformat/avformat.h and
libavformat/utils.c into libavutil

Originally committed as revision 6310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 07:31:53 +00:00
Panagiotis Issaris 56f68a4112 The "video_rc_buffer_aggressivity" variable is not being used anymore in
ffmpeg.c.

Originally committed as revision 6302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:51:59 +00:00
Panagiotis Issaris 8cd019bdca Remove the "sc_threshold" OptionDef variable.
Originally committed as revision 6301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:42:48 +00:00
Panagiotis Issaris c6dafae954 Remove the "bug" OptionDef used for setting the workaround_bugs variable.
Originally committed as revision 6300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:42:09 +00:00
Panagiotis Issaris 58bba31e3f Remove the "qsquish" OptionDef. The AVOption min/max value is changed to match
the removed range check in ffmpeg.c.

Originally committed as revision 6299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:39:56 +00:00
Panagiotis Issaris 6bacd250f4 Remove the "qmax" OptionDef.
Originally committed as revision 6298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:36:33 +00:00
Panagiotis Issaris 5687a2f4cc Remove the "qmin" OptionDef.
Originally committed as revision 6297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:34:58 +00:00
Panagiotis Issaris 315b0f9742 Remove the "bf" OptionDef parameter so the equally named AVOption will take
over. Move over ffmpeg.c constraint checking, but allow value of zero to disable
B-frame.

Originally committed as revision 6296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:34:13 +00:00
Panagiotis Issaris 4ff8fcefd2 Migrate the "packetsize" OptionDef option to become an AVOption.
Originally committed as revision 6293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:24:17 +00:00
Panagiotis Issaris 09a455764b Migrate the "muxrate" OptionDef option to become an AVOption.
Originally committed as revision 6292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:23:01 +00:00
Panagiotis Issaris 81d0618fa4 Remove the "bufsize" OptionDef option from ffmpeg.c. The equally named "bufsize"
AVOption takes over its function with a change in unit from kilobytes to bits.
Postfix "KiB" is available to ease the discomfort.

Originally committed as revision 6288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-18 19:27:12 +00:00
Panagiotis Issaris 469b7bf868 Remove the "rc_init_cplx" OptionDef option from ffmpeg.c. The equally named
"rc_init_cplx" AVOption takes over its function and this occurs transparantly.

Originally committed as revision 6277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 23:04:55 +00:00
Panagiotis Issaris dc5ee8bc54 Remove the "bt" OptionDef option from ffmpeg.c. The equally named
"bt" AVOption takes over its function although the parameter unit
has changed from kilobits/sec to bits/sec.

Originally committed as revision 6276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 22:32:30 +00:00
Panagiotis Issaris 0dcb89fc52 Remove the "i_qfactor" OptionDef option from ffmpeg.c. The equally named
"i_qfactor" AVOption takes over its function and this occurs transparantly.

Originally committed as revision 6275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 21:58:13 +00:00
Panagiotis Issaris e2a5bc881c Remove the "me_range" OptionDef option from ffmpeg.c. The equally named
"me_range" AVOption takes over its function and this occurs transparantly.

Originally committed as revision 6273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 19:25:22 +00:00
Panagiotis Issaris bcce83e693 Remove the "i_qoffset" OptionDef option from ffmpeg.c. The equally named
"i_qoffset" AVOption takes over its function and this occurs transparantly.

Originally committed as revision 6271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 19:00:46 +00:00
Panagiotis Issaris a2c00e43c7 Remove the "b_qoffset" OptionDef option from ffmpeg.c. The equally named
"b_qoffset" AVOption takes over its function and this occurs transparantly.

Originally committed as revision 6270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 18:55:08 +00:00
Panagiotis Issaris debe5ce152 Remove the "b_qfactor" OptionDef option from ffmpeg.c. The equally named
"b_qfactor" AVOption takes over its function and this occurs transparantly.

Originally committed as revision 6269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 18:43:42 +00:00
Panagiotis Issaris 3c96abacf0 Fix usage of b_quant_factor. It was not possible to actually use the b_qfactor
option, as b_quant_factor always got fixed to 2.0 (in any case when it actually
mattered, namely when B-frames were being used).

Originally committed as revision 6268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 18:28:11 +00:00
Panagiotis Issaris 3d720bda76 Remove the "qcomp" OptionDef option from ffmpeg.c. The equally named "qcomp"
AVOption takes over its function and this occurs transparantly.

Originally committed as revision 6267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 17:51:46 +00:00
Panagiotis Issaris 99aaf41312 Remove the "qblur" OptionDef option from ffmpeg.c. The equally named "qblur"
AVOption takes over its function and this occurs transparantly.

Originally committed as revision 6266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 17:51:00 +00:00
Panagiotis Issaris 908b845785 Remove the "pbias" OptionDef option from ffmpeg.c. The equally named "pbias"
AVOption takes over its function and this occurs transparantly.

Originally committed as revision 6265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 17:49:57 +00:00
Panagiotis Issaris 356e7a9d60 Remove the "ibias" OptionDef option from ffmpeg.c. The equally named "ibias"
AVOption takes over its function and this occurs transparantly.

Originally committed as revision 6264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 17:49:09 +00:00
Panagiotis Issaris 7c272c0eb0 Remove the "preme" OptionDef option from ffmpeg.c
Originally committed as revision 6263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 17:44:36 +00:00
Panagiotis Issaris babe0e8cef Remove the GOP "g" OptionDef option from ffmpeg.c .
Originally committed as revision 6262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 17:40:46 +00:00
Panagiotis Issaris a551510665 Remove the "maxrate" and "minrate" OptionDef options from ffmpeg.c. This
requires some modifications to the manpage, as now the unit of -b is bits/sec
not kbits/sec.

Originally committed as revision 6261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 17:38:43 +00:00
Panagiotis Issaris 3c0ba8703c Remove the "b" OptionDef option from the ffmpeg.c file. From now on the unit of
-b of ffmpeg is bits/sec not kbits/sec, as already was the case for the
AVOption. "k" and "M" suffixes are available though.

Originally committed as revision 6258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 11:15:55 +00:00
Panagiotis Issaris 8e16b25cc1 enables AVOption for muxing.
Patch by Takis
Original thread:
Date: Sep 8, 2006 10:58 AM
Subject: [Ffmpeg-devel] [PATCH] Enable AVOption for muxers

Originally committed as revision 6197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-08 14:21:57 +00:00
Panagiotis Issaris 63d5075c5c adds support for setting that album tag.
Patch by takis P issaris A uhasselt P be
Original thread:
[PATCH] Allow setting album tag
Date: Sept 06 2006 16:39

Originally committed as revision 6187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-07 08:27:05 +00:00
Michael Niedermayer 2c00106c2b ignore index parameter to ignore the ODML index in avi
Originally committed as revision 6177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 19:23:32 +00:00
Michel Bardiaux 5c07cf535f Clarified API for numbered sequences, patch by Michel Bardiaux % mbardiaux A mediaxim P be %
Original thread:
Date: Aug 30, 2006 4:54 PM
Subject: [Ffmpeg-devel] [PATCH] Clarified API for numbered sequences

Originally committed as revision 6166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 09:57:47 +00:00
Panagiotis Issaris e8a42081d2 Fix linking when the FFM muxer/demuxer is disabled.
patch by Panagiotis Issaris, takis.issaris _at_ uhasselt -dot- be

Originally committed as revision 6136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 01:22:03 +00:00
Nico Sabbi 4eb72c6b23 initial support for AVOption in AVFormatContext
Originally committed as revision 6108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 12:14:13 +00:00
Luca Abeni 0b50ac8a0f Avoid segfaulting if the swscale context cannot be allocated
Originally committed as revision 5936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-05 13:09:42 +00:00
Luca Abeni e7268d51af Fix "-aspect" when "-pad*" is used
Originally committed as revision 5935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-05 12:54:16 +00:00
Luca Abeni 18a54b040d Move ffmpeg.c to the swscale interface
Originally committed as revision 5891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 11:50:38 +00:00
Víctor Paesa 5894e1bbf2 add loop_input to AVFormatContext, getting rid of old hack
patch by Víctor Paesa <wzrlpy at arsystel com>

Originally committed as revision 5729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 21:13:49 +00:00
Diego Biurrun 2f30a81d19 CONFIG_WIN32 implies MinGW and Cygwin and possibly more, so use just
CONFIG_MINGW or __MINGW32__ instead.

Originally committed as revision 5718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 21:45:45 +00:00
Michael Niedermayer 748c2fca7e AVBitStreamFilter (some thingy which can modify the bitstream like add or remove global headers or change the headers or ...)
Originally committed as revision 5643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 15:04:46 +00:00
Michael Niedermayer 9e0db7d5aa simplify
Originally committed as revision 5513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-24 09:57:28 +00:00
Justin Ruggles cef7cc7232 CODEC_CAP_SMALL_LAST_FRAME patch by Justin Ruggles jruggle earthlink net
Originally committed as revision 5512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-24 09:25:21 +00:00
Diego Biurrun f1cc88a5d6 Use Subversion revision for FFMPEG_VERSION.
based on a patch by Ismail Dönmez ismail$$at$$pardus$$dot$$org$$dot$$tr

Originally committed as revision 5502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 10:24:08 +00:00
Stefan Huehner 7b49ce2e34 Add const to (mostly) char* and make some functions static, which aren't used
outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org

Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-18 11:33:14 +00:00
Loren Merritt 4e64beadf0 Snow 1pass ratecontrol
Originally committed as revision 5416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-28 12:38:10 +00:00
Luca Abeni b997b34fa7 Fix cropping & padding when capturing from a v4l(2) card
Originally committed as revision 5385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-16 13:43:06 +00:00
Luca Abeni c3f11d199c Simplify the code used for assigning video_resample, video_crop, & video_pad
Originally committed as revision 5306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-20 12:57:19 +00:00
Luca Abeni f122deb45c Cosmetic patch: fix indentation (broken by previous cropping / padding
patch)

Originally committed as revision 5280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 10:16:13 +00:00
Luca Abeni 07d0cdfc9f Make cropping, padding, and rescaling independent (after this patch,
the cropping / padding code in img_resample() is not needed anymore)

Originally committed as revision 5279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 09:04:15 +00:00
Luca Abeni 5341c20954 Baptiste COUDURIER's padding patch (reworked by me a little bit).
Moves padding code to imgconvert.c, and enables padding colorspaces != YUV420P.

Originally committed as revision 5278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 07:45:29 +00:00
Roman Shaposhnik 06ab9cffb2 * fixing -target *dv issues with not setting pix_fmt and adding dv50 target
Originally committed as revision 5244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 02:36:02 +00:00
Luca Abeni c17be81763 Change img_convert() from img_fmt to img_fmt with img_copy()
Originally committed as revision 5236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 08:25:09 +00:00
Harikrishnan Varma 023857be70 make the delta magnitude a user specifyable parameter:
-dts_delta_threshold.
patch by Harikrishnan Varma < hvarma AH divxcorp POIS com >
Original thread:
Date: Mar 14, 2006 1:13 AM
Subject: [Ffmpeg-devel] Audio-video sync problem when transcoding to
xvid in AVI

Originally committed as revision 5166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-15 07:16:16 +00:00
Baptiste Coudurier f2651e7a6c Fix cropping, depending on enc pix fmt
Originally committed as revision 5134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 13:55:48 +00:00
Luca Abeni 4c4a4e9afe Fix crop & pad + rescaling
Originally committed as revision 5133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-09 15:27:22 +00:00
Luca Abeni 6714e97c30 Rename the "-loop" option defined in ffmpeg.c to "-loop_input" ("-loop"
conflicts with an AVOption)

Originally committed as revision 5077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-28 11:32:31 +00:00
Baptiste Coudurier 9df3437fe1 This patch makes output codec keeping input pix_fmt value when using
stream_copy
patch by (Baptiste COUDURIER <baptiste@coudurier.smartjog@com>)

Originally committed as revision 5017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-13 15:36:13 +00:00
Luca Abeni 0a7b514f13 video4linux2 input support
patch by Luca Abeni, lucabe72 $$at$$ email $$dot$$ it

Originally committed as revision 4916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-01 11:31:33 +00:00
Dieter ceaf1909c1 add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com>

Originally committed as revision 4913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-30 23:33:19 +00:00
Alexander Strasser 45dd4350ac Print libavutil version too.
Originally committed as revision 4906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-28 16:23:04 +00:00
Luca Abeni dea42fdf8d ffmpeg forgets to set AVFormatParameters::pix_fmt when capturing from a
v4l card.
In other words, if you type ffmpeg -pix_fmt yuv422 -s 352x288 test.avi
the "-pix_fmt yuv422" option will have no effect.

Patch by Luca Abeni *** lucabe72 !a! email ! it ***

Originally committed as revision 4899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-26 19:38:16 +00:00
Diego Biurrun f038fe8b4a warning fixes by Luca Abeni, lucabe72 ##@## email ##.## it
Originally committed as revision 4898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-25 22:10:13 +00:00
Diego Biurrun 5509bffa88 Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Alex Beregszaszi cc59080c01 better version reporting
Originally committed as revision 4822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-07 20:21:36 +00:00
Robert Swain 58f7833e8e update x264 wrapper.
patch by Robert Swain.

Originally committed as revision 4784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-29 07:24:23 +00:00
Michael Niedermayer 51d6a3cf00 iterative overlapped block based motion estimation for snow
Originally committed as revision 4781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-28 15:43:53 +00:00
Michael Niedermayer c9ab8df88a 10l (didnt remove option from old ones after converting to AVOption)
Originally committed as revision 4775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-25 17:43:52 +00:00
Diego Biurrun bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Michael Niedermayer 0888fd220c support printing compact qp histogram
Originally committed as revision 4755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-18 20:01:02 +00:00
Diego Biurrun 115329f160 COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Måns Rullgård 4733abcbf3 use PRIxN, %zd, %td formats where needed
Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-12 01:56:46 +00:00
Alex Beregszaszi f37f8d4c55 fix ffserver, it is working for me now again, a more elegant fix is needed though
Originally committed as revision 4637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-12 23:38:39 +00:00
Michael Niedermayer 8f196b14f5 changing a few options to AVOptions
Originally committed as revision 4603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-20 21:43:45 +00:00
Michael Niedermayer 6fd46414db dont include opt.h in avcodec.h
Originally committed as revision 4591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 18:24:48 +00:00
Diego Biurrun 1471c6c2e8 CAREFULL --> CAREFUL typo fix
Originally committed as revision 4590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 16:30:47 +00:00
Michael Niedermayer ec9127c4a4 converting a few more options to AVOptions
Originally committed as revision 4587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 12:07:08 +00:00
Michael Niedermayer 637b5326f3 convert some options in ffmpeg.c to AVOptions
Originally committed as revision 4586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 10:23:52 +00:00
Michael Niedermayer a1689e2f19 avoid stdio.h
Originally committed as revision 4585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 23:19:57 +00:00
Michael Niedermayer 8bbf6db98b AVOption API improvments
support AVOptions for encoding in ffmpeg.c

Originally committed as revision 4580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 11:10:25 +00:00
Michael Niedermayer e7902f2095 do not rescale AV_NOPTS_VALUE
Originally committed as revision 4577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 08:24:36 +00:00
Michael Niedermayer 78e035162c the user sets codec->time_base for video encding so she should also set it for audio encoding
Originally committed as revision 4555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-04 09:00:47 +00:00