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="html4strict">...</source>

Supported languages for syntax highlighting:

4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript, actionscript3, ada, algol68, apache, applescript, apt_sources, arm, asm, asp, asymptote, autoconf, autohotkey, autoit, avisynth, awk, bascomavr, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_loadrunner, c_mac, caddcl, cadlisp, cfdg, cfm, chaiscript, cil, clojure, cmake, cobol, coffeescript, cpp, cpp-qt, csharp, css, cuesheet, d, dcl, dcpu16, dcs, delphi, diff, div, dos, dot, e, ecmascript, eiffel, email, epc, erlang, euphoria, f1, falcon, fo, fortran, freebasic, freeswitch, fsharp, gambas, gdb, genero, genie, gettext, glsl, gml, gnuplot, go, groovy, gwbasic, haskell, haxe, hicest, hq9plus, html4strict, html5, icon, idl, ini, inno, intercal, io, j, java, java5, javascript, jquery, kixtart, klonec, klonecpp, latex, lb, ldif, lisp, llvm, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, mmix, modula2, modula3, mpasm, mxml, mysql, nagios, netrexx, newlisp, nsis, oberon2, objc, objeck, ocaml, ocaml-brief, octave, oobas, oorexx, oracle11, oracle8, oxygene, oz, parasail, parigp, pascal, pcre, per, perl, perl6, pf, php, php-brief, pic16, pike, pixelbender, pli, plsql, postgresql, povray, powerbuilder, powershell, proftpd, progress, prolog, properties, providex, purebasic, pycon, pys60, python, q, qbasic, rails, rebol, reg, rexx, robots, rpmspec, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, spark, sparql, sql, stonescript, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, upc, urbi, uscript, vala, vb, vbnet, vedit, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, whois, winbatch, xbasic, xml, xorg_conf, xpp, yaml, z80, zxbasic


 -oac mp3lame -lameopts br=96:abr -ovc frameno -o frameno.avi]
  mencoder <source> -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=800:vpass=1 -o /dev/null
  mencoder <source> -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=800:vpass=2 -o <dest>

* http://tuxpower.f2g.net/mencoder.php
* http://www.mplayerhq.hu/DOCS/encoding.html
Personal tools
Namespaces

Variants
Actions
Navigation
Tools