Re: [Mjpeg-users] average higher than max

2003-12-01 Thread Bernhard Praschinger
Hallo > > >INFO: [mplex] Average bit-rate : 9497200 bits/sec > > >INFO: [mplex] Peak bit-rate: 9019200 bits/sec > > > > > > Basically it is 'peak' number thats wrong (it tends to underestimate a > > little). > > But other than that, and if the peak is below the max value specified

Re: [Mjpeg-users] average higher than max

2003-12-01 Thread Florin Andrei
On Mon, 2003-12-01 at 10:38, Andrew Stevens wrote: > >INFO: [mplex] Average bit-rate : 9497200 bits/sec > >INFO: [mplex] Peak bit-rate: 9019200 bits/sec > > > Basically it is 'peak' number thats wrong (it tends to underestimate a > little). But other than that, and if the peak is

Re: [Mjpeg-users] Update on: mpeg2enc current cvs segfault ?

2003-12-01 Thread Steven M. Schultz
On Mon, 1 Dec 2003, Richard Ellis wrote: > I just tried an experiment. I added a printf just after the > assignment to the piqf pointer in quant_non_intra_sse to print out > mulps_m2r( *(mmx_t*)&piqf[0], xmm2 ); > > The value of &piqf[0] for my setup was 0x40eb7008, which is 8 byte > aligned,

Re: [Mjpeg-users] average higher than max

2003-12-01 Thread Andrew Stevens
Hi, This is a known small Bug that relates to the way the peak bit-rate is calculated. It would be a pain to fix and the peak rate is only calculated for this 'user information' message anyway so it has been around for a while because its harmless :-( >INFO: [mplex] Average bit-rate : 94

Re: [Mjpeg-users] Update on: mpeg2enc current cvs segfault ?

2003-12-01 Thread Richard Ellis
On Mon, Dec 01, 2003 at 08:37:14AM -0800, Steven M. Schultz wrote: > > On Mon, 1 Dec 2003, Ronald Bultje wrote: > > > On Mon, 2003-12-01 at 00:06, Steven M. Schultz wrote: > > > As a temporary measure you can try editing the compat function > > > posix_memalign to return an aligned address.

Re: [Mjpeg-users] Update on: mpeg2enc current cvs segfault ?

2003-12-01 Thread Andrew Stevens
Hi Nicolas, Back from a Weekend at my Parter's parents... ;-) Although I normall develop on a Debian 'unstable' machine my house server is a pure 'woody' box. How are you building? I'd like to replicate the issues you're having with mplex and/or mpeg2enc. However, I've found the default auto

Re: [Mjpeg-users] Update on: mpeg2enc current cvs segfault ?

2003-12-01 Thread Trent Piepho
On Mon, 1 Dec 2003, Ronald Bultje wrote: > On Mon, 2003-12-01 at 00:06, Steven M. Schultz wrote: > > As a temporary measure you can try editing the compat function > > posix_memalign to return an aligned address. NOTE: this will result > > in a pointer that can NOT be passed to 'free(

Re: [Mjpeg-users] Update on: mpeg2enc current cvs segfault ?

2003-12-01 Thread Steven M. Schultz
On Mon, 1 Dec 2003, Ronald Bultje wrote: > On Mon, 2003-12-01 at 00:06, Steven M. Schultz wrote: > > As a temporary measure you can try editing the compat function > > posix_memalign to return an aligned address. NOTE: this will result > > Is this function called often? If not, it can

Re: [Mjpeg-users] Update on: mpeg2enc current cvs segfault ?

2003-12-01 Thread Ronald Bultje
On Mon, 2003-12-01 at 00:06, Steven M. Schultz wrote: > As a temporary measure you can try editing the compat function > posix_memalign to return an aligned address. NOTE: this will result > in a pointer that can NOT be passed to 'free()' - which makes this an > unacceptab

[Mjpeg-users] Audio is out of sync.

2003-12-01 Thread Naresh Bhatia
Hello, I am trying to convert a avi stream captured by dvgrab to mpeg format, But when I play final output using mplayer, audio is not in sync. I am using following commands, #!/bin/bash in_file=$1 out_file=$1 lav2yuv ${in_file}.avi 2>err | mpeg2enc -v0 -f 8 -o ${out_file}.m2v lav2wav ${in

[Mjpeg-users] average higher than max

2003-12-01 Thread Florin Andrei
mpeg2enc -v 0 -I 1 -f 8 -b 9500 -F 4 -n n -a 2 -o "v1.m2v" -q 6 -R 0 -c -g 1 -4 2 -2 1 -K hi-res Source is DV. If i encode like 1200 frames or so and multiplex the result, all is fine. But if i encode only like the first 200 frames, mplex believes the average bitrate is higher than the max: