Re: Suggestions for improving ffmpeg performance?

2008-03-11 Thread Alex Samad
On Tue, Mar 11, 2008 at 08:09:07AM -0500, Kevin Monceaux wrote: > > On Tue, 11 Mar 2008, Eduardo M KALINOWSKI wrote: > >> On Tue, Mar 11, 2008 at 9:34 AM, Kevin Monceaux <[EMAIL PROTECTED]> wrote: >> >>> Would the idea be to change that to 3:20071206-0.2? If so, how/where >>> is that changed? The

Re: Suggestions for improving ffmpeg performance?

2008-03-11 Thread David Fox
On 3/11/08, Kevin Monceaux <[EMAIL PROTECTED]> wrote: > DebianMultimedia.org. Would the idea be to change that to 3:20071206-0.2? > If so, how/where is that changed? The only file in the debian directory I > find that version number in is the changelog. Probably I'd add a "local" suffix - the way

Re: Suggestions for improving ffmpeg performance?

2008-03-11 Thread Kevin Monceaux
On Tue, 11 Mar 2008, Eduardo M KALINOWSKI wrote: I think it is indeed a nice idea to change the version number. And you're right about the way: you need to edit the changelog, adding a new entry with the desired version number. Okay, an updated writeup with a section on changing the version

Re: Suggestions for improving ffmpeg performance?

2008-03-11 Thread Kevin Monceaux
On Tue, 11 Mar 2008, Eduardo M KALINOWSKI wrote: On Tue, Mar 11, 2008 at 9:34 AM, Kevin Monceaux <[EMAIL PROTECTED]> wrote: Would the idea be to change that to 3:20071206-0.2? If so, how/where is that changed? The only file in the debian directory I find that version number in is the change

Re: Suggestions for improving ffmpeg performance?

2008-03-11 Thread Eduardo M KALINOWSKI
On Tue, Mar 11, 2008 at 9:34 AM, Kevin Monceaux <[EMAIL PROTECTED]> wrote: > Would the idea be to change that to 3:20071206-0.2? > If so, how/where is that changed? The only file in the debian directory I > find that version number in is the changelog. I think it is indeed a nice idea to chang

Re: Suggestions for improving ffmpeg performance?

2008-03-11 Thread Kevin Monceaux
On Mon, 10 Mar 2008, David Fox wrote: Shouldn't there be a little added writeup to bump your local version - and/or put an entry in the changelogs file? I don't think the latter is really necessary since you're not going to upload the package, but what about collisions? Probably. As I said e

Re: Suggestions for improving ffmpeg performance?

2008-03-10 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/10/08 23:09, Kevin Monceaux wrote: > Ron, > > On Mon, 10 Mar 2008, Ron Johnson wrote: > >> For posterity, can you put up a web page (or list here) the changes to >> the (debian-multimedia?) ffmpeg deb-src to allow it to be built with >> mmx ena

Re: Suggestions for improving ffmpeg performance?

2008-03-10 Thread David Fox
On 3/10/08, David Fox <[EMAIL PROTECTED]> wrote: > > Quite well done. Only one thing - you forgot to include the part that > says to take out that --disable-mmx line part in the debian/rules > file. Never mind... I saw that part. :) Shouldn't there be a little added writeup to bump your local ver

Re: Suggestions for improving ffmpeg performance?

2008-03-10 Thread David Fox
On 3/10/08, Kevin Monceaux <[EMAIL PROTECTED]> wrote: > Were you looking for something along the lines of: > > http://www.RawFedDogs.net/DebianFfmpegMMX.html Quite well done. Only one thing - you forgot to include the part that says to take out that --disable-mmx line part in the debian/rules fil

Re: Suggestions for improving ffmpeg performance?

2008-03-10 Thread Kevin Monceaux
Ron, On Mon, 10 Mar 2008, Ron Johnson wrote: For posterity, can you put up a web page (or list here) the changes to the (debian-multimedia?) ffmpeg deb-src to allow it to be built with mmx enabled? Were you looking for something along the lines of: http://www.RawFedDogs.net/DebianFfmpegMMX.

Re: Suggestions for improving ffmpeg performance?

2008-03-10 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/10/08 17:00, Kevin Monceaux wrote: > On Mon, 10 Mar 2008, David Fox wrote: > >> On 3/10/08, Kevin Monceaux <[EMAIL PROTECTED]> wrote: >> >> If you remove --disable-mmx does any mmx stuff build? > > If I also remove -fPIC and -DPIC then yes, I g

Re: Suggestions for improving ffmpeg performance?

2008-03-10 Thread David Fox
On 3/10/08, Kevin Monceaux <[EMAIL PROTECTED]> wrote: > > If I also remove -fPIC and -DPIC then yes, I get an mmx enabled version of > ffmpeg. I just got home where I could test the package I built earlier. > With the mmx enabled version I'm seeing much better performance. Thanks for the hints. I

Re: Suggestions for improving ffmpeg performance?

2008-03-10 Thread Kevin Monceaux
On Mon, 10 Mar 2008, David Fox wrote: On 3/10/08, Kevin Monceaux <[EMAIL PROTECTED]> wrote: If you remove --disable-mmx does any mmx stuff build? If I also remove -fPIC and -DPIC then yes, I get an mmx enabled version of ffmpeg. I just got home where I could test the package I built earlier

Re: Suggestions for improving ffmpeg performance?

2008-03-10 Thread David Fox
On 3/10/08, Kevin Monceaux <[EMAIL PROTECTED]> wrote: > After more trial and error I discovered that if one removes the > --disable-mmx ./configure parm and also removes the -fPIC and -DPIC flags, > the package will build successfully. Googling for ffmpeg fpic mmx turns If you remove --disable-mm

Re: Suggestions for improving ffmpeg performance?

2008-03-10 Thread Kevin Monceaux
On Mon, 10 Mar 2008, Kevin Monceaux wrote: After some trial and error I found that if I dropped the --disable-mmx and the --extra-cflags configure parms and let configure pick it's own cflags I could get the package to build successfully. After more trial and error I discovered that if one re

Re: Suggestions for improving ffmpeg performance?

2008-03-10 Thread Kevin Monceaux
Eduardo, On Sat, 8 Mar 2008, Eduardo M KALINOWSKI wrote: I've just rebuilt the package reenabling MMX, and apparently it works OK, and much faster. I've read that you've rebuilt the package, but are you sure MMX is enabled? I only tried rebuilding the package to optimize for i686. I hadn't

Re: Suggestions for improving ffmpeg performance?

2008-03-08 Thread Alex Samad
On Sat, Mar 08, 2008 at 11:12:03AM -0800, David Fox wrote: > On 3/8/08, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> wrote: > > > > The ffmpeg version in the debian-multimedia repository is build without > > MMX, I don't know exactly why. And this makes the program quite slow > > (something like 3 time

Re: Suggestions for improving ffmpeg performance?

2008-03-08 Thread Eduardo M KALINOWSKI
David Fox wrote: I can always try that. Meanwhile, I can't get the darned thing to build :( Am getting errors when trying to build some of the MMX stuff: i386/h264dsp_mmx.c: In function 'avg_h264_qpel16_mc32_mmx2': i386/h264dsp_mmx.c:1371: warning: dereferencing type-punned pointer will break st

Re: Suggestions for improving ffmpeg performance?

2008-03-08 Thread Eduardo M KALINOWSKI
David Fox wrote: On 3/8/08, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> wrote: The --disable-mmx switch is hardcoded in the debian/rules file. You'll have to unpack the source (dpkg-source -x .dsc-file), edit the file, and OK, got that far and added the tune for athlon tbird as well. Seem

Re: Suggestions for improving ffmpeg performance?

2008-03-08 Thread David Fox
On 3/8/08, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> wrote: > The --disable-mmx switch is hardcoded in the debian/rules file. You'll > have to unpack the source (dpkg-source -x .dsc-file), edit the file, and OK, got that far and added the tune for athlon tbird as well. Seems to be building OK thus

Re: Suggestions for improving ffmpeg performance?

2008-03-08 Thread Eduardo M KALINOWSKI
David Fox wrote: Oddly enough, I inspected the /etc/apt/sources.list and the line was definitely there. But I worked around that problem well enough by using apt-build, and the package (revision 0.1 even though there is a 0.2 on marillat's site - it must just not be available in lenny yet) is bui

Re: Suggestions for improving ffmpeg performance?

2008-03-08 Thread David Fox
On 3/8/08, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> wrote: > I don't really now. I think there were some revisions in which MMX was > causing problems, but in that version there seemed to be no problems I had some bizarre issues with ffmpeg before, (especially the 3/27/2007 release leaking gobs o

Re: Suggestions for improving ffmpeg performance?

2008-03-08 Thread Eduardo M KALINOWSKI
David Fox wrote: On 3/8/08, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> wrote: The ffmpeg version in the debian-multimedia repository is build without MMX, I don't know exactly why. And this makes the program quite slow (something like 3 times slower). I wonder why -disable-mmx was chosen

Re: Suggestions for improving ffmpeg performance?

2008-03-08 Thread David Fox
On 3/8/08, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> wrote: > > The ffmpeg version in the debian-multimedia repository is build without > MMX, I don't know exactly why. And this makes the program quite slow > (something like 3 times slower). I wonder why -disable-mmx was chosen? Stability possibly

Re: Suggestions for improving ffmpeg performance?

2008-03-08 Thread Eduardo M KALINOWSKI
Kevin Monceaux wrote: Debian Enthusiasts, Does anyone have any suggestions for improving ffmpeg performance. To make a long story, well, not quite so long, I recently converted my home desktop box from ArchLinux to Debian. Back when I was running ArchLinux, and maybe one or two distros

Re: Suggestions for improving ffmpeg performance?

2008-03-04 Thread Kevin Monceaux
Doug, On Tue, 4 Mar 2008, Douglas A. Tutty wrote: What happens if you run top? Look at things like %idle, %waiting (for i.o), and %sys (kernel executing) and %user (your program, likely the ffmpeg program, see the listing for that line). This may tell you where the bottle-neck is. To my unt

Re: Suggestions for improving ffmpeg performance?

2008-03-04 Thread Douglas A. Tutty
On Tue, Mar 04, 2008 at 08:52:02AM -0600, Kevin Monceaux wrote: > installed from Debian-Multimedia.org. Now, running Debian(Lenny), if I > start a video transfer from my PC to my TiVo I have to wait for quite a > while before I try to start watching it. Sometimes the transfer dies in > mid-tra

Re: Suggestions for improving ffmpeg performance?

2008-03-04 Thread Damon L. Chesser
Kevin Monceaux wrote: Damon, On Tue, 4 Mar 2008, Damon L. Chesser wrote: I was under (it would seem falsely) that streaming from/to a tivo was limited to windows. I can access the tivo from Linux by IP, but I get no menu to do anything with it, just a webpage. I never looked into it as it w

Re: Suggestions for improving ffmpeg performance?

2008-03-04 Thread Kevin Monceaux
Damon, On Tue, 4 Mar 2008, Damon L. Chesser wrote: I was under (it would seem falsely) that streaming from/to a tivo was limited to windows. I can access the tivo from Linux by IP, but I get no menu to do anything with it, just a webpage. I never looked into it as it was not that important t

Re: Suggestions for improving ffmpeg performance?

2008-03-04 Thread Damon L. Chesser
Kevin Monceaux wrote: Debian Enthusiasts, Does anyone have any suggestions for improving ffmpeg performance. To make a long story, well, not quite so long, I recently converted my home desktop box from ArchLinux to Debian. Back when I was running ArchLinux, and maybe one or two distros

Suggestions for improving ffmpeg performance?

2008-03-04 Thread Kevin Monceaux
Debian Enthusiasts, Does anyone have any suggestions for improving ffmpeg performance. To make a long story, well, not quite so long, I recently converted my home desktop box from ArchLinux to Debian. Back when I was running ArchLinux, and maybe one or two distros before, I started using