Ubuntu: wmv 转 mp4 converting from .wmv to .mp4

  1. Install ffmpeg
    sudo apt-get install ffmpeg
  2. Convert files like this
    ffmpeg -i input.wmv -s size output.mp4

Following size abbreviations are recognized (from man page)

   -s size
       Set frame size. The format is wxh (avserver default = 160x128, ffmpeg default = same as source).  The following abbreviations are recognized:

       sqcif
           128x96

       qcif
           176x144

       cif 352x288

       4cif
           704x576

       16cif
           1408x1152

       qqvga
           160x120

       qvga
           320x240

       vga 640x480

       svga
           800x600

       xga 1024x768

       uxga
           1600x1200

       qxga
           2048x1536

       sxga
           1280x1024

       qsxga
           2560x2048

       hsxga
           5120x4096

       wvga
           852x480

       wxga
           1366x768

       wsxga
           1600x1024

       wuxga
           1920x1200

       woxga
           2560x1600

       wqsxga
           3200x2048

       wquxga
           3840x2400

       whsxga
           6400x4096

       whuxga
           7680x4800

       cga 320x200

       ega 640x350

       hd480
           852x480

       hd720
           1280x720

       hd1080
           1920x1080

 

原文:http://askubuntu.com/a/309519

本文:Ubuntu: wmv 转 mp4 converting from .wmv to .mp4

 

Loading

Add a Comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.