Many thanks for the reply. So I did:

$ avconv -i in.ogv -mbd rd -trellis 2 -cmp 2 -subcmp 2 -g 100 -pass 1 -b:v 5M 
-b:a 96k out.avi

- that does run, but results in a file that's roughly half the size than from 
doing:

 $ avconv -i in.ogv -mbd rd -trellis 2 -cmp 2 -subcmp 2 -g 100 -pass 1 -b 256k 
out2.avi

Curiously, mplayer claims that the first is "112.8 kbps (13.8 kbyte/s)" while 
the second,
larger file is "112.6 kbps (13.8 kbyte/s)".

What might account for the discrepancy in file sizes I have no idea, but maybe 
I've just hit the maximum possible bitrate for the input file? Does that sound 
sensible?

It's a recordmydesktop capture of action taking place in a browser.

James



> Date: Tue, 5 Mar 2013 08:33:01 +0100
> To: [email protected]; [email protected]
> From: [email protected]
> Subject: Re: [libav-tools] OGV to AVI - bitrate
> 
> 
> On Mon, 4 Mar 2013 21:02:41 +0000, James Gibbon <[email protected]> wrote:
> > Thanks. Output attached.
> > 
> > James
> > 
> 
> This is the important error message
> [ac3 @ 0x8a30420] invalid bit rate
> 
> You must select audio bitrate, e.g. -b:a 96k
> 
> -- 
> Anton Khirnov
                                          
_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

Reply via email to