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

1161 Commits

Author SHA1 Message Date
Baptiste Coudurier
d2ce2f5e5c cosmetics, reindent
Originally committed as revision 13869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 01:36:15 +00:00
Baptiste Coudurier
dbedf2aae2 enable feeder threads
Originally committed as revision 13868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 01:35:43 +00:00
Stefano Sabatini
88643f396a Cosmetics: display ffmpeg -h generic advanced options just after
generic non-advanced options.

Originally committed as revision 13794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-17 10:11:46 +00:00
Stefano Sabatini
ef3efa0dbc Don't show advanced subtitle options within the ffmpeg -h generic
advanced options.

Originally committed as revision 13779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 13:02:22 +00:00
Stefano Sabatini
fb74bc4361 Don't show subtitle and grab options within the ffmpeg -h generic options.
Originally committed as revision 13778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 10:00:32 +00:00
Stefano Sabatini
d58ddafdbc Make ffmpeg.c use print_error() when it can't read an ffserver stream.
Originally committed as revision 13761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-12 22:30:01 +00:00
Stefano Sabatini
462cca10cf Improve ffmpeg error reporting in case of input/output stream mismatch,
enabling a dump_format() of the mismatched output stream.

Originally committed as revision 13760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-12 22:07:17 +00:00
Stefano Sabatini
d18811bbf5 Make ffmpeg.c:opt_thread use parse_number_or_die().
Originally committed as revision 13758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-12 21:21:28 +00:00
Stefano Sabatini
3022cd10a5 Factorize options context setting.
Patch by Stefano Sabatini stefano sabatini-lala posteit

Originally committed as revision 13756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-12 11:28:49 +00:00
Baptiste Coudurier
837d248df6 enable stream copy with ffserver, to be able to chain
Originally committed as revision 13753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-12 01:43:52 +00:00
Baptiste Coudurier
6dfafe109d set log debug when avformat debug is set
Originally committed as revision 13750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-11 23:45:00 +00:00
Baptiste Coudurier
3438d82d4b remove ugly ffm_nopts hack, use AVFormatContext->timestamp
Originally committed as revision 13718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 00:24:29 +00:00
Michael Niedermayer
e66ace6f0b Support longer paths for and longer names in preset files.
Originally committed as revision 13710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 10:52:41 +00:00
Michael Niedermayer
439c18c75d indent
Originally committed as revision 13709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 10:48:52 +00:00
Michael Niedermayer
23b20b5cf3 Search /usr(/local)/share for preset files as well.
This also fixed a null pointer dereference if HOME isnt set.

Originally committed as revision 13708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 10:48:23 +00:00
Michael Niedermayer
d9f1b68cf5 Presets support.
How per codec defaults and ranges will be supported is still being discussed.

Originally committed as revision 13685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 09:12:42 +00:00
Stefano Sabatini
e992fba4ba Add a few newlines to 'ffmpeg -h' output to make it more readable.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 18:36:44 +00:00
Peter Ross
418a0b9fc4 Compiling ffmpeg.c fails when when the .ffm demuxer is enabled, but the .ffm
muxer is disabled. The cause is an incorrect #ifdef that assumes that the
ffm_nopts symbol (global define in ffmenc) is present when either ffm muxer
OR demuxer is enabled.
patch by Peter Ross, pross xvid org

Originally committed as revision 13573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 14:22:30 +00:00
Michael Niedermayer
573e8cb309 Remove incorrect usage of av_free_static(), ffmpeg.c is not a
windows dll which can be unloaded and loaded again.

Originally committed as revision 13565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 20:30:29 +00:00
Baptiste Coudurier
9d58e0a9e1 cosmetics, space before and after parenthesis, weird indentation
Originally committed as revision 13539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 21:26:30 +00:00
Erik Hovland
f094b6627d Remove unnecessary header #includes.
Extracted from a patch by Erik Hovland, erik hovland org.

Originally committed as revision 13531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 13:40:43 +00:00
Stefano Sabatini
ea9c581f61 Simplify show_banner() so that it does not require arguments, similar
to what was previously done with show_version().
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 08:48:51 +00:00
Stefano Sabatini
e5f6b7e5ac Slightly clarify bitstream filter help output.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 11:55:59 +00:00
Michael Niedermayer
e6b4e4ff5f Remove coded_frame==NULL checks for video encoders.
Originally committed as revision 13493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 11:34:26 +00:00
Baptiste Coudurier
1234da4caf use av_fifo_generic_write, old func is deprecated
Originally committed as revision 13455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 01:26:22 +00:00
Michael Niedermayer
bcbd328e17 Make stream copy of ac3 from riff based formats work.
Originally committed as revision 13408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 00:47:49 +00:00
Michael Niedermayer
fa3b98182d Ensure that one can store X bytes in a fifo of size X.
Fixed issue417.

Originally committed as revision 13405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 23:04:09 +00:00
Michael Niedermayer
0871ae1a93 Make av_fifo*_read() ignore the available amount of data.
This is more efficient as in practice the check is redundant most of the
time. Callers which do not know if enough data is available have to check
it with av_fifo_size(). Doing the check in *read() means the caller has
no choice to skip the check when its known to be redundant.
Also the return value was never documented in a public header so
changing it should not break the API. Besides this fixes the case where
read() failed on a 100% full fifo.

Originally committed as revision 13404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 22:20:39 +00:00
Michael Niedermayer
46eab09341 Make opt_verbose() work again.
Originally committed as revision 13403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 20:34:50 +00:00
Stefano Sabatini
ba9880c13a Move show_formats() to cmdutils.c.
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-22 12:55:35 +00:00
Michael Niedermayer
20176cbc73 Get rid of more senseless wrapper functions and use OPT_EXIT instead.
Originally committed as revision 13233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 23:41:17 +00:00
Michael Niedermayer
64555bd9b1 Do not pass program_name as argument to show_version(), this allows some
future simplifications.

Originally committed as revision 13232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 23:36:32 +00:00
Michael Niedermayer
a0b3bcd9fe OPT_EXIT
Originally committed as revision 13231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 23:27:50 +00:00
David Bolt
475f4d8d4b Print timestamp with increased precision.
Patch by David Bolt

Originally committed as revision 13217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 17:44:51 +00:00
Stefano Sabatini
54d2d4f698 Make 'ffmpeg -formats' print codec long names.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-13 15:36:10 +00:00
Dave Yeo
0a1b29dea7 sys/resource.h needs sys/types.h on OS/2, patch by Dave Yeo, daveryeo telus net
Originally committed as revision 13116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 11:17:23 +00:00
Diego Biurrun
245976da2a Use full path for #includes from another directory.
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Ramiro Polla
b091aa44b7 Check for sys/resource.h and include it conditionally.
Originally committed as revision 13075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 00:44:42 +00:00
Diego Pettenò
580a6c57a3 Mark symbols as static, patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com
Originally committed as revision 13026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-01 15:12:00 +00:00
Stefano Sabatini
c48da33c63 Send context to some ffmpeg.c opt* function
Patch by Stefano Sabatini ( stefano sabatini-lala poste it )

Originally committed as revision 12927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 20:17:30 +00:00
Stefano Sabatini
66824f990b Make some ffmpeg opts use parse-number-or-die.
Patch by Stefano Sabatini stefano sabatini-lala posteit

Originally committed as revision 12919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-21 08:59:38 +00:00
Ramiro Polla
8767060cd2 Fix bug introduced by r12827.
If av_exit() was called after an AVFormatContext was created, but before
its file was opened, av_exit() would pass a NULL pointer to url_fclose().

Originally committed as revision 12915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-21 01:22:25 +00:00
Ramiro Polla
296df4e75f Use av_exit() instead of exit() for a minimal cleanup
before leaving ffmpeg.
Needed by some grab devices and possibly network streams.

Originally committed as revision 12827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 22:35:32 +00:00
Ramiro Polla
e5295c0dd9 Move av_exit() so it can be used by more functions
without needing forward declaration.

Originally committed as revision 12826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 22:31:49 +00:00
Stefano Sabatini
6363827e13 Complete argument information in ffmpeg.c:options for non-number arguments
Patch by Stefano Sabatini ( stefano sabatini-lala poste it )

Originally committed as revision 12766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-08 01:01:00 +00:00
Stefano Sabatini
7542157d8a Export parse_time_or_die from ffmpeg.c to cmdutils.c
Patch by Stefano Sabatini (stefano sabatini-lala poste it)

Originally committed as revision 12647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 10:01:06 +00:00
Stefano Sabatini
b19221c8ce Make option time parsing functions take argument from options
Patch by Stefano Sabatini ( stefano sabatini-lala poste it )

Originally committed as revision 12551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 15:12:04 +00:00
Stefano Sabatini
972d628a8b Provide a context to parse_time_or_die().
Patch by Stefano Sabatini: stefano sabatini-lala poste it

Originally committed as revision 12472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:33:21 +00:00
Evgeniy Stepanov
90c2295b24 Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing
of matroska and nut.

Originally committed as revision 12358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:25:09 +00:00
Michael Niedermayer
e60da588e3 sws_flags is unsigned.
This together with the last commit fixes the strange behavior of -sws_flags.
(issue229)

Originally committed as revision 12325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 04:02:04 +00:00
Michael Niedermayer
3948c74f80 Remove INFINITY.
Originally committed as revision 12288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 23:36:27 +00:00
Stefano Sabatini
53d1bdbaed Clarify the documentation for 'ffmpeg -v'.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 12216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 16:01:53 +00:00
Michael Niedermayer
10e7fc7ce4 Reduce initial fifo size, so as not to senselessly waste memory.
Originally committed as revision 12186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 01:56:27 +00:00
Michael Niedermayer
a6ebca9e09 realloc fifo
Originally committed as revision 12185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 01:55:34 +00:00
Stefano Sabatini
b3574faa06 Remove a superfluous call to atoi in ffmpeg.c:opt_verbose
Patch by Stefano Sabatini ( stefano sabatini-lala poste it )
[FFmpeg-devel] [PATCH] Cosmetics: remove a superfluos call to atoi in
ffmpeg.c:opt_verbose

Originally committed as revision 12136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 15:30:56 +00:00
Michael Niedermayer
5bc440e7e8 Add notes where known timestamp issues remain.
Originally committed as revision 12135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 21:31:39 +00:00
Michael Niedermayer
48291040ea Set initial next_pts to unknown, this avoids the nonsense timestamp
discontinuity at the start. I hope this has no sideeffects, if it does
send a bugreport!
fixes issue137

Originally committed as revision 12134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 20:12:44 +00:00
Michael Niedermayer
40cb57a287 Print a warning if a decoder produces more than 1 frame of output for
a single frame it got from the demuxer+parser.

Originally committed as revision 12133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 19:38:47 +00:00
Michael Niedermayer
ed9238593e Set next_pts to pts if it is unknown and pkt->dts is not known either. This
is needed because next_pts is used to calculate the next pts and adding
to AV_NOPTS_VALUE does not achieve the intended result.

Originally committed as revision 12132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 19:08:15 +00:00
Michael Niedermayer
b1b818fce8 simplify (next_)pts code
Originally committed as revision 12131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 17:55:53 +00:00
Michael Niedermayer
da0ef2d557 Use next_pts if pkt->dts is unknown. In an ideal world this would not be needed
but sadly there are cases where the timestamps cannot be found without decoding.

Originally committed as revision 12130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 17:41:32 +00:00
Michael Niedermayer
19d5da500f Update ist->pts after decoding a codec frame not after decoding a container
frame.

Originally committed as revision 12062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:45:12 +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
Diego Biurrun
c4c52acc36 Remove pointless #if.
Originally committed as revision 11888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 18:07:20 +00:00
Michael Niedermayer
f73008d820 const
Originally committed as revision 11844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 00:37:36 +00:00
Aurelien Jacobs
815f98cce4 non-const 2nd parameter for strtol/strtod
Originally committed as revision 11803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 00:54:37 +00:00
Baptiste Coudurier
99fb79b55a Do not print quality when stream copy,
Silence valgrind complaint:
==14746== Conditional jump or move depends on uninitialised value(s)
==14746==    at 0x43488DF: (within /lib/i686/cmov/libc-2.7.so)
==14746==    by 0x434ED81: __printf_fp (in /lib/i686/cmov/libc-2.7.so)
==14746==    by 0x434A3F3: vfprintf (in /lib/i686/cmov/libc-2.7.so)
==14746==    by 0x436EA93: vsnprintf (in /lib/i686/cmov/libc-2.7.so)
==14746==    by 0x4353234: snprintf (in /lib/i686/cmov/libc-2.7.so)
==14746==    by 0x806247C: print_report (ffmpeg.c:963)

Originally committed as revision 11728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:08:04 +00:00
Reimar Döffinger
e1cc833926 Add sbsf option for subtitle bitstream filter
Originally committed as revision 11658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 21:13:40 +00:00
Evgeniy Stepanov
f8d7c9d373 Add support for Matroska attachments.
patch by eugeni _dot_ stepanov _at_ gmail.com and myself

Originally committed as revision 11635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 15:43:17 +00:00
Diego Biurrun
1f8e32cda1 cosmetics: Fix Benoit's ugly formatting.
Originally committed as revision 11593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-22 08:52:57 +00:00
Benoit Fouet
7055cdacab Inform user when bitstream filter fails.
Originally committed as revision 11587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 13:36:20 +00:00
kweiner@spamcop.net
ab759f6e1e Add "genre" command line option
Patch by kweiner spamcop net
closes Issue318

Originally committed as revision 11489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-10 10:25:15 +00:00
Andreas Öman
8b389f15cd Correctly use output format stream index for bitstream filter when doing stream copy.
Originally committed as revision 11480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-09 06:22:32 +00:00
Andreas Öman
8e4270c551 Dont crash if resampling is requested but no audio packets are ever processed.
Originally committed as revision 11449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 20:42:45 +00:00
Morten Hustveit
ebde2a2cd8 Fix prototype and return value of opt_bitrate and opt_bsf.
Patch by Morten Hustveit: lists rashbox org

Originally committed as revision 11370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 10:24:36 +00:00
Morten Hustveit
464a631c34 Define rc override string as const.
Patch by Morten Hustveit: lists rashbox org

Originally committed as revision 11369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 10:22:36 +00:00
Michael Niedermayer
9de0be61be Do not force fps unless the user actually specified one.
fixes issue309

Originally committed as revision 11322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-26 22:28:22 +00:00
Michael Niedermayer
b4dba580f9 fix pts and keyframe flags for yuv4mpeg
fixes issue258

Originally committed as revision 11320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-26 20:38:28 +00:00
Michael Niedermayer
a5baedea01 Prevent silent overwriting of files on windows.
fixes issue308
untested

Originally committed as revision 11315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-25 10:06:22 +00:00
Diego Biurrun
b7d8f6e095 Fix "suggest parentheses around assignment used as truth value" warnings.
Originally committed as revision 11293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 11:36:04 +00:00
Baptiste Coudurier
a06a18c55d reset manually selected codecs at the end of opt_input_file, to avoid propagating selection to output file
Originally committed as revision 11289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 10:08:43 +00:00
Michael Niedermayer
626004690c Allow overriding codec_ids.
Originally committed as revision 11266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 10:56:17 +00:00
Andreas Öman
2886f3113e Notify the input coder about the number of requested channels.
If the decoder does not fulfill our request, try using lavf's audio_resample().
If that also fails, bail out.

Originally committed as revision 11222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 07:04:17 +00:00
Måns Rullgård
a309073bf4 use av_log_get/set_level()
Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 21:48:50 +00:00
Michael Niedermayer
84be6e7239 av_*_next() API for libavformat
Originally committed as revision 11206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 19:01:58 +00:00
Michael Niedermayer
55b9e69a31 av_*_next() API for libavcodec
Originally committed as revision 11204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 18:40:11 +00:00
Panagiotis Issaris
8540e8c3ec Show which bitstreamfilters were compiled in, similar to the protocols etc
enumerations.

Originally committed as revision 11203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 11:52:27 +00:00
Baptiste Coudurier
6b80f1a12d add const to remove warnings, ffmpeg.c:2892: warning: initialization discards qualifiers from pointer target type
Originally committed as revision 11151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 10:03:32 +00:00
Michael Niedermayer
e515221618 Remove rc_eq-specific code, it is passed by AVOption now.
Originally committed as revision 11143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 02:05:31 +00:00
Michael Niedermayer
4b59cf6c1c Fix non-numeric AVOptions.
Originally committed as revision 11142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 01:46:32 +00:00
Michael Niedermayer
90901860c2 stupid code (casting of void*) found by checktree.sh
Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 00:19:44 +00:00
Michael Niedermayer
1c715415e3 frame_size vs. frame_size*channels bug
Originally committed as revision 11107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-28 00:59:19 +00:00
Luca Abeni
c721d803cb Introduce libavdevice
Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 16:10:02 +00:00
Ramiro Polla
a5e979f42c os_support.h is also needed for usleep and lseek on MinGW.
Originally committed as revision 11075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 02:27:39 +00:00
Björn Axelsson
899681cd1d Use dynamically allocated ByteIOContext in AVFormatContext
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007

Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 07:41:00 +00:00
Diego Biurrun
3b8554662b Reorder functions to get rid of ugly forward declarations.
Originally committed as revision 11034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 12:31:58 +00:00
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
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
Reimar Döffinger
b461b3bc4a Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
Originally committed as revision 4548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 19:16:48 +00:00
Justin Ruggles
c57c770db3 vbr audio encode patch by (Justin Ruggles: jruggle, earthlink net)
with changes by me
    int->float as video uses float too
    remove silent cliping to some per codec range, this should result in an error instead
    remove change to utils.c as its inconsistant with video

Originally committed as revision 4533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 20:27:00 +00:00
Michael Niedermayer
30bc6613fe support fixing missing pts by parsing future frames
Originally committed as revision 4526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-15 14:22:43 +00:00
Mike Brown
ae38261ee8 changes to ignore command media embedded in MS WMV files patch by ("Brown, Mike": mikeb, vibephone com)
Originally committed as revision 4501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-10 23:41:20 +00:00
Luca Abeni
f2d9a9f5b7 let user set codec even if CODEC_ID_NONE is default patch by (Luca Abeni: lucabe72, email it)
Originally committed as revision 4466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-22 22:24:41 +00:00
Michael Niedermayer
01f4895c68 changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility
Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 22:24:36 +00:00
Michael Niedermayer
c6ec28b18c DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)
Originally committed as revision 4448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 00:28:12 +00:00
Michael Niedermayer
b7b84107b5 error_resilience = FF_ER_CAREFULL
Originally committed as revision 4433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:15:58 +00:00
Michael Niedermayer
90ad92b39d support changing in bitstream global headers into extradata style and back
Originally committed as revision 4395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 00:04:03 +00:00
Michael Niedermayer
6beefa4085 *BSD bktr grab support by (Jacob Meuser: jakemsr, jakemsr com)
Originally committed as revision 4392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-25 09:04:08 +00:00
Todd Kirby
8108551a5c Animated GIF looping patch by (Todd Kirby // ffmpeg.php gmail com)
Originally committed as revision 4383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-18 01:52:24 +00:00
Michael Niedermayer
1ab1f099eb set log level to AV_LOG_DEBUG if -debug ... is used
Originally committed as revision 4359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-07 21:53:56 +00:00
Fabrice Bellard
cf7fc795ae support for adding new components (syntax: ffmpeg -i input_file [output options] output_file [[component output options] {-newaudio|-newvideo|-newsubtitle}]... - added subtitle support - added '-alang' option
Originally committed as revision 4351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 14:31:45 +00:00
Måns Rullgård
ef7b5aee5d add -gray command line flag
Originally committed as revision 4328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-31 11:49:55 +00:00
Wolfram Gloger
b4a3389e70 sync output stream against any input stream (extension of map) patch by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
Originally committed as revision 4308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 08:59:05 +00:00
Michael Niedermayer
68fc9c272b b frame strategy
set emu edge if lowres

Originally committed as revision 4299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 22:03:24 +00:00
Michael Niedermayer
87017bada0 10l (rescaling AV_NOPTS_VALUE)
Originally committed as revision 4227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 16:28:24 +00:00
Michael Niedermayer
c0df9d75bd switch to native time bases
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-30 21:43:59 +00:00
Michael Niedermayer
644a92626a PIX_FMT_NONE and related fixes
Originally committed as revision 4161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 18:29:06 +00:00
Michael Niedermayer
09c3e44e8a motion estimation bitrate penalty compensation
Originally committed as revision 4092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 12:19:59 +00:00
Michael Niedermayer
dffbfd06e4 copy extradata for streamcopy
Originally committed as revision 4077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-24 01:47:45 +00:00
Calcium
b691166c0f 25_fix_problem_that_unsynced_with_ss_option.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 21:07:11 +00:00
Calcium
c64d476ccd 30_clean_up_global_header_flag.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 12:52:24 +00:00
Michael Niedermayer
59fa3f96f4 support omiting various headers in mpeg4 as WMP seems to have difficulty with them
based upon 27_WMP_compatibility_with_ISOMPEG4.patch by (Calcium | calcium nurs or jp)
  indention fixed
  uses workaround_bugs instead of strict_std_compliancy as WMP is not the reference implementation

Originally committed as revision 4069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 11:39:38 +00:00
Michael Niedermayer
a9aa346717 change audio volume range so that the very slow division by 100 can be avoided
alternatively we could also use a nicer default = 100 or 1.0 scale and internally change it (patch welcome)

Originally committed as revision 4066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 02:10:23 +00:00
Calcium
7e987c33ff 19_audio_volume_adj.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 01:59:17 +00:00
Calcium
ca80810bd9 12_finish_encoding_at_shortest_stream_was_finished.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 00:52:31 +00:00
Calcium
b6e16b8653 08_limit_in_filesize.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-22 18:20:07 +00:00
Michael Niedermayer
ff8cc24bf5 init has_b_frames for stream copy
Originally committed as revision 4060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-22 18:15:55 +00:00
Måns Rullgård
eb8393a8c7 argument name for -vdt
Originally committed as revision 4052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-17 05:07:54 +00:00
Michael Niedermayer
f3356e9c9e more fine grained discarding of packets
Originally committed as revision 4051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-17 01:25:01 +00:00
Michael Niedermayer
094147cd9c set global_quality
Originally committed as revision 4037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-14 23:14:17 +00:00
Calcium
da723fd2dd This patch corrects the bug, that if padbottom IS NOT specified and
padright IS specified
patch by (Calcium <calcium nurs.or jp>)

Originally committed as revision 3987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-27 01:46:24 +00:00
Måns Rullgård
88730be651 kill warnings patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 19:08:50 +00:00
Michel Bardiaux
3d38fd1cd4 better error message patch by (Michel Bardiaux <mbardiaux peaktime be>)
Originally committed as revision 3961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-16 23:56:51 +00:00
Michael Niedermayer
09b0499f1b seperate bitstream encoding skip from PASS1 flag
Originally committed as revision 3938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-06 10:36:07 +00:00
Michael Niedermayer
6e0d8c06c7 mb_lmin/max to limit the per mb quality for the ratecontrol independant from the frame limits
Originally committed as revision 3928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-02 19:33:48 +00:00
Michael Niedermayer
a603bf8d68 dont predict missing timestamps if we lack the required information to do so
Originally committed as revision 3898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-29 02:27:33 +00:00
Michael Niedermayer
b4aea108eb support discarding of uninterresting packets
Originally committed as revision 3858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 01:48:11 +00:00
Roine Gustafsson
ac930a999c console text to stderr : rev2 patch by (Roine Gustafsson <roine users.sourceforge net>)
Originally committed as revision 3854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-21 21:32:37 +00:00
Martin Drab
6a5d4395ed Exporting some more options patch by (Martin Drab <drab kepler.fjfi.cvut cz>)
Originally committed as revision 3847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-19 12:41:37 +00:00
Michael Niedermayer
fdb86eb10d trying to fix the -ss bugs
Originally committed as revision 3843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-17 03:15:57 +00:00
Michael Niedermayer
83b074704b never freed buffer fix
based upon a patch by (Kurosu <kurosu inforezo org>)

Originally committed as revision 3829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 18:12:13 +00:00
Michael Niedermayer
2fc8ea249f dissallow sprintf
Originally committed as revision 3823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:59:42 +00:00
Michael Niedermayer
0ecca7a49f various security fixes and precautionary checks
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:16:25 +00:00
Michael Niedermayer
4bbc62606d 10l (ret vs. ret>0)
Originally committed as revision 3818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-10 20:29:39 +00:00
Michael Niedermayer
55cf195952 .{Y,U,V} image2 support
Originally committed as revision 3802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 13:27:35 +00:00
Panagiotis Issaris
f50f817566 target VCD GOP size patch by (Panagiotis Issaris <takis >< lumumba dot luc.ac.be>)
Originally committed as revision 3781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 23:04:26 +00:00
Panagiotis Issaris
ff52bc3e31 target DV patch by (Panagiotis Issaris <takis at lumumba..luc..ac..be>)
Originally committed as revision 3779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 18:50:47 +00:00
Michael Niedermayer
c13449112b stream copy block_align
Originally committed as revision 3766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-20 12:55:40 +00:00
Panagiotis Issaris
ed2d7a341e When using the -target option, although PAL or NTSC is specified,
the framerate is not set according to the standard
add NTSC-Film framerates.
patch by (Panagiotis Issaris <takis O lumumba o luc o ac o be>)

Originally committed as revision 3763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-19 15:31:55 +00:00
Michael Niedermayer
15bc38e57c try to guess the fps if they are variable
Originally committed as revision 3760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-19 01:23:22 +00:00
Michael Niedermayer
2fef0bdfc1 try to set next_pts to a reasonable value in case of streamcopy
Originally committed as revision 3753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-14 20:01:49 +00:00
Michael Niedermayer
0fd6aea1f1 more flexible frame skip decission
Originally committed as revision 3743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-08 18:02:56 +00:00
Michael Niedermayer
bbf18b21b7 frame skip support
Originally committed as revision 3742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-08 11:46:16 +00:00
Michael Niedermayer
7ca60994f7 max frames command line options
Originally committed as revision 3722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-30 16:03:29 +00:00
Michael Niedermayer
8a6cb11455 10l (encode bit buffer too small for 1920x1080 raw)
Originally committed as revision 3716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-27 17:46:30 +00:00
François Revol
2450cff2c3 BeOS threading support. changed some "if FOO_THREAD||BAR_THREAD" to a more generic "if HAVE_THREADS"
Originally committed as revision 3702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-21 18:04:56 +00:00
Michael Niedermayer
cbb6e405c0 parts of the dvd patch from ("Chris" <chris <at< garveycocker >dot< com> and Paul Curtis <pfc >at> terrapin <dot< com>)
Originally committed as revision 3700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-21 03:37:33 +00:00
Michael Niedermayer
9286699a67 disable redundant image formats, otherwise we wont get any bugreports about -f image2
Originally committed as revision 3683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-14 22:30:44 +00:00
Michael Niedermayer
5b6d559680 move p*m from image/lavf -> image2/lavc
video/audio_codec_id in AVFormatParameters to override/help demuxer
av_guess_codec() to guess the default codecs based upon muxer + filename

Originally committed as revision 3668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-11 18:09:28 +00:00
Michael Niedermayer
70122f2902 remove weird offsets
Originally committed as revision 3660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-04 19:02:14 +00:00
Michael Niedermayer
b551204a96 stdin detection fix
Originally committed as revision 3633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 22:32:40 +00:00
Roman Shaposhnik
2639c651db * Introducing new UI for grabbing.
There's an option -grab <format> that basically acts as -i
      but for grabbing. So now it's possible to grab from multiple
      sources at once and fully control -r -s and -pix_fmt for
      each individual grab.

    * removing -dv1394
      Please use -grab dv1394 instead.

Originally committed as revision 3613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-20 04:57:09 +00:00
Michael Niedermayer
92a80570aa add the long_name to the -formats output patch by (john Galloway <jrg at monsterbot dot com>) and (Måns Rullgård <mru at mru dot ath dot cx>)
Originally committed as revision 3611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-19 10:52:59 +00:00
Wolfram Gloger
daed32f7d0 update sync_opts for video frame copy patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-17 23:57:28 +00:00
Michael Niedermayer
17c88cb0ce user setable preload and max_mux_delay
Originally committed as revision 3602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-16 21:27:42 +00:00
Michael Niedermayer
b2a2197e71 user setable fourcc
Originally committed as revision 3597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-16 01:51:50 +00:00
Michael Niedermayer
035817727f support strictly enforcing gop size
Originally committed as revision 3594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-15 02:37:04 +00:00
Michel Bardiaux
f255e0abfc config options log patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 3582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 19:50:50 +00:00
Michael Niedermayer
3ba1438dec use native timebase for seeking
direction flag for seeking

Originally committed as revision 3577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-10 22:05:43 +00:00
Michel Bardiaux
791d8d1d67 Doc improvement for -target patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 3569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-07 03:20:27 +00:00
Michael Niedermayer
6c55b27f8f do not randomize unknown timestamps
Originally committed as revision 3568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-07 01:55:34 +00:00
Michael Niedermayer
2db3c638a7 user selectable packet_size and mux_rate
Originally committed as revision 3566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 22:29:30 +00:00
Paul Curtis
78a0efb4fc AVOutputFormat mpeg2dvd_mux and int is_dvd from the dvd patch by (Paul Curtis <pfc at terrapin dot com>)
Originally committed as revision 3557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 18:21:45 +00:00
Michael Niedermayer
f20ad5534a fix initial vbv buffer underflow
Originally committed as revision 3556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 13:21:52 +00:00
Nathan Kurz
c19e76ceb7 ffmpeg not selecting first available stream, patch by (Nathan Kurz <nate at verse dot com>)
Originally committed as revision 3538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-29 15:53:37 +00:00
Michael Niedermayer
78953e626f avoid using local arrays outside the block where they live ...
Originally committed as revision 3536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 21:50:40 +00:00
Michael Niedermayer
58978c070a less printf spam
Originally committed as revision 3533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 19:14:47 +00:00
Michael Niedermayer
32019cddb4 fix assert
Originally committed as revision 3532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 14:52:24 +00:00
Michael Niedermayer
8cbd529f12 10l (wrong context)
Originally committed as revision 3508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-25 23:54:38 +00:00
Michael Niedermayer
178fcca848 1/2 resolution decoding
Originally committed as revision 3507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-25 23:18:58 +00:00
Michael Niedermayer
a42c7b07ae removing useless code
Originally committed as revision 3493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-22 18:50:15 +00:00
Michael Niedermayer
2b18dcd06d last timestamp and -vsync 0 fix
Originally committed as revision 3492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-22 17:50:53 +00:00
Michael Niedermayer
bd1b79a145 initial timestamp fix
Originally committed as revision 3485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-20 15:49:24 +00:00
Michael Niedermayer
bf0669aa87 forgotten parameter
Originally committed as revision 3428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 13:28:37 +00:00
Michael Niedermayer
df84ac2e7d stack overflow
Originally committed as revision 3389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-14 14:51:10 +00:00
Michael Niedermayer
baced9f598 user overrideable level & profile
Originally committed as revision 3385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 13:59:28 +00:00
Michael Niedermayer
9b7bf3c866 spelling fixes, closes bug #1005426
Originally committed as revision 3383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 00:50:56 +00:00
Michael Niedermayer
65bf3c53a7 typo fix by ("Todd.Kirby" <doubleshot at pacbell dot net>)
Originally committed as revision 3344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-26 16:32:15 +00:00
Michael Niedermayer
8300609b78 multi frame duplication fix
Originally committed as revision 3338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 09:30:56 +00:00
Patrice Bensoussan
a9aeda81e7 Fix bug causing conversion to stop when output_packet() fails patch by (Patrice Bensoussan <patrice.bensoussan at free dot fr>)
Originally committed as revision 3337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 00:22:20 +00:00
Patrice Bensoussan
0a38bafdcd Option to copy meta data from specified file patch by (Patrice Bensoussan <patrice.bensoussan at free dot fr>)
Originally committed as revision 3331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-21 01:35:32 +00:00
Michael Niedermayer
eb5ec8fe6c segfault fix
Originally committed as revision 3322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-16 00:00:52 +00:00
Michael Niedermayer
28f88dc826 in/outfile options
Originally committed as revision 3311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 02:39:55 +00:00
Michael Niedermayer
23c9925329 libdts support by (Benjamin Zores <ben at geexbox dot org>)
Originally committed as revision 3310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 01:32:14 +00:00
Michael Niedermayer
eb507b21c4 comment is no longer true
Originally committed as revision 3309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 00:27:55 +00:00
Michael Niedermayer
1ac3176044 ugly missing lrintf workaround by ("Steven M. Schultz" <sms at 2bsd dot com>)
Originally committed as revision 3289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-05 19:19:04 +00:00
Michael Niedermayer
c43042a7d4 100l fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-02 20:20:57 +00:00
Michael Niedermayer
f41dd5aad5 100l(audio sync) fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-02 13:25:04 +00:00
Mike Melanson
da1da89044 use a more portable version macro
Originally committed as revision 3281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-01 03:34:49 +00:00
Michael Niedermayer
ff4905a524 better audio drift compensation
Originally committed as revision 3275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 17:53:05 +00:00
Michael Niedermayer
641aa661f6 10l
Originally committed as revision 3273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 15:09:21 +00:00
Michael Niedermayer
986ebcdb1b audio timestamp drift compensation
Originally committed as revision 3272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 14:47:29 +00:00
Michael Niedermayer
ff90688844 10l
Originally committed as revision 3268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 10:33:37 +00:00
Mike Melanson
13100292d3 add some expanded information when printing the banner, and always print
the banner; this will hopefully help in bug reporting

Originally committed as revision 3267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 00:29:52 +00:00
Michael Niedermayer
23ffe323d0 -t + capture bugfix
Originally committed as revision 3266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-29 22:56:54 +00:00
Michael Niedermayer
27537106ac try to allocate the buffer before usig it :)
Originally committed as revision 3245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-22 21:45:30 +00:00
Michael Niedermayer
6f82497728 flush audio encoder buffers at the end
fix vorbis in nut again

Originally committed as revision 3244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-22 21:14:01 +00:00
Wolfram Gloger
cfcbbe48b6 Correct audio parameters when grabbing and using "-acodec copy" patch by (Wolfram Gloger <wmglo at dent ot med dot uni-muenchen dot de>)
Originally committed as revision 3235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-18 16:32:45 +00:00
Luca Abeni
6e454c38b0 A/V Synch in ffmpeg patch by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 3233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-18 03:03:32 +00:00
Michael Niedermayer
50c3dd32fd pass timestamps correctly for -sync 0
use zero sized frames in avi to handle duplicate frames

Originally committed as revision 3225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-15 13:49:12 +00:00
Michael Niedermayer
72bd81008e timestamp discontinuity correction try #1
Originally committed as revision 3218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-12 03:41:36 +00:00
Wolfram Gloger
a6a92a9aa6 user specified start time offset
frame dup/drop info
typos
patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)

Originally committed as revision 3217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-11 22:03:16 +00:00
Michael Niedermayer
1a11cbcc49 -cbp
change -dc range from 0-3 to 8-11

Originally committed as revision 3193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-05 21:08:45 +00:00
Michael Niedermayer
f7e1e69e18 -qprd
Originally committed as revision 3187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-02 18:51:43 +00:00
Michael Niedermayer
2a8edc5d92 10l (-top 0)
Originally committed as revision 3186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-02 17:17:44 +00:00
Michael Niedermayer
3c895fc098 correctly interleave packets during encoding
dts/pts fixed for streamcopy
dont use coded_frame->key_frame hack in muxers, use AVPacket.flags instead

Originally committed as revision 3171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 18:50:31 +00:00
Michael Niedermayer
e928649b0b pass AVPacket into av_write_frame()
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though

Originally committed as revision 3168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 02:06:32 +00:00
Michael Niedermayer
9debb40040 100l
Originally committed as revision 3151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-23 14:35:55 +00:00
Michael Niedermayer
9ee91c2f53 move time_base (pts_num/pts_den) from AVFormatContext -> AVStream
Originally committed as revision 3148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 20:43:21 +00:00
Michael Niedermayer
c7baf14bd4 muxing overhead statistic fix for stream copying
Originally committed as revision 3143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-20 16:05:47 +00:00
Michael Niedermayer
22f7a0601e automatic framerate selection
Originally committed as revision 3132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 16:51:39 +00:00
Michael Niedermayer
fcee016467 automatic pixel format selection
Originally committed as revision 3131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 16:00:44 +00:00
Michael Niedermayer
dd17409ca0 next_pts fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
note, dont take the PSNR/stddev values serious, they are caused by a bug in ffmpeg.c which drops one frame before the last frame during encoding with b frames

Originally committed as revision 3110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-05 21:23:28 +00:00
Michael Niedermayer
8a0c66a7e3 coder, context, predictor command line options
Originally committed as revision 3109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-05 21:19:08 +00:00
Michael Niedermayer
bf266e195a intra_dc_precission>0 encoding support
Originally committed as revision 3093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 13:44:29 +00:00
Michael Niedermayer
242f5b0a88 ffmpeg -version
Originally committed as revision 3091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 12:30:51 +00:00
Wolfram Gloger
4b85a28f27 Fix synthetic next_pts calculation / audio pts patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 23:06:29 +00:00
Michael Niedermayer
4ea4b27469 lmin/lmax
Originally committed as revision 3070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 19:43:01 +00:00
Michael Niedermayer
f20f8a8b0b support reusing mb types and field select values of the source file, but use motion vectors just as additional predictors
minor cleanup
segfault fix

Originally committed as revision 3060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 02:09:47 +00:00
Michael Niedermayer
5efe481a15 -qpel option
Originally committed as revision 3055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 13:34:32 +00:00
Timofei V. Bondarenko
2f0472ff81 me_range patch by ("Timofei V. Bondarenko" <timm at ipi dot ac dot ru>)
Originally committed as revision 3045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 20:39:23 +00:00
Michael Niedermayer
f4f3223ffd reuse motion vectors/mb types/field select values of the source video, if the SSE for a macroblock which is predicted with these values is below me_threshold
currently works only with mpeg1/2 source or some luck
may need -sync 0 as otherwise framedrops could lead to extreemly long b frame sequences

Originally committed as revision 3042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 19:06:30 +00:00
Michael Niedermayer
8857a7ef32 10l
Originally committed as revision 3034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 21:59:42 +00:00
Michael Niedermayer
e31d863ede pts fix / b frame segfault fix
Originally committed as revision 3030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 13:43:23 +00:00
Michael Niedermayer
2de28abbfd 10l (segfault fix)
Originally committed as revision 3029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 11:22:35 +00:00
Michael Niedermayer
a4d36c1113 passing AVFrame instead of AVPicture around in ffmpeg, that way stuff like motion vectors can be passed from the decoder to the encoder
moving ref_index from Picture to AVFrame

Originally committed as revision 3028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-17 19:41:49 +00:00
Michael Niedermayer
bf17ff617b stream copy pts fix
Originally committed as revision 3025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-17 03:34:17 +00:00
Michael Niedermayer
37f5cd5a18 10l (stats didnt include av_write_trailer())
Originally committed as revision 3015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-15 16:34:38 +00:00
Michael Niedermayer
1008ceb380 print video/audio/global_header size and muxing overhead
Originally committed as revision 3014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-15 13:57:55 +00:00
Allen Day
d223532c23 printf macro patch by (Allen Day <allenday at ucla dot edu>)
Originally committed as revision 2998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 13:54:40 +00:00
Allen Day
d8019eb5d8 verbosity patch by (Allen Day <allenday at ucla dot edu>)
Originally committed as revision 2997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 13:50:42 +00:00
Michael Niedermayer
b2e3c52814 require the user to explicitly specifiy --enable-gpl before enabling of gpl parts becomes possible
print correct license if --enable-gpl is specified

Originally committed as revision 2985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 14:50:00 +00:00
Todd Kirby
1ff93ffcd4 padding support in ffmpeg patch by (Todd Kirby <doubleshot at pacbell dot net>)
Originally committed as revision 2982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-08 18:54:40 +00:00
Roman Shaposhnik
4568325a18 * making it possible to specify recording date and time in a stream
Originally committed as revision 2971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-06 06:31:12 +00:00
Michael Niedermayer
64c020a8ab 10000l
Originally committed as revision 2966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-05 10:27:26 +00:00
Michael Niedermayer
0a3b044718 pass frame_size for stream copy
Originally committed as revision 2943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-01 19:16:24 +00:00
Wolfram Gloger
6fb316d563 Support raw mpegts streams from dvr patch by (wmglo at dent dot med dot uni-muenchen dot de)
Originally committed as revision 2931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 17:40:40 +00:00
Michael Niedermayer
d7646d7d93 h263 loop filter option
Originally committed as revision 2930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 17:31:00 +00:00
Michael Niedermayer
458eaddad1 slice structured encoding support & interlaced spelling
Originally committed as revision 2906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-18 22:51:42 +00:00
Michael Niedermayer
950b55d3e2 wrong help text
Originally committed as revision 2904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-18 21:56:53 +00:00
Leon van Stuivenberg
b51469a0c5 tcp select() check and enables pressing 'q' when reading/(writing) from
tcp/http in ffmpeg.c patch by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>)

Originally committed as revision 2891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 19:40:43 +00:00
Michael Niedermayer
3738fe1ae4 nicer output for 'ffmpeg -formats'
Originally committed as revision 2870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-11 01:12:30 +00:00
Michael Niedermayer
c4e3724713 write trailer before closing codecs as otherwise accesses to extradata in write_trailer() will cause a segfault
Originally committed as revision 2852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 22:51:22 +00:00
Michel Bardiaux
bc874daea8 av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 15:41:21 +00:00
Michael Niedermayer
9740beffc6 use AVFrame.pts=AV_NOPTS_VALUE instead of AVFrame.pts=0
move AV_NOPTS_VALUE & AV_TIME_BASE from avformat.h -> avcodec.h
related fixes

Originally committed as revision 2814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 17:35:52 +00:00
Michael Niedermayer
c62c07d3d7 multithreaded mpeg2 decoding
Originally committed as revision 2810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 20:56:56 +00:00
Hauke Duden
2451592652 improved VCD support patch by ("Hauke Duden" <H.NS.Duden at gmx dot net>)
- the first audio and video packs now contain only a system header and lots
  of padding.
  - no system headers in any packs other than the first ones
  - the two system headers only contain information about "their" stream
  - fixed some header values (muxrate, some flags, ...) so that they have the
  values specified by the standard
  - padding packs are inserted if the mux rate would be below 75 packs per
  second (the rate must not be below or above that value).
  - fixed the SCR of the packs
  - 20 zero bytes are now inserted at the end of each audio pack, after the
  data packet

Originally committed as revision 2804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 22:34:13 +00:00
Michael Niedermayer
16806499fc w32threads by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 20:29:26 +00:00
Michael Niedermayer
50ee2c4131 fix image resize
Originally committed as revision 2785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 17:20:42 +00:00
Gael Chardon
4776fa926f Log file and Windows patch by ("Gael Chardon" <gael-announcements+ffmpeg at 4now dot net>)
Originally committed as revision 2781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 15:04:01 +00:00
Michael Niedermayer
842b556af2 threadless threads warning
Originally committed as revision 2776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 22:18:33 +00:00
Michael Niedermayer
9c3d33d67f multithreaded/SMP motion estimation
multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263
all pthread specific code is in pthread.c
to try it, run configure --enable-pthreads and ffmpeg ... -threads <num>
the internal thread API is a simple AVCodecContext.execute() callback which executes a given function pointer with different arguments and returns after finishing all, that way no mutexes or other thread-mess is needed outside pthread.c

Originally committed as revision 2772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 17:54:10 +00:00
Michael Niedermayer
ae2e7208f9 pass strict_std_compliance to audio context too
Originally committed as revision 2763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-07 15:35:53 +00:00
Michael Niedermayer
2caa92d935 fixes by Gildas Bazin <gbazin at altern dot org>
Originally committed as revision 2745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-04 15:49:55 +00:00
Michael Niedermayer
77ea0d4bdd quantizer noise shaping
Originally committed as revision 2742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-02 03:52:58 +00:00
Michael Niedermayer
303e50e65b closed gop support & flags2 as all bits in flags are used
and a few minor things i forgot to commit ...

Originally committed as revision 2718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-22 19:48:28 +00:00
Michael Niedermayer
303aebf97a uninitalized variables fix by (Gildas Bazin <gbazin at altern dot org>)
and some related cleanup by me

Originally committed as revision 2677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 18:44:36 +00:00
Michael Niedermayer
622348f931 interlaced dct decision cleanup
function moved to dspcontext
  mmx&mmx2 optimized
  change SSE -> SAD as default (better quality)
vbv buffer size command line option in kbyte

Originally committed as revision 2669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-05 22:57:07 +00:00
Michael Niedermayer
baaf3f467b SVCD scan offset stuff
Originally committed as revision 2660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 00:23:14 +00:00
Michael Niedermayer
c0baa56a25 trellis quantization regression test
Originally committed as revision 2648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 22:04:14 +00:00
Michael Niedermayer
55bbad6f14 minrate=0 for SVCD & DVD, this matches mpeg2enc and the mpeg1/2 vissual standard
Originally committed as revision 2642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 15:05:19 +00:00
Michael Niedermayer
bb198e198a interlaced motion estimation
interlaced mpeg2 encoding
  P & B frames
  rate distored interlaced mb decission
  alternate scantable support
4mv encoding fixes (thats also why the regression tests change)
passing height to most dsp functions
interlaced mpeg4 encoding (no direct mode MBs yet)
various related cleanups
disabled old motion estimaton algorithms (log, full, ...) they will either be fixed or removed

Originally committed as revision 2638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 16:07:57 +00:00
Wolfgang Hesseler
0c9bbaec60 motion vector vissualization improvements patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 02:12:12 +00:00
Michael Niedermayer
890972be03 nicer looking PSNR stats (YUV seperate and print the whole file PSNR at the end instead of the last frame's)
Originally committed as revision 2635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-29 23:08:30 +00:00
Fabrice Bellard
a700a6ae8f moved packet output to a separate function - added the frame buffered by the decoder at EOF, if any
Originally committed as revision 2615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 14:43:44 +00:00
Michael Niedermayer
5d43635e47 motion estimation & mb compare functions command line options
Originally committed as revision 2613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 11:54:19 +00:00
Fabrice Bellard
8bb27bdfd4 init picture structure to avoid uninitialized fields
Originally committed as revision 2612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 10:46:34 +00:00
Michael Niedermayer
7ebfc0ea63 error concealment regression test
Originally committed as revision 2606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 01:42:00 +00:00
Michael Niedermayer
fb0666392c CBR improvements
Originally committed as revision 2601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 19:26:55 +00:00
Fabrice Bellard
7a0f9d7e7d fixed top_field_first support when encoding
Originally committed as revision 2600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 16:56:38 +00:00
Michael Niedermayer
8e2162f013 obmc encoding flag (forgot to commit...)
Originally committed as revision 2597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-11 16:00:53 +00:00
Fabrice Bellard
0f26033b7a update -interlace help
Originally committed as revision 2594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 17:07:11 +00:00
Fabrice Bellard
e56d417bee -interlace option - better consistency in help
Originally committed as revision 2588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 14:50:09 +00:00
Michael Niedermayer
dba019daba h263 alternative inter vlc support
Originally committed as revision 2541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-29 08:37:51 +00:00
Michael Niedermayer
f7190f7399 h263 OBMC & 4MV support
cleanup

Originally committed as revision 2536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-28 21:31:20 +00:00
Fabrice Bellard
254abc2ec6 use av_read_frame() - added initial seek support (rename -start to -ss (mplayer...)) - added '-dump' option to dump input packets
Originally committed as revision 2504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:54:17 +00:00
Vidar Madsen
e059574132 -target option patch by (Vidar Madsen <vidar at prosalg dot no>)
this isnt complete or bugfree but its better than nothing

Originally committed as revision 2472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 17:28:44 +00:00
Roman Shaposhnik
ddaae6a9d1 * DV demuxer is now capable of decoding auxilary audio stream. So,
everybody who still uses second streo track for dubbing can
     now export it.

   * void* -> DVDemuxContext* change (per Fabrice's suggestion).

   * -dv1394 capture now works in all modes.

Originally committed as revision 2458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-31 22:26:26 +00:00
Vidar Madsen
84f608f4a0 New options for intra/inter matrices patch by (Vidar Madsen <vidar at prosalg dot no>)
Originally committed as revision 2456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-31 10:25:21 +00:00
Michael Niedermayer
7f96ed5b16 forgot to apply this chunk appearently, no, i dont really remember where it came from
Originally committed as revision 2409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-21 12:55:01 +00:00
Michael Niedermayer
8831db5ca2 start time hack by (devik <devik at cdi dot cz>)
Originally committed as revision 2408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-21 10:55:24 +00:00
Michael Niedermayer
1c0dcc391a 10l
Originally committed as revision 2404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 21:42:15 +00:00
Michael Niedermayer
5ff85f1d8b AVRational
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?

Originally committed as revision 2403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 20:23:46 +00:00
Roman Shaposhnik
2744ca9ac9 * providing MPEG codecs with a generic fields in AVFrame to use.
* fixing YUV4MPEG format.

    * fixing a bug in DV codec where coded_frame was not set.

Originally committed as revision 2396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-18 03:19:44 +00:00
Michael Niedermayer
fe08925f64 recommit of
* backing out the 0-sized packets patch. We have to devise a more
    sensible approach.
orginal commit by roman shaposhnik

Originally committed as revision 2379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-14 14:36:58 +00:00
Michael Niedermayer
158c7f059c use lagrange multipler instead of qp for ratecontrol, this may break some things, tell me ASAP if u notice anything broken
quality which was 1..31 float is now a 1..FF_LAMBDA_MAX int, and FF_QP2LAMBDA * qp can be used to convert to the new range

Originally committed as revision 2348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-07 11:32:40 +00:00
Roman Shaposhnik
39518b493f * 10000l (cut'n'paste is evil!)
* Fix from Charles Yates for 0 sized packets

Originally committed as revision 2341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-04 03:31:27 +00:00
Roman Shaposhnik
a686caf03d * fixing bug that prevented resampling the picture and
changing pix_fmt at the same time.

   * aspect ratio should be more reliable for DV now.

Originally committed as revision 2338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-03 01:08:10 +00:00
Roman Shaposhnik
fd0f45e58b * fix for integer overflow
Originally committed as revision 2297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-22 18:17:45 +00:00
Fabrice Bellard
211f2123c5 avoid initializing pts for not decoded streams
Originally committed as revision 2284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 20:26:35 +00:00
Fabrice Bellard
7b7d86f120 simplified version handling
Originally committed as revision 2264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-11 22:51:05 +00:00
Michael Niedermayer
6e6d6dc0a5 mov/mp4 muxer cleanup (mostly cosmetics/simplifications & global header fix)
Originally committed as revision 2249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 23:03:04 +00:00
Fabrice Bellard
f42eda74dd header fixes - removed MPEG-4 b frame limtation in help
Originally committed as revision 2233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:12:30 +00:00
Michael Niedermayer
dafc3856d9 10l
Originally committed as revision 2202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-03 22:20:05 +00:00
Charles Yates
bee0d9e587 vhook patch by (Charles Yates <charles dot yates at pandora dot be>)
Originally committed as revision 2201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-03 14:20:33 +00:00
Bill Eldridge
f068206ed3 quiet/verbose patch by (Bill Eldridge <bill at rfa dot org>)
Originally committed as revision 2200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-03 12:13:43 +00:00
Bill Eldridge
3633ada546 win32 received_sigterm patch by (Bill Eldridge <bill at rfa dot org>)
Originally committed as revision 2199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-02 09:11:21 +00:00
Charles Yates
d9a916e221 stdin patch by (Charles Yates <charles dot yates at pandora dot be>)
* removes use of read_key and getchar when input is received on stdin
(this was corrupting the packet reading)
* terminates av_encode when a termination signal is received (use of
ctrl-c issued a term_exit and subsequent uses of q failed)
* specific correction to yuv4mpeg pipe reading - the defined header was
too short to allow for extended yuv4mpeg flags [as used by smil2yuv and
y4mscaler and accepted by mjpeg tools]

Originally committed as revision 2183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-29 20:51:10 +00:00
Roman Shaposhnik
ba2a8cb40b * making resolution abbreviations right
* introducing sntsc/spal for square pixel ntsc/pal

Originally committed as revision 2177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-29 06:58:55 +00:00
Fabrice Bellard
b1b77fe967 added loop option
Originally committed as revision 2150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 21:19:13 +00:00
Fabrice Bellard
d95ac2c554 spell fixes
Originally committed as revision 2146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 16:14:24 +00:00
Fabrice Bellard
02d504a7d3 more sections in help - copyright fixes
Originally committed as revision 2143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 15:29:48 +00:00
Michael Niedermayer
743739d2c5 AC3 encoding patch ba (Ross Martin <ffmpeg at ross dot interwrx dot com>)
Originally committed as revision 2129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-20 07:57:00 +00:00
Fabrice Bellard
5b685a7a76 removed MAXINT64
Originally committed as revision 2114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-08 17:59:04 +00:00
Roman Shaposhnik
e7d0374f27 A/V sync patch from Gildas Bazin.
Originally committed as revision 2098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-30 22:37:43 +00:00
Michael Niedermayer
7d1c3fc1d6 rate distortion mb decision support
fix decoding of old %16!=0 divx
fix assertion failure in motion_est.c

Originally committed as revision 2094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-29 02:09:12 +00:00
Roman Shaposhnik
445f1b83ad * First round of AV sync fixes.
* -r now does the right thing.
   * frame rate and frame sizes now share same abbv. table and you
     can do -r ntsc as well as -s ntsc

Originally committed as revision 2035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-12 07:37:05 +00:00
Romain Dolbeau
e45a2872fa 1) remove TBL support in PPC performance. It's much more useful to use the
PMCs, and with Apple's CHUD it's fairly easy too. No reason to keep useless
    code around
2) make the PPC perf stuff a configure option
3) make put_pixels16_altivec a bit faster by unrolling the loop by 4
patch by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 2022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-09 20:18:13 +00:00
Alex Beregszaszi
e103117177 10l found by Curi Fabio Eduardo (SFL) <curif@TELEFONICA.COM.AR>
Originally committed as revision 2002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-03 17:02:03 +00:00
Alex Beregszaszi
e3ee328330 tv standard selection support for dv1394 and grab (v4l)
Originally committed as revision 1987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-25 10:21:45 +00:00
Fabrice Bellard
01310af292 added ffplay utility
Originally committed as revision 1936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-07 18:34:02 +00:00
Falk Hüffner
3db320ea0c Warning fixes.
Originally committed as revision 1884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-15 01:34:47 +00:00
Michael Niedermayer
d8085ea727 cleanup
Originally committed as revision 1882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 23:08:01 +00:00
Roman Shaposhnik
631670888d * introducing new public interface in imgconvert.c
+ avcodec_get_pix_fmt
         converts textual representation of pixel format into
	 the actual id. Complements avcodec_get_pix_fmt_name.
       + avpicture_layout
         serializes given picture into a flat array.
	 Complements avpicture_fill.

   * adding a new option -pix_fmt to the ffmpeg, in order to control
     pixel format for the codecs that do support it, like rawvideo,
     for example.

   * reducing complexity of the rawvideo codec by splitting it in two
     and making it more reliable via hooking up to the avpicture_layout.
     Plus adding new FourCC as described here: http://www.fourcc.org

   * A tiny fix for avienc.c that makes avih and video strf consistent
     regarding codec FourCC.

Originally committed as revision 1842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-07 19:01:45 +00:00
Brian Foley
bd07398046 -map and sanity checking patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
Originally committed as revision 1835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-05 20:39:24 +00:00
Roman Shaposhnik
5fe03e3837 * making it possible to override aspect ratio from the command line
Originally committed as revision 1828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-29 19:46:08 +00:00
Roman Shaposhnik
880e8ba730 * fixing NTSC frame rate for DV streams
* let ffmpeg preserve 'aspect_ratio' for recoding.
  Do we want to make it tweakable from the command line ?

Originally committed as revision 1827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-29 01:51:38 +00:00
Roman Shaposhnik
e738cee9c4 Complete support for OpenDML AVIs and AVIs > 2Gb.
Originally committed as revision 1814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-23 02:04:40 +00:00
Roumen Petrov
9680a72282 restore old tty in ffmpeg patch by (Roumen Petrov <ffmpeg at roumenpetrov dot info>)
Originally committed as revision 1750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-10 18:21:06 +00:00
Michael Niedermayer
0da71265d8 H264 decoder & demuxer
Originally committed as revision 1732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-04 14:42:28 +00:00
Michael Niedermayer
558eae031e 10l
Originally committed as revision 1696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-20 21:32:43 +00:00