Michael Niedermayer
d3d7b12edf
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
15 years ago
Måns Rullgård
6580d5e377
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
15 years ago
Måns Rullgård
166621ab72
ffplay: use public fft interface
...
Originally committed as revision 22292 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
41ea18fb0d
Give RDFT types more meaningful names
...
Originally committed as revision 22290 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
ff358eca17
Reindent after the last commit.
...
Originally committed as revision 22248 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
fd9da2527c
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
15 years ago
Måns Rullgård
1429224b04
Move FFT parts from dsputil.h to fft.h
...
Originally committed as revision 22235 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
3966a57464
10l fix timestamps (lavfi update broke them)
...
Originally committed as revision 22218 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
fca6259942
Fix 100l pkt->pos typo.
...
Originally committed as revision 22217 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
917d2bb348
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
be real soon or not.
Originally committed as revision 22216 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
8ef9484023
Just ignore streams with unknown codec_type instead of exiting
...
Originally committed as revision 22213 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
07a70b3825
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
15 years ago
Ramiro Polla
bc77fce6ba
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
15 years ago
Michael Niedermayer
9f7490a09c
Also favor streams with more packets in ffplay.
...
Originally committed as revision 22008 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
256ab3ed9d
Dont modify wanted_stream.
...
Originally committed as revision 22007 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
5b369983c6
replace wanted_*_stream by wanted_stream[CODEC_TYPE]
...
Originally committed as revision 22006 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
6625a3de2a
Replace *_index by st_index[codec_type].
...
Originally committed as revision 22003 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
f05ef45c8f
Use the official FFmpeg spelling: "ffmpeg" -> "FFmpeg".
...
Originally committed as revision 21935 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
077a8d61c0
fix issue 1747
...
Originally committed as revision 21874 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
fe74099aee
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
15 years ago
Jai Menon
6c7165c72e
cosmetics : re-indent after r21639.
...
Originally committed as revision 21658 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
570da52bac
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
15 years ago
Michael Niedermayer
bf8ae197b6
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
15 years ago
Michael Niedermayer
4c7c76456d
Make sure the rdft has enough audio available.
...
10l (looks cleaner now)
Originally committed as revision 21645 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
092421cf0e
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
15 years ago
Vitor Sessak
674fe16371
Do not segfault when doing "ffplay -h"
...
Originally committed as revision 21640 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
12eeda342a
Pretty RDFT audio visualization.
...
Originally committed as revision 21639 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
d52ec0029b
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
15 years ago
Michael Niedermayer
2d1653b065
autoexit
...
implements issue1019
Originally committed as revision 21634 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
f5968788bb
Clean after toggling wave.
...
Fixes issue1180.
Originally committed as revision 21632 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b25453bdfc
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
15 years ago
Michael Niedermayer
566cd2cba1
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
15 years ago
Michael Niedermayer
f04c6e35d4
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
15 years ago
Michael Niedermayer
48ff3f7cc8
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
15 years ago
Michael Niedermayer
a3cc2160e0
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
15 years ago
Michael Niedermayer
70a4764d0e
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
15 years ago
Michael Niedermayer
1a620dd79e
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
15 years ago
Michael Niedermayer
3890dd3a5c
Fix seek flags
...
Originally committed as revision 21603 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
ecbed31c00
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
15 years ago
Stefano Sabatini
df7d6e484c
Reindent.
...
Originally committed as revision 21599 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
99e0b12bd7
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
15 years ago
Michael Niedermayer
f7119e42e1
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
15 years ago
Michael Niedermayer
acf24b870f
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
15 years ago
Michael Niedermayer
967030eb24
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
15 years ago
Michael Niedermayer
515bd00e65
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
15 years ago
Michael Niedermayer
6c7d3ead79
"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
15 years ago
Michael Niedermayer
b8bb398a40
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
15 years ago
Michael Niedermayer
68aefbe81c
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
15 years ago
Michael Niedermayer
f5668147cb
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
15 years ago
Michael Niedermayer
41a4cd0c33
Simplify get_video_clock()
...
Originally committed as revision 21582 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago