Rob Coenen | 1 Apr 2005 01:01
Picon

RE: animated GIF support

Bwek, yeah OK see I'm using WinCVS and there's simply no option for this.
Spending 20 minutes already on how the hecl to get the -U switch on

-----Original Message-----
From: ffmpeg-devel-admin <at> lists.sourceforge.net
[mailto:ffmpeg-devel-admin <at> lists.sourceforge.net] On Behalf Of Diego Biurrun
Sent: vrijdag 1 april 2005 0:55
To: ffmpeg-devel <at> lists.sourceforge.net
Subject: Re: [Ffmpeg-devel] animated GIF support

On Thu, Mar 31, 2005 at 11:46:55PM +0200, Måns Rullgård wrote:
> Diego Biurrun <diego <at> biurrun.de> writes:
> 
> > On Thu, Mar 31, 2005 at 09:29:27PM +0200, Rob Coenen wrote:
> >> 
> >> Anyhow here's the diff
> >
> > A unified diff (diff -u) is necessary, otherwise it cannot be applied
> > with patch.
> 
> That's not the reason.  The reason is that unidiffs can be read and
> made sense of by humans.  We want to have some clue about what we're
> applying.

Both things combined make up the reason why unified diffs are a must.
Given the fact that this is the development FAQ No.1 by a looooong shot
and I have lost count of how many times I wrote this (30?, 50?, 100?),
I'm mostly not patient enough to explain it all.  I should make a
template someday.

(Continue reading)

Rob Coenen | 1 Apr 2005 01:21
Picon

RE: animated GIF support

--- ffmpeg/libavformat/gif.c	Thu Mar 31 22:59:05 2005
+++ ffmpeg/libavformat/gif2.c	Thu Mar 31 23:19:32 2005
 <at>  <at>  -43,8 +43,10  <at>  <at> 
 /* bitstream minipacket size */
 #define GIF_CHUNKS 100

-/* slows down the decoding (and some browsers doesn't like it) */
-/* #define GIF_ADD_APP_HEADER */
+/* slows down the decoding (and some browsers don't like it) */
+/* update on the 'some browsers don't like it issue from above: this was
probably due to missing 'Data Sub-block Terminator' (byte 19) in the
app_header */
+#define GIF_ADD_APP_HEADER // required to enable looping of animated gif
+

 typedef struct {
     unsigned char r;
 <at>  <at>  -199,15 +201,40  <at>  <at> 

     /* application extension header */
     /* XXX: not really sure what to put in here... */
+
+	/*	update: this is the 'NETSCAPE EXTENSION' that allows for
looped animated gif
+		see
http://members.aol.com/royalef/gifabout.htm#net-extension
+
+		byte   1       : 33 (hex 0x21) GIF Extension code
+		byte   2       : 255 (hex 0xFF) Application Extension Label
+		byte   3       : 11 (hex (0x0B) Length of Application Block 
(Continue reading)

Måns Rullgård | 1 Apr 2005 01:22

Re: animated GIF support

"Rob Coenen" <rob <at> massive-interactive.nl> writes:

> Bwek, yeah OK see I'm using WinCVS and there's simply no option for this.
> Spending 20 minutes already on how the hecl to get the -U switch on
>
> -----Original Message-----
> From: ffmpeg-devel-admin <at> lists.sourceforge.net
> [mailto:ffmpeg-devel-admin <at> lists.sourceforge.net] On Behalf Of Diego Biurrun
> Sent: vrijdag 1 april 2005 0:55
> To: ffmpeg-devel <at> lists.sourceforge.net
> Subject: Re: [Ffmpeg-devel] animated GIF support
>
> Does anybody know a good way to filter out non-unified diffs at the
> mailing list level?  This comes up so often I'm sure somebody must
> already have implemented it.

Same for top-posts...

--

-- 
Måns Rullgård
mru <at> inprovide.com

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
Måns Rullgård | 1 Apr 2005 01:24

Re: gcc3 generating uber-slow asm for c mmx macros :)

Falk Hueffner <falk <at> debian.org> writes:

> D Richard Felker III <dalias <at> aerifal.cx> writes:
>
>> I have a report about gcc3 sucking that I'd like to see if gcc3
>> users can confirm. While working with Robert and Oded on snow
>> optimization, they've been trying to use the C mmx macros
>> (i386/mmx.h) to avoid having to write whole asm blocks by
>> hand. However, gcc3 is generating REALLY horrible code for this
>
> Have you tried using mmintrin.h? If that also generates bad code, file
> a bug report with a test case.

It seems like quite a few people on this list prefer general bashing
instead of reporting bugs properly.

--

-- 
Måns Rullgård
mru <at> inprovide.com

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
g c | 1 Apr 2005 01:28
Picon

Re: Can"t link libavformat

Well I have just this minute downloaded the latest libavformat directory from CVS. Now the thing won't even
compile. I get:

gcc -O3 -g -Wall -Wno-switch  -fomit-frame-pointer -mno-cygwin -I..
-I'/f/ffmpeg/test-1Apr05/ffmpeg-t5labs' -I'/f/ffmpeg/test-1Apr05/ffmpeg-t5labs'/libavcodec
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o avienc.o
avienc.c 
avienc.c:180: error: `CODEC_ID_LOCO' undeclared here (not in a function)
avienc.c:180: error: initializer element is not constant
avienc.c:180: error: (near initialization for `codec_bmp_tags[85].id')
avienc.c:180: error: initializer element is not constant
avienc.c:180: error: (near initialization for `codec_bmp_tags[85]')
avienc.c:181: error: `CODEC_ID_WNV1' undeclared here (not in a function)
avienc.c:181: error: initializer element is not constant
avienc.c:181: error: (near initialization for `codec_bmp_tags[86].id')
avienc.c:181: error: initializer element is not constant
avienc.c:181: error: (near initialization for `codec_bmp_tags[86]')
avienc.c:182: error: initializer element is not constant
avienc.c:182: error: (near initialization for `codec_bmp_tags[87]')
avienc.c:183: error: initializer element is not constant
avienc.c:183: error: (near initialization for `codec_bmp_tags[88]')
make: *** [avienc.o] Error 1

Just for completeness, my configure settings are:

 /configure --extra-cflags="-fomit-frame-pointer -mno-cygwin"
--extra-ldflags="-Wl,--add-stdcall-alias" --enable-shared --enable-memalign-hack
--enable-mingw32 --disable-a52 --disable-pp --disable-ffserver --disable-ffplay

I am using MinGW on WindowsXP
(Continue reading)

Michael Niedermayer | 1 Apr 2005 01:37
Picon
Picon

Re: Re: Can"t link libavformat

Hi

On Friday 01 April 2005 01:28, g c wrote:
> Well I have just this minute downloaded the latest libavformat directory
> from CVS. Now the thing won't even compile. I get:

try to get the whole of ffmpeg cvs (libavcodec, ...) too 

[...]

--

-- 
Michael

"nothing is evil in the beginning. Even Sauron was not so." -- Elrond

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
Diego Biurrun | 1 Apr 2005 01:46
Picon
Gravatar

Re: animated GIF support

On Fri, Apr 01, 2005 at 01:22:11AM +0200, Måns Rullgård wrote:
> "Rob Coenen" <rob <at> massive-interactive.nl> writes:
> 
> > Bwek, yeah OK see I'm using WinCVS and there's simply no option for this.
> > Spending 20 minutes already on how the hecl to get the -U switch on
> >
> > -----Original Message-----
> > From: ffmpeg-devel-admin <at> lists.sourceforge.net
> > [mailto:ffmpeg-devel-admin <at> lists.sourceforge.net] On Behalf Of Diego Biurrun
> > Sent: vrijdag 1 april 2005 0:55
> > To: ffmpeg-devel <at> lists.sourceforge.net
> > Subject: Re: [Ffmpeg-devel] animated GIF support
> >
> > Does anybody know a good way to filter out non-unified diffs at the
> > mailing list level?  This comes up so often I'm sure somebody must
> > already have implemented it.
> 
> Same for top-posts...

Yes, *sigh*.  This could easily be 90% solved by banning Outlook
(Express) user agents, though.  It would probably cut down on misplaced
user questions as well ;)

Diego

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
(Continue reading)

James A. Morrison | 1 Apr 2005 01:49
Picon
Picon
Favicon

Re: animated GIF support


Diego Biurrun <diego <at> biurrun.de> writes:

> Given that this is so repetitive and exhausting I wonder why diff does
> not simply create unified diffs by default.  Oh well, probably for
> historic reasons.

 That would be my guess.  I found an old version of diff today that
didn't have -u, it could only do context, -c, diffs and normal diffs.
Anyway, both subversion and arch use unified diffs by default.

--

-- 
Thanks,
Jim

http://www.student.cs.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
Rob Coenen | 1 Apr 2005 02:26
Picon

RE: animated GIF support

What is a top-post anyway?

-----Original Message-----
From: ffmpeg-devel-admin <at> lists.sourceforge.net
[mailto:ffmpeg-devel-admin <at> lists.sourceforge.net] On Behalf Of Diego Biurrun
Sent: vrijdag 1 april 2005 1:46
To: ffmpeg-devel <at> lists.sourceforge.net
Subject: Re: [Ffmpeg-devel] animated GIF support

> Same for top-posts...

Yes, *sigh*.  This could easily be 90% solved by banning Outlook
(Express) user agents, though.  It would probably cut down on misplaced
user questions as well ;)

Diego

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
Alexander Strange | 1 Apr 2005 02:47
Gravatar

Re: animated GIF support


On Mar 31, 2005, at 7:26 PM, Rob Coenen wrote:

> What is a top-post anyway?
>
> -----Original Message-----
> From: ffmpeg-devel-admin <at> lists.sourceforge.net
> [mailto:ffmpeg-devel-admin <at> lists.sourceforge.net] On Behalf Of Diego 
> Biurrun
> Sent: vrijdag 1 april 2005 1:46
> To: ffmpeg-devel <at> lists.sourceforge.net
> Subject: Re: [Ffmpeg-devel] animated GIF support
>
>> Same for top-posts...
>
> Yes, *sigh*.  This could easily be 90% solved by banning Outlook
> (Express) user agents, though.  It would probably cut down on misplaced
> user questions as well ;)
>
> Diego

What you just did. Reply at the bottom of the original, not the top.

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30

Gmane