Statistics
| Branch: | Revision:

ffmpeg / ffmpeg.c @ 7d9beec7

History | View | Annotate | Download (141 KB)

# Date Author Comment
b10d7e4e 05/23/2009 04:07 AM Baptiste Coudurier

pad last audio frame when encoding

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

ecfe3929 05/22/2009 10:51 PM Stefano Sabatini

Remove duplicated RGB_TO_[YUV] macros, use those included in
libavcodec/colorspace.h.

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

de961801 05/12/2009 12:47 AM David Conrad

Copy input codec's chroma_sample_location to output codec when transcoding.
Currently only used by yuv4mpeg.

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

80b9d636 04/27/2009 07:13 AM Benoit Fouet

Make function pointer assignments consistent in option handling.

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

4eac2e89 04/24/2009 11:56 AM Wolfram Gloger

Change return type of opt_loglevel() from void to int.
Patch by Wolfram Gloger: wmglo (your at here) dent med uni (minus) muenchen de

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

a39b76ea 04/23/2009 11:30 PM Michael Niedermayer

Don't loose bits_per_raw_sample when transcoding.

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

be233a56 04/19/2009 02:05 PM Justin Ruggles

Check that channel layout is compatible with number of channels for
output audio stream.

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

b716c6c6 04/17/2009 03:33 PM Michael Niedermayer

Remove unneeded assignment from av_encode() found by CSA.

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

b5ee9c23 04/17/2009 03:15 PM Michael Niedermayer

Remove unused variable from print_report() found by CSA.

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

505b6d11 04/17/2009 03:03 PM Michael Niedermayer

Remove unneeded assignment in ffmpeg.c found by CSA.

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

22c4c3e0 04/14/2009 03:48 AM Justin Ruggles

Support audio sample formats than S16 when encoding a small last frame.

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

7c8689ef 04/14/2009 12:20 AM Baptiste Coudurier

set pkt duration for last smaller frame, should fix alac in m4a muxing

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

c573eb85 04/13/2009 09:22 PM Baptiste Coudurier

fix indentation

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

3321cb3f 04/13/2009 03:55 AM Baptiste Coudurier

move audio buffers declarations and free them in av_exit

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

5973490a 04/13/2009 03:47 AM Baptiste Coudurier

move freeing code before exiting because of signal

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

3b801075 04/13/2009 03:43 AM Baptiste Coudurier

free options contexts in av_exit, valgrind should be happy now

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

031e14ea 04/11/2009 10:04 PM Thilo Borgmann

Fix initialization of avpkt in output_packet().

Patch by Thilo Borgmann thilo.surname AT googlemaildotcom.

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

ede0e475 04/10/2009 12:53 PM Thilo Borgmann

Use the new avcodec_decode_* API.

Patch by Thilo Borgmann th_lo.borgm_n_@goog_email.co_.

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

cdf38a17 04/09/2009 12:13 AM Michael Niedermayer

Fix -ss / -t interaction with -acodec copy.
Fixes issue203

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

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