Statistics
| Branch: | Revision:

ffmpeg / ffplay.c @ 89912b5f

History | View | Annotate | Download (99.3 KB)

# Date Author Comment
126b638e 07/26/2010 11:12 PM Stefano Sabatini

Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()
in favor of the newly added corresponding functions
av_parse_video_size() and av_parse_video_rate() defined in
libavcore/parseutils.h.

This change also adds a linking-time dependency of libavcodec and of...

e1d7c883 07/11/2010 07:35 AM Reimar Döffinger

Add avsubtitle_free function.

Originally committed as revision 24185 to svn://svn.ffmpeg.org/ffmpeg/trunk

00f72577 07/07/2010 06:14 PM Jai Menon

FFplay : Fix segfault when playing monoaural streams.

Originally committed as revision 24090 to svn://svn.ffmpeg.org/ffmpeg/trunk

066ce8c9 07/04/2010 12:43 PM Alexei Svitkine

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 ffplay
Date: Wed, 23 Jun 2010 09:13:50 -0400

Originally committed as revision 24037 to svn://svn.ffmpeg.org/ffmpeg/trunk

cfb7e6e6 07/03/2010 09:20 PM Jai Menon

FFplay : Copy all AVFrame fields from the reference picture to the
requested buffer.

Originally committed as revision 24032 to svn://svn.ffmpeg.org/ffmpeg/trunk

2b4abbd6 07/01/2010 06:49 PM Stefano Sabatini

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

7dbbf6a1 06/29/2010 10:41 PM Måns Rullgård

ffplay: remove VLA

Originally committed as revision 23892 to svn://svn.ffmpeg.org/ffmpeg/trunk

867ab7fb 05/27/2010 12:31 AM Michael Niedermayer

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

12bd3c1f 05/24/2010 02:19 PM Jai Menon

FFplay : Implement custom reget_buffer for the input filter.

Originally committed as revision 23287 to svn://svn.ffmpeg.org/ffmpeg/trunk

e53ca636 05/23/2010 07:14 PM Jai Menon

Cosmetics : re-indent after last commit.

Originally committed as revision 23265 to svn://svn.ffmpeg.org/ffmpeg/trunk

3635c07b 05/23/2010 07:13 PM Jai Menon

FFplay : Avoid manipulating NULL data pointers so that future checks
remain valid. This fixes segfaults for those cases where data copy to
this invalid pointer is attempted.

Originally committed as revision 23264 to svn://svn.ffmpeg.org/ffmpeg/trunk

65929418 05/15/2010 05:34 PM François Revol

Avoid mixed declaration and code, fix C89 compatibility.

Patch by François Revol revol free fr.

Originally committed as revision 23143 to svn://svn.ffmpeg.org/ffmpeg/trunk

09ed11e5 05/12/2010 11:18 PM Baptiste Coudurier

rename -vfilters cli option to -vf in ffplay as well

Originally committed as revision 23104 to svn://svn.ffmpeg.org/ffmpeg/trunk

3f073fa2 05/08/2010 09:39 PM Stefano Sabatini

Fix auto-scaling.

Use the numeric value assigned to sws_flags for the sws_flags set in
the graph, rather than the string "bilinear", which is not even
parsable by the scale filter.

Originally committed as revision 23060 to svn://svn.ffmpeg.org/ffmpeg/trunk

9b157b0c 04/22/2010 08:55 AM Cyril Russo

Fix compilation error of ffmpeg and ffplay with --disable-avdevice.

Patch by Cyril Russo, stage D nexvision A laposte net

Originally committed as revision 22940 to svn://svn.ffmpeg.org/ffmpeg/trunk

79f8b328 04/09/2010 05:52 PM Jai Menon

ffplay : Add 's' to the list of supported commands.

Originally committed as revision 22823 to svn://svn.ffmpeg.org/ffmpeg/trunk

d834d63b 04/01/2010 08:56 PM Robert Krüger

Add -t option to ffplay.

Patch by Robert Krüger, krueger signal7 de

Originally committed as revision 22764 to svn://svn.ffmpeg.org/ffmpeg/trunk

cf097cbc 04/01/2010 06:41 AM Bobby Bingham

Cosmetics: indentation

Originally committed as revision 22756 to svn://svn.ffmpeg.org/ffmpeg/trunk

c41c5b02 04/01/2010 06:41 AM Bobby Bingham

Don't create unnecessary refereces to pictures

Originally committed as revision 22755 to svn://svn.ffmpeg.org/ffmpeg/trunk

dd0c789b 04/01/2010 06:41 AM Bobby Bingham

Hook decoder up to libavfilter's direct rendering for ffplay

Originally committed as revision 22754 to svn://svn.ffmpeg.org/ffmpeg/trunk

72415b2a 03/30/2010 11:30 PM Stefano Sabatini

Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk

1922c0a7 03/23/2010 05:39 PM Robert Krüger

Add a loop option to ffplay.

Patch by Robert Krüger, krueger signal7 de

Originally committed as revision 22646 to svn://svn.ffmpeg.org/ffmpeg/trunk

4903b5ca 03/20/2010 09:39 PM Diego Biurrun

Move variable declaration, fixes the warning:
ffplay.c:1703: warning: unused variable `pos'

Originally committed as revision 22611 to svn://svn.ffmpeg.org/ffmpeg/trunk

076db5ed 03/17/2010 11:39 PM Robert Krüger

Add a -window_title option, which sets the FFplay window title.

Patch by Robert Krüger "krueger ET signal7 DOT de".

Originally committed as revision 22588 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb409513 03/13/2010 11:27 AM Stefano Sabatini

Make ffplay pass the packet.pos information to the filterchain, get it
again from the filterchain and pass it back to output_picture2().

Originally committed as revision 22507 to svn://svn.ffmpeg.org/ffmpeg/trunk

382f3a5b 03/12/2010 03:12 PM Michael Niedermayer

Print skip_frames variable.

Originally committed as revision 22482 to svn://svn.ffmpeg.org/ffmpeg/trunk

2b3da32f 03/11/2010 11:25 AM Michael Niedermayer

Make rdft speed user configureable.
Change default speed back to a slower variant.

Originally committed as revision 22467 to svn://svn.ffmpeg.org/ffmpeg/trunk

d38c9e7a 03/11/2010 02:35 AM Michael Niedermayer

Implement framedrop.
Replace SDL timer by a seperate thread, more accurate and less annoying.
frame drop is enabled by default, bug reports welcome.
Fixes issue1191

Originally committed as revision 22452 to svn://svn.ffmpeg.org/ffmpeg/trunk

8a3ceaf4 03/11/2010 02:32 AM Måns Rullgård

ffplay: use correct format specifiers in printf()

Originally committed as revision 22447 to svn://svn.ffmpeg.org/ffmpeg/trunk

122dcdcb 03/10/2010 10:43 PM Michael Niedermayer

Fix some apparent +- errors in the audio vissualization.
The bugs become only vissible at higher time resolution than what is
used currently.

Originally committed as revision 22442 to svn://svn.ffmpeg.org/ffmpeg/trunk

d9427e84 03/10/2010 04:11 PM Michael Niedermayer

Only reschedule refresh if we successfully removed the scheduled one.
Fixes some spurious error messages.

Originally committed as revision 22435 to svn://svn.ffmpeg.org/ffmpeg/trunk

562f382c 03/10/2010 03:45 PM Michael Niedermayer

Increase VIDEO_PICTURE_QUEUE_SIZE to 2.
this allows more asynchronous decoding and display thus improving
video smoothness.
It also seems to improve absolute video decoding speed for some reason

Originally committed as revision 22434 to svn://svn.ffmpeg.org/ffmpeg/trunk

d3d7b12e 03/10/2010 03:39 PM Michael Niedermayer

Do not call SDL_SetVideoMode() with the same size as previously
as this blanks the window.

Originally committed as revision 22433 to svn://svn.ffmpeg.org/ffmpeg/trunk

6580d5e3 03/07/2010 10:18 PM Måns Rullgård

Remove hacks not required since HAVE_AV_CONFIG_H was unset for the apps

Originally committed as revision 22295 to svn://svn.ffmpeg.org/ffmpeg/trunk

166621ab 03/07/2010 09:56 PM Måns Rullgård

ffplay: use public fft interface

Originally committed as revision 22292 to svn://svn.ffmpeg.org/ffmpeg/trunk

41ea18fb 03/07/2010 09:47 PM Måns Rullgård

Give RDFT types more meaningful names

Originally committed as revision 22290 to svn://svn.ffmpeg.org/ffmpeg/trunk

ff358eca 03/06/2010 07:19 PM Stefano Sabatini

Reindent after the last commit.

Originally committed as revision 22248 to svn://svn.ffmpeg.org/ffmpeg/trunk

fd9da252 03/06/2010 07:19 PM Stefano Sabatini

Use av_get_pict_type_char() in debug code within output_picture2(),
simplify.

Originally committed as revision 22247 to svn://svn.ffmpeg.org/ffmpeg/trunk

1429224b 03/06/2010 02:34 PM Måns Rullgård

Move FFT parts from dsputil.h to fft.h

Originally committed as revision 22235 to svn://svn.ffmpeg.org/ffmpeg/trunk

3966a574 03/05/2010 03:54 AM Michael Niedermayer

10l fix timestamps (lavfi update broke them)

Originally committed as revision 22218 to svn://svn.ffmpeg.org/ffmpeg/trunk

fca62599 03/05/2010 03:34 AM Michael Niedermayer

Fix 100l pkt->pos typo.

Originally committed as revision 22217 to svn://svn.ffmpeg.org/ffmpeg/trunk

917d2bb3 03/05/2010 02:20 AM Michael Niedermayer

Libavfilter for ffplay support.
This still needs some minor work here and there but should be already functional.
Note that the code pathes that are under "not avfilter" ifdefs as well as the
ifdefs will be droped as soon as all major issues have been det with, aka could...

8ef94840 03/05/2010 12:22 AM David Conrad

Just ignore streams with unknown codec_type instead of exiting

Originally committed as revision 22213 to svn://svn.ffmpeg.org/ffmpeg/trunk

07a70b38 03/01/2010 11:10 PM Stefano Sabatini

Add a check for checking if more than one input file is provided to
ffplay, make it complain and abort in that case as just one input file
is currently supported.

Originally committed as revision 22139 to svn://svn.ffmpeg.org/ffmpeg/trunk

bc77fce6 02/24/2010 02:45 PM Ramiro Polla

Clear freed pointer in ffplay.c.
Fixes a crash when audio stream is cycled twice.

Originally committed as revision 22026 to svn://svn.ffmpeg.org/ffmpeg/trunk

9f7490a0 02/23/2010 05:35 PM Michael Niedermayer

Also favor streams with more packets in ffplay.

Originally committed as revision 22008 to svn://svn.ffmpeg.org/ffmpeg/trunk

256ab3ed 02/23/2010 05:09 PM Michael Niedermayer

Dont modify wanted_stream.

Originally committed as revision 22007 to svn://svn.ffmpeg.org/ffmpeg/trunk

5b369983 02/23/2010 04:56 PM Michael Niedermayer

replace wanted_*_stream by wanted_stream[CODEC_TYPE]

Originally committed as revision 22006 to svn://svn.ffmpeg.org/ffmpeg/trunk

6625a3de 02/23/2010 04:46 PM Michael Niedermayer

Replace *_index by st_index[codec_type].

Originally committed as revision 22003 to svn://svn.ffmpeg.org/ffmpeg/trunk

f05ef45c 02/21/2010 11:35 AM Stefano Sabatini

Use the official FFmpeg spelling: "ffmpeg" -> "FFmpeg".

Originally committed as revision 21935 to svn://svn.ffmpeg.org/ffmpeg/trunk

077a8d61 02/18/2010 12:19 AM Michael Niedermayer

fix issue 1747

Originally committed as revision 21874 to svn://svn.ffmpeg.org/ffmpeg/trunk

fe74099a 02/16/2010 10:38 PM Stefano Sabatini

Rename the "enc" variable, which refers to the AVCodecContext of a
decoder, to "avctx".

See the thread:
Subject: [FFmpeg-devel] [PATCH] enc is not a good name for a decoder context
Date: Mon, 28 Dec 2009 22:56:25 +0100

Originally committed as revision 21855 to svn://svn.ffmpeg.org/ffmpeg/trunk

6c7165c7 02/06/2010 01:15 PM Jai Menon

cosmetics : re-indent after r21639.

Originally committed as revision 21658 to svn://svn.ffmpeg.org/ffmpeg/trunk

570da52b 02/06/2010 12:05 AM Stefano Sabatini

Remove unused variable ref_clock, fix the warning:
ffplay.c: In function ‘compute_frame_delay’:
ffplay.c:1064: warning: unused variable ‘ref_clock’

Originally committed as revision 21649 to svn://svn.ffmpeg.org/ffmpeg/trunk

bf8ae197 02/05/2010 03:26 PM Michael Niedermayer

make the RDFT vissualizatiom default, the scopes are ugly and eat CPU like
piranhas.

Originally committed as revision 21646 to svn://svn.ffmpeg.org/ffmpeg/trunk

4c7c7645 02/05/2010 03:16 PM Michael Niedermayer

Make sure the rdft has enough audio available.
10l (looks cleaner now)

Originally committed as revision 21645 to svn://svn.ffmpeg.org/ffmpeg/trunk

092421cf 02/05/2010 11:25 AM Michael Niedermayer

Scale rdft vissualization up by 2 so theres no unused space on the top
but rather the unimportant high frequencies are cut off if the window is
not a multiple of 2 high.

Originally committed as revision 21641 to svn://svn.ffmpeg.org/ffmpeg/trunk

674fe163 02/05/2010 04:42 AM Vitor Sessak

Do not segfault when doing "ffplay -h"

Originally committed as revision 21640 to svn://svn.ffmpeg.org/ffmpeg/trunk

12eeda34 02/05/2010 02:06 AM Michael Niedermayer

Pretty RDFT audio visualization.

Originally committed as revision 21639 to svn://svn.ffmpeg.org/ffmpeg/trunk

d52ec002 02/05/2010 12:37 AM Michael Niedermayer

Fast seeking.
Try clicking with the mouse in the window, hold the button and drag.

Originally committed as revision 21638 to svn://svn.ffmpeg.org/ffmpeg/trunk

2d1653b0 02/04/2010 01:54 AM Michael Niedermayer

autoexit
implements issue1019

Originally committed as revision 21634 to svn://svn.ffmpeg.org/ffmpeg/trunk

f5968788 02/03/2010 11:34 PM Michael Niedermayer

Clean after toggling wave.
Fixes issue1180.

Originally committed as revision 21632 to svn://svn.ffmpeg.org/ffmpeg/trunk

b25453bd 02/03/2010 09:33 PM Michael Niedermayer

Move is->frame_timer init from start to flush_pkt handling so it is also
done on seeking. This fixes the bug where after reaching the end and waiting
a few seconds seeking back to the begin messes up AV sync and playback speed.

Originally committed as revision 21629 to svn://svn.ffmpeg.org/ffmpeg/trunk

566cd2cb 02/03/2010 03:19 PM Michael Niedermayer

The convertion between bit and byte is 8 not 60.
Fixes wrong cursor key seek distances.

Originally committed as revision 21627 to svn://svn.ffmpeg.org/ffmpeg/trunk

f04c6e35 02/02/2010 11:22 PM Michael Niedermayer

Compare the correct clocks for syncing video to audio/ext.
Fixes initial delay on video from issue1134.

Originally committed as revision 21618 to svn://svn.ffmpeg.org/ffmpeg/trunk

48ff3f7c 02/02/2010 10:43 PM Michael Niedermayer

Move the initial refresh scheduling for audio display away from where it
can interfere with video.

Originally committed as revision 21616 to svn://svn.ffmpeg.org/ffmpeg/trunk

a3cc2160 02/02/2010 09:31 PM Michael Niedermayer

Commit disapeared hunk, must have editied this out by mistake between local debug statements.
This should fix seeking in TS.

Originally committed as revision 21614 to svn://svn.ffmpeg.org/ffmpeg/trunk

70a4764d 02/02/2010 06:02 PM Michael Niedermayer

Autodetect when byte based seeking is better (that is for all formats that allow
discontinuities)
Fixes issue1090

Originally committed as revision 21606 to svn://svn.ffmpeg.org/ffmpeg/trunk

1a620dd7 02/02/2010 04:51 PM Michael Niedermayer

Use currently displayed file position instead of just url_ftell() for seeking by bytes.
This fixes seeking back with the cursor keys and -bytes.

Originally committed as revision 21605 to svn://svn.ffmpeg.org/ffmpeg/trunk

3890dd3a 02/02/2010 04:01 PM Michael Niedermayer

Fix seek flags

Originally committed as revision 21603 to svn://svn.ffmpeg.org/ffmpeg/trunk

ecbed31c 02/01/2010 10:23 PM Stefano Sabatini

Use parentheses around && within ||, fix the gcc warning:
ffplay.c: In function ‘video_thread’:
ffplay.c:1391: warning: suggest parentheses around && within ||

Originally committed as revision 21600 to svn://svn.ffmpeg.org/ffmpeg/trunk

df7d6e48 02/01/2010 10:17 PM Stefano Sabatini

Reindent.

Originally committed as revision 21599 to svn://svn.ffmpeg.org/ffmpeg/trunk

99e0b12b 02/01/2010 01:03 PM Michael Niedermayer

Make sure the faulty timestamp detection is just done when we have a picture
from the decoder.

Originally committed as revision 21593 to svn://svn.ffmpeg.org/ffmpeg/trunk

f7119e42 02/01/2010 12:31 PM Michael Niedermayer

Reset frame_last_delay to 0.
This avoids a few ms delay for the first frame after a seek in theory.

Originally committed as revision 21592 to svn://svn.ffmpeg.org/ffmpeg/trunk

acf24b87 02/01/2010 12:30 PM Michael Niedermayer

Move frame_last_delay into flush code as it must be reset on seeks to,
otherwise the first frame after a seek would be delayed by that amount.

Originally committed as revision 21591 to svn://svn.ffmpeg.org/ffmpeg/trunk

967030eb 02/01/2010 12:27 PM Michael Niedermayer

Reset frame_last_pts on flush (and thus also at start)
fixes issue558 and probably others.

Originally committed as revision 21590 to svn://svn.ffmpeg.org/ffmpeg/trunk

515bd00e 02/01/2010 12:22 PM Michael Niedermayer

Insert a flush packet into the que on init, that way common code between
flush and init can be put into the flush handling.

Originally committed as revision 21589 to svn://svn.ffmpeg.org/ffmpeg/trunk

6c7d3ead 02/01/2010 12:19 PM Michael Niedermayer

"Flush" the picture que on seeks, this prevents the display thread from
having frames from before and after the seek which just isnt a good idea.

Originally committed as revision 21588 to svn://svn.ffmpeg.org/ffmpeg/trunk

b8bb398a 02/01/2010 11:30 AM Michael Niedermayer

Schedule refreshes from a thread that actually knows the PTS.
Fixes wernfried_1.avi

Originally committed as revision 21586 to svn://svn.ffmpeg.org/ffmpeg/trunk

68aefbe8 02/01/2010 10:55 AM Michael Niedermayer

Fix race condition with reading between video_current_pts and video_current_pts_time.

Originally committed as revision 21585 to svn://svn.ffmpeg.org/ffmpeg/trunk

f5668147 02/01/2010 10:32 AM Michael Niedermayer

Try to more completely update time variables on unpause.
Could not notice a differenc in behavior.

Originally committed as revision 21584 to svn://svn.ffmpeg.org/ffmpeg/trunk

41a4cd0c 02/01/2010 09:26 AM Michael Niedermayer

Simplify get_video_clock()

Originally committed as revision 21582 to svn://svn.ffmpeg.org/ffmpeg/trunk

59055363 02/01/2010 03:12 AM Michael Niedermayer

10l, forgot HAS_ARG, -drp segfaulted.

Originally committed as revision 21581 to svn://svn.ffmpeg.org/ffmpeg/trunk

41db429d 01/31/2010 06:54 PM Michael Niedermayer

decoder reorder pts auto detection.

Originally committed as revision 21579 to svn://svn.ffmpeg.org/ffmpeg/trunk

6371c81a 01/31/2010 06:07 PM Michael Niedermayer

Fix indention.

Originally committed as revision 21578 to svn://svn.ffmpeg.org/ffmpeg/trunk

2ef46053 01/30/2010 11:19 PM Michael Niedermayer

Fix seeking by bytes with the mouse and do so by default if the duration is
nonsense.

Originally committed as revision 21563 to svn://svn.ffmpeg.org/ffmpeg/trunk

6299a229 01/30/2010 10:47 PM Michael Niedermayer

Fix AVFormat AVOprions.

Originally committed as revision 21561 to svn://svn.ffmpeg.org/ffmpeg/trunk

79ee4683 01/30/2010 09:27 PM Michael Niedermayer

Redesign packet queue full check to be more robust.

Originally committed as revision 21555 to svn://svn.ffmpeg.org/ffmpeg/trunk

ce2421a5 01/30/2010 08:45 PM Michael Niedermayer

Bump up MAX_VIDEOQ_SIZE to fix stuttering of oddly interleaved avi files.
Fixes issue1211

Originally committed as revision 21554 to svn://svn.ffmpeg.org/ffmpeg/trunk

718c7b18 01/30/2010 07:10 PM Stefano Sabatini

Use av_get_pix_fmt() instead of the deprecated avcodec_get_pix_fmt()
function.

Originally committed as revision 21550 to svn://svn.ffmpeg.org/ffmpeg/trunk

c6727809 01/22/2010 03:25 AM Måns Rullgård

Move array specifiers outside DECLARE_ALIGNED() invocations

Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk

40ccc754 01/20/2010 10:55 PM Måns Rullgård

Indent

Originally committed as revision 21359 to svn://svn.ffmpeg.org/ffmpeg/trunk

68cf92ee 01/20/2010 10:55 PM Måns Rullgård

Always call avcodec_thread_init()

The various avcodec_thread_init() functions are updated to return
immediately after setting avctx->thread_count. This allows -threads 0
to pass through to codecs. It also simplifies the usage for apps
using libavcodec....

de4898a2 12/28/2009 09:49 PM Stefano Sabatini

Set thread_count in the decoder before to open it.

This is safer since avcodec_open() may initialize some structure using
the thread_count default value which will be changed later, causing
potential security / stability issues.

Also do not explicitely set the thread_count value in the decoder,...

7f11e745 12/21/2009 02:15 AM Ramiro Polla

Print usage instead of help when no files are specified.

Originally committed as revision 20905 to svn://svn.ffmpeg.org/ffmpeg/trunk

0c2a18cb 12/21/2009 02:12 AM Ramiro Polla

Split show_usage() out of show_help().

Originally committed as revision 20904 to svn://svn.ffmpeg.org/ffmpeg/trunk

27daa420 12/21/2009 02:09 AM Ramiro Polla

First print the program description and then the basic usage line.

Originally committed as revision 20902 to svn://svn.ffmpeg.org/ffmpeg/trunk

813338a0 12/13/2009 06:46 PM Michael Niedermayer

Until -DHAVE_AV_CONFIG_H is removed from ffplays compilation, *printf must be #undef.
Without this random changes to the header inclusion can trigger
linking failures, and these are not even picked up in some environments
(some fate machines didnt catch it)....

e4637d6a 12/13/2009 01:49 PM Michael Niedermayer

Show help if no cmd line options are provided at all.
This safes the users time to find out which of -h --help -? works.

Originally committed as revision 20822 to svn://svn.ffmpeg.org/ffmpeg/trunk

992f8eae 11/29/2009 11:12 PM Stefano Sabatini

Factorize common commandline options definition.

Originally committed as revision 20664 to svn://svn.ffmpeg.org/ffmpeg/trunk