Le 9 mai 07 à 20:00, Stefan M. Fendt a écrit :

Am Mittwoch, den 09.05.2007, 16:08 +1000 schrieb Mark Heath:

By the way, which frame rate converter is considered the *best* at
the moment?

Motion compensated is the only one which makes sense:

These are the needed steps (and they allready can be done with the
mjpeg-tools...)

1. deinterlace to native frame-rate (PAL:50 Hz/NTSC 59.9xxHz)
(with yuvdeinterlace or "mplayer -vf tfields=1:1" if you do not need
   too much quality but speed...)
2. change framerate (with yuvmotionfps or yuvfps)
3. scale (with yuvscaler or y4mscaler)
4. reinterlace (with y4minterlace)

OK, here an example which gives very fluent motion (could probably be
better if using yuvmotionfps...):

this soluce is the best (but some skills of yuvmotionfps are buggy, it depends of the frame-rate of the input :-(

lav2yuv some_PAL.dv |\
yuvdeinterlace -d |\
yuvfps -s 50:1 -r 60:1001 |\
yuvscaler -O SIZE_640x480 |\
y4minterlace -i b |\
your_favorite_encoder...

This can be done from NTSC to PAL, too (But at least I do not like to do
so, as NTSC material generaly looks bad.) You only need to change the
frame-size and -rates...

cu
Stefan

sorry for hijacking the thread but I don't manage to compile yuvmotionfps in MacIntel, seems to be a problem with the old configure script from yuvmotionfps and the arch/cpu detection. The "bad returned string" cause a failure, may be someone can help me:

[...]
checking Architecture... IA32
checking if C compiler accepts inline MMX assembly... yes
checking sub-architecture settings... Your does not even support "i386" for '-march' and '-mcpu'.
checking what warning flags to pass to the C compiler... -Wall -Wunused

configure: creating ./config.status
[...]
configure:
configure:  MJPEG tools 1.7.0 build configuration :
configure:
configure:   - X86 Optimizations:
configure:     - MMX/3DNow!/SSE enabled      : true
configure: - arch/cpu compiler flags : Your does not even support "i386" for '-march' and '-mcpu'.
configure:   - video4linux recording/playback: false
configure:   - software MJPEG playback       : false
configure:   - MPEG Z/Alpha                  : false
configure:   - Quicktime playback/recording  : false
configure:   - PNG input support             : false
configure:   - AVI MJPEG playback/recording  : true (always)
configure:   - libDV (digital video) support : false
configure:   - Gtk+ support for glav         : false
configure:
MacBookPro:~/Desktop/just compiled/mjpegtools-1.9.0rc2/ yuvmotionfps-1.6_MCtag.6 gilou$ make
make  all-recursive
Making all in utils
Making all in mmxsse
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. - I../.. -I../.. -I../../utils Your does not even support "i386" for '-march' and '-mcpu'. -g -O2 -no-cpp-precomp -D_THREAD_SAFE - Wall -Wunused -c -o build_sub22_mests.lo `test -f 'build_sub22_mests.c' || echo './'`build_sub22_mests.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../utils Your does not even support i386 for -march and -mcpu. -g -O2 -no-cpp-precomp - D_THREAD_SAFE -Wall -Wunused -c build_sub22_mests.c -o build_sub22_mests.o
i686-apple-darwin8-gcc-4.0.1: Your: No such file or directory
i686-apple-darwin8-gcc-4.0.1: does: No such file or directory
i686-apple-darwin8-gcc-4.0.1: not: No such file or directory
i686-apple-darwin8-gcc-4.0.1: even: No such file or directory
i686-apple-darwin8-gcc-4.0.1: support: No such file or directory
i686-apple-darwin8-gcc-4.0.1: i386: No such file or directory
i686-apple-darwin8-gcc-4.0.1: for: No such file or directory
i686-apple-darwin8-gcc-4.0.1: and: No such file or directory
cc1: error: invalid option 'arch'
cc1: error: invalid option 'cpu.'
make[3]: *** [build_sub22_mests.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


PS: I tried to exchange some files with the new ones from the mjpeg- rc2 package(cpuinfo,...), without succes
(and I'm not dev, I don't manage to correct it myself)
Any help will be cool :)

PSS: Why don't you incorporate directly yuvmotionfps in the mjpegtools package?

bye
thanks

Hervé
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to