Commit Graph

882 Commits

Author SHA1 Message Date
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