Commit Graph

665 Commits

Author SHA1 Message Date
Stefano Sabatini
d4f98ab118 Move up opt_show_license to get rid of ugly forward declaration.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 11019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 09:58:38 +00:00
Ramiro Polla
1b1656c67f Warn user if bitrate parameter is too low
Originally committed as revision 10919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 02:03:36 +00:00
Michael Niedermayer
0ac0703107 check av_interleaved_write_frame() return
fixes issue149

Originally committed as revision 10891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 01:59:22 +00:00
Nico Sabbi
c1a4cdf9bf removed unused variables accidentally introduced in stream_index_from_inputs()
Originally committed as revision 10870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-28 22:56:41 +00:00
Nico Sabbi
a15bc651f9 reindented after previous commit
Originally committed as revision 10867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-27 18:50:08 +00:00
Nico Sabbi
50e143c4be added option programid to select the program to use and relative code to handle it
Originally committed as revision 10866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-27 18:46:25 +00:00
Benoit Fouet
9a3fb64000 Merge audio and video bitstream filter options handling.
Originally committed as revision 10739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 07:20:54 +00:00
Stefano Sabatini
86074ed1b7 Implement common show version and banner.
Patch by Stefano Sabatini [stefano sabatini-lala poste it]

Originally committed as revision 10600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 06:38:40 +00:00
Stefano Sabatini
f94361612a Make parse_date return INT64_MIN in case of unparsable input.
Patch by Stefano Sabatini: [stefano sabatini-lala poste it]
Original thread:
[FFmpeg-devel] [PATCH] Enhace documentation forlibavformat/utils.c:parse_date
Date: 08/17/2007 09:40 PM

Originally committed as revision 10533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-19 12:38:07 +00:00
Ramiro Polla
f71163d791 Move av_exit() to before main()
Originally committed as revision 10510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 18:08:51 +00:00
Ramiro Polla
47f93b61e8 Split av_exit() out of main()
Originally committed as revision 10509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 18:08:01 +00:00
Stefano Sabatini
032aa7df43 Cosmetic, change "fvstats" to "vstats_file".
Patch by Stefano Sabatini: [stefano sabatini-lala poste it]

Originally committed as revision 10424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-06 20:11:02 +00:00
Marc Hoffman
e146ce521f using isnan instead of d==d, to signal correctly parsed option
Originally committed as revision 10406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 15:00:00 +00:00
Stefano Sabatini
d16069952e Make ffmpeg use cmdutils.c show_license function
patch by Stefano Sabatini: [stefano sabatini minus lala ! poste it]

Originally committed as revision 10182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 13:04:49 +00:00
Luca Abeni
6d1ba1ac83 Print an SDP when all outputs are RTP (the SDP can be saved in a text file
and used to receive the streams)

Originally committed as revision 10150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 08:12:08 +00:00
Godwin Stewart
250c531710 update -t option documentation
Patch by Godwin Stewart

Originally committed as revision 10146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 06:50:09 +00:00
Reimar Döffinger
4f48929248 Change imprecise "Unknown codec" message to say "encoder" or "decoder"
instead of "codec"

Originally committed as revision 10142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 11:12:47 +00:00
Stefano Sabatini
60a9966e4d Make cmdutils.c:parse_options accept as argument a function to parse
bare command line parameters.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 23:03:36 +00:00
Stefano Sabatini
74f0780543 Make show-version exit 0.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 13:12:32 +00:00
Stefano Sabatini
5c14a7955e Make show-license exit 0.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 13:11:30 +00:00
Stefano Sabatini
c20bd3e0d8 Make ffmpeg -formats exit 0.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 13:09:35 +00:00
Stefano Sabatini
1af2ca7859 Prefix with "opt_" the functions ffmpeg.c:show_{version,license,formats}.
patch by Stefano Sabatini [stefano tod sabatini-lala £ poste it]

Originally committed as revision 10049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 07:28:18 +00:00
Michael Niedermayer
de2aeaef02 fix x11grab
Originally committed as revision 10046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 01:15:51 +00:00
Stefano Sabatini
aab1b7e56e Make ffmpeg and ffplay exit 0 after displaying help
patch by Stefano Sabatini [stefano sabatini minus lala at poste it]

Originally committed as revision 10012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:13:29 +00:00
Michael Niedermayer
81d6d520c0 always handle negative timestamp differences as timestamp discontinuity
Originally committed as revision 9984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 18:54:33 +00:00
Nicolas George
4a897224b7 Use the codec name from the command line options instead of the codec id.
patch by Nicolas George [nicolas dot george normalesup org]
original thread: [FFmpeg-devel] [PATCH] Codec lookup: do not use codec_id
date: 06/18/2007 06:19 PM

Originally committed as revision 9983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 14:34:51 +00:00
Benoit Fouet
9895ebe4f5 Avoid showing banner twice.
Originally committed as revision 9980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 14:09:18 +00:00
Ramiro Polla
a9bb28a315 Indent
Originally committed as revision 9971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 00:46:36 +00:00
Michael Niedermayer
a8482aab87 make dts_delta_threshold float so values <1 can be used
Originally committed as revision 9970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 00:26:37 +00:00
Michael Niedermayer
d4d226a8d5 audio drift threshold
(this switches between resampling style timestamp drift compensation and
hard insert silence / drop samples compensation)

Originally committed as revision 9969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 00:03:50 +00:00
Michael Niedermayer
365515ac7f be slightly more careful with copying the codec_tag in the streamcopy case
fixes streamcopy of Xmen-avc-500.vp6 into flv
closes issue 57

Originally committed as revision 9909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 16:03:39 +00:00
Michael Niedermayer
7cacf1e86a drop non keyframes before the first keyframe for stream copy
Originally committed as revision 9881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 23:25:03 +00:00
Michael Niedermayer
4efd6f58b6 fix block_align for mp3 stream copy
Originally committed as revision 9880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 23:23:42 +00:00
Michael Niedermayer
c0dd7b7c94 get rid of some double timebase convertion
Originally committed as revision 9878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 20:49:53 +00:00
Michael Niedermayer
fec401f718 properly implement "user specified start time offset" which was added in r3217
-ss should now work again
fixes decoding of low.ogg
closes issue47

Originally committed as revision 9876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 19:21:50 +00:00
Aurelien Jacobs
11bf3847b3 add proper support for subtitles muxing/stream copying
Originally committed as revision 9798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 19:47:44 +00:00
Aurelien Jacobs
8e0d882b49 copy language information from input stream to output
Originally committed as revision 9797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 19:39:27 +00:00
Aurelien Jacobs
a03d59b720 copy packet duration when doing a stream copy
Originally committed as revision 9796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 19:36:43 +00:00
Diego Biurrun
390d5a7cad cosmetics: indentation
Originally committed as revision 9758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 14:48:38 +00:00
Diego Biurrun
d0f596b4ef Make video hook infrastructure conditional on video hooks being enabled.
Originally committed as revision 9757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 14:48:13 +00:00
Alex Beregszaszi
d24ce947ca indentation fix
Originally committed as revision 9746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 00:44:47 +00:00
Alex Beregszaszi
6c4d4fa361 removed unused variable ti
Originally committed as revision 9745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 00:43:35 +00:00
Alex Beregszaszi
43924f018b use av_q2d as in the rest of the file
Originally committed as revision 9720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 13:04:22 +00:00
Ramiro Polla
7495c3066d Check for GetProcessTimes and use it in getutime
Originally committed as revision 9629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 16:11:36 +00:00
Ramiro Polla
7829950cf2 Collapse getutime into one declaration
Originally committed as revision 9628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 16:05:36 +00:00
Ramiro Polla
66be5b4536 Check for getrusage
Originally committed as revision 9627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 16:04:00 +00:00
Ramiro Polla
4b54c6d084 Check for termios before conio
Originally committed as revision 9598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 14:07:55 +00:00
Ramiro Polla
e16e49ac90 Proper check for interactive support (termios and conio).
Originally committed as revision 9597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 14:04:54 +00:00
Ramiro Polla
7c37e504f0 Remove OS/2 support
Originally committed as revision 9586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 21:52:04 +00:00
Diego Biurrun
4021300cd5 grammar error noticed by Mark Cox
Originally committed as revision 9534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 09:20:51 +00:00
Stefano Sabatini
c0de00dac5 me option implemented as an AVOption
patch by Stefano Sabatini: [stefano sabatini-lala poste it]
original thread:
[FFmpeg-devel] [PATCH] ffmpeg.c -me option implemented as an AVOption
date: 07/05/2007 03:12 PM

Originally committed as revision 9501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 11:47:02 +00:00
Diego Biurrun
e5a389a1b7 license header consistency cosmetics
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:40:25 +00:00
Ronald S. Bultje
0f4e816582 to be able to compile without HAVE_AV_CONFIG_H
patch by Ronald S. Bultje: [rsbultje gmail com]
original thread: [FFmpeg-devel] ffmpeg.c/cmdutils.c compilation
date: 06/23/2007 03:15 AM

Originally committed as revision 9453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 07:43:23 +00:00
Ronald S. Bultje
9de8e6acf9 remove ENABLE_SWSCALER conditions
patch by Ronald S. Bultje: [rsbultje gmail com]

Originally committed as revision 9435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 16:13:44 +00:00
Benoit Fouet
29cc1c23d1 Make globals static
Originally committed as revision 9433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 15:52:54 +00:00
Måns Rullgård
f7d78f3654 replace the uses of old string functions that Reimar missed
Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 11:27:12 +00:00
Stefano Sabatini
b33ece1634 replace calls to deprecated parsing functions to calls to new ones
patch by Stefano Sabatini: [stefano sabatini-lala poste it]

Originally committed as revision 9359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-18 08:08:43 +00:00
Diego Biurrun
755bfeabcc misc spelling fixes
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Diego Biurrun
364a960704 Move HAVE_AV_CONFIG_H definition to the Makefile like in the rest of FFmpeg.
Originally committed as revision 9273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-10 14:34:56 +00:00
Stefano Sabatini
c3b95b1d3d Add support for listing the supported pixel formats using the option
-pix_fmt list
patch by Stefano Sabatini stefano sabatini minus lala chez poste it
original thread: [FFmpeg-devel] [PATCH] List supported pixel formats
date: 05/25/2007 05:46 PM

Originally committed as revision 9162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 14:20:55 +00:00
Aurelien Jacobs
808d83fd33 cosmetics: indentation
Originally committed as revision 9161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 10:11:05 +00:00
Aurelien Jacobs
8623e55867 use if(ENABLE_SWSCALER) instead of #ifdef CONFIG_SWSCALER
Originally committed as revision 9160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 10:09:54 +00:00
Ivo van Poorten
3592648940 -sws_flags command line option to set swscaler flags
Originally committed as revision 9109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 18:35:45 +00:00
Luca Abeni
df0cecdde0 Do not try to set a video standard unless "-tvstd" is specified
Originally committed as revision 9088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 09:50:17 +00:00
Nicolas George
3688f93aed make help message go to standard output instead of standard error
patch by Nicolas George \ nicolas george normalesup org /

Originally committed as revision 8947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 08:17:35 +00:00
Stefano Sabatini
b60d13799d add a vstats_file command line option
patch by Stefano Sabatini stefano sabatini-lala poste it

Originally committed as revision 8810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 13:55:11 +00:00
Benoit Fouet
4bd0c2b1d5 Revert my two previous deliveries (back to r8806) to aply the good patch for vstats
Originally committed as revision 8809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 13:48:36 +00:00
Benoit Fouet
f5eb2b653f to complete r8807: free vstats resources
Originally committed as revision 8808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 12:19:56 +00:00
Stefano Sabatini
f801d8aa86 add a vstats_file command line option
patch by Stefano Sabatini stefano sabatini-lala poste it

Originally committed as revision 8807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 09:32:45 +00:00
Michael Niedermayer
859d95baa1 fix overhead and bitrate statistics
Originally committed as revision 8732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-14 17:50:39 +00:00
Baptiste Coudurier
eddc482dff print error message
Originally committed as revision 8569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 16:04:44 +00:00
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