Michael Niedermayer
6625a3de2a
Replace *_index by st_index[codec_type].
...
Originally committed as revision 22003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-23 16:46:40 +00:00
Stefano Sabatini
f05ef45c8f
Use the official FFmpeg spelling: "ffmpeg" -> "FFmpeg".
...
Originally committed as revision 21935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 11:35:17 +00:00
Michael Niedermayer
077a8d61c0
fix issue 1747
...
Originally committed as revision 21874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-18 00:19:50 +00:00
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
2010-02-16 22:38:43 +00:00
Jai Menon
6c7165c72e
cosmetics : re-indent after r21639.
...
Originally committed as revision 21658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-06 13:15:15 +00:00
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
2010-02-06 00:05:38 +00:00
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
2010-02-05 15:26:42 +00:00
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
2010-02-05 15:16:38 +00:00
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
2010-02-05 11:25:58 +00:00
Vitor Sessak
674fe16371
Do not segfault when doing "ffplay -h"
...
Originally committed as revision 21640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-05 04:42:20 +00:00
Michael Niedermayer
12eeda342a
Pretty RDFT audio visualization.
...
Originally committed as revision 21639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-05 02:06:38 +00:00
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
2010-02-05 00:37:39 +00:00
Michael Niedermayer
2d1653b065
autoexit
...
implements issue1019
Originally committed as revision 21634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-04 01:54:24 +00:00
Michael Niedermayer
f5968788bb
Clean after toggling wave.
...
Fixes issue1180.
Originally committed as revision 21632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-03 23:34:06 +00:00
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
2010-02-03 21:33:31 +00:00
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
2010-02-03 15:19:19 +00:00
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
2010-02-02 23:22:35 +00:00
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
2010-02-02 22:43:09 +00:00
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
2010-02-02 21:31:20 +00:00
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
2010-02-02 18:02:16 +00:00
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
2010-02-02 16:51:02 +00:00
Michael Niedermayer
3890dd3a5c
Fix seek flags
...
Originally committed as revision 21603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-02 16:01:22 +00:00
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
2010-02-01 22:23:17 +00:00
Stefano Sabatini
df7d6e484c
Reindent.
...
Originally committed as revision 21599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-01 22:17:15 +00:00
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
2010-02-01 13:03:46 +00:00
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
2010-02-01 12:31:28 +00:00
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
2010-02-01 12:30:14 +00:00
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
2010-02-01 12:27:26 +00:00
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
2010-02-01 12:22:12 +00:00
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
2010-02-01 12:19:28 +00:00
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
2010-02-01 11:30:31 +00:00
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
2010-02-01 10:55:51 +00:00
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
2010-02-01 10:32:17 +00:00
Michael Niedermayer
41a4cd0c33
Simplify get_video_clock()
...
Originally committed as revision 21582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-01 09:26:30 +00:00
Michael Niedermayer
5905536347
10l, forgot HAS_ARG, -drp segfaulted.
...
Originally committed as revision 21581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-01 03:12:01 +00:00
Michael Niedermayer
41db429dd5
decoder reorder pts auto detection.
...
Originally committed as revision 21579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-31 18:54:32 +00:00
Michael Niedermayer
6371c81a92
Fix indention.
...
Originally committed as revision 21578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-31 18:07:58 +00:00
Michael Niedermayer
2ef4605373
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
2010-01-30 23:19:59 +00:00
Michael Niedermayer
6299a22904
Fix AVFormat AVOprions.
...
Originally committed as revision 21561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-30 22:47:08 +00:00
Michael Niedermayer
79ee468365
Redesign packet queue full check to be more robust.
...
Originally committed as revision 21555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-30 21:27:17 +00:00
Michael Niedermayer
ce2421a5c3
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
2010-01-30 20:45:21 +00:00
Stefano Sabatini
718c7b18c9
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
2010-01-30 19:10:26 +00:00
Måns Rullgård
c67278098d
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-22 03:25:11 +00:00
Måns Rullgård
40ccc754e9
Indent
...
Originally committed as revision 21359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-20 22:55:55 +00:00
Måns Rullgård
68cf92ee5e
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.
Originally committed as revision 21358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-20 22:55:50 +00:00
Stefano Sabatini
de4898a229
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,
since this is already done by avcodec_thread_init().
See the thread:
"[FFmpeg-devel] [PATCH] Make ffplay define in the encoder the number of threads *before* to open it",
started in date 2008-03-08.
Originally committed as revision 20954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-28 21:49:56 +00:00
Ramiro Polla
7f11e745b2
Print usage instead of help when no files are specified.
...
Originally committed as revision 20905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-21 02:15:46 +00:00
Ramiro Polla
0c2a18cbcd
Split show_usage() out of show_help().
...
Originally committed as revision 20904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-21 02:12:34 +00:00
Ramiro Polla
27daa420fc
First print the program description and then the basic usage line.
...
Originally committed as revision 20902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-21 02:09:17 +00:00
Michael Niedermayer
813338a00a
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).
Originally committed as revision 20833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-13 18:46:29 +00:00
Michael Niedermayer
e4637d6a60
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
2009-12-13 13:49:14 +00:00
Stefano Sabatini
992f8eaee7
Factorize common commandline options definition.
...
Originally committed as revision 20664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-29 23:12:19 +00:00
Michael Niedermayer
8447f0bd74
Split show_formats().
...
Originally committed as revision 20553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-19 16:35:55 +00:00
Diego Biurrun
ba11257e48
Add #include for required header config.h.
...
Originally committed as revision 20518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-11 23:46:11 +00:00
Stefano Sabatini
43d160fd00
Prefer "loglevel" over "logging level number or string" as argname of
...
the loglevel command line option.
Make the loglevel option help message more clear, since the option
argument is shown as a single token, and make the whole message better
aligned with the other help messages.
Originally committed as revision 20149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 19:06:27 +00:00
Stefano Sabatini
5a6d66640c
Add a -loglevel command line option to ffplay.
...
The -loglevel option makes possible to set the logging level used by
the libav* libraries.
Originally committed as revision 20027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-26 17:18:02 +00:00
Peter Ross
c0b88f1920
Moves the display of metadata to dump_format()
...
Originally committed as revision 19632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-12 13:17:39 +00:00
Diego Biurrun
966116b9f7
Remove some hunks of unused and disabled code cruft.
...
Originally committed as revision 19606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-07 14:53:31 +00:00
Benoit Fouet
98ae6acfee
Make 'stats' a bool option again.
...
To disable stats, use -nostats option.
Originally committed as revision 19581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-04 09:26:33 +00:00
Baptiste Coudurier
9ebdf3ec93
Increase audio queue size in FFplay so files with big audio/video delay
...
like mov can play nicely.
Originally committed as revision 19554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 22:19:45 +00:00
Baptiste Coudurier
1e1a0b1845
Display stats by default in FFplay and increase refresh time.
...
Change -stats cli option to take int, so stats can be disabled.
Originally committed as revision 19552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 21:54:50 +00:00
Diego Biurrun
1764e4bc5a
Remove unnecessary rtsp.h #include.
...
Nothing from the header was used and it caused trouble on Windows CE.
Originally committed as revision 19430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-14 13:50:05 +00:00
Stefano Sabatini
a7e6312b1e
Remove duplicated RGB_TO_[YUV]_CCIR macros, directly use those defined
...
in libavcodec/colorspace.h.
Originally committed as revision 18922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 23:32:29 +00:00
Baptiste Coudurier
c2b4c859a6
fix mouse seeking when start time is not set, fix #1083
...
Originally committed as revision 18902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 23:08:07 +00:00
Martin Storsjö
3ac56e28b0
Move img_convert_ctx to VideoState and free it in stream_close().
...
Patch by Martin Storsjö, martin martin st
Originally committed as revision 18854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-16 10:29:55 +00:00
Martin Storsjö
7c5ab14540
Add missing frees to stream_close() and do_exit().
...
Patch by Martin Storsjö, martin martin st
Originally committed as revision 18853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-16 10:26:41 +00:00
Michael Niedermayer
e45aeb38a6
Reset eof state on seeking.
...
Fixes issue1005.
Originally committed as revision 18710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-28 18:02:21 +00:00
Michael Niedermayer
26534fe847
indent
...
Originally committed as revision 18630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-19 21:44:25 +00:00
Michael Niedermayer
9dc4176702
Only insert null packets into the video que if there is a video stream.
...
Fixes memleak and should fix issue791.
Originally committed as revision 18629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-19 21:44:03 +00:00
Michael Niedermayer
b40831715a
Avoid 100% CPU useage at EOF.
...
Originally committed as revision 18625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-19 20:25:20 +00:00
Michael Niedermayer
75bb7b0add
Make sure that video frames are flushed at EOF.
...
This should fix a regression.
Originally committed as revision 18624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-19 20:24:44 +00:00
Thilo Borgmann
bea183757b
Use the new avcodec_decode_* API.
...
Patch by Thilo Borgmann thilo.borgmann * googlemail ! com.
Originally committed as revision 18414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-10 12:07:06 +00:00
avcoder
fbf1b88589
Move declaration of 'pict' closer to where it is used and initialize it.
...
Patch by avcoder: gmail(ffmpeg)
Originally committed as revision 18171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-23 16:43:06 +00:00
Michael Niedermayer
4ed29207c2
Switch ffplay to new seeking API.
...
Originally committed as revision 17958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 16:24:30 +00:00
Stefano Sabatini
636f1c4cd0
Rename avctx_opts to avcodec_opts.
...
The new name is more meaningful and consistent with avformat_opts
and sws_opts.
Originally committed as revision 17789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:32:10 +00:00
Stefano Sabatini
4b03756748
Document ffplay -ast, -vst, and -sst options.
...
Originally committed as revision 17694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 17:13:33 +00:00
Stefano Sabatini
5dbb63feef
Apply the same logic used for subtitle stream selection to audio and video
...
stream selection.
Make the counting starts from 0, and disable the corresponding playbck
when the selected stream number is negative.
See the thread:
" [FFmpeg-devel] [PATCH] Add documentation for -ast, -vst, -sst".
Originally committed as revision 17693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 17:06:01 +00:00
Stefano Sabatini
5ad4f0d473
Simplify the logic for the subtitle stream selection.
...
Originally committed as revision 17692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 17:02:21 +00:00
Stefano Sabatini
7f668bb3ea
Fix subtitle selection logic, make ffplay select the subtitle stream N
...
rather than the subtitle stream N-1 when N is not zero.
Originally committed as revision 17691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 16:58:59 +00:00
Aurelien Jacobs
f7554a99bc
convert ffplay to new metadata API
...
Originally committed as revision 17684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 14:55:21 +00:00
Aurelien Jacobs
7b776589a2
Take account of struct size in total packet queue size tracking.
...
fix issue806
Originally committed as revision 17476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 16:01:52 +00:00
Peter Ross
edf9b2f040
FFplay: Stop processing input file when AVERROR_EOF is returned from av_read_frame()
...
Originally committed as revision 17458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 12:21:09 +00:00
Tomer Barletz
eecc17a7d5
Move debug trace to the new compute_frame_delay() function.
...
Patch by Tomer Barletz: barletz gmail
Originally committed as revision 17434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 15:25:57 +00:00
Benoit Fouet
712de377f7
Cosmetics: reindent after previous commit.
...
Originally committed as revision 17433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 15:23:30 +00:00
Tomer Barletz
443658fd8b
Do not force last delay value to its own value.
...
Adapted from a patch by Tomer Barletz: surname chez gmail
Originally committed as revision 17432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 15:23:05 +00:00
Tomer Barletz
49410784de
Extract into its own function the code to compute frame delay.
...
Patch by Tomer Barletz gmail_address(last_name)
Originally committed as revision 17431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 15:17:39 +00:00
Björn Axelsson
16a59a7bb6
Add ffplay subtitle stream selection command-line parameter
...
Patch by Björn Axelsson ( gecko A acc D umu D se )
Originally committed as revision 17089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 01:38:12 +00:00
Björn Axelsson
f54b31b9ef
Fix blend_subrect for even-width subrects positioned on odd columns
...
Patch by Björn Axelsson ( gecko A acc D umu D se )
Originally committed as revision 17088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 00:27:04 +00:00
Stefano Sabatini
8e2fd8e1d4
Replace the calls to the deprecated av_alloc_format_context() with
...
corresponding calls to avformat_alloc_context().
Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 08:27:26 +00:00
Björn Axelsson
4606a05979
Fix blend_subrect for some subrects positioned on odd rows.
...
Patch by Björn Axelsson gecko A acc D umu D se
Originally committed as revision 17014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 23:10:05 +00:00
Björn Axelsson
676ef505e6
Fix blend_subrect for subrects positioned on odd rows.
...
Patch by Björn Axelsson gecko A acc D umu D se
Originally committed as revision 17013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 23:07:24 +00:00
Björn Axelsson
f8ca63e8e4
Fix vertical resolution of subtitles.
...
Patch by Björn Axelsson gecko A acc D umu D se
Originally committed as revision 16963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 23:24:28 +00:00
Aurelien Jacobs
2f64239338
Remove detection of mmsh protocol in ffplay.
...
This is useless as long as mmsh is not implemented in libavformat.
This is a revert of r10936.
Originally committed as revision 16687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 21:39:07 +00:00
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 23:44:16 +00:00
Aurelien Jacobs
973c68cba0
fix warning: assignment makes pointer from integer without a cast
...
Originally committed as revision 16523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 23:49:50 +00:00
Baptiste Coudurier
1a1078faa4
fix segv, always set audio_buf to audio_buf1 if decoding fail
...
Originally committed as revision 16512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-09 23:54:57 +00:00
Michael Niedermayer
600a331c27
Inject NULL packets into the video packet que at EOF to force all delayed
...
frames to be output.
Originally committed as revision 16484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 20:45:39 +00:00
Michael Niedermayer
25b4c651a3
Replace AVSubtitleRect.rgba_palette and bitmap by AVPicture.
...
Originally committed as revision 16416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 19:17:18 +00:00
Michael Niedermayer
db4fac64db
Change AVSubtitle.rects to an array of pointers so ABI does not break
...
when the size of AVSubtitleRect changes.
Originally committed as revision 16412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 17:54:48 +00:00
Michael Niedermayer
7cf9c6ae40
Display subtitles within the display area.
...
Fixes dvd-subtitle-problem.vob. (problem likely is that the video
resolution is smaller than what the subtitles expect)
Originally committed as revision 16411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 17:50:00 +00:00
Michael Niedermayer
3a3ee96cd1
Fix files with fps between 0.5 and 0.1.
...
Fixes issue749
Originally committed as revision 16123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 14:45:57 +00:00
Stefano Sabatini
7a7da6b42f
Remove unnecessary calls to show_help(), make ffmpeg/ffplay print a
...
specific error message instead.
Originally committed as revision 15868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 23:15:29 +00:00
Diego Pettenò
2c676c33a4
Mark ffplay internal variables static. Patch by Diego Pettenò
...
Originally committed as revision 15546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 09:23:18 +00:00
Michael Niedermayer
e43d7a18d8
AVOptions support for ffplay.
...
Originally committed as revision 15451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 19:39:18 +00:00
Michael Niedermayer
047599a4ba
Rename error_resilience to error_recognition.
...
Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:18:49 +00:00
Michael Niedermayer
bb6c34e55b
Fix round to even for aspect ratio correction.
...
Originally committed as revision 15173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 11:16:29 +00:00
Michael Niedermayer
cc1f91d771
Ensure that SDL_AddTimer() is never called with a delay of 0 because
...
this leads to a runaway creation of timers. We never pass 0 currently
but it is safer to check for it explicitly as changes to the code can
easily lead to 0 being used.
Originally committed as revision 14934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 00:32:10 +00:00
Aurelien Jacobs
c30a4489b4
export sample_aspect_ratio read by the demuxer in a separate field
...
that the one read by the decoder.
Originally committed as revision 14932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 23:13:58 +00:00
Michael Niedermayer
7fb262b568
Simplify timestamp reordering by using the new API.
...
Originally committed as revision 14872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 23:17:43 +00:00
Ronald S. Bultje
3f3fe38d25
Set AVStream.discard, so that demuxers can choose which stream to select if that is a serverside option (as is the case for RTSP). See "Realmedia patch" thread on mailinglist.
...
Originally committed as revision 14825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-18 17:09:34 +00:00
Michael Niedermayer
8a9d72a0ff
Simplify by using FFMAX.
...
Originally committed as revision 14776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 14:30:20 +00:00
Peter Ross
5a4476e229
Add sample format converter to FFplay.
...
Originally committed as revision 14508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 05:01:30 +00:00
Peter Ross
abdff64682
Simplify AVCodecContext usage within FFplay audio_decode_frame()
...
Originally committed as revision 14503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-02 01:26:38 +00:00
Stefano Sabatini
b81d6235c0
Change opt_sync function behavior to print an error message.
...
Patch by Stefano Sabatini stefano sabatini-lala poste it
Originally committed as revision 13757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-12 11:33:53 +00:00
Erik Hovland
f094b6627d
Remove unnecessary header #includes.
...
Extracted from a patch by Erik Hovland, erik hovland org.
Originally committed as revision 13531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 13:40:43 +00:00
Stefano Sabatini
ea9c581f61
Simplify show_banner() so that it does not require arguments, similar
...
to what was previously done with show_version().
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 08:48:51 +00:00
Stefano Sabatini
a28b7ed488
Add -formats option to ffplay.
...
Patch by Stefano Sabatini stefano sabatini-lala poste it
Originally committed as revision 13246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 07:15:56 +00:00
Stefano Sabatini
8fdea2042e
Implement ffplay -L.
...
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-22 09:49:18 +00:00
Michael Niedermayer
20176cbc73
Get rid of more senseless wrapper functions and use OPT_EXIT instead.
...
Originally committed as revision 13233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 23:41:17 +00:00
Michael Niedermayer
64555bd9b1
Do not pass program_name as argument to show_version(), this allows some
...
future simplifications.
Originally committed as revision 13232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 23:36:32 +00:00
Stefano Sabatini
1b068b2984
Let ffplay support "-version".
...
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 14:12:45 +00:00
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Diego Pettenò
358061f62f
Mark symbols as static, patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com
...
Originally committed as revision 13025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-01 15:10:44 +00:00
Stefano Sabatini
e11bc2c663
Send context to ffplay.c:opt_seek
...
Patch by Stefano Sabatini (stefano sabatini-lala poste it)
Originally committed as revision 12663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-01 12:22:33 +00:00
Stefano Sabatini
85362796be
Make ffplay.c:opt_seek use parse_time_or_die
...
Patch by Stefano Sabatini (stefano sabatini-lala poste it)
Originally committed as revision 12653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 16:53:19 +00:00
Stefano Sabatini
a5b3b5f6c8
Send context to the opt_* functions in ffplay.c
...
Patch by Stefano Sabatini ( stefano sabatini-lala poste it )
Originally committed as revision 12559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 18:50:23 +00:00
Diego Biurrun
c7193373fb
Make ffplay use parse_number_or_die instead of atoi.
...
Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 12366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 15:06:43 +00:00
Michael Niedermayer
cea9642014
Fix ;;
...
Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:09:08 +00:00
Justin Ruggles
51b73087b9
fix playing of multichannel audio for codecs without downmixing
...
Originally committed as revision 11431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-06 02:44:05 +00:00
Ronald S. Bultje
c482500fa3
Drop RTSP default protocol.
...
patch by Ronald S. Bultje, rsbultje gmail com
Originally committed as revision 11377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 19:40:43 +00:00
Andreas Öman
94eadc8ba0
SDL does not seem to support more than two channels.
...
So, if this is the case, ask for downmixing by the codec.
Originally committed as revision 11223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 07:05:14 +00:00
Måns Rullgård
a309073bf4
use av_log_get/set_level()
...
Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 21:48:50 +00:00
Luca Abeni
c721d803cb
Introduce libavdevice
...
Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 16:10:02 +00:00
Björn Axelsson
899681cd1d
Use dynamically allocated ByteIOContext in AVFormatContext
...
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 07:41:00 +00:00
Björn Axelsson
c03af894eb
ffplay currently needs special handling for pausing in some protocols.
...
Patch by Björn Axelsson: bjorn ; axelsson § intinor : se
Original thread: [FFmpeg-devel] [PATCH] MMSH pause support for ffplay
Date: 11/02/2007 11:47 AM
Originally committed as revision 10936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-06 16:28:32 +00:00
Luca Abeni
c971ff1977
Remove the inclusion of rtsp.h and rtp.h from avformat.h, and
...
explicitly include such headers where needed
Originally committed as revision 10871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-29 09:15:35 +00:00
Stefano Sabatini
9c5755ee73
Remove unnecessary copyright notice from ffplay.c:show_help.
...
patch by Stefano Sabatini stefano sabatini-lala poste it
Originally committed as revision 10604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 14:45:29 +00:00
Stefano Sabatini
4cfac5bc51
Make ffplay show a banner at startup.
...
patch by Stefano Sabatini stefano sabatini-lala poste it
Originally committed as revision 10603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 13:52:33 +00:00
Stefano Sabatini
f94361612a
Make parse_date return INT64_MIN in case of unparsable input.
...
Patch by Stefano Sabatini: [stefano sabatini-lala poste it]
Original thread:
[FFmpeg-devel] [PATCH] Enhace documentation forlibavformat/utils.c:parse_date
Date: 08/17/2007 09:40 PM
Originally committed as revision 10533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-19 12:38:07 +00:00
Aurelien Jacobs
b156b88c13
rtp and rtsp demuxer declarations are not part of public API
...
Originally committed as revision 10474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 22:48:42 +00:00
Michael Niedermayer
ec2fc00d62
fix 1fps videos
...
Originally committed as revision 10276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-31 23:59:45 +00:00
Diego Biurrun
c97f54020d
Change SYS_DARWIN preprocessor checks to __APPLE__, they are specific
...
to Mac OS X rather than to Darwin.
Originally committed as revision 10247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 09:17:03 +00:00
Craig Nicol
19cc524ab6
Corrected pause handling when using the 's' step by frame key.
...
patch by Craig Nicol: [craig nicol /\ ed ac uk]
original thread:[FFmpeg-devel] [PATCH] FFplay speedup if stepping whilst paused
date: 08/02/2007 12:39 PM
Originally committed as revision 10244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 08:06:48 +00:00
Luca Abeni
24c07998b9
Reindent the code after the last commit
...
Originally committed as revision 10203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 07:20:28 +00:00
Luca Abeni
b2e6799bbb
Remove RTSP special casing in ffplay startup
...
Originally committed as revision 10202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 07:17:56 +00:00
Luca Barbato
0e6b14c2a7
Stray commit reverted
...
Originally committed as revision 10198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 16:42:32 +00:00
Luca Barbato
2c2b3130c2
PowerPC/CELL/Altivec pointers
...
Originally committed as revision 10197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 16:40:23 +00:00
Diego Biurrun
9d16f87ffd
Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).
...
Originally committed as revision 10190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 22:46:39 +00:00
Stefano Sabatini
f5da5c935d
Rename parse_arg_file function to opt_input_file for consistency.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 10116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 13:58:28 +00:00
Diego Biurrun
9fcfc0b763
cosmetics: indentation fix
...
Originally committed as revision 10115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 09:14:31 +00:00
Stefano Sabatini
60a9966e4d
Make cmdutils.c:parse_options accept as argument a function to parse
...
bare command line parameters.
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 10112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 23:03:36 +00:00
Reimar Döffinger
57cf99f2b7
100l in YUVA_IN macro: missing () caused horrible artefacts in blend_subrect
...
when subrect y was odd.
Originally committed as revision 10027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 18:58:35 +00:00
Reimar Döffinger
0a8cd69607
Revert r10021, it was committed by accident and is a bit ugly anyway.
...
Originally committed as revision 10026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 18:52:49 +00:00
Reimar Döffinger
3af56110d4
Scale subtitle position
...
Originally committed as revision 10021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 16:45:59 +00:00
Reimar Döffinger
9cb5a11ea8
Fix blend_subrect to respect the boundaries of the destination image
...
Originally committed as revision 10019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 16:15:59 +00:00
Stefano Sabatini
aab1b7e56e
Make ffmpeg and ffplay exit 0 after displaying help
...
patch by Stefano Sabatini [stefano sabatini minus lala at poste it]
Originally committed as revision 10012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:13:29 +00:00
Alex Beregszaszi
feb7bc6771
cosmetics: be sure all lines fit into 79 characters
...
Originally committed as revision 9875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 18:46:59 +00:00
Alex Beregszaszi
26ba823519
cosmetics: indent correctly
...
Originally committed as revision 9874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 18:45:44 +00:00
Glenn A. Serre
1a3f0ca2e0
Use getCachedContext instead getContext to support resolution change. Patch by Glenn A. Serre
...
Originally committed as revision 9873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 18:44:44 +00:00
Michael Niedermayer
4d8243d362
add vst option to select video stream
...
Originally committed as revision 9800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 20:50:38 +00:00
Ramiro Polla
7c37e504f0
Remove OS/2 support
...
Originally committed as revision 9586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 21:52:04 +00:00
Ronald S. Bultje
0f4e816582
to be able to compile without HAVE_AV_CONFIG_H
...
patch by Ronald S. Bultje: [rsbultje gmail com]
original thread: [FFmpeg-devel] ffmpeg.c/cmdutils.c compilation
date: 06/23/2007 03:15 AM
Originally committed as revision 9453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 07:43:23 +00:00
Benoit Fouet
dab57ec5f0
Update copyright year
...
Originally committed as revision 9432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 13:25:12 +00:00
Måns Rullgård
f7d78f3654
replace the uses of old string functions that Reimar missed
...
Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 11:27:12 +00:00
Stefano Sabatini
b33ece1634
replace calls to deprecated parsing functions to calls to new ones
...
patch by Stefano Sabatini: [stefano sabatini-lala poste it]
Originally committed as revision 9359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-18 08:08:43 +00:00
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Diego Biurrun
364a960704
Move HAVE_AV_CONFIG_H definition to the Makefile like in the rest of FFmpeg.
...
Originally committed as revision 9273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-10 14:34:56 +00:00
Alex Beregszaszi
5ad751471c
remove CONFIG_NETWORK, av_read_play/pause are exported anyway
...
Originally committed as revision 8839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 22:23:00 +00:00
Alex Beregszaszi
9825d074b4
properly check for CONFIG_RTSP_DEMUXER
...
Originally committed as revision 8836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 18:11:36 +00:00
Alex Beregszaszi
cfc970772d
Use correct RTSP_DEMUXER checks instead of NETWORK.
...
Originally committed as revision 8835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 18:09:16 +00:00
Stefan Huehner
119e48d960
Make some functions which aren't used outside their declaring source file
...
and have no prototype in a header file static.
patch by Stefan Huehner, stefan huehner org
Originally committed as revision 8686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 20:21:11 +00:00
Michael Niedermayer
c367d06702
prevent exit missuse
...
Originally committed as revision 8536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 21:47:03 +00:00
Michael Niedermayer
620e8baffa
fix indention
...
Originally committed as revision 8421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-15 23:45:45 +00:00
Michael Niedermayer
5039185acc
support reordering pts in the decoder (this might be equivalent to mplayers -correct-pts mode)
...
enable it with -drp (=decoder reorders pts)
Originally committed as revision 8419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-15 23:39:43 +00:00
Ramiro Polla
2a89ee9a63
Remove superfluous HAVE_THREADS #ifdef.
...
patch by Ramiro Polla, angustia arrozcru.no-ip org
Originally committed as revision 8348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 17:13:20 +00:00
Limin Wang
07cbff39a7
As avcodec_decode_audio() is deprecated, replace it with avcodec_decode_audio2().
...
Patch by Limin Wang, lance lmwang % gmail com.
Originally committed as revision 8294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 11:58:50 +00:00
Ryan Martell
b09b580b4d
Fix A/V sync error in ffplay with wmv3/wmav2 medias
...
patch by Ryan Martell %rdm4 A martellventures P com%
Original thread:
Date: Feb 28, 2007 10:28 PM
Subject: [Ffmpeg-devel] [Patch] Fix A/V sync error in ffplay....
Originally committed as revision 8195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 13:26:42 +00:00
Baptiste Coudurier
2f6547fb44
fix typo
...
Originally committed as revision 8190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 10:40:24 +00:00
Limin Wang
eb3c8c0b31
fix frame size option, patch by Limin Wang, lance lmwang gmail com
...
Originally committed as revision 8165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 10:00:07 +00:00
Limin Wang
e4b895228f
add support for more pixel format (yuv422p, yuv444p, etc instead of yuv420 only.)
...
patch by Limin Wang %lance P lmwang A gmail P com%
Original thread:
date: Feb 14, 2007 12:13 PM
subject: [Ffmpeg-devel] [PATCH] let ffplay can play more pixel format
Originally committed as revision 8063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 00:33:09 +00:00
Michael Niedermayer
7e0429129c
fix rawvideo
...
Originally committed as revision 7899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 13:24:08 +00:00
Luca Abeni
ab1c6dc95c
Directly access av_log_level instead of calling av_log_{set, get}_level()
...
(which will be removed at the next avutil version increment)
Originally committed as revision 7882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 18:55:36 +00:00
Diego Biurrun
71e445fca3
Replace deprecated PIX_FMT names by the newer variants.
...
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 01:48:09 +00:00
Michael McConnell
917fa192c7
Fix to loss of sync in ffplay when paused patch by (Michael McConnell /// soruk put at here eridani and here a dot co.uk)
...
Originally committed as revision 7866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 00:52:35 +00:00
Michael Niedermayer
ac50bcc834
trigger for the audio scope vissualization
...
Originally committed as revision 7761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 22:06:55 +00:00
Michael Niedermayer
8e606cc88c
seek based on currently active stream fixes seeking in ffwma2_broken.wma which had some "empty" streams
...
Originally committed as revision 7666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 14:22:25 +00:00
Michael Niedermayer
a8062103dd
command line option to select the audio stream
...
Originally committed as revision 7665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 14:07:11 +00:00
Michael Niedermayer
c57d34693b
remember the size after switching back from fullscreen
...
Originally committed as revision 7391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-31 20:09:10 +00:00
Michael Niedermayer
fb84155b67
dont use SDL_WM_ToggleFullScreen() as that doesnt seem to work reliably if a SDL_SetVideoMode() is called quickly afterwards
...
Originally committed as revision 7390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-31 20:04:08 +00:00
Michael Niedermayer
cfe9cfede8
check x/y validity
...
a more generic solution is welcome of course ...
Originally committed as revision 7389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-31 18:09:21 +00:00
Michael Niedermayer
990c84384f
cosmetic (move video_open() up to avoid prototype)
...
Originally committed as revision 7388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-31 18:01:13 +00:00
Michael Niedermayer
8c982c5da7
10l (fix segfault with audio only files)
...
Originally committed as revision 7387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-31 17:59:10 +00:00
Michael Niedermayer
c03312ccac
remove code duplication
...
Originally committed as revision 7386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-30 11:32:10 +00:00
Michael Niedermayer
fccb19e3c5
1st attempt to fix width/height
...
Originally committed as revision 7385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-30 11:22:46 +00:00
Michael Niedermayer
39c6a118f0
remove broken decoder locking code
...
seeks now cause a special flush packet to be inserted into the queue and decoder flush happens in the decoder thread where it should
Originally committed as revision 7102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 11:58:27 +00:00
Michael Niedermayer
0bc5ccb899
call AVCodec.flush() for audio too
...
Originally committed as revision 7061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 16:39:32 +00:00
Steve L'Homme
94b594c68a
add "seek by bytes" support to ffplay
...
Patch by Steve Lhomme % slhomme A divxcorp P com %
Orginal thread:
Date: Nov 6, 2006 5:58 PM
Subject: Re: [Ffmpeg-devel] [Bad news]: MPEG Seek has failed to work in FFmpeg SVN
Originally committed as revision 6937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 22:35:41 +00:00
Baptiste Coudurier
f932cdf209
kill AVImageFormat
...
Originally committed as revision 6875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 23:22:23 +00:00
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Diego Biurrun
3e66a74072
Update copyright year and mention other copyright holders.
...
Originally committed as revision 6408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 17:26:15 +00:00
Panagiotis Issaris
f0861f466f
Better tag support:
...
- Make ffplay show comments and copyright info besides the current track, title, author, album, year and genre.
- Makes the AVI demuxer parse the album name stores in the IPRD tag by the AVI muxer.
Patch by takis P issaris A uhasselt P be
Original thread:
[Ffmpeg-devel] [PATCH] Better tag support
Date: 09/06/06 16:58
Originally committed as revision 6186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-07 08:09:15 +00:00
Luca Barbato
9814587500
Align the input buffer in ffplay, introduce a public macro for aligned declarations
...
Update the avcodec_decode_audio and the float_to_int16 descriptions accordingly
Originally committed as revision 6147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 19:14:00 +00:00
Luca Abeni
03ae87a3e8
Move output_example.c and ffplay.c to the swscale interface
...
Originally committed as revision 5923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 16:55:36 +00:00
Diego Biurrun
2f30a81d19
CONFIG_WIN32 implies MinGW and Cygwin and possibly more, so use just
...
CONFIG_MINGW or __MINGW32__ instead.
Originally committed as revision 5718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 21:45:45 +00:00
Måns Rullgård
d2a067d1d9
give AVInput/OutputFormat structs consistent names
...
Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 23:40:53 +00:00
Michael Niedermayer
0540cad324
100l to whoever write this
...
Originally committed as revision 5638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 13:25:11 +00:00
Luca Barbato
521f258701
Make debug work early on ffplay
...
Originally committed as revision 5525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-25 16:12:27 +00:00
Diego Biurrun
f1cc88a5d6
Use Subversion revision for FFMPEG_VERSION.
...
based on a patch by Ismail Dönmez ismail$$at$$pardus$$dot$$org$$dot$$tr
Originally committed as revision 5502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 10:24:08 +00:00
Stefan Huehner
7b49ce2e34
Add const to (mostly) char* and make some functions static, which aren't used
...
outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org
Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-18 11:33:14 +00:00
Måns Rullgård
29f3b38a91
check for SDL_VideoInfo.current_[wh] availability in configure, and
...
fall back on SDL_WM_ToggleFullScreen() if not available
Originally committed as revision 5477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-14 21:02:55 +00:00
Måns Rullgård
3ef17d626f
don't use xlib in ffplay, and bump required sdl version
...
Originally committed as revision 5463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-09 22:43:21 +00:00
Earl Levine
4b0e85d4ab
Fix segfault on Mac OS X, patch by Earl Levine elevine**@**gmail**.**com.
...
Originally committed as revision 5408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-19 08:38:09 +00:00
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Michael Niedermayer
267e9dfa9d
doxygenize a few comments
...
very minor cleanup
Originally committed as revision 4601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-20 18:47:08 +00:00
Diego Biurrun
1471c6c2e8
CAREFULL --> CAREFUL typo fix
...
Originally committed as revision 4590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 16:30:47 +00:00
Michael Niedermayer
30bc6613fe
support fixing missing pts by parsing future frames
...
Originally committed as revision 4526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-15 14:22:43 +00:00
Ian Caulfield
72ce053b9c
subtitles support for ffplay patch by (Ian Caulfield, imc25 : cam ac uk)
...
Originally committed as revision 4521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 01:29:34 +00:00
Michael Niedermayer
01f4895c68
changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility
...
Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 22:24:36 +00:00
Michael Niedermayer
1b51e051c0
make error concealment related options accessable from ffplays command line
...
Originally committed as revision 4450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 10:18:10 +00:00
Michael Niedermayer
8c3eba7c62
skip_idct
...
skip_frame
skip_loop_filter
Originally committed as revision 4440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 21:39:36 +00:00
Andy Parkins
22e50022f2
ffplay seeking because url_feof() not working patch by (Andy Parkins: andyparkins, gmail com)
...
Originally committed as revision 4404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 08:35:38 +00:00
Ivan Wong
687fae2b42
ffplay crashes patch by (Ivan Wong: email, ivanwong info)
...
Originally committed as revision 4389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-24 08:32:55 +00:00
Michael Niedermayer
1ab1f099eb
set log level to AV_LOG_DEBUG if -debug ... is used
...
Originally committed as revision 4359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-07 21:53:56 +00:00
Michael Niedermayer
c0df9d75bd
switch to native time bases
...
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-30 21:43:59 +00:00
Michael Niedermayer
3ca4b65479
os2.diff by (Paul Smedley // paul smedley info)
...
Originally committed as revision 4160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 15:13:39 +00:00
Michael Niedermayer
b514ed3c6d
dont kill the buffers while the decoder is using them
...
Originally committed as revision 3949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 22:06:01 +00:00
Michael Niedermayer
2536c5fde4
workaround missuse of url_feof()
...
Originally committed as revision 3804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 18:21:14 +00:00
Michael Niedermayer
9d2a069519
raw rgb flip fix
...
Originally committed as revision 3724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-30 21:50:16 +00:00
François Revol
2450cff2c3
BeOS threading support. changed some "if FOO_THREAD||BAR_THREAD" to a more generic "if HAVE_THREADS"
...
Originally committed as revision 3702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-21 18:04:56 +00:00
Roman Shaposhnik
6e1f8725ef
* fixing a problem with ffplay being stuck (and not responding to
...
anything but 'q') when it reaches the end of stream.
Originally committed as revision 3591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-13 00:10:43 +00:00
Michael Niedermayer
3ba1438dec
use native timebase for seeking
...
direction flag for seeking
Originally committed as revision 3577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-10 22:05:43 +00:00
Michael Niedermayer
61846e9ac3
lowres needs EMU_EDGE
...
Originally committed as revision 3575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-09 12:00:05 +00:00
Michael Niedermayer
61c1d8e2b6
10l pts vs. dts
...
Originally committed as revision 3567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-07 00:43:59 +00:00
Zdenek Kabelac
7fea94ce4a
* fixing a few of gcc 'clean-code' warnings
...
Originally committed as revision 3563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 08:50:46 +00:00
Michael Niedermayer
178fcca848
1/2 resolution decoding
...
Originally committed as revision 3507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-25 23:18:58 +00:00
Michael Niedermayer
6fc5b059b8
optional non spec compliant optimizations
...
Originally committed as revision 3429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 15:30:46 +00:00
Michael Niedermayer
da6c4573e9
memleak found by ("wxWindows_study" <quicktime2008 at hotmail dot com>)
...
Originally committed as revision 3396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-16 23:17:32 +00:00
Michael Niedermayer
7e0140cbd7
much better AV sync, for some files
...
Originally committed as revision 3172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 00:38:09 +00:00
Michael Niedermayer
6387c3e6b6
-bug
...
Originally committed as revision 3098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 18:54:36 +00:00
Michael Niedermayer
13d1512c43
10l (vismv fix)
...
Originally committed as revision 2949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-02 22:29:26 +00:00
Michael Niedermayer
c62c07d3d7
multithreaded mpeg2 decoding
...
Originally committed as revision 2810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 20:56:56 +00:00
Michael Niedermayer
0c904df2b6
dont let the demuxer thread die before the video has actually been played as seeking would become impossible shortly before EOF
...
Originally committed as revision 2705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 20:22:11 +00:00
Michael Niedermayer
fb966f99b0
ignore damaged video frames
...
Originally committed as revision 2692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-11 00:37:25 +00:00
Michael Niedermayer
041086191f
oops
...
Originally committed as revision 2691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-11 00:22:03 +00:00
Michael Niedermayer
93e1a0a9de
fix b frame after seeking blockmess
...
Originally committed as revision 2690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-11 00:19:10 +00:00
Michael Niedermayer
e6c0297f1c
fixing some seek failure issues
...
Originally committed as revision 2688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 22:36:35 +00:00
Wolfgang Hesseler
0c9bbaec60
motion vector vissualization improvements patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
...
Originally committed as revision 2636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 02:12:12 +00:00
Wolfgang Hesseler
bba04f1e9d
frame stepping patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
...
Originally committed as revision 2632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-28 01:19:41 +00:00
Michel Bardiaux
a11d11aaa8
seek by mouse in ffplay patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
...
Originally committed as revision 2535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-28 19:19:01 +00:00
Wolfgang Hesseler
e26a83355a
debug parameter patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
...
Originally committed as revision 2534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-28 15:14:24 +00:00
Fabrice Bellard
72ea344bd1
initial seek support
...
Originally committed as revision 2505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:59:45 +00:00
Michael Niedermayer
5ff85f1d8b
AVRational
...
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?
Originally committed as revision 2403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 20:23:46 +00:00
Glenn Maynard
05ab0b76b7
Trivial error reporting patch by (Glenn Maynard <g_sf at zewt dot org>)
...
Originally committed as revision 2316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-29 00:14:13 +00:00
Michael Niedermayer
c6b1edc911
init AVFrame with defaults
...
Originally committed as revision 2312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-28 20:47:07 +00:00
Fabrice Bellard
61890b02b3
better image sequence support (Charles Yates) - suppressed unused non overlay support
...
Originally committed as revision 2283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 19:37:27 +00:00
Fabrice Bellard
7b7d86f120
simplified version handling
...
Originally committed as revision 2264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-11 22:51:05 +00:00
Fabrice Bellard
d0526ecf66
show stream info with -stats
...
Originally committed as revision 2239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:49:53 +00:00
Michael Niedermayer
e8d83e1c26
Small Patch for "ffplay -" instead of "ffplay pipe:" by (Bill Eldridge <bill at rfa dot org>)
...
Originally committed as revision 2181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-29 20:22:16 +00:00
Michael Niedermayer
400738b1fb
ffplay diff commenting out rtsp for no network by (Bill Eldridge <bill at rfa dot org>)
...
Originally committed as revision 2176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-28 23:11:23 +00:00
Fabrice Bellard
02d504a7d3
more sections in help - copyright fixes
...
Originally committed as revision 2143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 15:29:48 +00:00
Fabrice Bellard
638c9d91a0
fine A-V synchronisation support with either audio or video as master clock source - MPEG2 A-V synchronisation fixes - fixed format selection - fixed error reporting - audio and video component selection
...
Originally committed as revision 2106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-06 13:07:23 +00:00
Fabrice Bellard
416e35081a
added correct RTSP aborting - added option to force TCP usage in RTSP playback - added experimental RTSP pause support
...
Originally committed as revision 2062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-17 10:29:50 +00:00
Fabrice Bellard
31319a8ccd
win32 compile fix for ffplay by gbazin at altern dot org
...
Originally committed as revision 1958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-14 11:09:57 +00:00
Fabrice Bellard
5e0257e305
better pause when displaying audio samples
...
Originally committed as revision 1941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-09 20:48:06 +00:00
Fabrice Bellard
01310af292
added ffplay utility
...
Originally committed as revision 1936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-07 18:34:02 +00:00