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

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-22Replace usleep() calls with av_usleep()Mans Rullgard
This reduces the dependency on unistd.h which is not available on all systems. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-15Avoid C99 variable declarations within for statements.Diego Biurrun
We generally do not declare variables within for statements and there are compilers that choke on such constructs.
2012-06-05avplay: use buffersrc instead of custom input filter.Anton Khirnov
We do not allow user filters, so avtools shouldn't use them either. It also allows to reuse buffer management code from avconv, thus reducing duplication.
2012-05-09lavfi: add video buffer sink, and use it in avtoolsAnton Khirnov
Also add the public interface libavfilter/buffersink.h. Based on a commit by Stefano Sabatini.
2012-05-07avplay: properly close/reopen AVAudioResampleContext on channel layout changeJustin Ruggles
fixes Bug#280
2012-05-01avplay: use libavresample for sample format conversion and channel mixingJustin Ruggles
SDL only supports s16 sample format and a limited number of channel layouts. Some versions of SDL on some systems support 4-channel and 6-channel output, but it's safer overall to downmix any layout with more than 2 channels to stereo.
2012-04-21Remove lowres video decodingMans Rullgard
This feature is complex, of questionable utility, and slows down normal decoding. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-04-17avplay: update get_buffer to be inline with avconvLuca Barbato
The buffer must have its dimension, pixel format and aspect ratio set.
2012-04-15avconv: get output pixel format from lavfi.Anton Khirnov
This way we don't require a clearly defined corresponding input stream. The result for the xwd test changes because rgb24 is now chosen instead of bgra.
2012-04-14avfiltergraph: make the AVFilterInOut alloc/free API publicStefano Sabatini
This is required for letting applications to create and destroy AVFilterInOut structs in a convenient way. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-04-11avplay: Don't free video filters string until the end of decoding.Alex Converse
av_freep()ing inside configure_video_filters() leaves a dangling reference in the calling code, and the filter string is needed again when reconfiguring video filters for a size change.
2012-04-06avplay: Don't try to scale timestamps if the tb isn't setMartin Storsjö
If get_filtered_video_frame failed above, tb might not be initialized at all, so don't scale using it. This fixes cases where avplay could crash if aborting avformat_find_stream_info with ctrl+c. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-03-28Replace memset(0) by zero initializations.Diego Biurrun
Also remove one pointless zero initialization in rangecoder.c.
2012-02-29avplay: remove an unused variable.Anton Khirnov
2012-02-21avplay: fix -threads optionJanne Grunau
The AVOptions based default to threads auto in 2473a45c8 works only if avplay does not use custom option handling for -threads. CC: <libav-stable@libav.org>
2012-02-06avplay: reset decoder flush state when seekingJustin Ruggles
Fixes seeking after decoder has already been flushed for codecs using CODEC_CAP_DELAY.
2012-01-28avplay: use the correct array size for stride.Anton Khirnov
AV_NUM_DATA_POINTERS instead of 4.
2012-01-25Drop unnecessary prefix from *sink* variable and struct names.Diego Biurrun
2012-01-24avplay: remove the -er option.Anton Khirnov
Error recognition flags can and should be set directly with AVOptions.
2012-01-21threads: change the default for threads back to 1Janne Grunau
Using threaded decoding by default breaks backward compatibility if AVHWAccel is used or if an appliction sets threadunsafe callbacks. Avconv and avplay still use -threads auto if not specified.
2012-01-19cosmetics: Rename ffsink to avsink.Diego Biurrun
2012-01-11Fix a bunch of platform name and other typos.Diego Biurrun
2012-01-04avplay: Don't call avio_set_interrupt_cb(NULL)Martin Storsjö
Since we don't use avio_set_interrupt_cb for interrupt callbacks, we don't need to call it to reset the interrupt cb either. This avoids a warning about use of deprecated functions. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-01avplay: K&R cleanupAneesh Dogra
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-12-31cosmetics: Drop unnecessary parentheses around return values.Diego Biurrun
2011-12-25lavfi: add avfilter_copy_frame_props()Stefano Sabatini
avfilter_copy_frame_props() avoids code duplication and increases robustness.
2011-12-25lavc: 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-12-19avplay: clear pkt_temp when pkt is freed.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2011-12-19avcodec: deprecate AVFrame.ageMans Rullgard
This was intended as an optimisation for skipped blocks in MPEG2 P-frames and never used elsewhere. Removing this "optimisation" speeds up MPEG2 decoding by 1-2% (ARM Cortex-A9). Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-12Replace all uses of av_close_input_file() with avformat_close_input().Anton Khirnov
2011-12-11avplay: don't request a stereo downmixJustin Ruggles
Multi-channel output works just fine for me with SDL 1.2.14.
2011-12-05avplay: use avcodec_decode_audio4()Justin Ruggles
2011-12-05avplay: use a separate buffer for playing silenceJustin Ruggles
2011-11-18avplay: Set the new interrupt callbackMartin Storsjö
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-11-08avplay: reset rdft when closing stream.Justin Ruggles
this fixes a crash when cycling audio streams if the spectrograph is displayed.
2011-11-06Call avformat_network_init/deinit in the programsMartin Storsjö
Calling the init function will become mandatory at some later point. By calling it, more heavy network init (such as SSL/TLS library init) can be done once at startup, instead of implicitly when used (which could lead to it being done a number of times). Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-02Replace outdated references to ffmpeg tool with avconv.Diego Biurrun
2011-10-22avplay: fix fullscreen behaviour with SDL 1.2.14 on Mac OS XMarton Balint
The blue channel went missing when toggling fullscreen on Mac OS X.
2011-10-18macosx: use the default surface on newer sdlLuca Barbato
SDL 1.2.14 works fine with default colorspace on macosx and seems to have some issues with 24bit surfaces and resize in addition.
2011-10-13avplay: free the active audio packet at exit.Justin Ruggles
fixes a memleak
2011-10-13avplay: free rdft data used for spectrogram analysis.Justin Ruggles
fixes a memleak
2011-10-12cmdutils/avtools: simplify show_help() by using av_opt_child_class_next()Anton Khirnov
2011-09-26avtools: parse loglevel before all the other options.Anton Khirnov
This way it can be applied to cmdutils too -- e.g. showing the banner and printing startup messages.
2011-09-22avplay: flush audio decoder with empty packets at EOF if the decoder hasJustin Ruggles
CODEC_CAP_DELAY set.
2011-09-04cmdutils: add support for caller-provided option context.Anton Khirnov
This is the first step to removing the globals plague from avtools.
2011-09-04cmdutils: move exit_program() declaration to cmdutils from avconvAnton Khirnov
Allows cmdutils to call each tool's own cleanup function.
2011-09-03cmdutils: get rid of dummy contexts for examining AVOptions.Anton Khirnov
Replace it with newly introduced libavutil API.
2011-08-15avtools: reinitialise filter chain when input video stream changes dimensionsKostya
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-12cmdutils: allow precisely specifying a stream for AVOptions.Anton Khirnov
2011-08-09Rename ffplay to avplay.Anton Khirnov