| 66 | |
| 67 | ===== Example 4: WMV -> MPEG4 (best quality) |
| 68 | Shown is encoding MPEG4 movie with 5000 bit/s using best quality settings.\\ |
| 69 | You can increase the quality only by increasing the bit rate and therefore the file size. |
| 70 | |
| 71 | Pass 1: |
| 72 | {{{#!ShellExample |
| 73 | mencoder input.wmv \ |
| 74 | -ovc x264 \ |
| 75 | -x264encopts pass=2:bitrate=15000:bframes=3:subq=7:frameref=6:me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300:threads=auto \ |
| 76 | -vf harddup \ |
| 77 | -oac copy \ |
| 78 | -o output.mp4 |
| 79 | }}} |
| 80 | |
| 81 | Pass 2: |
| 82 | {{{#!ShellExample |
| 83 | mencoder input.wmv \ |
| 84 | -ovc x264 \ |
| 85 | -x264encopts pass=2:bitrate=15000:bframes=3:subq=7:frameref=6:me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300:threads=auto \ |
| 86 | -vf harddup \ |
| 87 | -oac copy \ |
| 88 | -o output.mp4 |
| 89 | }}} |
| 90 | |
| 91 | Pass 3: |
| 92 | {{{#!ShellExample |
| 93 | mencoder input.wmv \ |
| 94 | -ovc x264 \ |
| 95 | -x264encopts pass=3:bitrate=15000:bframes=3:subq=7:frameref=6:me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300:threads=auto \ |
| 96 | -vf harddup \ |
| 97 | -oac copy \ |
| 98 | -o output.mp4 |
| 99 | }}} |
| 100 | |