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-06-05cmdutils: remove unnecessary OPT_DUMMY implementationStefano Sabatini
The -i INPUT option can be implemented more cleanly by using a function option, which can easily be done now that the parse_arg_function passed to parse_options has a standard signature.
2011-06-05cmdutils: change the signature of the function argument in parse_options()Stefano Sabatini
This is required for a pending simplification.
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.
2011-05-28Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (29 commits) ARM: disable ff_vector_fmul_vfp on VFPv3 systems ARM: check for VFPv3 swscale: Remove unused variables in x86 code. doc: Drop DJGPP section, Libav now compiles out-of-the-box on FreeDOS. x86: Add appropriate ifdefs around certain AVX functions. cmdutils: use sws_freeContext() instead of av_freep(). swscale: delay allocation of formatConvBuffer(). swscale: fix build with --disable-swscale-alpha. movenc: Deprecate the global RTP hinting flag, use a private AVOption instead movenc: Add an AVClass for setting muxer specific options swscale: fix non-bitexact yuv2yuv[X2]() MMX/MMX2 functions. configure: report yasm/nasm presence properly tcp: make connect() timeout properly rawdec: factor video demuxer definitions into a macro. rtspdec: add initial_pause private option. lavf: deprecate AVFormatParameters.width/height. tty: add video_size private option. rawdec: add video_size private option. x11grab: add video_size private option. x11grab: factorize returning error codes. ... Merged-by: Michael Niedermayer <michaelni@gmx.at>
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-21preset dir for win32Gianluigi Tiesi
2011-05-20cmdutils: use const AVClass * when sensefulStefano Sabatini
Fix warnings: cmdutils.c: In function ‘opt_default’: cmdutils.c:304: warning: initialization discards qualifiers from pointer target type cmdutils.c: In function ‘set_context_opts’: cmdutils.c:431: warning: passing argument 2 of ‘alloc_priv_context’ discards qualifiers from pointer target type cmdutils.c:414: note: expected ‘struct AVClass *’ but argument is of type ‘const struct AVClass *’
2011-05-20cmdutils: reset *picref_ptr to NULL in get_filtered_frame()Stefano Sabatini
Avoid the presence of an invalid pointer, fix a crash in case of get_filtered_frame() failure.
2011-05-16cmdutils: Allocate private decoder context if its not allocated yet.Michael Niedermayer
This fixes and simplifies setting decoder private options. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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-11Allocate per codec options, now that options are freed between inputs and ↵Baptiste Coudurier
outputs.
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-10Merge remote branch 'qatar/master'Michael Niedermayer
* qatar/master: mpegaudiodec: group #includes more sanely mpegaudio: remove #if 0 blocks ffmpeg.c: reset avoptions after each input/output file. ffmpeg.c: store per-output stream sws flags. mpegaudio: remove CONFIG_MPEGAUDIO_HP option mpegtsenc: Clear st->priv_data when freeing it udp: Fix receiving RTP data over multicast rtpproto: Remove an unused variable regtest: fix wma tests NOT pulled: mpegaudio: remove CONFIG_AUDIO_NONSHORT regtest: separate flags for encoding and decoding Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-09ffmpeg.c: reset avoptions after each input/output file.Anton Khirnov
This is consistent with how all the other options work.
2011-05-01lavfi: rename AVFilterBufferRefVideoProps.pixel_aspect to sample_aspect_ratioStefano Sabatini
Improve consistency with libavcodec. This breaks libavfilter API/ABI. The non-sequential 2.1.0 -> 2.4.0 bump is due to the mess previously done with the lavfi minor number.
2011-05-01lavc: add a sample_aspect_ratio field to AVFrameStefano Sabatini
The sample aspect ratio is a per-frame property, so it makes sense to define it in AVFrame rather than in the codec/stream context. Simplify application-level sample aspect ratio information extraction, and allow further simplifications.
2011-05-01lavc: add a pkt_pos field to AVFrameStefano Sabatini
This is similar to what was done with pkt_pts. This simplifies the operation of extracting the pos information from the AVPacket, and allows further simplifications.
2011-05-01FFMPEG: support demuxer specific options.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-26lavfi: add key_frame and pict_type to AVFilterBufferRefVideo.Roger Pau Monné
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-26Merge remote branch 'qatar/master'Michael Niedermayer
* qatar/master: graphparser: add a NULL check on the argument passed to strstr setdar: prefer "sar" over "par" in log info message fade: fix draw_slice() check on fade->factor value fade: make draw_slice() chroma check against planes 1 and 2 win32: include the correct header in cmdutils.c ac3: fix memleak in fixed-point encoder flashsv: Return more meaningful error values. flashsv: Employ explicit AVCodec struct initializers. read AVI palette from the end of extradata cosmetics: K&R coding style and more whitespace for Flash Screen Video Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-25win32: include the correct header in cmdutils.cLuca Barbato
CommandLineToArgvW requires windows.h, include it directly
2011-04-24Merge remote branch 'qatar/master'Michael Niedermayer
* qatar/master: Handle unicode file names on windows rtp: Rename the open/close functions to alloc/free Lowercase all ff* program names. Refer to ff* tools by their lowercase names. NOT Pulled Replace more FFmpeg instances by Libav or ffmpeg. Replace `` by $() syntax in shell scripts. patcheck: Allow overiding grep program(s) through environment variables. NOT Pulled Remove stray libavcore and _g binary references. vorbis: Rename decoder/encoder files to follow general file naming scheme. aacenc: Fix whitespace after last commit. cook: Fix small typo in av_log_ask_for_sample message. aacenc: Finish 3GPP psymodel analysis for non mid/side cases. Remove RDFT dependency from AAC decoder. Add some debug log messages to AAC extradata Fix mov debug (u)int64_t format strings. bswap: use native types for av_bwap16(). doc: FLV muxing is supported. applehttp: Handle AES-128 encrypted streams Add a protocol handler for AES CBC decryption with PKCS7 padding doc: Mention that DragonFly BSD requires __BSD_VISIBLE set Conflicts: ffplay.c ffprobe.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
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-20Merge remote branch 'qatar/master'Michael Niedermayer
* qatar/master: (37 commits) In avcodec_open(), set return code to an error value only when an error occurs instead of unconditionally at the start of the function. lavc: remove reference to opt.h from Makefile. prefer avio_check() over url_exist() avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols lavu: remove misc disabled cruft lavu: remove FF_API_OLD_IMAGE_NAMES cruft NOT PULLED lavu: remove FF_API_OLD_EVAL_NAMES cruft lavc: remove misc disabled cruft. lavc: remove the FF_API_INOFFICIAL cruft. lavc: remove the FF_API_SET_STRING_OLD cruft. lavc: remove the FF_API_USE_LPC cruft. lavc: remove the FF_API_SUBTITLE_OLD cruft. lavc: remove the FF_API_VIDEO_OLD cruft. lavc: remove the FF_API_AUDIO_OLD cruft. lavc: remove the FF_API_OPT_SHOW cruft. lavc: remove the FF_API_MM_FLAGS cruft. lavf: remove misc disabled cruft. lavf: remove FF_API_INDEX_BUILT cruft lavf: remove FF_API_URL_CLASS cruft. lavf: remove FF_API_SYMVER cruft ... Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-20Prefer codec specific options over global ones, allowing codecBaptiste Coudurier
to override global options.
2011-04-19lavc: remove the FF_API_SET_STRING_OLD cruft.Anton Khirnov
2011-04-17In libx264 wrapper, add -preset and -tune optionsBaptiste Coudurier
2011-04-16cmdutils: 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.
2011-04-16Add key_frame and pict_type to AVFilterBufferRefVideo.Roger Pau Monné
2011-04-08avio: deprecate av_protocol_next().Anton Khirnov
2011-03-26cmdutils: 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(). Als 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)’
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-17Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"Michael Niedermayer
This reverts commit 29ba091136a5e04574f7bfc1b17536c923958f6f.
2011-03-17Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"Michael Niedermayer
This reverts commit a03be6e1ba4cbf9984b0bbdb674704bbb2da6713.
2011-03-17Merge remote-tracking branch 'newdev/master'Michael Niedermayer
Conflicts: Changelog doc/APIchanges doc/optimization.txt libavformat/avio.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
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-03-08Add a dummy option -i to ffplay so that it is easy to switch between ffmpeg ↵Benjamin Larsson
-i "file" and ffplay -i "file". Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-18Deprecate 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> (cherry picked from commit f6c7375a175ac649558aefab14f3895b2cb469aa)
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-17Merge libavcore into libavutilReinhard Tartler
Done to keep ABI compatible. Otherwise this is just silly
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-07Implement guessed_pts in avcodec_decode_video2Nicolas George
Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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> (cherry picked from commit 60ff9de6ffa740e0df8c2a019c72e2d332b9788d)
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> (cherry picked from commit 3a6a9cdf5b8e4c4514e483484ef1f57b07ee16f2)
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-26Make this_year static to cmdutils.cDiego Elio Pettenò
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 3568853f63e1ab8ff1fc0773a132d14187a0e2d8)
2011-01-25Make this_year static to cmdutils.cDiego Elio Pettenò
Signed-off-by: Mans Rullgard <mans@mansr.com>