Statistics
| Branch: | Revision:

ffmpeg / ffmpeg.c @ 1cee4eaf

History | View | Annotate | Download (140 KB)

# Date Author Comment
b9edbe99 03/20/2009 01:23 AM Baptiste Coudurier

do not write ffm write index by default, detect if file is being written and return EOF

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

90da2b50 03/19/2009 10:29 PM Stefano Sabatini

Make ffmpeg fail if the argument provided to the -pix_fmt option is
invalid.

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

29c66386 03/18/2009 09:38 PM Stefano Sabatini

Use read_yesno() in opt_output_file().

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

eab5168c 03/18/2009 09:34 PM Stefano Sabatini

Flush the remaning chars in the input buffer after reading the
response to the "Overwrite ? [y/N]" question.

Fix the behaviour when the question is asked more than one time.

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

3d45a83a 03/15/2009 07:23 AM Baptiste Coudurier

add loglevel option to set libav* logging level, -v does not set it anymore

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

27ad7d3a 03/11/2009 08:14 AM Baptiste Coudurier

stag option to force subtitle tag

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

00b7fbdc 03/11/2009 06:13 AM Baptiste Coudurier

10l, set ret to 0 when finished

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

002c95d7 03/11/2009 06:06 AM Baptiste Coudurier

dump_format after av_write_header to print updated parameters

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

3898eed8 03/09/2009 05:47 PM Reimar Döffinger

Reorder arguments for av_fifo_generic_read to be more logical and
consistent with av_fifo_generic_write.

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

c957c854 03/08/2009 02:42 PM Reimar Döffinger

Replace all uses of the replaced av_fifo_read by av_fifo_generic_read

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

41dd680d 03/08/2009 02:16 PM Michael Niedermayer

Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues.
Yes this breaks ABI/API but ive already broken it and will bump avutil major
soon.

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

636f1c4c 03/03/2009 11:32 PM Stefano Sabatini

Rename avctx_opts to avcodec_opts.

The new name is more meaningful and consistent with avformat_opts
and sws_opts.

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

1ad1eaad 03/03/2009 08:25 PM Michael Niedermayer

Enable AVFMT_FLAG_NONBLOCK.

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

d61f30a7 03/03/2009 08:24 PM Michael Niedermayer

Do usleep(10000) when all demuxers returned EAGAIN.

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

545465ec 03/03/2009 07:50 PM Michael Niedermayer

If a demuxer returns EAGAIN, try another demuxer.

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

fdf11906 03/03/2009 02:09 PM Diego Biurrun

Remove deprecated vhook subsystem.

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

0a789246 03/01/2009 03:58 PM Aurelien Jacobs

fix last usage of old metadata API in ffmpeg.c (handling of AVStream language)

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

a5926d85 03/01/2009 02:54 PM Aurelien Jacobs

convert ffmpeg to new metadata API

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

e6fdc2b1 02/27/2009 02:53 PM Michael Niedermayer

Make sure -vsync 2 does not produce timestamps equal to the previous,
rather drop a frame.
Fixes Issue872.

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

fc6765d7 02/27/2009 02:44 PM Michael Niedermayer

Update commented fprintf().

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

3797c74b 02/26/2009 11:47 PM Michael Niedermayer

Add ticks_per_frame, this should hopefully fix the regressions caused
by the time_base change.

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

34583e1b 02/26/2009 01:15 PM Michael Niedermayer

Fix next_pts computation to consider repeat_pict.

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

ad48c9f0 02/24/2009 03:06 PM Michael Niedermayer

Do not duplicate frames if the muxer claims that it is not needed.
Note to release manager, this is risky and should be reverted if
it causes any problem.

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

c027e91a 02/22/2009 01:00 AM Peter Ross

Increase ffmpeg intermediate conversion buffer size to accomodate 48-bit RGB rawvideo
images.

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

befb5cac 02/22/2009 12:58 AM Peter Ross

Increase ffmpeg intermediate conversion buffer size to accomodate PPM/PNM header.

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

49a06a4d 02/16/2009 04:14 PM Benoit Fouet

Change av_log() calls to fprintf() to stderr calls.

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

d1e3c6fd 02/11/2009 10:57 PM Baptiste Coudurier

extend resampling API, add S16 internal conversion

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

6d0c77ba 02/11/2009 12:07 AM Patrik Kullman

Use av_strlcpy instead of snprintf without formatting.
Prevents warnings about "format not a string literal and no format arguments".
patch by Patrik Kullman, patrik yes nu

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

ced06bd8 02/08/2009 10:03 PM Francesco Cosoleto

Add the ability to set the timestamp to the current time by specifying 'now'
as the time

Patch by Francesco Cosoleto ( cosoleto gmail com )

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

8e2fd8e1 02/08/2009 08:27 AM Stefano Sabatini

Replace the calls to the deprecated av_alloc_format_context() with
corresponding calls to avformat_alloc_context().

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

17771682 01/25/2009 11:10 PM Robert Swain

Make opt_preset() use FFMPEG_DATADIR from config.h rather than /usr and
/usr/local

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

2d4eeaad 01/23/2009 09:47 AM Michael Niedermayer

Workaround ffms behavior of returning EAGAIN at EOF.
Should fix regression tests & fate.

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

ad51c68c 01/22/2009 12:04 PM Michael Niedermayer

Handle av_read_frame() EAGAIN return.

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

6c7c44ee 01/20/2009 09:09 PM Baptiste Coudurier

exit with error code if av_encode failed

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

d43b26ea 01/17/2009 11:54 PM David Conrad

Copy width/height for subtitle streams (needed for scodec copy of mov/mp4
timed text)

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

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