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-05-19Add support for request_sample_format in ffmpeg and ffplay.Justin Ruggles
2011-05-17ffplay: remove audio_write_get_buf_size() forward declarationStefano Sabatini
Move up the definition of audio_write_get_buf_size(), so that it is defined before it is used. Simplify. (cherry picked from commit 8776f3d22e401e30d17856e341f6cabbbefa92f7)
2011-05-12configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun
Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
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-10Add the notion of pixel size in h264 related functions.Oskar Arvidsson
In high bit depth the pixels will not be stored in uint8_t like in the normal case, but in uint16_t. The pixel size is thus 1 in normal bit depth and 2 in high bit depth. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-05-02Replace deprecated av_get_pict_type_char() with av_get_picture_type_char().Stefano Sabatini
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-04-29Replace some commented-out debug printf() / av_log() messages with av_dlog().Diego Biurrun
2011-04-23Lowercase all ff* program names.Diego Biurrun
2011-04-19lavc: remove the FF_API_SET_STRING_OLD cruft.Anton Khirnov
2011-04-07avio: avio_ prefix for url_set_interrupt_cb.Anton Khirnov
2011-03-21ffplay: Don't assume ic->pb is non-nullMartin Storsjö
This fixes crashes on exit when plaing some RealRTSP streams (among other), e.g. rtsp://dl.lib.brown.edu:554/areserves/1093545294660883.mp3. These crashes have been present since 3e68b3ba7b015cf21. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-15avio: deprecate url_ferrorAnton Khirnov
AVIOContext.error should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-08avio: deprecate url_feofAnton Khirnov
AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-07avio: avio_ prefix for url_fsizeAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-04avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-17lavf: add av_ prefix to dump_format()Anton Khirnov
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-14Remove disabled legacy code in ffplay.Stefano Sabatini
The code was setting aspect ratio from the DTG active format, and was present and disabled since the creation of ffplay. See thread: Subject: [FFmpeg-devel] [PATCH] Cosmetics: adopt compact notation in disabled code. Date: Sat, 12 Feb 2011 18:46:19 +0100 Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-09Deprecate avcodec_thread_init()Alexander Strange
As a side effect of the last commit, avcodec_open() now calls it automatically, so there is no longer any need for clients to call it. Instead they should set AVCodecContext.thread_count. avcodec_thread_free() is deprecated, and will be removed from avcodec.h at the next MAJOR libavcodec bump. Rename the functions to ff_thread_init/free, since they are now internal. Wrappers are provided to maintain API compatibility. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-09Frame-based multithreading framework using pthreadsAlexander Strange
See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-06Adopt pkt_dts/pkt_pts in lavc clientsAlexander Strange
No behavior change; this makes DTS reliable with the next patch. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-04Make avfilter_graph_free() free the graph.Stefano Sabatini
Make avfilter_graph_free() free not only the internal structures, but also the allocated graph, and set the graph pointer to NULL for increased safety. Simplify usage. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-02ffplay: factorize code from video_thread() into configure_video_filters()Stefano Sabatini
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-30In ffplay:get_video_frame(), use frame->pkt_pts rather than reordered_opaque.Stefano Sabatini
AVCodecContext.reordered_opaque is deprecated for this specific use. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-30ffplay: in video_thread(), use av_dlog() for timestamp logging.Stefano Sabatini
Disable logging of rescaled timestamps if DEBUG is not enabled. Avoid debug log spamming with -loglevel debug. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-22Remove outdated and confusing comment.Stefano Sabatini
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-18Merge two if (got_picture) {} blocks in ffplay.c:get_video_frame().Stefano Sabatini
2011-01-18Remove outcommented fossil code.Stefano Sabatini
2011-01-16Fix weird indent in get_video_frame().Stefano Sabatini
Originally committed as revision 26390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-15Reindent after the last commit.Stefano Sabatini
Originally committed as revision 26372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-15In ffplay, do not open display if -nodisp is set.Stefano Sabatini
Fixes issue 1017. Originally committed as revision 26371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-15Cosmetics: fix weird indent.Stefano Sabatini
Originally committed as revision 26350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-08Add AVFrame.pkt_pts that contains the correctly reordered AVPacket.ptsMichael Niedermayer
Originally committed as revision 26260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-28Fix ffplay -an/-vn options that were swapped by r26105.Nicolas George
Originally committed as revision 26115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-27Support filters and decoders that dont support negative linesizes.Michael Niedermayer
This patch is based on work by stefano. Originally committed as revision 26108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-27Use av_find_best_stream in ffplay.Nicolas George
Originally committed as revision 26105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-02Add avfilter_graph_create_filter().Stefano Sabatini
Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-12Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini
SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-08Remove graphparser.h header, move AVFilterInOut andStefano Sabatini
avfilter_graph_parse() declaration to libavfilter/avfiltergraph.h. Simplify, and less confusing for the user. Originally committed as revision 25705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-07Rename AVFilterInOut field filter to filter_ctx, more semantically correct.Stefano Sabatini
Originally committed as revision 25700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-04Rename avfilter_graph_destroy() to avfilter_graph_free().Stefano Sabatini
The new name is shorter and more consistent with the rest of the API. This change breaks libavfilter API/ABI. Originally committed as revision 25674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-04Implement avfilter_graph_alloc().Stefano Sabatini
Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-03Remove usage of deprecated libavcodec/audioconvert.h functions.Stefano Sabatini
Originally committed as revision 25668 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-16Add avfilter_graph_config().Stefano Sabatini
Originally committed as revision 25502 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-12Fix timebase handling at the begin and at the end of the ffplay videoStefano Sabatini
filterchain. Set timebase in the ffplay input, and make get_filtered_video_frame() rescale the output frames PTSes according to their timebase. Originally committed as revision 25450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-12Do not pass an unused variable when initing filt_out. Less confusing.Stefano Sabatini
Originally committed as revision 25448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-09Fix ffplay to keep calling av_read_frame even if EOF has been reached.Michael Chinen
Patch by Michael Chinen, mchinen gmail Originally committed as revision 25426 to svn://svn.ffmpeg.org/ffmpeg/trunk