Daniel Anderson | 1 Nov 2003 01:01
Gravatar

179 Frames Max?

I have 706 jpeg images named frame0001.jpg - frame 0706.jpg, why when 
I use this command:

./ffmpeg -i ../../movie_src/frame%04d.jpg ../../output.mpg

It only gets as far as frame 179.
Here is the final output line:

frame=  179 q=31.0 size=     414kB time=7.2 bitrate= 473.7kbits/s

What am I doing wrong?

Daniel Anderson
Internet Software Developer
[daniel <at> dattrix.com]
[http://www.dattrix.com/]

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Dan Christiansen | 1 Nov 2003 01:11
Picon
Picon
Favicon

Re: [OT] WMV9

On 31/10-2003, at 21:22, Arpi wrote:
> we dont have, but ppc users should have, afaik wmp was ported to macos.
> so someone with a ppc and a debugger under his ass should sit worn on
> his ass and fix the supporty for those dlls... then ot will work on 
> ppc too
> (just like realplayer and quicktime codec dlls work on ppc too)

Most decent Mac applications contain one self-contained executable 
which links against nothing but system libraries and frameworks. Which 
would mean that you'd have to do all sorts of evil hacks to extract the 
relevant code, but not the main().

Anyway, such a solution will only satisfy users of Mac OS X and Darwin. 
AFAIK there is no Mach-O loader for Linux, and the NetBSD COMPAT_MACH 
isn't quite finished yet.

- Dan

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Drew Hess | 1 Nov 2003 02:09

sse2 idct (AP-945)


Hey all,

Is there any particular reason that ffmpeg doesn't use Intel's SSE2 IDCT 
described in Intel application note AP-945?  Here's a link:

http://www.cae.wisc.edu/~ece734/mmx/w_idct.pdf

I hacked libjpeg to use it a few years ago.  I think I can fit it into
ffmpeg with a bit of work, but before I go to the trouble, I wanted to see
if there's a reason it's not already being used.

Also, does anyone have an easy way to test ffmpeg's IDCTs for 
IEEE-1180/1990 compliance?  If not, something like this would be nice to 
have:

http://www.geocities.com/liaor2/mpeg2avi/mpeg2avi.htm

-dwh-


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Michael Niedermayer | 1 Nov 2003 02:54
Picon
Picon

Re: sse2 idct (AP-945)

Hi

On Saturday 01 November 2003 02:09, Drew Hess wrote:
> Hey all,
>
> Is there any particular reason that ffmpeg doesn't use Intel's SSE2 IDCT
> described in Intel application note AP-945?  Here's a link:
>
> http://www.cae.wisc.edu/~ece734/mmx/w_idct.pdf
>
> I hacked libjpeg to use it a few years ago.  I think I can fit it into
> ffmpeg with a bit of work, but before I go to the trouble, I wanted to see
> if there's a reason it's not already being used.
no reason, feel free to send a patch, but it MUST NOT be default for encoding 
on any cpu

[...]
--

-- 
Michael
level[i]= get_vlc(); i+=get_vlc();		(violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]);	(violates patent #5,905,535)
buf[i]= qp - buf[i-1];				(violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
(Continue reading)

Frankie Hung | 1 Nov 2003 03:29

Re: how to extract single frame with ffmpeg?

Thanks for your reply.

I just checked the "-start" option is unavailable.

-------------------------------------------------
$ ffmpeg -start
ffmpeg: unrecognized option '-start'
--------------------------------------------------

I installed ffmpeg version 0.4.8 on my redhat linux. I guess it is the
latest version.

"-t" option works quite well. But some movie has blank frame in zero second.
That's why I want to get the later frame, say the 3rd second.

Thanks,
Frankie

----- Original Message ----- 
From: "Vidar Madsen" <vidar <at> prosalg.no>
To: <ffmpeg-devel <at> lists.sourceforge.net>
Cc: <frankie <at> airming.com>
Sent: Saturday, November 01, 2003 2:07 AM
Subject: Re: [Ffmpeg-devel] how to extract single frame with ffmpeg?

>
> On Sat, 1 Nov 2003, Frankie Hung wrote:
> > But how could I extract the 10th frame ONLY of a movie?
> > My purpose of this is to generate thumbnail for many movies in batch. So
I
(Continue reading)

Frankie Hung | 1 Nov 2003 03:50

Re: how to extract single frame with ffmpeg?

Hi!

-start option is not available in my compiled version.
Now I use -r (frame rate) & -t option to generate each single frame for the
first few seonds

example:
ffmpeg -r 1 -t 10 frame%d.jpg -i test.mpeg

And then I picked the one I want and erased the rest.

If you do,
ffmpeg -r 10 -t 1 frame%d.jpg -i test.mpeg

You would also get 10 frames but they are in earlier time stamp.
It runs much slower than the first example.
So, I guess with -r option, ffmpeg still decodes every single frame and only
output my interested ones.

I'm not sure if there is room for optimization.

Thanks,
Frankie

----- Original Message ----- 
From: "Vidar Madsen" <vidar <at> prosalg.no>
To: <ffmpeg-devel <at> lists.sourceforge.net>
Sent: Saturday, November 01, 2003 3:10 AM
Subject: Re: [Ffmpeg-devel] how to extract single frame with ffmpeg?

(Continue reading)

Steven M. Schultz | 1 Nov 2003 07:00

OS/X 10.3 (gcc 3.3) gotcha

Hi -

	I upgraded my OS/X system to 10.3 tonight (upgrade went very 
	smoothly) and as a result I now have gcc 3.3 installed.

	The use of ./configure script's use of

	 	-mdynamic-no-pic 

	causes the compiler/linker error:

[DHCP-250:src/ffmpeg/vhook] sms% gmake
cc -fPIC -Wall -no-cpp-precomp -pipe -fomit-frame-pointer -mdynamic-no-pic -force_cpusubtype_ALL
-Wno-sign-compare -faltivec -g -O3 -I.. -I/usr/local/src/ffmpeg
-I/usr/local/src/ffmpeg/libavformat -I/usr/local/src/ffmpeg/libavcodec -DHAVE_AV_CONFIG_H
`freetype-config --cflags`   -c -o null.o null.c
cc1: warning: -mdynamic-no-pic overrides -fpic or -fPIC
cc -g -o null.so -dynamiclib -flat_namespace -undefined suppress null.o
ld: null.o has local relocation entries in non-writable section (__TEXT,__text)
/usr/bin/libtool: internal link edit command failed
gmake: *** [null.so] Error 1

	If I take out the ' -mdynamic-no-pic ' (which turns the 3.3 case
	into the same thing as the 3.1 case) then no errors occur.

	Why was the '-mdynamic-no-pic' added?   It's always seemed to cause
	me problems both with gcc 3.1 and now with 3.3

	Cheers,
	Steven Schultz
(Continue reading)

Michael Niedermayer | 1 Nov 2003 10:56
Picon
Picon

Re: OS/X 10.3 (gcc 3.3) gotcha

Hi

On Saturday 01 November 2003 07:00, Steven M. Schultz wrote:
> Hi -
>
> 	I upgraded my OS/X system to 10.3 tonight (upgrade went very
> 	smoothly) and as a result I now have gcc 3.3 installed.
>
> 	The use of ./configure script's use of
>
> 	 	-mdynamic-no-pic
>
> 	causes the compiler/linker error:
>
> [DHCP-250:src/ffmpeg/vhook] sms% gmake
> cc -fPIC -Wall -no-cpp-precomp -pipe -fomit-frame-pointer -mdynamic-no-pic
> -force_cpusubtype_ALL -Wno-sign-compare -faltivec -g -O3 -I..
> -I/usr/local/src/ffmpeg -I/usr/local/src/ffmpeg/libavformat
> -I/usr/local/src/ffmpeg/libavcodec -DHAVE_AV_CONFIG_H `freetype-config
> --cflags`   -c -o null.o null.c cc1: warning: -mdynamic-no-pic overrides
> -fpic or -fPIC
> cc -g -o null.so -dynamiclib -flat_namespace -undefined suppress null.o
> ld: null.o has local relocation entries in non-writable section
> (__TEXT,__text) /usr/bin/libtool: internal link edit command failed
> gmake: *** [null.so] Error 1
>
> 	If I take out the ' -mdynamic-no-pic ' (which turns the 3.3 case
> 	into the same thing as the 3.1 case) then no errors occur.
>
> 	Why was the '-mdynamic-no-pic' added?   It's always seemed to cause
(Continue reading)

Michael Niedermayer CVS | 1 Nov 2003 11:20
Picon

CVS: ffmpeg configure,1.115,1.116

Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var/tmp.root/cvs-serv4147

Modified Files:
	configure 
Log Message:
int_fast??_t emulation for broken systems which dont conform to ISO C
this should be ported to mplayers configure if it works

Index: configure
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/configure,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -d -r1.115 -r1.116
--- configure	31 Oct 2003 10:27:37 -0000	1.115
+++ configure	1 Nov 2003 10:20:14 -0000	1.116
 <at>  <at>  -147,6 +147,7  <at>  <at> 
 extralibs="-lm"
 simpleidct="yes"
 bigendian="no"
+emu_fast_int="no"
 vhook="default"
 dlfcn="no"
 dlopen="no"
 <at>  <at>  -626,6 +627,18  <at>  <at> 
 fi

 # ---
+# *int_fast* test
(Continue reading)

Steven M. Schultz | 1 Nov 2003 11:40

Re: OS/X 10.3 (gcc 3.3) gotcha


On Sat, 1 Nov 2003, Michael Niedermayer wrote:

> > 	Why was the '-mdynamic-no-pic' added?   It's always seemed to cause
> > 	me problems both with gcc 3.1 and now with 3.3
> 5% speedgain
> see a mail on this list with subj:"[Ffmpeg-devel] OS X no-pic patch"
> 
> anyway, '-mdynamic-no-pic' should not be used for shared libs AFAIK, maybe u 
> want to send a patch :)

	Hmmm, ok.  That was the only reason I submitted the earlier
	patch - to get rid of the error when building the shared lib - the
	compilation of everything works fine with 3.1 or 3.3, it's just
	the linking in vhook/ that fails.

	I'll come up with a patch - but not this morning, way past my
	bedtime ;)

	Cheers,
	Steven Schultz

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

Gmane