Statistics
| Branch: | Revision:

ffmpeg / ffmpeg.c @ 49fb20cb

History | View | Annotate | Download (139 KB)

# Date Author Comment
49fb20cb 01/14/2009 05:19 PM Aurelien Jacobs

replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
and remove all ENABLE_ definitions.

Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk

528271ff 01/11/2009 04:15 PM Michael Niedermayer

Check the return of audio and video encoders.

Originally committed as revision 16538 to svn://svn.ffmpeg.org/ffmpeg/trunk

95af5e1c 01/11/2009 04:11 PM Michael Niedermayer

All negative returns are errors not just -1.

Originally committed as revision 16537 to svn://svn.ffmpeg.org/ffmpeg/trunk

094d9df7 01/06/2009 10:11 PM Aurelien Jacobs

free all allocated metadata structures

Originally committed as revision 16457 to svn://svn.ffmpeg.org/ffmpeg/trunk

25b4c651 01/03/2009 07:17 PM Michael Niedermayer

Replace AVSubtitleRect.rgba_palette and bitmap by AVPicture.

Originally committed as revision 16416 to svn://svn.ffmpeg.org/ffmpeg/trunk

db4fac64 01/03/2009 05:54 PM Michael Niedermayer

Change AVSubtitle.rects to an array of pointers so ABI does not break
when the size of AVSubtitleRect changes.

Originally committed as revision 16412 to svn://svn.ffmpeg.org/ffmpeg/trunk

22730e87 12/26/2008 07:28 PM Stefano Sabatini

Put pass_logfilename_prefix check on a single line, improve readability.

Originally committed as revision 16351 to svn://svn.ffmpeg.org/ffmpeg/trunk

ad16627f 12/26/2008 07:25 PM Stefano Sabatini

Rename variables:
pass_logfilename -> pass_logfilename_prefix
DEFAULT_PASS_LOGFILENAME -> DEFAULT_PASS_LOGFILENAME_PREFIX

and make clear in the passlogfile OptionDef help string that it takes
a file name prefix rather than a file name.

Originally committed as revision 16350 to svn://svn.ffmpeg.org/ffmpeg/trunk

50e3477f 12/22/2008 08:22 AM Wolfram Gloger

Offer an option (disabled by default) to enable the copy of the frames before
the first key frame in a stream.
Patch by Wolfram Gloger wmglo /!\ dent med uni (minus) muenchen de

Originally committed as revision 16269 to svn://svn.ffmpeg.org/ffmpeg/trunk

09a76db8 12/16/2008 03:11 AM Michael Niedermayer

Do not skip frames until the first keyframe when stream copying but
no starttime is set.
Fixes at least -vcodec copy with VS2k5DebugDemo-01-partial.avi.

Originally committed as revision 16159 to svn://svn.ffmpeg.org/ffmpeg/trunk

76bdac6d 12/14/2008 03:02 PM Stefano Sabatini

Cosmetics: remove empty comments.

Originally committed as revision 16124 to svn://svn.ffmpeg.org/ffmpeg/trunk

9686df2b 12/03/2008 03:23 PM Diego Biurrun

Delete unnecessary 'extern' keywords.

Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk

42d1d06e 12/01/2008 08:35 AM Stefano Sabatini

Make more informative the error messages regarding the access to the
2-pass log file.

Originally committed as revision 15970 to svn://svn.ffmpeg.org/ffmpeg/trunk

13367a46 11/29/2008 07:32 PM Benjamin Larsson

channel layout support for ffmpeg.c

Originally committed as revision 15956 to svn://svn.ffmpeg.org/ffmpeg/trunk

3a25ca18 11/27/2008 09:38 PM Stefano Sabatini

Make rate_emu a global property rather than to be settable for a
specific input video stream.

See the thread: Fix ffmpeg -re behaviour.

Originally committed as revision 15946 to svn://svn.ffmpeg.org/ffmpeg/trunk

cdd7157b 11/27/2008 09:30 PM Stefano Sabatini

Remove AVInputStream frame variable definition and usage, unnecessary
after the last commit.

Originally committed as revision 15945 to svn://svn.ffmpeg.org/ffmpeg/trunk

cb103a19 11/27/2008 09:24 PM Stefano Sabatini

Make the input realtime framerate emulation code use ist->pts for
computing the time of the next frame to send to output.

See the thread: fix ffmpeg -re behaviour.

Originally committed as revision 15944 to svn://svn.ffmpeg.org/ffmpeg/trunk

e178d7fd 11/21/2008 10:56 PM Stefano Sabatini

Make ffmpeg print in the error message the exact line of a preset file
containing an invalid option or value, and also how the option and the
value have been parsed.

Originally committed as revision 15903 to svn://svn.ffmpeg.org/ffmpeg/trunk

b04665ac 11/21/2008 10:51 PM Stefano Sabatini

Make ffmpeg print in the error message the exact line of a preset file
containing an invalid syntax.

Originally committed as revision 15902 to svn://svn.ffmpeg.org/ffmpeg/trunk

fc5d0db5 11/17/2008 11:27 PM Stefano Sabatini

Improve error message in case of output file with no streams, dumping
the empty file format representation and specifying the index number
of the output file.

Originally committed as revision 15870 to svn://svn.ffmpeg.org/ffmpeg/trunk

bdb9fd9b 11/17/2008 11:18 PM Stefano Sabatini

Improve messages printed when there is no input/output file, making
them more grammatically correct and consistent with other equivalent
messages.

Originally committed as revision 15869 to svn://svn.ffmpeg.org/ffmpeg/trunk

7a7da6b4 11/17/2008 11:15 PM Stefano Sabatini

Remove unnecessary calls to show_help(), make ffmpeg/ffplay print a
specific error message instead.

Originally committed as revision 15868 to svn://svn.ffmpeg.org/ffmpeg/trunk

536cd1db 11/15/2008 12:32 PM Luca Barbato

Flush SDP description

Originally committed as revision 15826 to svn://svn.ffmpeg.org/ffmpeg/trunk

37d3e066 10/21/2008 09:40 PM Aurelien Jacobs

uses FF_ARRAY_ELEMS() where appropriate

Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk

70899705 10/18/2008 06:42 PM Stefano Sabatini

Provide more context to the opt_preset() error messages, printing the
name of the preset file where the error occurred.

Originally committed as revision 15637 to svn://svn.ffmpeg.org/ffmpeg/trunk

b7353317 10/18/2008 06:27 PM Stefano Sabatini

Make ffmpeg abort if a preset file contains an invalid option or
argument.

Originally committed as revision 15636 to svn://svn.ffmpeg.org/ffmpeg/trunk

9ac1c884 10/18/2008 06:18 PM Stefano Sabatini

Provide more context for the error message issued when no preset file
is found.

Originally committed as revision 15635 to svn://svn.ffmpeg.org/ffmpeg/trunk

3ddb448d 10/15/2008 02:12 PM Ramiro Polla

Support absolute DOS paths for preset parameters

Originally committed as revision 15624 to svn://svn.ffmpeg.org/ffmpeg/trunk

a57bf697 10/12/2008 08:46 PM Stefano Sabatini

Add preset options documentation strings.

Originally committed as revision 15605 to svn://svn.ffmpeg.org/ffmpeg/trunk

965530e1 10/09/2008 06:28 PM Michael Niedermayer

Limit discontinuity handling to containers that allow discontinuities.

Originally committed as revision 15590 to svn://svn.ffmpeg.org/ffmpeg/trunk

fd2b356a 10/08/2008 05:28 PM Aurelien Jacobs

cosmetics: indentation

Originally committed as revision 15588 to svn://svn.ffmpeg.org/ffmpeg/trunk

6488cf9b 10/08/2008 05:27 PM Aurelien Jacobs

lookup AVCodec by name

Originally committed as revision 15587 to svn://svn.ffmpeg.org/ffmpeg/trunk

0093396c 10/05/2008 05:26 PM Stefano Sabatini

Remove unused and invalid code from ffmpeg.c.

Originally committed as revision 15567 to svn://svn.ffmpeg.org/ffmpeg/trunk

d0feff2a 09/29/2008 06:22 AM Diego Biurrun

Uniformly define _XOPEN_SOURCE to 600.
The feature_tests.h header from Sun systems (Solaris/OpenSolaris) will abort
the build if _XOPEN_SOURCE is defined to 500, and C99 is requested (as well
as POSIX.1-2001), and will only accept it to be defined to 600....

c44c4e18 09/29/2008 06:15 AM Diego Biurrun

cosmetics: Consistently use #ifdef in preprocessor directives.

Originally committed as revision 15459 to svn://svn.ffmpeg.org/ffmpeg/trunk

143df827 09/28/2008 11:24 PM Wolfram Gloger

set video_enc->sample_aspect_ratio to fix stream copy
patch by Wolfram Gloger wmglo at dent.med.uni-muenchen dot de

Originally committed as revision 15457 to svn://svn.ffmpeg.org/ffmpeg/trunk

85663ef3 09/28/2008 07:35 PM Michael Niedermayer

Move opt_default() and set_context_opts() to cmdutils so it can be used from
the other tools as well.

Originally committed as revision 15450 to svn://svn.ffmpeg.org/ffmpeg/trunk

d2845b75 09/28/2008 05:34 PM Stefano Sabatini

Implement the force_fps option, which disables the automatic selection
of the best framerate amongst the list of supported framerates of the
codec. Use the av_find_nearest_q_idx() function to choose the best
framerate.

See the thread: "Implement in lavc a flag which makes avcodec_open()...

4e72f129 09/28/2008 01:09 PM Michael Niedermayer

Support loading presets from random paths.
Fixes issue659.

Originally committed as revision 15443 to svn://svn.ffmpeg.org/ffmpeg/trunk

fb1d2d7b 09/26/2008 02:13 AM Baptiste Coudurier

include sys/select.h, fix freebsd 5.5 compilation

Originally committed as revision 15421 to svn://svn.ffmpeg.org/ffmpeg/trunk

8a4f816a 09/18/2008 09:07 PM Michael Niedermayer

Support comments in preset files.

Originally committed as revision 15366 to svn://svn.ffmpeg.org/ffmpeg/trunk

46cd15ca 09/13/2008 05:25 PM Gert Vervoort

Fix setting default value of scan_offset option for target svcd.

Patch by Gert Vervoort gert D vervoort A hccnet D nl

Originally committed as revision 15310 to svn://svn.ffmpeg.org/ffmpeg/trunk

f2abc559 09/04/2008 11:23 PM Baptiste Coudurier

add -xerror option, ffmpeg will now exit right when an error occurs

Originally committed as revision 15210 to svn://svn.ffmpeg.org/ffmpeg/trunk

6b682df2 09/04/2008 09:48 PM Baptiste Coudurier

print error when deinterlacing fails

Originally committed as revision 15201 to svn://svn.ffmpeg.org/ffmpeg/trunk

287ba997 09/04/2008 10:18 AM Peter Ross

Remove further 1sample=2byte assumptions within FFmpeg to allow
F32LE/F64BE/F64LE audio to be encoded properly.

Originally committed as revision 15192 to svn://svn.ffmpeg.org/ffmpeg/trunk

f0319383 08/31/2008 07:23 AM Peter Ross

Display error message when user attempts to resample non-S16 audio formats.
Patch supplied by Daniel Serpell <daniel dot serpell at gmail dotcom>.

Originally committed as revision 15119 to svn://svn.ffmpeg.org/ffmpeg/trunk

de427ff4 08/27/2008 06:50 PM Stefano Sabatini

Simplify the indexing logic in the av_encode() streams mapping code.

Originally committed as revision 14992 to svn://svn.ffmpeg.org/ffmpeg/trunk

c30a4489 08/23/2008 11:13 PM Aurelien Jacobs

export sample_aspect_ratio read by the demuxer in a separate field
that the one read by the decoder.

Originally committed as revision 14932 to svn://svn.ffmpeg.org/ffmpeg/trunk

2fc3866d 08/23/2008 12:07 PM Stefano Sabatini

Provide a context to opt_frame_rate(), and make it print the wrong
value in case of error. Improve error reporting and consistency with
the other opt_* functions.

Originally committed as revision 14914 to svn://svn.ffmpeg.org/ffmpeg/trunk

745b39d5 08/19/2008 06:49 PM Stefano Sabatini

Replace invocations of av_fifo_realloc(), which is going to be
deprecated, with corresponding invocations of av_fifo_realloc2().

Originally committed as revision 14848 to svn://svn.ffmpeg.org/ffmpeg/trunk

7246177d 08/14/2008 10:01 PM Aurelien Jacobs

ensure we get explicit definition of various _XOPEN_SOURCE functions we use

Originally committed as revision 14766 to svn://svn.ffmpeg.org/ffmpeg/trunk

81b060fa 08/12/2008 05:59 AM Loren Merritt

align the audio decoding buffer, since some codecs write to it with simd

Originally committed as revision 14707 to svn://svn.ffmpeg.org/ffmpeg/trunk

f44fd374 08/03/2008 01:38 PM Stefano Sabatini

Increase the maximum number of supported stream mappings in ffmpeg.c.
The new value is given by maximum_files_nb * maximum_streams_per_file_nb,
which looks also more correct in respect to the previous value.

Originally committed as revision 14520 to svn://svn.ffmpeg.org/ffmpeg/trunk

a79db0f7 08/03/2008 12:37 AM Peter Ross

Add sample format converter to FFmpeg (adds -sample_fmt option)

Originally committed as revision 14512 to svn://svn.ffmpeg.org/ffmpeg/trunk

ce1ee094 07/31/2008 01:11 PM Peter Ross

Add opt handler for pending "-sample_fmt" option

Originally committed as revision 14486 to svn://svn.ffmpeg.org/ffmpeg/trunk

150d5a25 07/28/2008 09:54 PM Stefano Sabatini

Make ffmpeg dump output format in case of codec type mismatch between
an input stream and the corresponding output stream.

Originally committed as revision 14462 to svn://svn.ffmpeg.org/ffmpeg/trunk

aa29709e 07/26/2008 07:08 AM Peter Ross

add CODEC_ID_PCM_F32BE (32-bit floating point PCM big endian decoder)

Originally committed as revision 14409 to svn://svn.ffmpeg.org/ffmpeg/trunk

e16190fa 07/24/2008 09:12 PM Diego Biurrun

cosmetics: typo fixes

Originally committed as revision 14376 to svn://svn.ffmpeg.org/ffmpeg/trunk

0042808e 07/19/2008 04:01 PM Michael Niedermayer

Remove explicit strict_std_compliance support as it seems to work fine over
AVOptions, actually it works even finer as it also gets passed to the
decoder.

Originally committed as revision 14307 to svn://svn.ffmpeg.org/ffmpeg/trunk

fc7ad2af 07/18/2008 10:23 PM Stefano Sabatini

Make ffmpeg -t X with X<=0 transcode nothing.

Originally committed as revision 14285 to svn://svn.ffmpeg.org/ffmpeg/trunk

44eb047a 07/18/2008 01:52 PM Michael Niedermayer

Correcting displayed muxing overhead and video stream size.
Partially fixes issue348.

Originally committed as revision 14282 to svn://svn.ffmpeg.org/ffmpeg/trunk

8833f375 07/13/2008 10:55 PM Michael Niedermayer

-itsscale to scale timestamps
fixes issue511

Originally committed as revision 14226 to svn://svn.ffmpeg.org/ffmpeg/trunk

89129c6b 07/13/2008 09:59 PM Diego Biurrun

Drop non-C99-compliant initialization.

Originally committed as revision 14224 to svn://svn.ffmpeg.org/ffmpeg/trunk

bd6754aa 07/13/2008 09:39 PM Michael Niedermayer

On EOF keep calling the decoders until they do not output anything
anymore, instead of just once.

Originally committed as revision 14220 to svn://svn.ffmpeg.org/ffmpeg/trunk

8858816d 07/13/2008 04:19 PM Michael Niedermayer

Use -vsync 0 unless the user explicitly asked for something
else when the framerate is above 1000.
Fixes issue259.

Originally committed as revision 14208 to svn://svn.ffmpeg.org/ffmpeg/trunk

d08e3e91 07/12/2008 11:43 AM Ramiro Polla

Prevent users from setting -vol and -acodec copy together.
They are incompatible since the frames are not decoded, so they can't be preprocessed.

Originally committed as revision 14178 to svn://svn.ffmpeg.org/ffmpeg/trunk

4e999ebe 07/09/2008 06:57 AM Michael Niedermayer

indent

Originally committed as revision 14137 to svn://svn.ffmpeg.org/ffmpeg/trunk

385b19df 07/09/2008 06:56 AM Michael Niedermayer

Allow setting codecs through preset files

Originally committed as revision 14136 to svn://svn.ffmpeg.org/ffmpeg/trunk

8dbee653 07/08/2008 11:50 PM Michael Niedermayer

Fix the av_set_string() free / alloc issue.

Originally committed as revision 14134 to svn://svn.ffmpeg.org/ffmpeg/trunk

b86f5a02 06/26/2008 08:50 PM Michael Niedermayer

Register intrrupt_cb() early enough so we dont get stuck with tcp input
for example.
Fixes issue66

Originally committed as revision 13992 to svn://svn.ffmpeg.org/ffmpeg/trunk

9010d543 06/25/2008 09:48 PM Stefano Sabatini

Remove unnecessary function opt_qdiff(), max_qdiff is set now through
the AVOption system. Also removes the previous constraints when
setting max_qdiff through opt_qdiff() (1 <= max_qdiff <= 31).

Originally committed as revision 13981 to svn://svn.ffmpeg.org/ffmpeg/trunk

181782ae 06/25/2008 01:46 PM Michael Niedermayer

Use correct timestamp value for stream copy.

Originally committed as revision 13963 to svn://svn.ffmpeg.org/ffmpeg/trunk

9c09099e 06/22/2008 04:20 PM Stefano Sabatini

Cosmetics: move ffmpeg.c dframes option definition from within the
video options to the generic options where it belongs.

Originally committed as revision 13893 to svn://svn.ffmpeg.org/ffmpeg/trunk

d2ce2f5e 06/22/2008 01:36 AM Baptiste Coudurier

cosmetics, reindent

Originally committed as revision 13869 to svn://svn.ffmpeg.org/ffmpeg/trunk

dbedf2aa 06/22/2008 01:35 AM Baptiste Coudurier

enable feeder threads

Originally committed as revision 13868 to svn://svn.ffmpeg.org/ffmpeg/trunk

88643f39 06/17/2008 10:11 AM Stefano Sabatini

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

ef3efa0d 06/16/2008 01:02 PM Stefano Sabatini

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

fb74bc43 06/16/2008 10:00 AM Stefano Sabatini

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

d58ddafd 06/12/2008 10:30 PM Stefano Sabatini

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

462cca10 06/12/2008 10:07 PM Stefano Sabatini

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

d18811bb 06/12/2008 09:21 PM Stefano Sabatini

Make ffmpeg.c:opt_thread use parse_number_or_die().

Originally committed as revision 13758 to svn://svn.ffmpeg.org/ffmpeg/trunk

3022cd10 06/12/2008 11:28 AM Stefano Sabatini

Factorize options context setting.
Patch by Stefano Sabatini stefano sabatini-lala posteit

Originally committed as revision 13756 to svn://svn.ffmpeg.org/ffmpeg/trunk

837d248d 06/12/2008 01:43 AM Baptiste Coudurier

enable stream copy with ffserver, to be able to chain

Originally committed as revision 13753 to svn://svn.ffmpeg.org/ffmpeg/trunk

6dfafe10 06/11/2008 11:45 PM Baptiste Coudurier

set log debug when avformat debug is set

Originally committed as revision 13750 to svn://svn.ffmpeg.org/ffmpeg/trunk

3438d82d 06/09/2008 12:24 AM Baptiste Coudurier

remove ugly ffm_nopts hack, use AVFormatContext->timestamp

Originally committed as revision 13718 to svn://svn.ffmpeg.org/ffmpeg/trunk

e66ace6f 06/08/2008 10:52 AM Michael Niedermayer

Support longer paths for and longer names in preset files.

Originally committed as revision 13710 to svn://svn.ffmpeg.org/ffmpeg/trunk

439c18c7 06/08/2008 10:48 AM Michael Niedermayer

indent

Originally committed as revision 13709 to svn://svn.ffmpeg.org/ffmpeg/trunk

23b20b5c 06/08/2008 10:48 AM Michael Niedermayer

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

d9f1b68c 06/07/2008 09:12 AM Michael Niedermayer

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

e992fba4 05/31/2008 06:36 PM Stefano Sabatini

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

418a0b9f 05/31/2008 02:22 PM Peter Ross

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...

573e8cb3 05/30/2008 08:30 PM Michael Niedermayer

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

9d58e0a9 05/29/2008 09:26 PM Baptiste Coudurier

cosmetics, space before and after parenthesis, weird indentation

Originally committed as revision 13539 to svn://svn.ffmpeg.org/ffmpeg/trunk

f094b662 05/29/2008 01:40 PM Erik Hovland

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

ea9c581f 05/29/2008 08:48 AM Stefano Sabatini

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

e5f6b7e5 05/28/2008 11:55 AM Stefano Sabatini

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

e6b4e4ff 05/28/2008 11:34 AM Michael Niedermayer

Remove coded_frame==NULL checks for video encoders.

Originally committed as revision 13493 to svn://svn.ffmpeg.org/ffmpeg/trunk

1234da4c 05/27/2008 01:26 AM Baptiste Coudurier

use av_fifo_generic_write, old func is deprecated

Originally committed as revision 13455 to svn://svn.ffmpeg.org/ffmpeg/trunk

bcbd328e 05/26/2008 12:47 AM Michael Niedermayer

Make stream copy of ac3 from riff based formats work.

Originally committed as revision 13408 to svn://svn.ffmpeg.org/ffmpeg/trunk