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
Michael Niedermayer
5905536347
10l, forgot HAS_ARG, -drp segfaulted.
...
Originally committed as revision 21581 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
41db429dd5
decoder reorder pts auto detection.
...
Originally committed as revision 21579 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
6371c81a92
Fix indention.
...
Originally committed as revision 21578 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
Michael Niedermayer
6299a22904
Fix AVFormat AVOprions.
...
Originally committed as revision 21561 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
79ee468365
Redesign packet queue full check to be more robust.
...
Originally committed as revision 21555 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
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
15 years ago
Måns Rullgård
c67278098d
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
40ccc754e9
Indent
...
Originally committed as revision 21359 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
Ramiro Polla
0c2a18cbcd
Split show_usage() out of show_help().
...
Originally committed as revision 20904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
Stefano Sabatini
992f8eaee7
Factorize common commandline options definition.
...
Originally committed as revision 20664 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
8447f0bd74
Split show_formats().
...
Originally committed as revision 20553 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba11257e48
Add #include for required header config.h.
...
Originally committed as revision 20518 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
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
15 years ago
Peter Ross
c0b88f1920
Moves the display of metadata to dump_format()
...
Originally committed as revision 19632 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
966116b9f7
Remove some hunks of unused and disabled code cruft.
...
Originally committed as revision 19606 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Michael Niedermayer
e45aeb38a6
Reset eof state on seeking.
...
Fixes issue1005.
Originally committed as revision 18710 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
26534fe847
indent
...
Originally committed as revision 18630 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Michael Niedermayer
b40831715a
Avoid 100% CPU useage at EOF.
...
Originally committed as revision 18625 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Michael Niedermayer
4ed29207c2
Switch ffplay to new seeking API.
...
Originally committed as revision 17958 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Stefano Sabatini
4b03756748
Document ffplay -ast, -vst, and -sst options.
...
Originally committed as revision 17694 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Stefano Sabatini
5ad4f0d473
Simplify the logic for the subtitle stream selection.
...
Originally committed as revision 17692 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Aurelien Jacobs
f7554a99bc
convert ffplay to new metadata API
...
Originally committed as revision 17684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago