Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-07-14cmdutils: replace opt_default with opt_default2() and remove set_context_optsAnton Khirnov
2011-07-14ffplay: use new avcodec_open2 and avformat_find_stream_info API.Anton Khirnov
2011-07-14cmdutils: store all codec options in one dict instead of video/audio/subAnton Khirnov
Split them when codec id is known.
2011-07-10lavc: make avcodec_alloc_context3 officially public.Anton Khirnov
Deprecate avcodec_alloc_context/2.
2011-06-16cmdutils: add opt_default2().Anton Khirnov
It stores options in a dictionary to be passed to new open calls. It will replace opt_default once all the pieces are in place.
2011-06-16AVOptions: add av_opt_find() as a replacement for av_find_opt.Anton Khirnov
2011-06-12cmdutils: add missing NULL check in parse_options()Stefano Sabatini
Fix ffplay -i FILE, which was recently broken. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-04cmdutils: add missing const qualifierMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-28cmdutils: remove OPT_FUNC2Stefano Sabatini
Make ff* tools only accept opt_* functions taking two arguments. The distinction between functions with one and two arguments is quite pointless. Simplify parse_options() code. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-05-27cmdutils: use sws_freeContext() instead of av_freep().Ronald S. Bultje
av_freep(swsContext) will leak all memory potentially allocated within the swsContext.
2011-05-11ffplay: add a dummy option -i so that it is easy to switch between ffmpeg -i ↵Benjamin Larsson
"file" and ffplay -i "file". Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-10cmdutils: add OPT_INT check in parse_number_or_die()Stefano Sabatini
Check that the value passed for an OPT_INT option is an int, fail otherwise. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-10cmdutils: remove list_fmts(), simplifyStefano Sabatini
The function was only used in opt_sample_fmt() for listing the sample formats. Move list_fmts() functionality directly into opt_sample_fmt(). Also fix the warning: ffmpeg.c: In function ‘opt_audio_sample_fmt’: ffmpeg.c:2877: warning: passing argument 1 of ‘list_fmts’ from incompatible pointer type cmdutils.h:163: note: expected ‘void (*)(char *, int, int)’ but argument is of type ‘char * (*)(char *, int, enum AVSampleFormat)’ Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-09ffmpeg.c: reset avoptions after each input/output file.Anton Khirnov
This is consistent with how all the other options work.
2011-04-26lavfi: add key_frame and pict_type to AVFilterBufferRefVideo.Roger Pau Monné
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-25win32: include the correct header in cmdutils.cLuca Barbato
CommandLineToArgvW requires windows.h, include it directly
2011-04-24Handle unicode file names on windowsKirill Gavrilov
All file names should be in UTF-8 within libavformat. This is handled by mapping the open() function to an internal one in os_support.h for windows. fopen() could be overridden in the same way, but if that would be used from ffmpeg.c, it would add a dependency on an ff prefixed internal lavf function. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-19lavc: remove the FF_API_SET_STRING_OLD cruft.Anton Khirnov
2011-04-08avio: deprecate av_protocol_next().Anton Khirnov
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-16use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*Janne Grunau
2011-03-16replace FFMPEG with LIBAV in FFMPEG_CONFIGURATIONJanne Grunau
also update the multiple inclusion guards in config.h|mak
2011-02-17Deprecate parse_date() in favor of av_parse_time().Stefano Sabatini
The new av_parse_time() is created in libavutil/parseutils.h, all the internal functions used by parse_date are moved to libavutil/parseutils.c and made static. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-15Merge libavcore into libavutilReinhard Tartler
It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2011-02-06cmdutils: fix codec-specific options from presetJames Zern
Using a preset file caused the address of a stack variable to be stored in opt_names/values. This change causes the strings to be dup'd then freed in uninit_opts. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-06cmdutils: fix opt_values leakJames Zern
Add free to uninit_opts and relocate opt_names to same Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-01-25Make this_year static to cmdutils.cDiego Elio Pettenò
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-20libavcodec minor version is > 99 so fix the formatingGeorgi Chorbadzhiyski
libavcodec minor version is > 99 so when printing the library versions the output is a little bit broken: libavutil 50. 36. 0 / 50.36. 0 libavcore 0. 16. 1 / 0.16. 1 libavcodec 52.108. 0 / 52.108. 0 libavformat 52. 94. 0 / 52.94. 0 libavdevice 52. 2. 3 / 52. 2. 3 libavfilter 1. 74. 0 / 1.74. 0 libswscale 0. 12. 0 / 0.12. 0 Change the formating to look like this: libavutil 50. 36. 0 / 50. 36. 0 libavcore 0. 16. 1 / 0. 16. 1 libavcodec 52.108. 0 / 52.108. 0 libavformat 52. 94. 0 / 52. 94. 0 libavdevice 52. 2. 3 / 52. 2. 3 libavfilter 1. 74. 0 / 1. 74. 0 libswscale 0. 12. 0 / 0. 12. 0 Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-18Use INFINITY and NAN macros instead of 1/0 and 0/0Mans Rullgard
2011-01-04Disable initialization of the swscale sws_opts context inStefano Sabatini
cmdutils.c:init_opts(), in the case libswscale compilation is not enabled. Fix ffprobe and ffserver compilation with --disable-swscale. Originally committed as revision 26212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-03ReindentMartin Storsjö
Originally committed as revision 26205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-02Use AVOption for muxers in ffmpeg.Anssi Hannula
Patch by Anssi Hannula, anssi d hannula d iki d fi Originally committed as revision 26199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-01Update current year to 2011. Happy New Year!Justin Ruggles
Originally committed as revision 26184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-23Add missing check on the existence of avcodec_opts[AVMEDIA_TYPE_X],Stefano Sabatini
fix crash in ffprobe. Originally committed as revision 25799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-05Implement get_preset_file() in cmdutils.h and use it to factorize codeStefano Sabatini
from ffmpeg.c and ffserver.c. Originally committed as revision 25679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-18Implement a common get_filtered_video_frame(), shared between ffplay.cStefano Sabatini
and ffmpeg.c. Originally committed as revision 25520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-12Factorize definition of the output_filter defined in both ffplay.c andStefano Sabatini
ffmpeg.c. Replace it with a more generic definition which can be shared. Originally committed as revision 25453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-02Add init and uninit functions to cmdutils, reduces code duplicationReimar Döffinger
between ffmpeg and ffplay and avoids a valgrind error by freeing avformat_opts->key. Originally committed as revision 25309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-30User application side of Codec specific parameters.Michael Niedermayer
Originally committed as revision 25266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-28All else being equal, prefer PTS over DTS in timestamp correctionAlexander Strange
Because DTS values aren't passed through decoders, they tend to be inaccurate if decoder delay doesn't match what was expected by the encoder. In particular this improves timestamps for H.264 without num_reorder_frames set and with -strict 1, which causes DTS to be up to 16 frames ahead of the picture. Note that this doesn't really improve any file with very broken PTS/DTS, since PTS isn't much more accurate in these. Originally committed as revision 25242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-28Extract timestamp correction code from ffplay.c to cmdutils.cAlexander Strange
Originally committed as revision 25241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25Add more missing checks in opt_default(), prevent a crash ifStefano Sabatini
avcodec_opts[0] or avformat_opts is not set. Originally committed as revision 25186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-24Add missing existence checks in opt_default().Stefano Sabatini
Originally committed as revision 25179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-21Move log_callback_help to cmdutils.[hc], for allowing sharing.Stefano Sabatini
Originally committed as revision 25149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-30Extend show_protocols() to make it print information about input,Stefano Sabatini
output, seek support. Originally committed as revision 24581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-22Factorize indent definition in PRINT_LIB_INFO().Stefano Sabatini
Originally committed as revision 24435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-22Merge maybe_print_config() and PRINT_LIB_CONFIG() in PRINT_LIB_INFO().Stefano Sabatini
Originally committed as revision 24434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-22Rename:Stefano Sabatini
PRINT_LIB_VERSION() -> PRINT_LIB_INFO() print_all_lib_versions() -> print_all_libs_info() Originally committed as revision 24433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-22Reindent.Stefano Sabatini
Originally committed as revision 24432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-22Increase flexibility of PRINT_LIB_VERSION(), make it accept a flagsStefano Sabatini
parameter. Allow a pending factorization. Originally committed as revision 24431 to svn://svn.ffmpeg.org/ffmpeg/trunk