<div class="gmail_quote">On Sun, Aug 9, 2009 at 2:16 PM, rastersoft <span dir="ltr"><<a href="mailto:raster@rastersoft.com">raster@rastersoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi all:<br>
<br>
I'm testing thusnelda and I'm trying to use the two-pass feature, but<br>
when I try it with<br>
<br>
/usr/bin/ffmpeg2thusnelda /home/raster/Escritorio/devede/holidays\ at\<br>
galicia.mpg -o /home/raster/output.ogv -v 10 -a 10 --optimize<br>
- --first-pass /home/raster/output.ogv.firstpass_data<br>
<br>
I receive the error<br>
<br>
Could not set up the first pass of two-pass mode.<br>
Did you remember to specify an estimated bitrate?<br>
<br>
Does that mean that, when using two-passes, I must set a video bitrate,<br>
and cannot rely only in the -v and -a parameters?<br>
<br>
I've been searching in google but can't find info about this.<br>
<br>
Thanks.</blockquote><div><br>Hi,<br><br>Yes you have to use the -V switch, and you can also use the -v switch to specify a minimum quality at the same time.<br>Encoding the sound in the firstpass is useless from what I experienced with encoder_example.<br>
<br>I use the following:<br>./encoder_example --soft-target -v 7 -V 3397 --two-pass --first-pass "$VIDEO".pass stream.yuv -o "$VIDEO".ogv<br>./encoder_example --soft-target -v 7 -V 3397 --two-pass --second-pass "$VIDEO".pass -a -1 stream.wav stream.yuv -o "$VIDEO".ogv<br>
<br>Regards<br>--<br>ZikZak<br></div></div>