Bttv

From YobiWiki

Jump to: navigation, search

Acquisition de l'entrée composite encodée en Divx4:

Première passe avec capture du son en raw:

 mencoder -tv on:driver=v4l:input=1:norm=PAL:width=384:height=288:outfmt=rgb16 -o file1.avi -ovc lavc -lavcopts vcodec=mjpeg  -oac copy

Deuxième passe pour compresser le son:

 mencoder file1.avi -o file2.avi -ovc copy -oac mp3lame
 vcodec=<value>      use  the specified codec (there is no default, you must specify it):
                     __mjpeg__: Motion JPEG
                     __h263__: H263
                     __h263p__: H263 Plus
                     __mpeg4__: DivX 4/5
                     __msmpeg4__: DivX 3
                     __rv10__: an old !RealVideo codec
                     __mpeg1video__: MPEG1 video :)

 vhq                 high  quality  mode,  encode  each  macro
                     block in all modes an choose the smallest
                    (slow).  (default: HQ disabled)

 vpass=<1-2>         Activates internal 2pass  mode  (default: disabled):
                     1: first pass
                     2: second pass

 vbitrate=<value>    specify bitrate (pass 1/2) in kBit <4-16000> or Bit  <16001-24000000>
                     (warning: 1kBit = 1000 Bits)
                     (default: 800)

Pour le convertir:

[mencoder

Invalid language.

You need to specify a language like this: <source lang="html">...</source>

Supported languages for syntax highlighting:

abap, actionscript, ada, apache, applescript, asm, asp, autoit, bash, basic4gl, blitzbasic, bnf, c, c_mac, caddcl, cadlisp, cfdg, cfm, cpp, cpp-qt, csharp, css, d, delphi, diff, div, dos, dot, eiffel, fortran, freebasic, genero, gml, groovy, haskell, html4strict, idl, ini, inno, io, java, java5, javascript, latex, lisp, lua, m68k, make, matlab, mirc, mpasm, mysql, nsis, objc, ocaml, ocaml-brief, oobas, oracle8, pascal, per, perl, php, php-brief, plsql, python, qbasic, rails, reg, robots, ruby, sas, scheme, sdlbasic, smalltalk, smarty, sql, tcl, text, thinbasic, tsql, vb, vbnet, vhdl, visualfoxpro, winbatch, xml, xpp, z80

Gears LocalServer