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

 

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值