History | View | Annotate | Download (98.3 KB)
ffplay: fix weird brace placement in video_image_display()
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
ffplay: rename output_picture2() to output_picture()
The "2" suffix is confusing.
ffplay: remove useless intermediary variable dst_pix_fmt in queue_picture()
Simplify.
ffplay: avoid forward declaration for packet_queue_put()
Define the function before it is used. Simplify.
ffplay: compact expression in compute_mod()
Prefer "return X ? Y : Z" over "if (x) return Y; else return Z",reduce line count.
Add the notion of pixel size in h264 related functions.
In high bit depth the pixels will not be stored in uint8_t like in thenormal case, but in uint16_t. The pixel size is thus 1 in normal bitdepth and 2 in high bit depth.
Preparatory patch for high bit depth h264 decoding support....
Merge remote branch 'qatar/master'
ffplay: Set EMU_EDGE if dr1, this is an alternative fix for ticket40.Idea borrowed from mplayer.Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avio: avio_ prefix for url_set_interrupt_cb.
move image check down in ffplay.cSigned-off-by: Michael Niedermayer <michaelni@gmx.at>
Disable dr1 in ffplay for svq1 (fixes ticket40)Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Check sizes a bit in ffplay, cant hurt.Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay: Don't assume ic->pb is non-null
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>
ffplay: add braces around union definition
Fix warning:ffplay.c: At top level:ffplay.c:3027: warning: missing braces around initializerffplay.c:3027: warning: (near initialization for ‘options53.u’)
ffplay: add existence check on ic->pb in decode_thread()
Fix crash if ic->pb is NULL and ic->pb->error is evaluated. Thishappens for example with: ffplay photo.jpeg.
Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
Merge remote-tracking branch 'newdev/master'
Merged-by: Michael Niedermayer <michaelni@gmx.at>
avio: deprecate url_ferror
AVIOContext.error should be used directly instead.
ffplay: Continue if the file was appended to.This is a bit experimental
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Add a dummy option -i to ffplay so that it is easy to switch between ffmpeg -i "file" and ffplay -i "file".
avio: avio_ prefix for url_fsize
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>(cherry picked from commit 76aa876e69cf78a40821e66dec0a1006e4eb23ec)
avio: deprecate url_feof
AVIOContext.eof_reached should be used directly instead.
avio: add avio_tell macro as a replacement for url_ftell
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>(cherry picked from commit a2704c9712ad35cc22e7e0d8a79b581c07fa383b)
lavf: add av_ prefix to dump_format()
Signed-off-by: Mans Rullgard <mans@mansr.com>(cherry picked from commit 610219a598095f938705f200dfe3946455ef871a)
Merge libavcore into libavutil
Done to keep ABI compatible. Otherwise this is just silly
It is pretty hopeless that other considerable projects will adoptlibavutil alone in other projects. Projects that need small footprintare better off with more specialized libraries such as gnulib or ratherjust copy the necessary parts that they need. With this in mind, nobody...
Remove disabled legacy code in ffplay.
The code was setting aspect ratio from the DTG active format, and waspresent and disabled since the creation of ffplay.
See thread:Subject: [FFmpeg-devel] [PATCH] Cosmetics: adopt compact notation in disabled code....
ffplay: stats: do not dereference NULL video
Also: cosmetic: split this overly long line
Deprecate avcodec_thread_init()
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...
Frame-based multithreading framework using pthreads
See doc/multithreading.txt for details on use in codecs.
Implement guessed_pts in avcodec_decode_video2
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Adopt pkt_dts/pkt_pts in lavc clients
No behavior change; this makes DTS reliable with the next patch.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>(cherry picked from commit 6b474953975fd8ea64d1ed4d09c42b2d8e787c6f)
Make avfilter_graph_free() free the graph.
Make avfilter_graph_free() free not only the internal structures, butalso the allocated graph, and set the graph pointer to NULL forincreased safety.
Simplify usage.
Signed-off-by: Mans Rullgard <mans@mansr.com>...
ffplay: factorize code from video_thread() into configure_video_filters()
Signed-off-by: Mans Rullgard <mans@mansr.com>(cherry picked from commit 75ea596de1145878a7603d5a3f269a9aac9ae30e)
In ffplay:get_video_frame(), use frame->pkt_pts rather than reordered_opaque.
AVCodecContext.reordered_opaque is deprecated for this specific use.
Signed-off-by: Mans Rullgard <mans@mansr.com>(cherry picked from commit 2855080447a226aba7e88e943fd8a8779d6daa98)
ffplay: in video_thread(), use av_dlog() for timestamp logging.
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>(cherry picked from commit 13156f40e1f17ec1d0c57e6bf7a2850f673600c0)
Remove outdated and confusing comment.
Signed-off-by: Mans Rullgard <mans@mansr.com>(cherry picked from commit db2ddd38859b26c0a4e4bf92619625cd7e0e7f42)
Merge two if (got_picture) {} blocks in ffplay.c:get_video_frame().
Remove outcommented fossil code.
Fix weird indent in get_video_frame().
Originally committed as revision 26390 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reindent after the last commit.
Originally committed as revision 26372 to svn://svn.ffmpeg.org/ffmpeg/trunk
In ffplay, do not open display if -nodisp is set.
Fixes issue 1017.
Originally committed as revision 26371 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cosmetics: fix weird indent.
Originally committed as revision 26350 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add AVFrame.pkt_pts that contains the correctly reordered AVPacket.pts
Originally committed as revision 26260 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix ffplay -an/-vn options that were swapped by r26105.
Originally committed as revision 26115 to svn://svn.ffmpeg.org/ffmpeg/trunk
Support filters and decoders that dont support negative linesizes.This patch is based on work by stefano.
Originally committed as revision 26108 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use av_find_best_stream in ffplay.
Originally committed as revision 26105 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add avfilter_graph_create_filter().
Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumSampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove graphparser.h header, move AVFilterInOut andavfilter_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
Rename AVFilterInOut field filter to filter_ctx, more semantically correct.
Originally committed as revision 25700 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename avfilter_graph_destroy() to avfilter_graph_free().
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
Implement avfilter_graph_alloc().
Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove usage of deprecated libavcodec/audioconvert.h functions.
Originally committed as revision 25668 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement a common get_filtered_video_frame(), shared between ffplay.cand ffmpeg.c.
Originally committed as revision 25520 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add avfilter_graph_config().
Originally committed as revision 25502 to svn://svn.ffmpeg.org/ffmpeg/trunk
Factorize definition of the output_filter defined in both ffplay.c andffmpeg.c.Replace it with a more generic definition which can be shared.
Originally committed as revision 25453 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix timebase handling at the begin and at the end of the ffplay videofilterchain.
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
Do not pass an unused variable when initing filt_out. Less confusing.
Originally committed as revision 25448 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix ffplay to keep calling av_read_frame even if EOF has been reached.
Patch by Michael Chinen, mchinen gmail
Originally committed as revision 25426 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add init and uninit functions to cmdutils, reduces code duplicationbetween ffmpeg and ffplay and avoids a valgrind error by freeingavformat_opts->key.
Originally committed as revision 25309 to svn://svn.ffmpeg.org/ffmpeg/trunk
User application side of Codec specific parameters.
Originally committed as revision 25266 to svn://svn.ffmpeg.org/ffmpeg/trunk
Extract timestamp correction code from ffplay.c to cmdutils.c
Originally committed as revision 25241 to svn://svn.ffmpeg.org/ffmpeg/trunk
Enable AV_LOG_SKIP_REPEATED to maintain previous behavior.
Originally committed as revision 25175 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make ffplay -h show the settable AVOptions.
Originally committed as revision 25167 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reindent.
Originally committed as revision 25068 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move av_picture_data_copy() to libavcore, and rename itav_image_copy().
Originally committed as revision 25067 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add _XOPEN_SOURCE definition for usleep().patch by Dave Yeo, daveryeo telus net
Originally committed as revision 24893 to svn://svn.ffmpeg.org/ffmpeg/trunk
Mention lowres if SDL can't provide the needed resolution.
Originally committed as revision 24802 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix SDL crash on specific hardware.
Patch by Mike Scheutzow, mjs973 optonline net
Originally committed as revision 24801 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move do_exit() up for upcoming patch.
Originally committed as revision 24800 to svn://svn.ffmpeg.org/ffmpeg/trunk
Resize data and linesize in AVFilterBufferRef to 8.
This is required to make AVFilterBufferRef able to contain also audiodata, required by audio filtering integration.
Patch by S.N. Hemanth Meenakshisundaram smeen?ks@ucsd.ed?.
Originally committed as revision 24773 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change avfilter_open() signature, from:AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name);to:int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name);
This way it is possible to propagate an error code telling the reason...
Separate video specific BufferRef properties into VideoProps.
Define a new struct AVFilterBufferRefVideoProps and add a type fieldto AVFilterBufferRef.
Video specific properties in AVFilterBufferRefVideoProps are nowreferred to by *video pointer in AVFilterBufferRef....
Rename fields:
AVFilterLink.srcpic -> AVFilterLink.src_bufAVFilterLink.cur_pic -> AVFilterLink.cur_bufAVFilterLink.outpic -> AVFilterLink.out_buf
The new names are more generic and more consistent, since the structthey contain, which was named AVFilterPicRef, has been renamed to...
Rename functions and fields:
avfilter_(un)ref_pic -> avfilter_(un)ref_bufferavfilter_copy_picref_props -> avfilter_copy_buffer_ref_propsAVFilterBufferRef.pic -> AVFilterBufferRef.buffer
They have been renamed to allow sharing with audio.
Patch by S.N. Hemanth Meenakshisundaram $smeenaks$ucsd$edu$....
Rename AVFilterPicRef to AVFilterBufferRef.
The struct is going to be used for storing audio buffer references aswell, and the new name is more generic.
Patch by S.N. Hemanth Meenakshisundaram smeenaks@ucsd@edu.
smeenaks@ucsd@edu
Originally committed as revision 24730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move format from AVFilterBuffer to AVFilterPicRef.
Patch by S.N. Hemanth Meenakshisundaram |smeenaks|ucsd|edu|.
Originally committed as revision 24728 to svn://svn.ffmpeg.org/ffmpeg/trunk
Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()in favor of the newly added corresponding functionsav_parse_video_size() and av_parse_video_rate() defined inlibavcore/parseutils.h.
This change also adds a linking-time dependency of libavcodec and of...
Add avsubtitle_free function.
Originally committed as revision 24185 to svn://svn.ffmpeg.org/ffmpeg/trunk
FFplay : Fix segfault when playing monoaural streams.
Originally committed as revision 24090 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement -onkeydown and -onmousedown options for ffplay.
Patch by Alexei Svitkine cout << name << "." << surname << "@" << "gmail.com".
See thread:Subject: [FFmpeg-devel] new command-line option for ffplayDate: Wed, 23 Jun 2010 09:13:50 -0400
Originally committed as revision 24037 to svn://svn.ffmpeg.org/ffmpeg/trunk
FFplay : Copy all AVFrame fields from the reference picture to therequested buffer.
Originally committed as revision 24032 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move colorspace.h from libavcodec to libavutil.Avoid a compile-time dependency of the pad filter on libavcodec.
Originally committed as revision 23940 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay: remove VLA
Originally committed as revision 23892 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix pts reordering code.This fixes a regression introduced when libavfilter support was added to ffplay.
Originally committed as revision 23343 to svn://svn.ffmpeg.org/ffmpeg/trunk
FFplay : Implement custom reget_buffer for the input filter.
Originally committed as revision 23287 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cosmetics : re-indent after last commit.
Originally committed as revision 23265 to svn://svn.ffmpeg.org/ffmpeg/trunk