[gst-devel] hot to use multipass-mode on theoraenc?
Sebastian Dröge
sebastian.droege at collabora.co.uk
Sun Nov 14 12:58:48 CET 2010
On Sun, 2010-11-14 at 11:54 +0100, Alexey Fisher wrote:
> Hallo all,
> please can any one point me how to use multipass-mode on theoraenc or
> vp8enc? I can't find it anywhere.
You have to set the multipass-cache-file property to some filename,
which is used to store the statistics of the first pass and then use
that same filename for the second pass.
E.g.
gst-launch-0.10 videotestsrc num-buffers=1000 ! theoraenc
multipass-cache-file=/tmp/bla multipass-mode=first-pass ! oggmux !
filesink location=test.ogg
gst-launch-0.10 videotestsrc num-buffers=1000 ! theoraenc
multipass-cache-file=/tmp/bla multipass-mode=second-pass ! oggmux !
filesink location=test.ogg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101114/1d881b01/attachment.pgp>
More information about the gstreamer-devel
mailing list