Changes between Version 4 and Version 5 of Software/encoding


Ignore:
Timestamp:
11/10/17 17:56:07 (7 years ago)
Author:
Jens Henrik Goebbert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Software/encoding

    v4 v5  
    2121===== Example 1: JPEG -> MPEG4 in AVI-container (with vcodec=mpeg4)
    2222For details on lavopts check [http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-vcd-dvd.html#menc-feat-vcd-dvd-lavc here]
     23
     24simple setup:
    2325{{{#!ShellExample
    2426mencoder mf://*.jpg -mf w=1920:h=1080:fps=25:type=jpg \
    2527-ovc lavc \
    2628   -lavcopts vcodec=mpeg4:mbd=2:trell \
    27 -oac copy \
     29-nosound \
     30-o output.avi
     31}}}
     32two-pass for much better quality:
     33{{{#!ShellExample
     34opt="vbitrate=15012060:mbd=2:keyint=132:v4mv:vqmin=3"
     35opt="${opt}:o=luma_elim_threshold=4:o=chroma_elim_threshold=7"
     36opt="${opt}:lumi_mask=0.07:dark_mask=0.10:naq:vqcomp=0.7:vqblur=0.2:mpeg_quant"
     37
     38mencoder mf://\*.jpg -mf type=jpg:fps=25 \
     39-ovc lavc \
     40   -lavcopts vcodec=mpeg4:vpass=1:${opt} \
     41-nosound \
     42-o /dev/null
     43
     44mencoder mf://\*.jpg -mf type=jpg:fps=25 \
     45-ovc lavc \
     46   -lavcopts vcodec=mpeg4:vpass=2:${opt} \
     47-nosound
    2848-o output.avi
    2949}}}