platform/upstream/libav.git
14 years agoconfigure: allow 'none' as target OS
Måns Rullgård [Tue, 9 Feb 2010 22:55:08 +0000 (22:55 +0000)]
configure: allow 'none' as target OS

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

14 years agoDoxument url_fopen().
Stefano Sabatini [Tue, 9 Feb 2010 18:59:34 +0000 (18:59 +0000)]
Doxument url_fopen().

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

14 years agoAdd an entry for the recently added av_compare_ts() function.
Stefano Sabatini [Tue, 9 Feb 2010 18:58:02 +0000 (18:58 +0000)]
Add an entry for the recently added av_compare_ts() function.

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

14 years agoARMv6 optimised pix_sum
Måns Rullgård [Tue, 9 Feb 2010 16:13:52 +0000 (16:13 +0000)]
ARMv6 optimised pix_sum

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

14 years agoARMv6 optimised pix_norm1
Måns Rullgård [Tue, 9 Feb 2010 16:13:49 +0000 (16:13 +0000)]
ARMv6 optimised pix_norm1

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

14 years agoARMv6 optimised sse16
Måns Rullgård [Tue, 9 Feb 2010 16:13:45 +0000 (16:13 +0000)]
ARMv6 optimised sse16

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

14 years agoARMv6 optimised diff_pixels
Måns Rullgård [Tue, 9 Feb 2010 16:13:41 +0000 (16:13 +0000)]
ARMv6 optimised diff_pixels

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

14 years agoARMv6 optimised get_pixels
Måns Rullgård [Tue, 9 Feb 2010 16:13:38 +0000 (16:13 +0000)]
ARMv6 optimised get_pixels

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

14 years agoARMv6 optimised pix_abs8
Måns Rullgård [Tue, 9 Feb 2010 16:13:34 +0000 (16:13 +0000)]
ARMv6 optimised pix_abs8

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

14 years agoARMv6 optimised pix_abs16_y2
Måns Rullgård [Tue, 9 Feb 2010 16:13:31 +0000 (16:13 +0000)]
ARMv6 optimised pix_abs16_y2

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

14 years agoARMv6 optimised pix_abs16_x2
Måns Rullgård [Tue, 9 Feb 2010 16:13:29 +0000 (16:13 +0000)]
ARMv6 optimised pix_abs16_x2

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

14 years agoARMv6 optimised pix_abs16
Måns Rullgård [Tue, 9 Feb 2010 16:13:26 +0000 (16:13 +0000)]
ARMv6 optimised pix_abs16

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

14 years agoARMv6 optimised put_pixels functions except xy2 variants
Måns Rullgård [Tue, 9 Feb 2010 16:13:21 +0000 (16:13 +0000)]
ARMv6 optimised put_pixels functions except xy2 variants

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

14 years agoIndeo 5 decoder
Kostya Shishkov [Tue, 9 Feb 2010 07:55:07 +0000 (07:55 +0000)]
Indeo 5 decoder

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

14 years agoReorder and factorize mb_type ifs, 1 cpu cycle faster and simpler.
Michael Niedermayer [Tue, 9 Feb 2010 00:19:03 +0000 (00:19 +0000)]
Reorder and factorize mb_type ifs, 1 cpu cycle faster and simpler.

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

14 years agoMake sure the header value used to avoid repeating headers on seeking to the
Reimar Döffinger [Mon, 8 Feb 2010 20:25:36 +0000 (20:25 +0000)]
Make sure the header value used to avoid repeating headers on seeking to the
start and to avoid initializing codecs with missing headers is set for all streams.
Fixes issue 1723.

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

14 years agoImplement gai_strerror() for systems lacking such functionality. Patch
Ronald S. Bultje [Mon, 8 Feb 2010 18:48:12 +0000 (18:48 +0000)]
Implement gai_strerror() for systems lacking such functionality. Patch
by KO Myung-Hun <komh challion net>.

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

14 years agoSet partitioning to 16x16 for spatial direct MBs with mixed interlacing.
Michael Niedermayer [Mon, 8 Feb 2010 17:25:50 +0000 (17:25 +0000)]
Set partitioning to 16x16 for spatial direct MBs with mixed interlacing.
11cylcles slower MV generation
98cycles faster MC

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

14 years agoDetect spatial direct MBs partitioned smaller than 16x16 that can be partitioned
Michael Niedermayer [Mon, 8 Feb 2010 16:23:05 +0000 (16:23 +0000)]
Detect spatial direct MBs partitioned smaller than 16x16 that can be partitioned
as 16x16 (except ones changing interlacing relative to the colocated MB).
20 cycles slower during MV generation
175 cycles faster during MC

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

14 years agoDetect equal 4x4 blocks in spatial direct MBs.
Michael Niedermayer [Mon, 8 Feb 2010 13:05:24 +0000 (13:05 +0000)]
Detect equal 4x4 blocks in spatial direct MBs.
19 cycles slower MV generation
575 cycles faster MC

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

14 years agoFix playback with invalid files that don't set the continuation flag for
David Conrad [Mon, 8 Feb 2010 10:13:03 +0000 (10:13 +0000)]
Fix playback with invalid files that don't set the continuation flag for
pages that continue packets started in prior pages.
Fixes issue1248

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

14 years agoStop reading input file when -t option value is reached.
Wolfram Gloger [Mon, 8 Feb 2010 09:04:06 +0000 (09:04 +0000)]
Stop reading input file when -t option value is reached.
Patch by Wolfram Gloger wmglo (chez) dent med uni (minus) muenchen de

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

14 years agoRemove an apparently unneeded && !FRAME_MBAFF.
Michael Niedermayer [Mon, 8 Feb 2010 04:24:50 +0000 (04:24 +0000)]
Remove an apparently unneeded  && !FRAME_MBAFF.
This should speed the affected cases (MBAFF temporal direct MBs) up.

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

14 years agoBranchless calculation of ref_offset.
Michael Niedermayer [Mon, 8 Feb 2010 03:22:17 +0000 (03:22 +0000)]
Branchless calculation of ref_offset.
7 cpu cycles faster.

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

14 years agoRemove incorrect fixme, i see no case that is missing.
Michael Niedermayer [Mon, 8 Feb 2010 02:10:59 +0000 (02:10 +0000)]
Remove incorrect fixme, i see no case that is missing.

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

14 years agoReplace call to pred_motion() in direct spatial mv pred by code
Michael Niedermayer [Mon, 8 Feb 2010 02:09:27 +0000 (02:09 +0000)]
Replace call to pred_motion() in direct spatial mv pred by code
and simplify cases that cannot happen away.
8 cpu cycles faster

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

14 years agoChange xvid/divx/lavc build variables to be consistent to x264_build.
Michael Niedermayer [Mon, 8 Feb 2010 00:43:15 +0000 (00:43 +0000)]
Change xvid/divx/lavc build variables to be consistent to x264_build.

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

14 years agoSet x264_build so that checks are simpler.
Michael Niedermayer [Mon, 8 Feb 2010 00:08:05 +0000 (00:08 +0000)]
Set x264_build so that checks are simpler.

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

14 years agoOoops, 10l forgot to commit h264.h.
Michael Niedermayer [Sun, 7 Feb 2010 23:15:53 +0000 (23:15 +0000)]
Ooops, 10l forgot to commit h264.h.

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

14 years agoZero a/b only in the branch where they need to be zeroed.
Michael Niedermayer [Sun, 7 Feb 2010 22:58:03 +0000 (22:58 +0000)]
Zero a/b only in the branch where they need to be zeroed.

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

14 years agoMerge mv&ref related code for spatial direct MV code.
Michael Niedermayer [Sun, 7 Feb 2010 21:53:55 +0000 (21:53 +0000)]
Merge mv&ref related code for spatial direct MV code.
a bit more than 10 cpu cycles faster.

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

14 years agoPrecalculate a few variables for direct mv prediction for interlaced MBs.
Michael Niedermayer [Sun, 7 Feb 2010 21:09:09 +0000 (21:09 +0000)]
Precalculate a few variables for direct mv prediction for interlaced MBs.

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

14 years agoDirectly use av_rescale_rnd() instead of av_convert_ts() as this cuts the
Michael Niedermayer [Sun, 7 Feb 2010 19:10:04 +0000 (19:10 +0000)]
Directly use av_rescale_rnd() instead of av_convert_ts() as this cuts the
number of calls to it down by 2.

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

14 years agoSet direct MB partitioning for 16x8 and 8x16 colocated MBs to the respective true...
Michael Niedermayer [Sun, 7 Feb 2010 17:40:22 +0000 (17:40 +0000)]
Set direct MB partitioning for 16x8 and 8x16 colocated MBs to the respective true partitioning.

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

14 years agoFactorize setting sub_mb_type out.
Michael Niedermayer [Sun, 7 Feb 2010 17:15:17 +0000 (17:15 +0000)]
Factorize setting sub_mb_type out.

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

14 years agoBump minor for av_compare_ts()
Michael Niedermayer [Sun, 7 Feb 2010 17:13:59 +0000 (17:13 +0000)]
Bump minor for av_compare_ts()

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

14 years agoUse av_compare_ts() for interleaving per dts.
Michael Niedermayer [Sun, 7 Feb 2010 16:27:17 +0000 (16:27 +0000)]
Use av_compare_ts() for interleaving per dts.

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

14 years agoav_compare_ts()
Michael Niedermayer [Sun, 7 Feb 2010 16:26:50 +0000 (16:26 +0000)]
av_compare_ts()

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

14 years agoMake parse_options() explicitely handle the case where an opt_func2
Stefano Sabatini [Sun, 7 Feb 2010 15:46:18 +0000 (15:46 +0000)]
Make parse_options() explicitely handle the case where an opt_func2
function returns a negative value, rather than erroneously trigger the
code which manages the case of unknown option.

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

14 years agoRemove FIXMEs for cases that are disallowed by the spec.
Michael Niedermayer [Sun, 7 Feb 2010 15:13:56 +0000 (15:13 +0000)]
Remove FIXMEs for cases that are disallowed by the spec.

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

14 years agoCheck direct_8x8_inference_flag.
Michael Niedermayer [Sun, 7 Feb 2010 15:12:37 +0000 (15:12 +0000)]
Check direct_8x8_inference_flag.

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

14 years agoSkip the fill_colmap() case thats for MBAFF if we dont have an MBAFF frame.
Michael Niedermayer [Sun, 7 Feb 2010 14:55:59 +0000 (14:55 +0000)]
Skip the fill_colmap() case thats for MBAFF if we dont have an MBAFF frame.

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

14 years agoImplement a physical concatenation protocol.
Michele Orrù [Sun, 7 Feb 2010 10:25:58 +0000 (10:25 +0000)]
Implement a physical concatenation protocol.

Patch by Michele Orrù reverse(<moc.liamg@yp.rekam>).

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

14 years agoFix CAVLC+8x8DCT+MBAFF loopfiltering.
Michael Niedermayer [Sun, 7 Feb 2010 02:00:00 +0000 (02:00 +0000)]
Fix CAVLC+8x8DCT+MBAFF loopfiltering.
Fixes issue1250

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

14 years agoFix colocated map.
Michael Niedermayer [Sun, 7 Feb 2010 01:18:00 +0000 (01:18 +0000)]
Fix colocated map.

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

14 years agoFix reference selection for colocated MBs from frames to fields.
Michael Niedermayer [Sun, 7 Feb 2010 01:17:13 +0000 (01:17 +0000)]
Fix reference selection for colocated MBs from frames to fields.

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

14 years agoAdd assert(sps.direct_8x8_inference_flag) to FIXME comment.
Michael Niedermayer [Sun, 7 Feb 2010 01:14:58 +0000 (01:14 +0000)]
Add assert(sps.direct_8x8_inference_flag) to FIXME comment.

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

14 years agoref_offset must be added after checking references validity.
Michael Niedermayer [Sun, 7 Feb 2010 01:13:56 +0000 (01:13 +0000)]
ref_offset must be added after checking references validity.

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

14 years agoAdd missing entries for the recent lsws API changes.
Stefano Sabatini [Sat, 6 Feb 2010 23:25:10 +0000 (23:25 +0000)]
Add missing entries for the recent lsws API changes.

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

14 years agolibgsm installs headers in a subdirectory, use gsm.h from that subdirectory.
Reinhard Tartler [Sat, 6 Feb 2010 16:52:38 +0000 (16:52 +0000)]
libgsm installs headers in a subdirectory, use gsm.h from that subdirectory.
Approved by Diego at FOSDEM.

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

14 years agocosmetics : re-indent after r21639.
Jai Menon [Sat, 6 Feb 2010 13:15:15 +0000 (13:15 +0000)]
cosmetics : re-indent after r21639.

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

14 years agoAdd include necessary for ff_set_qscale
Reimar Döffinger [Sat, 6 Feb 2010 12:53:28 +0000 (12:53 +0000)]
Add include necessary for ff_set_qscale

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

14 years agoAvoid using an intermediate variable.
Jai Menon [Sat, 6 Feb 2010 12:52:22 +0000 (12:52 +0000)]
Avoid using an intermediate variable.

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

14 years agoRemove redundant use of numchannels since it is 1 for mono.
Jai Menon [Sat, 6 Feb 2010 12:48:37 +0000 (12:48 +0000)]
Remove redundant use of numchannels since it is 1 for mono.

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

14 years agoalac.c : Use av_freep instead of av_free.
Jai Menon [Sat, 6 Feb 2010 12:38:42 +0000 (12:38 +0000)]
alac.c : Use av_freep instead of av_free.

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

14 years agoAdd AVI metadata conversion table.
Anton Khirnov [Sat, 6 Feb 2010 12:32:44 +0000 (12:32 +0000)]
Add AVI metadata conversion table.

Patch by Anton Khirnov (gmail{wyskas}).

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

14 years agoRevert r21615 | cehoyos | 2010-02-02 23:23:09 +0100 (Tue, 02 Feb 2010) | 5 lines
Justin Johnson [Sat, 6 Feb 2010 11:11:10 +0000 (11:11 +0000)]
Revert  r21615 | cehoyos | 2010-02-02 23:23:09 +0100 (Tue, 02 Feb 2010) | 5 lines
Guess the duration before converting video and write guessed duration
into flv header.
Patch by Justin Johnson, justin D johnson3 A gmail

The change to ffmpeg.c is wrong as input and output files arent connected 1:1
(i seem to have missed that)
Also it can segfault see ([FFmpeg-devel] rtp streaming x264+audio issues (and some ideas to fix them))

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

14 years agoLong term references behave different from short term in spatial direct MV calculation.
Michael Niedermayer [Sat, 6 Feb 2010 02:55:58 +0000 (02:55 +0000)]
Long term references behave different from short term in spatial direct MV calculation.
Fixes FRExt_MMCO4_Sony_B / issue1251

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

14 years agoAdd parentheses in boolean expression: (A && B || C) => ((A && B) || C),
Stefano Sabatini [Sat, 6 Feb 2010 00:10:42 +0000 (00:10 +0000)]
Add parentheses in boolean expression: (A && B || C) => ((A && B) || C),
fix the warning:
ffmpeg.c: In function ‘output_packet’:
ffmpeg.c:1317: warning: suggest parentheses around && within ||

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

14 years agoRemove unused variable ref_clock, fix the warning:
Stefano Sabatini [Sat, 6 Feb 2010 00:05:38 +0000 (00:05 +0000)]
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

14 years agoSimplify how usesVFilter and usesHFilter are set.
Stefano Sabatini [Fri, 5 Feb 2010 23:53:25 +0000 (23:53 +0000)]
Simplify how usesVFilter and usesHFilter are set.

Originally committed as revision 30520 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoSatisfy style nits.
Stefano Sabatini [Fri, 5 Feb 2010 23:24:08 +0000 (23:24 +0000)]
Satisfy style nits.

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

14 years agoDoxument url_fdopen().
Stefano Sabatini [Fri, 5 Feb 2010 23:03:32 +0000 (23:03 +0000)]
Doxument url_fdopen().

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

14 years agoApply misc fixes to sws_getCoefficients() doxy.
Stefano Sabatini [Fri, 5 Feb 2010 22:56:59 +0000 (22:56 +0000)]
Apply misc fixes to sws_getCoefficients() doxy.

Originally committed as revision 30519 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoSatisfy consistency need:
Stefano Sabatini [Fri, 5 Feb 2010 22:54:45 +0000 (22:54 +0000)]
Satisfy consistency need:
int * sws_getCoefficients  -> int *sws_getCoefficients.

Originally committed as revision 30518 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoAdd function to translate SWS_CS_* to coefficient array
David Conrad [Fri, 5 Feb 2010 16:09:03 +0000 (16:09 +0000)]
Add function to translate SWS_CS_* to coefficient array

Originally committed as revision 30513 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agomake the RDFT vissualizatiom default, the scopes are ugly and eat CPU like
Michael Niedermayer [Fri, 5 Feb 2010 15:26:42 +0000 (15:26 +0000)]
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

14 years agoMake sure the rdft has enough audio available.
Michael Niedermayer [Fri, 5 Feb 2010 15:16:38 +0000 (15:16 +0000)]
Make sure the rdft has enough audio available.
10l (looks cleaner now)

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

14 years agostrn muxing in avi support.
Michael Niedermayer [Fri, 5 Feb 2010 15:14:56 +0000 (15:14 +0000)]
strn muxing in avi support.
untested as ffmpeg.c has no means to set AVStream metadata (patchwelcome)

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

14 years agoSupport strn tag in avidec.
Michael Niedermayer [Fri, 5 Feb 2010 12:16:59 +0000 (12:16 +0000)]
Support strn tag in avidec.

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

14 years agoCorrecting wrong looking stream_id validity check in avidec.
Michael Niedermayer [Fri, 5 Feb 2010 11:50:44 +0000 (11:50 +0000)]
Correcting wrong looking stream_id validity check in avidec.

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

14 years agoScale rdft vissualization up by 2 so theres no unused space on the top
Michael Niedermayer [Fri, 5 Feb 2010 11:25:58 +0000 (11:25 +0000)]
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

14 years agoDo not segfault when doing "ffplay -h"
Vitor Sessak [Fri, 5 Feb 2010 04:42:20 +0000 (04:42 +0000)]
Do not segfault when doing "ffplay -h"

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

14 years agoPretty RDFT audio visualization.
Michael Niedermayer [Fri, 5 Feb 2010 02:06:38 +0000 (02:06 +0000)]
Pretty RDFT audio visualization.

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

14 years agoFast seeking.
Michael Niedermayer [Fri, 5 Feb 2010 00:37:39 +0000 (00:37 +0000)]
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

14 years agoAdd ALAC 24 bps decoding support.
Jai Menon [Thu, 4 Feb 2010 16:21:26 +0000 (16:21 +0000)]
Add ALAC 24 bps decoding support.

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

14 years agoFix large timebases.
Michael Niedermayer [Thu, 4 Feb 2010 15:30:37 +0000 (15:30 +0000)]
Fix large timebases.
Fixed issue1633

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

14 years agoImplement cool new vlc code.
Michael Niedermayer [Thu, 4 Feb 2010 14:26:57 +0000 (14:26 +0000)]
Implement cool new vlc code.
Fixes issue1637

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

14 years agoautoexit
Michael Niedermayer [Thu, 4 Feb 2010 01:54:24 +0000 (01:54 +0000)]
autoexit
implements issue1019

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

14 years agoDont try generic seek if seek request before first index entry and backward.
Michael Niedermayer [Wed, 3 Feb 2010 23:59:48 +0000 (23:59 +0000)]
Dont try generic seek if seek request before first index entry and backward.
Fixes issue1275

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

14 years agoImplement shuffle_bytes_abcd() functions and use them for shuffling
Stefano Sabatini [Wed, 3 Feb 2010 23:46:00 +0000 (23:46 +0000)]
Implement shuffle_bytes_abcd() functions and use them for shuffling
bytes when converting between RGB32 variants.

In particular fix the argb -> rgba and abgr -> bgra conversions.

See the thread:
Subject: [FFmpeg-devel] [RFC] RGB32 / BGR32 ethernal bug
Date: Tue, 26 Jan 2010 01:06:18 +0100

Originally committed as revision 30501 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoClean after toggling wave.
Michael Niedermayer [Wed, 3 Feb 2010 23:34:06 +0000 (23:34 +0000)]
Clean after toggling wave.
Fixes issue1180.

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

14 years agoUse pixel format descriptors for checking if the input format is
Stefano Sabatini [Wed, 3 Feb 2010 23:10:18 +0000 (23:10 +0000)]
Use pixel format descriptors for checking if the input format is
paletted. Simpler and more robust.

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

14 years agoTry to open decoders in av_find_stream_info() even if no packets for the
Michael Niedermayer [Wed, 3 Feb 2010 23:05:58 +0000 (23:05 +0000)]
Try to open decoders in av_find_stream_info() even if no packets for the
stream are found.
Fixes issue1385

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

14 years agoMove is->frame_timer init from start to flush_pkt handling so it is also
Michael Niedermayer [Wed, 3 Feb 2010 21:33:31 +0000 (21:33 +0000)]
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

14 years agoMake opt_frame_pix_fmt() call show_pix_fmts() if the provided option
Stefano Sabatini [Wed, 3 Feb 2010 19:55:45 +0000 (19:55 +0000)]
Make opt_frame_pix_fmt() call show_pix_fmts() if the provided option
is "list".

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

14 years agoThe convertion between bit and byte is 8 not 60.
Michael Niedermayer [Wed, 3 Feb 2010 15:19:19 +0000 (15:19 +0000)]
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

14 years agoCorrect opts calulation in ffmpeg.c.
Michael Niedermayer [Wed, 3 Feb 2010 15:09:04 +0000 (15:09 +0000)]
Correct opts calulation in ffmpeg.c.
This correct the stop point for demuxing with -vcodec copy and -t as well as
packet interleaving. (we already diddrop packets but kept demuxing them
for too long due to opts being wrong)
the change to ffm is due to 2 packets with timestamp 0 being stored
in different order.

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

14 years agoAlternative solution for the mpegvideo_split + mov problem.
Michael Niedermayer [Wed, 3 Feb 2010 14:53:14 +0000 (14:53 +0000)]
Alternative solution for the mpegvideo_split + mov problem.

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

14 years agoIndentation cleanup
Peter Ross [Wed, 3 Feb 2010 09:58:14 +0000 (09:58 +0000)]
Indentation cleanup

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

14 years agoExtend IFF demuxer to parse PBM/ILBM bitmap chunks
Peter Ross [Wed, 3 Feb 2010 09:57:21 +0000 (09:57 +0000)]
Extend IFF demuxer to parse PBM/ILBM bitmap chunks

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

14 years agoIFF PBM/ILBM bitmap decoder
Peter Ross [Wed, 3 Feb 2010 09:56:16 +0000 (09:56 +0000)]
IFF PBM/ILBM bitmap decoder

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

14 years agoRevert
Michael Niedermayer [Wed, 3 Feb 2010 04:40:42 +0000 (04:40 +0000)]
Revert
r12684 | michael | 2008-04-04 02:43:34 +0200 (Fri, 04 Apr 2008) | 2 lines
Disable the split function. This should end the mpeg1/2 global header issues.
The split function is essential for -ss to work
Fixes issue1226
If this breaks something please tell me, also if someoen remembers what problem
this originally caused tell me too, i searched but couldnt find it.

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

14 years agoOnly set duration for streams where it is likely correct.
Michael Niedermayer [Wed, 3 Feb 2010 00:35:10 +0000 (00:35 +0000)]
Only set duration for streams where it is likely correct.
Fixes issue1120

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

14 years agoSet nb_frames.
Michael Niedermayer [Tue, 2 Feb 2010 23:53:38 +0000 (23:53 +0000)]
Set nb_frames.
Also add DXSA tag (commited by mistake in this commit, i can revert and recommit
seperately if someone wants)

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

14 years agoCompare the correct clocks for syncing video to audio/ext.
Michael Niedermayer [Tue, 2 Feb 2010 23:22:35 +0000 (23:22 +0000)]
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

14 years agoFix r21223: AVup samples (issue 1685) need a buf offset like AV1x (issue 1684).
Carl Eugen Hoyos [Tue, 2 Feb 2010 22:57:56 +0000 (22:57 +0000)]
Fix r21223: AVup samples (issue 1685) need a buf offset like AV1x (issue 1684).

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

14 years agoMove the initial refresh scheduling for audio display away from where it
Michael Niedermayer [Tue, 2 Feb 2010 22:43:09 +0000 (22:43 +0000)]
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

14 years agoGuess the duration before converting video and write guessed duration
Justin Johnson [Tue, 2 Feb 2010 22:23:09 +0000 (22:23 +0000)]
Guess the duration before converting video and write guessed duration
into flv header.

Patch by Justin Johnson, justin D johnson3 A gmail

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

14 years agoCommit disapeared hunk, must have editied this out by mistake between local debug...
Michael Niedermayer [Tue, 2 Feb 2010 21:31:20 +0000 (21:31 +0000)]
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