Commit Graph

487 Commits

Author SHA1 Message Date
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