|
From: Christophe D. <cdu...@ma...> - 2007-03-19 20:27:05
|
>> I have compiled rc2 on a MacIntel, the speed is good, the quality
>> very poor I have compiled rc2 on a Mac PPC, the speed is VERY VERY
>> SLOOOOOW and the quality very poor.
> How long does it take till you have encoded 1000frames for example,
> with
> the old version, and with the RC2 ?
> What was the output when you configured the mjpegtools. And what is
> the
> output when mpeg2enc starts ?
I will send you the log on PPC Mac later, when a friend have made
some test with
1.9.0rc2 and 1.9.0 just before rc1 (3,4 or 5 days before rc1,
compiled from CVS)
The slower speed is only on a Mac PPC, on a MacIntel the speed of
mpeg2enc
is actually the same as the older version.
>> If I try mpeg2enc juste before rc1 on a MacIntel or MacPPC theses
>> problems doesn't appears.
>
> Which version is that ? The old (1.8.0) release, or the CVS version
> before ?
The version which work come from CVS 3,4, or 5 days before the
official 1.9.0 RC1 release.
>> I am sure that this is a bug of mpeg2enc, I use mpeg2enc for 3 years
>> now, and I doesn't have seen this problem before 1.9.0 rc2.
> Andrew has checked in a lot of change into the CVS after the RC1. So
> that might really cause some problems.
>
> Could you try to encode the video a 2nd time, and see if you have
> there
> the problem too ?
I don't exaclty understand your question, with which version ?
My Config : Mac Pro 2x Xeon Dual Core 2.66 Ghz, 2 Gb DDR2
Here I send you a small log of an encoding with 1.9.0 RC2 which
produce a very poor quality
Here is the the command line
mpeg2enc -v 1 -f 8 -a 2 -b 9000 -q 1 -o /Users/chris/Movies/MovieGate/
mainMenu.m2v -S 9999 -s
And at the end you will find the configure output on my MacPro
INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION!
INFO: [mpeg2enc] SETTING SSE and MMX for TRANSFORM!
INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION!
INFO: [mpeg2enc] Selecting DVD with dummy navigation packets
output profile
INFO: [mpeg2enc] Assuming norm NTSC
INFO: [mpeg2enc] Progressive input - selecting progressive encoding.
INFO: [mpeg2enc] Encoding MPEG-2 video to /Users/chris/Movies/
MovieGate/mainMenu.m2v
INFO: [mpeg2enc] Horizontal size: 720 pel
INFO: [mpeg2enc] Vertical size: 480 pel
INFO: [mpeg2enc] Aspect ratio code: 2 = 4:3 display
INFO: [mpeg2enc] Frame rate code: 4 = 30000.0/1001.0 (NTSC VIDEO)
INFO: [mpeg2enc] Bitrate: 9000 KBit/s
INFO: [mpeg2enc] Quality factor: 1 (Quantisation = 1) (1=best,
31=worst)
INFO: [mpeg2enc] Field order for input: none/progressive
INFO: [mpeg2enc] New Sequence every 9999 Mbytes
INFO: [mpeg2enc] Assuming non-video stream of 0 Kbps
INFO: [mpeg2enc] Search radius: 16
INFO: [mpeg2enc] DualPrime: no
INFO: [mpeg2enc] Using one-pass rate controller
INFO: [mpeg2enc] GOP SIZE RANGE 7 TO 15
INFO: [mpeg2enc] Setting colour/gamma parameters to "NTSC"
INFO: [mpeg2enc] Progressive format frames = 1
INFO: [mpeg2enc] Using default unmodified quantization matrices
INFO: [mpeg2enc] SETTING MMX and MMX for QUANTIZER!
INFO: [mpeg2enc] PAR = 0
INFO: [mpeg2enc] NEW GOP INIT length 15
INFO: [mpeg2enc] Enc1 0 0( 0) I q=1.02 [100% Intra]
INFO: [mpeg2enc] Enc1 1 1( 1) P q=1.01 [0% Intra]
INFO: [mpeg2enc] Enc1 2 2( 2) P q=1.00 [0% Intra]
INFO: [mpeg2enc] Enc1 3 3( 3) P q=1.00 [0% Intra]
INFO: [mpeg2enc] Enc1 4 4( 4) P q=1.00 [0% Intra]
INFO: [mpeg2enc] Enc1 5 5( 5) P q=1.18 [0% Intra]
INFO: [mpeg2enc] Enc1 6 6( 6) P q=1.71 [0% Intra]
INFO: [mpeg2enc] Enc1 7 7( 7) P q=2.52 [0% Intra]
INFO: [mpeg2enc] Enc1 8 8( 8) P q=3.94 [0% Intra]
INFO: [mpeg2enc] Enc1 9 9( 9) P q=5.46 [0% Intra]
INFO: [mpeg2enc] Enc1 10 10(10) P q=9.27 [0% Intra]
INFO: [mpeg2enc] Enc1 11 11(11) P q=73.06 [1% Intra]
INFO: [mpeg2enc] Enc1 12 12(12) P q=17.60 [0% Intra]
INFO: [mpeg2enc] Enc1 13 13(13) P q=32.90 [0% Intra]
INFO: [mpeg2enc] Enc1 14 14(14) P q=13.77 [0% Intra]
INFO: [mpeg2enc] NEW GOP INIT length 15
INFO: [mpeg2enc] Enc1 15 15( 0) I q=6.59 [100% Intra]
INFO: [mpeg2enc] Enc1 16 16( 1) P q=133.42 [0% Intra]
INFO: [mpeg2enc] Enc1 17 17( 2) P q=132.93 [0% Intra]
INFO: [mpeg2enc] RENC: 0 - reencode actual 289040 (1.0) target
40909 (7.2)
INFO: [mpeg2enc] Pass2 0 0( 0) I q=7.22 RECODED
INFO: [mpeg2enc] RELS: 0 0
INFO: [mpeg2enc] RENC: 1 - reencode actual 203280 (1.0) target
28338 (7.2)
INFO: [mpeg2enc] Pass2 1 1( 1) P q=7.22 RECODED
INFO: [mpeg2enc] RELS: 1 1
INFO: [mpeg2enc] RENC: 2 - reencode actual 213944 (1.0) target
29620 (7.2)
INFO: [mpeg2enc] Pass2 2 2( 2) P q=7.22 RECODED
INFO: [mpeg2enc] RELS: 2 2
INFO: [mpeg2enc] RENC: 3 - reencode actual 208384 (1.0) target
28850 (7.2)
INFO: [mpeg2enc] Pass2 3 3( 3) P q=7.19 RECODED
INFO: [mpeg2enc] RELS: 3 3
INFO: [mpeg2enc] RENC: 4 - reencode actual 342720 (1.0) target
47449 (7.2)
INFO: [mpeg2enc] Pass2 4 4( 4) P q=7.22 RECODED
INFO: [mpeg2enc] RELS: 4 4
INFO: [mpeg2enc] RENC: 5 - reencode actual 374400 (1.2) target
61367 (7.2)
INFO: [mpeg2enc] Pass2 5 5( 5) P q=7.22 RECODED
INFO: [mpeg2enc] RELS: 5 5
INFO: [mpeg2enc] RENC: 6 - reencode actual 398672 (1.7) target
94228 (7.2)
INFO: [mpeg2enc] Pass2 6 6( 6) P q=7.21 RECODED
INFO: [mpeg2enc] RELS: 6 6
INFO: [mpeg2enc] RENC: 7 - reencode actual 500920 (2.5) target
174559 (7.2)
INFO: [mpeg2enc] Pass2 7 7( 7) P q=7.21 RECODED
INFO: [mpeg2enc] RELS: 7 7
INFO: [mpeg2enc] RENC: 8 - reencode actual 417824 (3.9) target
228041 (7.2)
INFO: [mpeg2enc] Pass2 8 8( 8) P q=7.21 RECODED
INFO: [mpeg2enc] RELS: 8 8
INFO: [mpeg2enc] RENC: 9 - reencode actual 550400 (5.5) target
415825 (7.2)
INFO: [mpeg2enc] Pass2 9 9( 9) P q=7.22 RECODED
INFO: [mpeg2enc] RELS: 9 9
INFO: [mpeg2enc] RENC: 10 - reencode actual 613240 (9.3) target
786949 (7.2)
INFO: [mpeg2enc] Pass2 10 10(10) P q=7.22 RECODED
INFO: [mpeg2enc] RELS: 10 10
INFO: [mpeg2enc] RENC: 11 - reencode actual 15192 (73.1) target
153665 (7.2)
INFO: [mpeg2enc] Pass2 11 11(11) P q=7.21 RECODED
INFO: [mpeg2enc] RELS: 11 11
INFO: [mpeg2enc] RENC: 12 - reencode actual 376296 (17.6) target
916803 (7.2)
INFO: [mpeg2enc] Pass2 12 12(12) P q=7.21 RECODED
INFO: [mpeg2enc] RELS: 12 12
INFO: [mpeg2enc] RENC: 13 - reencode actual 27552 (32.9) target
125481 (7.2)
INFO: [mpeg2enc] Pass2 13 13(13) P q=7.21 RECODED
INFO: [mpeg2enc] RELS: 13 13
INFO: [mpeg2enc] RENC: 14 - reencode actual 719784 (13.8) target
1372407 (7.2)
INFO: [mpeg2enc] Pass2 14 14(14) P q=7.21 RECODED
INFO: [mpeg2enc] RELS: 14 14
INFO: [mpeg2enc] Enc1 18 18( 3) P q=77.48 [0% Intra]
INFO: [mpeg2enc] Enc1 19 19( 4) P q=22.55 [3% Intra]
INFO: [mpeg2enc] Enc1 20 20( 5) P q=39.81 [1% Intra]
INFO: [mpeg2enc] Enc1 21 21( 6) P q=126.08 [0% Intra]
INFO: [mpeg2enc] Enc1 22 22( 7) P q=27.48 [0% Intra]
INFO: [mpeg2enc] Enc1 23 23( 8) P q=193.15 [0% Intra]
INFO: [mpeg2enc] Enc1 24 24( 9) P q=97.94 [0% Intra]
INFO: [mpeg2enc] Enc1 25 25(10) P q=123.96 [1% Intra]
INFO: [mpeg2enc] Enc1 26 26(11) P q=125.82 [1% Intra]
INFO: [mpeg2enc] Enc1 27 27(12) P q=144.69 [1% Intra]
INFO: [mpeg2enc] Enc1 28 28(13) P q=177.72 [4% Intra]
INFO: [mpeg2enc] Enc1 29 29(14) P q=188.93 [4% Intra]
INFO: [mpeg2enc] NEW GOP INIT length 15
INFO: [mpeg2enc] Enc1 30 30( 0) I q=8.61 [100% Intra]
INFO: [mpeg2enc] Enc1 31 31( 1) P q=23.55 [0% Intra]
INFO: [mpeg2enc] Enc1 32 32( 2) P q=25.82 [0% Intra]
INFO: [mpeg2enc] RENC: 15 - reencode actual 208912 (6.6) target
94395 (14.6)
INFO: [mpeg2enc] Pass2 15 15( 0) I q=14.08 RECODED
INFO: [mpeg2enc] RELS: 15 15
INFO: [mpeg2enc] RENC: 16 - reencode actual 14584 (133.4) target
133324 (14.6)
INFO: [mpeg2enc] Pass2 16 16( 1) P q=14.13 RECODED
INFO: [mpeg2enc] RELS: 16 16
INFO: [mpeg2enc] RENC: 17 - reencode actual 14624 (132.9) target
133201 (14.6)
INFO: [mpeg2enc] Pass2 17 17( 2) P q=14.13 RECODED
INFO: [mpeg2enc] RELS: 17 17
INFO: [mpeg2enc] RENC: 18 - reencode actual 16544 (77.5) target
87831 (14.6)
INFO: [mpeg2enc] Pass2 18 18( 3) P q=14.13 RECODED
INFO: [mpeg2enc] RELS: 18 18
INFO: [mpeg2enc] RENC: 19 - reencode actual 677168 (22.6) target
1046477 (14.6)
INFO: [mpeg2enc] Pass2 19 19( 4) P q=14.13 RECODED
INFO: [mpeg2enc] RELS: 19 19
INFO: [mpeg2enc] RENC: 20 - reencode actual 154440 (39.8) target
421276 (14.6)
INFO: [mpeg2enc] Pass2 20 20( 5) P q=14.13 RECODED
INFO: [mpeg2enc] RELS: 20 20
INFO: [mpeg2enc] RENC: 21 - reencode actual 14600 (126.1) target
126133 (14.6)
INFO: [mpeg2enc] Pass2 21 21( 6) P q=14.13 RECODED
INFO: [mpeg2enc] RELS: 21 21
INFO: [mpeg2enc] RENC: 22 - reencode actual 684136 (27.5) target
1288057 (14.6)
INFO: [mpeg2enc] Pass2 22 22( 7) P q=14.13 RECODED
INFO: [mpeg2enc] RELS: 22 22
INFO: [mpeg2enc] RENC: 23 - reencode actual 14192 (193.1) target
187829 (14.6)
INFO: [mpeg2enc] Pass2 23 23( 8) P q=14.13 RECODED
INFO: [mpeg2enc] RELS: 23 23
INFO: [mpeg2enc] RENC: 24 - reencode actual 14480 (97.9) target
97171 (14.6)
INFO: [mpeg2enc] Pass2 24 24( 9) P q=14.13 RECODED
INFO: [mpeg2enc] RELS: 24 24
INFO: [mpeg2enc] RENC: 25 - reencode actual 15976 (124.0) target
135700 (14.6)
INFO: [mpeg2enc] Pass2 25 25(10) P q=14.13 RECODED
INFO: [mpeg2enc] RELS: 25 25
INFO: [mpeg2enc] RENC: 26 - reencode actual 15648 (125.8) target
134911 (14.6)
INFO: [mpeg2enc] Pass2 26 26(11) P q=14.13 RECODED
INFO: [mpeg2enc] RELS: 26 26
INFO: [mpeg2enc] RENC: 27 - reencode actual 15872 (144.7) target
157358 (14.6)
INFO: [mpeg2enc] Pass2 27 27(12) P q=14.13 RECODED
INFO: [mpeg2enc] RELS: 27 27
INFO: [mpeg2enc] RENC: 28 - reencode actual 18656 (177.7) target
227190 (14.6)
INFO: [mpeg2enc] Pass2 28 28(13) P q=14.13 RECODED
INFO: [mpeg2enc] RELS: 28 28
INFO: [mpeg2enc] RENC: 29 - reencode actual 18048 (188.9) target
233639 (14.6)
INFO: [mpeg2enc] Pass2 29 29(14) P q=14.13 RECODED
INFO: [mpeg2enc] RELS: 29 29
INFO: [mpeg2enc] Enc1 33 33( 3) P q=237.07 [0% Intra]
INFO: [mpeg2enc] Enc1 34 34( 4) P q=68.67 [0% Intra]
INFO: [mpeg2enc] Enc1 35 35( 5) P q=93.28 [0% Intra]
INFO: [mpeg2enc] Enc1 36 36( 6) P q=35.61 [0% Intra]
INFO: [mpeg2enc] Enc1 37 37( 7) P q=169.45 [0% Intra]
INFO: [mpeg2enc] Enc1 38 38( 8) P q=42.94 [0% Intra]
INFO: [mpeg2enc] Enc1 39 39( 9) P q=236.42 [0% Intra]
INFO: [mpeg2enc] Enc1 40 40(10) P q=152.78 [0% Intra]
INFO: [mpeg2enc] Enc1 41 41(11) P q=50.85 [0% Intra]
INFO: [mpeg2enc] Enc1 42 42(12) P q=282.84 [0% Intra]
INFO: [mpeg2enc] Enc1 43 43(13) P q=169.83 [1% Intra]
INFO: [mpeg2enc] Enc1 44 44(14) P q=55.28 [1% Intra]
configure output :
checking build system type... i686-apple-darwin8.9.1
checking host system type... i686-apple-darwin8.9.1
checking target system type... i686-apple-darwin8.9.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin8.9.1 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin8.9.1 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for gawk... (cached) awk
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) none
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/types.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking for sin in -lm... yes
checking for posix_memalign... no
checking for memalign... no
checking for fmax... yes
checking for fmin... yes
checking for lround... yes
checking for getopt_long... yes
checking return type of signal handlers... void
configure: The host is i686-apple-darwin8.9.1 i686 apple
darwin8.9.1 .
checking for alpha architecture... no
configure: WARNING: Did not find linux platform - video4linux
functionality will be disabled
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -
D_THREAD_SAFE
checking for cc_r... gcc
checking for pthread_attr_getstacksize... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for pkg-config... no
checking for LIBQUICKTIME... checking for LIBPNG... checking for
LIBPNG... checking for LIBDV... checking for X... libraries /usr/
X11R6/lib, headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for __progname... yes
checking for XF86DGAQueryExtension in -lXxf86dga... no
checking for GTK... checking for sdl-config... no
checking for SDL - version >= 1.1.3... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
checking Architecture... IA32
checking if C compiler accepts inline MMX assembly... yes
checking sub-architecture settings... -march=pentium-m -mtune=pentium-m
checking what warning flags to pass to the C compiler... -Wall -Wunused
configure: creating ./config.status
config.status: creating Makefile
config.status: creating debian/Makefile
config.status: creating debian/control
config.status: creating docs/Makefile
config.status: creating lavtools/Makefile
config.status: creating yuvcorrect/Makefile
config.status: creating yuvdenoise/Makefile
config.status: creating yuvdeinterlace/Makefile
config.status: creating yuvscaler/Makefile
config.status: creating y4munsharp/Makefile
config.status: creating y4mutils/Makefile
config.status: creating yuvfilters/Makefile
config.status: creating mpeg2enc/Makefile
config.status: creating aenc/Makefile
config.status: creating mplex/Makefile
config.status: creating scripts/Makefile
config.status: creating utils/Makefile
config.status: creating utils/altivec/Makefile
config.status: creating utils/mmxsse/Makefile
config.status: creating y4mdenoise/Makefile
config.status: creating mjpegtools.pc
config.status: creating mjpegtools.spec
config.status: creating config.h
config.status: executing depfiles commands
configure:
configure: MJPEG tools 1.9.0 build configuration :
configure:
configure: - X86 Optimizations:
configure: - MMX/3DNow!/SSE enabled : true
configure: - arch/cpu compiler flags : -march=pentium-m -
mtune=pentium-m
configure: - video4linux recording/playback: false
configure: - software MJPEG playback : 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:
|